ARM: dts: disable mmc by default and enable when needed for dm814x
authorNicolas Chauvet <kwizart@gmail.com>
Tue, 10 May 2016 10:14:58 +0000 (12:14 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 12 May 2016 20:37:17 +0000 (13:37 -0700)
This patch disable mmc nodes by default in the dm814x.dtsi and
enable only when needed on a given dts

v2: Disable un-used mmc nodes on the related boards dts files
 instead of from the included SOC dts

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm8148-evm.dts
arch/arm/boot/dts/dm8148-t410.dts

index cbc17b0..4128fa9 100644 (file)
        };
 };
 
+&mmc1 {
+        status = "disabled";
+};
+
 &mmc2 {
        pinctrl-names = "default";
        pinctrl-0 = <&sd1_pins>;
        cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
 };
 
+&mmc3 {
+        status = "disabled";
+};
+
 &pincntl {
        sd1_pins: pinmux_sd1_pins {
                pinctrl-single,pins = <
index 97000b5..3f18486 100644 (file)
        phy-mode = "rgmii";
 };
 
+&mmc1 {
+       status = "disabled";
+};
+
+&mmc2 {
+       status = "disabled";
+};
+
 &mmc3 {
        pinctrl-names = "default";
        pinctrl-0 = <&sd2_pins>;