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

Commit 3045ffff authored by Alexander Holler's avatar Alexander Holler Committed by Benoit Cousson
Browse files

ARM: dts: am335x-bone: add CD for mmc1



This enables the use of MMC cards even when no card was inserted at boot.

Signed-off-by: default avatarAlexander Holler <holler@ahsoftware.de>
Signed-off-by: default avatarKoen Kooi <koen@dominion.thruhere.net>
Tested-by: default avatarKevin Hilman <khilman@linaro.org>
Reviewed-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarBenoit Cousson <bcousson@baylibre.com>
parent 55b4452b
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -107,6 +107,12 @@
				0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			>;
		};

		mmc1_pins: pinmux_mmc1_pins {
			pinctrl-single,pins = <
				0x160 (PIN_INPUT | MUX_MODE7) /* GPIO0_6 */
			>;
		};
	};

	ocp {
@@ -260,3 +266,11 @@
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
};

&mmc1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
	cd-inverted;
};
+0 −1
Original line number Diff line number Diff line
@@ -17,6 +17,5 @@
};

&mmc1 {
	status = "okay";
	vmmc-supply = <&ldo3_reg>;
};