Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627891 > unrolled thread

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

Started byStefan Agner <stefan@agner.ch>
First post2017-04-21 03:10 +0200
Last post2017-04-21 03:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 5/5] ARM: dts: imx7-colibri: add NAND support Stefan Agner <stefan@agner.ch> - 2017-04-21 03:10 +0200

#1627891 — [PATCH 5/5] ARM: dts: imx7-colibri: add NAND support

FromStefan Agner <stefan@agner.ch>
Date2017-04-21 03:10 +0200
Subject[PATCH 5/5] ARM: dts: imx7-colibri: add NAND support
Message-ID<tyvfc-7P1-13@gated-at.bofh.it>
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>
---
 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 2d87489f9105..ad4ce19d455b 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";
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web