This patch disable mmc nodes by default in the dm814x.dtsi and enable only when needed on a given dts Signed-off-by: Nicolas Chauvet <kwizart@xxxxxxxxx> --- arch/arm/boot/dts/dm8148-evm.dts | 1 + arch/arm/boot/dts/dm8148-t410.dts | 1 + arch/arm/boot/dts/dm814x.dtsi | 3 +++ 3 files changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/dm8148-evm.dts b/arch/arm/boot/dts/dm8148-evm.dts index cbc17b0..cbb0c4d 100644 --- a/arch/arm/boot/dts/dm8148-evm.dts +++ b/arch/arm/boot/dts/dm8148-evm.dts @@ -94,6 +94,7 @@ }; &mmc2 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&sd1_pins>; vmmc-supply = <&vmmcsd_fixed>; diff --git a/arch/arm/boot/dts/dm8148-t410.dts b/arch/arm/boot/dts/dm8148-t410.dts index d64e818..dd6b1ca 100644 --- a/arch/arm/boot/dts/dm8148-t410.dts +++ b/arch/arm/boot/dts/dm8148-t410.dts @@ -46,6 +46,7 @@ }; &mmc3 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&sd2_pins>; vmmc-supply = <&vmmcsd_fixed>; diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index d4537dc..67c7c1d 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -303,6 +303,7 @@ interrupts = <64>; interrupt-parent = <&intc>; reg = <0x60000 0x1000>; + status = "disabled"; }; rtc: rtc@c0000 { @@ -321,6 +322,7 @@ interrupts = <28>; interrupt-parent = <&intc>; reg = <0x1d8000 0x1000>; + status = "disabled"; }; control: control@140000 { @@ -440,6 +442,7 @@ interrupts = <29>; interrupt-parent = <&intc>; reg = <0x47810000 0x1000>; + status = "disabled"; }; edma: edma@49000000 { -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html