提交 3045ffff 编写于 作者: A Alexander Holler 提交者: Benoit Cousson

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: NAlexander Holler <holler@ahsoftware.de>
Signed-off-by: NKoen Kooi <koen@dominion.thruhere.net>
Tested-by: NKevin Hilman <khilman@linaro.org>
Reviewed-by: NNishanth Menon <nm@ti.com>
Signed-off-by: NBenoit Cousson <bcousson@baylibre.com>
上级 55b4452b
......@@ -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;
};
......@@ -17,6 +17,5 @@
};
&mmc1 {
status = "okay";
vmmc-supply = <&ldo3_reg>;
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册