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


Groups > linux.kernel > #1627891

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

From Stefan Agner <stefan@agner.ch>
Newsgroups linux.kernel
Subject [PATCH 5/5] ARM: dts: imx7-colibri: add NAND support
Date 2017-04-21 03:10 +0200
Message-ID <tyvfc-7P1-13@gated-at.bofh.it> (permalink)
References <tyvfb-7P1-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web