aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-bone-common.dtsi
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2013-09-12 14:35:32 -0400
committerBenoit Cousson <bcousson@baylibre.com>2013-10-11 15:06:30 -0400
commit3045ffffcf5f334216ccb80697ac1a2ee5db179e (patch)
treea44d3f1d95f73bf3020449a9c295b5af2889a4fa /arch/arm/boot/dts/am335x-bone-common.dtsi
parent55b4452b4b7082ecf3cc2095bc21762a901a8ca2 (diff)
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: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Tested-by: Kevin Hilman <khilman@linaro.org> Reviewed-by: Nishanth Menon <nm@ti.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-bone-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am335x-bone-common.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2f66deda9f5c..0d95d54b6ae9 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -107,6 +107,12 @@
107 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) 107 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
108 >; 108 >;
109 }; 109 };
110
111 mmc1_pins: pinmux_mmc1_pins {
112 pinctrl-single,pins = <
113 0x160 (PIN_INPUT | MUX_MODE7) /* GPIO0_6 */
114 >;
115 };
110 }; 116 };
111 117
112 ocp { 118 ocp {
@@ -260,3 +266,11 @@
260 pinctrl-0 = <&davinci_mdio_default>; 266 pinctrl-0 = <&davinci_mdio_default>;
261 pinctrl-1 = <&davinci_mdio_sleep>; 267 pinctrl-1 = <&davinci_mdio_sleep>;
262}; 268};
269
270&mmc1 {
271 status = "okay";
272 pinctrl-names = "default";
273 pinctrl-0 = <&mmc1_pins>;
274 cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
275 cd-inverted;
276};