[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1561128590-14621-4-git-send-email-christophe.kerello@st.com>
Date: Fri, 21 Jun 2019 16:49:49 +0200
From: Christophe Kerello <christophe.kerello@...com>
To: <robh+dt@...nel.org>, <mark.rutland@....com>,
<alexandre.torgue@...com>, <linux@...linux.org.uk>,
<olof@...om.net>, <arnd@...db.de>
CC: <mcoquelin.stm32@...il.com>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Christophe Kerello <christophe.kerello@...com>
Subject: [PATCH 3/4] ARM: dts: stm32: enable FMC2 NAND controller on stm32mp157c-ev1
This patch enables FMC2 NAND controller used on stm32mp157c-ev1.
Signed-off-by: Christophe Kerello <christophe.kerello@...com>
---
arch/arm/boot/dts/stm32mp157c-ev1.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index feb8f77..9ab25da 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -157,6 +157,22 @@
};
};
+&fmc {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&fmc_pins_a>;
+ pinctrl-1 = <&fmc_sleep_pins_a>;
+ status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ nand@0 {
+ reg = <0>;
+ nand-on-flash-bbt;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+};
+
&i2c2 {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins_a>;
--
1.9.1
Powered by blists - more mailing lists