ARM: dts: Add vmmc fixed voltage regulator for exynos4210-origen
authorTomasz Figa <t.figa@samsung.com>
Wed, 21 Nov 2012 15:15:40 +0000 (00:15 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 21 Nov 2012 15:38:56 +0000 (00:38 +0900)
This patch adds fixed voltage vmmc regulator to dts file of Origen
board.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-origen.dts

index 7390f8c3f3bc318a841fed78ecd7b3cec5b2180c..f2710018e84eca2cb758825d84a6f8acde45ea60 100644 (file)
                bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
        };
 
+       mmc_reg: voltage-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "VMEM_VDD_2.8V";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+               gpio = <&gpx1 1 0>;
+               enable-active-high;
+       };
+
        sdhci@12530000 {
                bus-width = <4>;
                pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
                pinctrl-names = "default";
+               vmmc-supply = <&mmc_reg>;
                status = "okay";
        };
 
@@ -43,6 +53,7 @@
                bus-width = <4>;
                pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
                pinctrl-names = "default";
+               vmmc-supply = <&mmc_reg>;
                status = "okay";
        };