Thread (11 messages) 11 messages, 4 authors, 2017-08-03

[PATCH v6 3/3] ARM: dts: imx7-colibri: add NAND support

From: han.xu@nxp.com (Han Xu)
Date: 2017-06-09 19:17:31
Also in: linux-clk, linux-devicetree, lkml


On 06/08/2017 05:34 PM, Stefan Agner wrote:
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 <redacted>
Acked-by: Han Xu <han.xu@nxp.com>
quoted hunk ↗ jump to hunk
---
  arch/arm/boot/dts/imx7-colibri.dtsi |  9 +++++++++
  1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index 2d87489..ad4ce19 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";
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help