From 8a1727b962afc0e7f7dc1f4b39b22953bac7631e Mon Sep 17 00:00:00 2001
From: Torben Hohn <torbenh@linutronix.de>
Date: Tue, 18 Mar 2014 17:07:15 +0100
Subject: [PATCH 50/51] dts am335x-pcm051: use fixed regulator for vmmc

---
 arch/arm/boot/dts/am335x-pcm051.dts |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-pcm051.dts b/arch/arm/boot/dts/am335x-pcm051.dts
index 87b4b93..2a6e2eb 100644
--- a/arch/arm/boot/dts/am335x-pcm051.dts
+++ b/arch/arm/boot/dts/am335x-pcm051.dts
@@ -272,6 +272,15 @@
 		};
 	};
 
+
+	vmmc: fixedregulator@1 {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-boot-on;
+	};
+
 	backlight {
 		compatible = "pwm-backlight";
 		pwms = <&ecap0 0 50000 0>;
@@ -336,7 +345,7 @@
 
 &mmc1 {
 	status = "okay";
-	vmmc-supply = <&ldo3_reg>;
+	vmmc-supply = <&vmmc>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins>;
 	cd-gpios = <&gpio0 6 0>;
-- 
1.7.10.4