Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ddbef4d authored by Nicolas Chauvet's avatar Nicolas Chauvet Committed by Tony Lindgren
Browse files

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: default avatarNicolas Chauvet <kwizart@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 54c78870
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = <
+8 −0
Original line number Diff line number Diff line
@@ -45,6 +45,14 @@
	phy-mode = "rgmii";
};

&mmc1 {
	status = "disabled";
};

&mmc2 {
	status = "disabled";
};

&mmc3 {
	pinctrl-names = "default";
	pinctrl-0 = <&sd2_pins>;