ARM: dts: dra7-evm: Add mmc2 node for eMMC support
authorBalaji T K <balajitk@ti.com>
Mon, 7 Oct 2013 16:25:04 +0000 (21:55 +0530)
committerBenoit Cousson <bcousson@baylibre.com>
Fri, 11 Oct 2013 19:15:02 +0000 (21:15 +0200)
Add mmc2 dt node to dra7-evm board
and model eMMC vcc as fixed regulator.

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/dra7-evm.dts

index 65cd15a..3abf5f4 100644 (file)
                device_type = "memory";
                reg = <0x80000000 0x60000000>; /* 1536 MB */
        };
+
+       mmc2_3v3: fixedregulator-mmc2 {
+               compatible = "regulator-fixed";
+               regulator-name = "mmc2_3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
 };
 
 &dra7_pmx_core {
        vmmc-supply = <&ldo1_reg>;
        bus-width = <4>;
 };
+
+&mmc2 {
+       status = "okay";
+       vmmc-supply = <&mmc2_3v3>;
+       bus-width = <8>;
+};