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 65cd15a92cb1ba89e8f5ce1cb7c9e7886513a1df..3abf5f41e5cc36c4ff92b3ec1f8232bd39a5d29f 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>;
+};