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


Groups > linux.kernel > #1658389 > unrolled thread

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

Started byStefan Agner <stefan@agner.ch>
First post2017-06-06 08:40 +0200
Last post2017-06-06 18:40 +0200
Articles 2 — 2 participants

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 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

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

FromStefan Agner <stefan@agner.ch>
Date2017-06-06 08:40 +0200
Subject[PATCH v5 3/3] ARM: dts: imx7-colibri: add NAND support
Message-ID<tPgjL-58I-3@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 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

[toc] | [next] | [standalone]


#1658936

FromFabio Estevam <festevam@gmail.com>
Date2017-06-06 18:40 +0200
Message-ID<tPpGq-2N6-33@gated-at.bofh.it>
In reply to#1658389
On Tue, Jun 6, 2017 at 3:30 AM, Stefan Agner <stefan@agner.ch> 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>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web