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


Groups > linux.kernel > #1658389

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

From Stefan Agner <stefan@agner.ch>
Newsgroups linux.kernel
Subject [PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support
Date 2017-06-06 08:40 +0200
Message-ID <tPgjL-58I-3@gated-at.bofh.it> (permalink)
References <tPgjL-58I-5@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 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";
-- 
git-series 0.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support Stefan Agner <stefan@agner.ch> - 2017-06-06 08:40 +0200
  Re: [PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support Fabio Estevam <festevam@gmail.com> - 2017-06-06 18:40 +0200

csiph-web