Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+14
+14
arch/arm/boot/dts/ste-u300.dts
··· 193 193 interrupt-parent = <&vicb>; 194 194 interrupts = <20>; 195 195 }; 196 + 197 + mmcsd: mmcsd@c0001000 { 198 + compatible = "arm,pl18x", "arm,primecell"; 199 + reg = <0xc0001000 0x1000>; 200 + interrupt-parent = <&vicb>; 201 + interrupts = <6 7>; 202 + max-frequency = <24000000>; 203 + bus-width = <4>; // SD-card slot 204 + mmc-cap-mmc-highspeed; 205 + mmc-cap-sd-highspeed; 206 + cd-gpios = <&gpio 12 0x4>; 207 + cd-inverted; 208 + vmmc-supply = <&ab3100_ldo_g_reg>; 209 + }; 196 210 }; 197 211 };