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 cbc17b0794b102fb2f0862958203c19c1fe79dae..4128fa91823c98c6fb94870ccb2e5b69c31f35e0 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 97000b521ceabea2dd4ca9b7bd930fa575187d6e..3f184863e0c52192d7a01a8f24ad3637b1229556 100644 (file)
        phy-mode = "rgmii";
 };
 
+&mmc1 {
+       status = "disabled";
+};
+
+&mmc2 {
+       status = "disabled";
+};
+
 &mmc3 {
        pinctrl-names = "default";
        pinctrl-0 = <&sd2_pins>;