summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-23 00:49:33 +0200
committerBenoit Cousson <bcousson@baylibre.com>2013-10-23 10:12:20 +0200
commitf1751cff82b8e568fb2197f1f74dbf59aa86f9b0 (patch)
tree6a406e5047139f474a27bed88f189c3ab0deccb1 /arch
parent7a89eecfdf745bcc3d39cbd5088ad821c4fc62c4 (diff)
downloadop-kernel-dev-f1751cff82b8e568fb2197f1f74dbf59aa86f9b0.zip
op-kernel-dev-f1751cff82b8e568fb2197f1f74dbf59aa86f9b0.tar.gz
ARM: dts: omap3-n900: Add support for SD cards
Add support for external SD card slot. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts17
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 9226268..01a437e 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -65,6 +65,17 @@
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 {
@@ -103,7 +114,11 @@
};
&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 {
OpenPOWER on IntegriCloud