Skip to content

Commit

Permalink
ARM: dts: imx7-colibri: add NAND support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Agner authored and Shawn Guo committed Aug 3, 2017
1 parent e7495a4 commit 8528181
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/imx7-colibri.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 8528181

Please sign in to comment.