ARM: dts: imx6ul: segin: Only enable NAND if it is populated
authorStefan Riedmueller <s.riedmueller@phytec.de>
Tue, 9 Jul 2019 07:19:23 +0000 (09:19 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 23 Jul 2019 05:38:32 +0000 (13:38 +0800)
The phyCORE-i.MX 6UL/ULL now comes either with NAND flash or eMMC. We
have to configure the populated memory type in the device tree files. So
the GPMI node gets disabled by default and only enabled if populated.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi
arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts

index fee7a7e938ee297dc81fd6b12f64a7466035a388..de6ffbb0183c79ff4a9fe77159ff25a870d61dc7 100644 (file)
@@ -65,7 +65,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_gpmi_nand>;
        nand-on-flash-bbt;
-       status = "okay";
+       status = "disabled";
 };
 
 &i2c1 {
index 81a82dd65019174ad3290c2c83253551b7f2f415..c6ef13685a7c910180ab3a443cf6014dbccb1248 100644 (file)
        status = "okay";
 };
 
+&gpmi {
+       status = "okay";
+};
+
 &i2c_rtc {
        status = "okay";
 };