summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-04-10 14:34:00 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-06-17 13:54:26 +0200
commitba078d1bd4ec56460c5317287033d97859374d7d (patch)
tree1748dd62f7acfc47af7c63e47d55df79523534d0 /arch
parentecf5b39a8b84e42341d8b39bf6454dea60e4c76b (diff)
ARM: u300: enable MMC/SD card from device tree
This adds support for the U300 MMC/SD card slot from the device tree boot. No other changes needed. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/ste-u300.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts
index d1ab4e91bfff..ae51dd109422 100644
--- a/arch/arm/boot/dts/ste-u300.dts
+++ b/arch/arm/boot/dts/ste-u300.dts
@@ -193,5 +193,19 @@
interrupt-parent = <&vicb>;
interrupts = <20>;
};
+
+ mmcsd: mmcsd@c0001000 {
+ compatible = "arm,pl18x", "arm,primecell";
+ reg = <0xc0001000 0x1000>;
+ interrupt-parent = <&vicb>;
+ interrupts = <6 7>;
+ max-frequency = <24000000>;
+ bus-width = <4>; // SD-card slot
+ mmc-cap-mmc-highspeed;
+ mmc-cap-sd-highspeed;
+ cd-gpios = <&gpio 12 0x4>;
+ cd-inverted;
+ vmmc-supply = <&ab3100_ldo_g_reg>;
+ };
};
};