ARM: dts: stm32: enable FMC2 NAND controller on stm32mp157c-ev1
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 21 Jun 2019 14:49:49 +0000 (16:49 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 25 Jul 2019 10:05:23 +0000 (12:05 +0200)
This patch enables FMC2 NAND controller used on stm32mp157c-ev1.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c-ev1.dts

index feb8f77..9ab25da 100644 (file)
        };
 };
 
+&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>;