/linux/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale Integrated Flash Controller NAND driver 5 * Copyright 2011-2012 Freescale Semiconductor, Inc 25 for IFC NAND Machine */ 40 /* overview of the fsl ifc controller */ 45 void __iomem *addr; /* Address of assigned IFC buffer */ 51 unsigned int eccread; /* Non zero for a full-page ECC read */ 67 .offs = 2, /* 0 on 8-bit small page */ 77 .offs = 2, /* 0 on 8-bit small page */ 90 return -ERANGE; in fsl_ifc_ooblayout_ecc() [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
H A D | fsl,ifc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ifc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 13 NXP's integrated flash controller (IFC) is an advanced version of the 15 interfaces with an extended feature set. The IFC provides access to multiple 16 external memory types, such as NAND flash (SLC and MLC), NOR flash, EPROM, 21 pattern: "^memory-controller@[0-9a-f]+$" 24 const: fsl,ifc [all …]
|
/linux/drivers/memory/ |
H A D | fsl_ifc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 * convert_ifc_address - convert the base address 39 * fsl_ifc_find - find IFC bank 42 * This function walks IFC banks comparing "Base address" field of the CSPR 51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) in fsl_ifc_find() 52 return -ENODEV; in fsl_ifc_find() 54 for (i = 0; i < fsl_ifc_ctrl_dev->banks; i++) { in fsl_ifc_find() 55 u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); in fsl_ifc_find() 62 return -ENOENT; in fsl_ifc_find() 68 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_init() local [all …]
|
/linux/include/linux/ |
H A D | fsl_ifc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 * The actual number of banks implemented depends on the IFC version 21 * - IFC version 1.0 implements 4 banks. 22 * - IFC version 1.1 onward implements 8 banks. 35 * CSPR - Chip Select Property Register 55 /* NAND */ 69 (__ilog2(n) - IFC_AMASK_SHIFT)) 110 #define CSOR_NAND_PB(n) ((__ilog2(n) - 5) << CSOR_NAND_PB_SHIFT) 123 * Chip Select Option Register - NOR Flash Mode 150 * Chip Select Option Register - GPCM Mode [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | c293pcie.dts | 35 /include/ "c293si-pre.dtsi" 45 ifc: memory-controller@fffe1e000 { label 73 &ifc { 75 #address-cells = <1>; 76 #size-cells = <1>; 77 compatible = "cfi-flash"; 79 bank-width = <2>; 80 device-width = <1>; 107 /* 512KB for u-boot Bootloader Image and evn */ 109 label = "NOR U-Boot Image"; [all …]
|
H A D | bsc9132qds.dtsi | 2 * BSC9132 QDS Device Tree Source stub (no addresses or top-level ranges) 35 &ifc { 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 41 bank-width = <2>; 42 device-width = <1>; 45 nand@1,0 { 46 #address-cells = <1>; 47 #size-cells = <1>; [all …]
|
H A D | b4qds.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor, Inc. 38 #address-cells = <2>; 39 #size-cells = <2>; 40 interrupt-parent = <&mpic>; 50 ifc: localbus@ffe124000 { label 57 #address-cells = <1>; 58 #size-cells = <1>; 59 compatible = "cfi-flash"; 61 bank-width = <2>; 62 device-width = <1>; [all …]
|
H A D | t1023rdb.dts | 35 /include/ "t102xsi-pre.dtsi" 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 44 reserved-memory { 45 #address-cells = <2>; 46 #size-cells = <2>; 49 bman_fbpr: bman-fbpr { 54 qman_fqd: qman-fqd { 59 qman_pfdr: qman-pfdr { [all …]
|
H A D | t208xrdb.dtsi | 2 * T2080PCIe-RDB Board Device Tree Source 38 #address-cells = <2>; 39 #size-cells = <2>; 40 interrupt-parent = <&mpic>; 42 reserved-memory { 43 #address-cells = <2>; 44 #size-cells = <2>; 47 bman_fbpr: bman-fbpr { 51 qman_fqd: qman-fqd { 55 qman_pfdr: qman-pfdr { [all …]
|
H A D | bsc9131rdb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2011-2012 Freescale Semiconductor Inc. 8 /include/ "bsc9131si-pre.dtsi" 18 board_ifc: ifc: memory-controller@ff71e000 { 19 /* NAND Flash on board */ 30 /include/ "bsc9131si-post.dtsi"
|
H A D | kmcent2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright 2014 - 2015 Freescale Semiconductor Inc. 11 /include/ "t104xsi-pre.dtsi" 21 reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; 26 bman_fbpr: bman-fbpr { 30 qman_fqd: qman-fqd { 34 qman_pfdr: qman-pfdr { 40 ifc: localbus@ffe124000 { label [all …]
|
H A D | t104xrdb.dtsi | 4 * Copyright 2014 - 2015 Freescale Semiconductor Inc. 42 reserved-memory { 43 #address-cells = <2>; 44 #size-cells = <2>; 47 bman_fbpr: bman-fbpr { 51 qman_fqd: qman-fqd { 55 qman_pfdr: qman-pfdr { 61 ifc: localbus@ffe124000 { label 68 #address-cells = <1>; 69 #size-cells = <1>; [all …]
|
H A D | t1024rdb.dts | 35 /include/ "t102xsi-pre.dtsi" 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 48 reserved-memory { 49 #address-cells = <2>; 50 #size-cells = <2>; 53 bman_fbpr: bman-fbpr { 58 qman_fqd: qman-fqd { 63 qman_pfdr: qman-pfdr { [all …]
|
H A D | t104xd4rdb.dtsi | 36 reserved-memory { 37 #address-cells = <2>; 38 #size-cells = <2>; 41 bman_fbpr: bman-fbpr { 45 qman_fqd: qman-fqd { 49 qman_pfdr: qman-pfdr { 55 ifc: localbus@ffe124000 { label 62 #address-cells = <1>; 63 #size-cells = <1>; 64 compatible = "cfi-flash"; [all …]
|
H A D | t1024qds.dts | 35 /include/ "t102xsi-pre.dtsi" 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 44 reserved-memory { 45 #address-cells = <2>; 46 #size-cells = <2>; 49 bman_fbpr: bman-fbpr { 54 qman_fqd: qman-fqd { 59 qman_pfdr: qman-pfdr { [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1046a-frwy.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1046A family SoC. 9 /dts-v1/; 11 #include "fsl-ls1046a.dtsi" 15 compatible = "fsl,ls1046a-frwy", "fsl,ls1046a"; 25 stdout-path = "serial0:115200n8"; 28 sb_3v3: regulator-sb3v3 { 29 compatible = "regulator-fixed"; 30 regulator-name = "LT8642SEV-3.3V"; 31 regulator-min-microvolt = <3300000>; [all …]
|
H A D | fsl-ls1046a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1046A family SoC. 6 * Copyright 2019-2020 NXP 11 /dts-v1/; 13 #include "fsl-ls1046a.dtsi" 17 compatible = "fsl,ls1046a-rdb", "fsl,ls1046a"; 27 stdout-path = "serial0:115200n8"; 40 mmc-hs200-1_8v; 41 sd-uhs-sdr104; 42 sd-uhs-sdr50; [all …]
|
H A D | fsl-ls208xa-rdb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * Copyright 2017-2020 NXP 16 &ifc { 18 #address-cells = <2>; 19 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "cfi-flash"; 29 bank-width = <2>; 30 device-width = <1>; [all …]
|
H A D | fsl-ls1088a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-qds", "fsl,ls1088a"; 21 bus-num = <0>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "jedec,spi-nor"; 29 spi-max-frequency = <1000000>; 33 #address-cells = <1>; [all …]
|
H A D | fsl-ls1043a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 11 /dts-v1/; 12 #include "fsl-ls1043a.dtsi" 16 compatible = "fsl,ls1043a-rdb", "fsl,ls1043a"; 26 stdout-path = "serial0:115200n8"; 36 shunt-resistor = <1000>; 65 &ifc { 67 #address-cells = <2>; [all …]
|
H A D | fsl-ls208xa-qds.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 phy-handle = <&mdio0_phy12>; 15 phy-connection-type = "sgmii"; 19 phy-handle = <&mdio0_phy13>; 20 phy-connection-type = "sgmii"; 24 phy-handle = <&mdio0_phy14>; 25 phy-connection-type = "sgmii"; 29 phy-handle = <&mdio0_phy15>; 30 phy-connection-type = "sgmii"; 34 mmc-hs200-1_8v; [all …]
|
H A D | fsl-ls1046a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1046A family SoC. 6 * Copyright 2018-2019 NXP 11 /dts-v1/; 13 #include "fsl-ls1046a.dtsi" 17 compatible = "fsl,ls1046a-qds", "fsl,ls1046a"; 20 emi1-slot1 = &ls1046mdio_s1; 21 emi1-slot2 = &ls1046mdio_s2; 22 emi1-slot4 = &ls1046mdio_s4; 27 qsgmii-s2-p1 = &qsgmii_phy_s2_p1; [all …]
|
H A D | fsl-ls1043a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 6 * Copyright 2018-2021 NXP 11 /dts-v1/; 12 #include "fsl-ls1043a.dtsi" 16 compatible = "fsl,ls1043a-qds", "fsl,ls1043a"; 27 sgmii-riser-s1-p1 = &sgmii_phy_s1_p1; 28 sgmii-riser-s2-p1 = &sgmii_phy_s2_p1; 29 sgmii-riser-s3-p1 = &sgmii_phy_s3_p1; [all …]
|
H A D | fsl-ls1088a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2017-2020 NXP 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a"; 21 phy-handle = <&mdio2_aquantia_phy>; 22 phy-connection-type = "10gbase-r"; 23 pcs-handle = <&pcs2>; 27 phy-handle = <&mdio1_phy5>; 28 phy-connection-type = "qsgmii"; [all …]
|
/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 7 /dts-v1/; 12 compatible = "fsl,ls1021a-qds", "fsl,ls1021a"; 22 sys_mclk: clock-mclk { 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <24576000>; 29 compatible = "regulator-fixed"; 30 regulator-name = "3P3V"; [all …]
|