diff options
author | Nicolas Chauvet <kwizart@gmail.com> | 2016-05-10 12:14:58 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-05-12 13:37:17 -0700 |
commit | 1ddbef4d596ce51bf25825549bc5865de08a7e62 (patch) | |
tree | 9ebb068a23831feb4d816000a7617d2189495829 | |
parent | 54c78870e4d70420b887d712a3e73a6783d5b51d (diff) | |
download | linux-stable-1ddbef4d596ce51bf25825549bc5865de08a7e62.tar.gz linux-stable-1ddbef4d596ce51bf25825549bc5865de08a7e62.tar.bz2 linux-stable-1ddbef4d596ce51bf25825549bc5865de08a7e62.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/dm8148-evm.dts | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/dm8148-t410.dts | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dm8148-evm.dts b/arch/arm/boot/dts/dm8148-evm.dts index cbc17b0794b1..4128fa91823c 100644 --- a/arch/arm/boot/dts/dm8148-evm.dts +++ b/arch/arm/boot/dts/dm8148-evm.dts @@ -93,6 +93,10 @@ }; }; +&mmc1 { + status = "disabled"; +}; + &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&sd1_pins>; @@ -101,6 +105,10 @@ cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; }; +&mmc3 { + status = "disabled"; +}; + &pincntl { sd1_pins: pinmux_sd1_pins { pinctrl-single,pins = < diff --git a/arch/arm/boot/dts/dm8148-t410.dts b/arch/arm/boot/dts/dm8148-t410.dts index 97000b521cea..3f184863e0c5 100644 --- a/arch/arm/boot/dts/dm8148-t410.dts +++ b/arch/arm/boot/dts/dm8148-t410.dts @@ -45,6 +45,14 @@ phy-mode = "rgmii"; }; +&mmc1 { + status = "disabled"; +}; + +&mmc2 { + status = "disabled"; +}; + &mmc3 { pinctrl-names = "default"; pinctrl-0 = <&sd2_pins>; |