diff options
author | Stefan Agner <stefan@agner.ch> | 2017-06-09 00:34:49 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-08-03 03:13:15 +0200 |
commit | 8528181d20c3b1d8abe36f53cee95f7c62721e66 (patch) | |
tree | 2fc23e167675678095598b37ec03fa8b9f575ed3 /arch/arm/boot/dts/imx7-colibri.dtsi | |
parent | ARM: dts: imx7: add GPMI NAND and APBH DMA (diff) | |
download | linux-8528181d20c3b1d8abe36f53cee95f7c62721e66.tar.xz linux-8528181d20c3b1d8abe36f53cee95f7c62721e66.zip |
ARM: dts: imx7-colibri: add NAND support
The Colibri iMX7 modules come with 512MB on-module SLC NAND flash
populated. Make use of it by enabling the GPMI controller.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx7-colibri.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index d7753f79937a..0a3915868aa3 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -106,6 +106,15 @@ fsl,magic-packet; }; +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + fsl,use-minimum-ecc; + nand-on-flash-bbt; + nand-ecc-mode = "hw"; + status = "okay"; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; |