ARM: dts: disable mmc by default and enable when needed for dm814x

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>
This commit is contained in:
Nicolas Chauvet 2016-05-10 12:14:58 +02:00 committed by Tony Lindgren
parent 54c78870e4
commit 1ddbef4d59
2 changed files with 16 additions and 0 deletions

View file

@ -93,6 +93,10 @@ partition@0x780000 {
};
};
&mmc1 {
status = "disabled";
};
&mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&sd1_pins>;
@ -101,6 +105,10 @@ &mmc2 {
cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
};
&mmc3 {
status = "disabled";
};
&pincntl {
sd1_pins: pinmux_sd1_pins {
pinctrl-single,pins = <

View file

@ -45,6 +45,14 @@ &cpsw_emac1 {
phy-mode = "rgmii";
};
&mmc1 {
status = "disabled";
};
&mmc2 {
status = "disabled";
};
&mmc3 {
pinctrl-names = "default";
pinctrl-0 = <&sd2_pins>;