ARM: dts: omap3-n900: Add support for SD cards
authorSebastian Reichel <sre@debian.org>
Tue, 22 Oct 2013 22:49:33 +0000 (00:49 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Wed, 23 Oct 2013 08:12:20 +0000 (10:12 +0200)
Add support for external SD card slot.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-n900.dts

index 92262680cb8520279d861c6cff46bf3523638ca6..01a437edf93c0ee9baadeb416986a61413a381b0 100644 (file)
                        0x194 (PIN_INPUT_PULLUP | MUX_MODE0)    /* i2c3_sda */
                >;
        };
+
+       mmc1_pins: pinmux_mmc1_pins {
+               pinctrl-single,pins = <
+                       0x114 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_clk */
+                       0x116 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_cmd */
+                       0x118 (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat0 */
+                       0x11a (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat1 */
+                       0x11c (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat2 */
+                       0x11e (PIN_INPUT_PULLUP | MUX_MODE0)    /* sdmmc1_dat3 */
+               >;
+       };
 };
 
 &i2c1 {
 };
 
 &mmc1 {
-       status = "disabled";
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins>;
+       vmmc-supply = <&vmmc1>;
+       bus-width = <4>;
+       cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */
 };
 
 &mmc2 {