ARM: dts: Add Vbus regulator for USB 3.0 on exynos5250-snow
authorVivek Gautam <gautam.vivek@samsung.com>
Mon, 19 May 2014 13:23:43 +0000 (22:23 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 May 2014 14:13:59 +0000 (23:13 +0900)
Add required fixed-regulator for VBUS supply for USB 3.0
controller phy.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-snow.dts

index 9d1ca0951873af4356c94a994e4c5948fb8ac99a..2f054bec0bd98bdc39288f65c162b8a70126c5a2 100644 (file)
                        samsung,pin-drv = <0>;
                };
 
+               usb3_vbus_en: usb3-vbus-en {
+                       samsung,pins = "gpx2-7";
+                       samsung,pin-function = <1>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
                hdmi_hpd_irq: hdmi-hpd-irq {
                        samsung,pins = "gpx3-7";
                        samsung,pin-function = <0>;
                samsung,audio-codec = <&max98095>;
        };
 
+       usb3_vbus_reg: regulator-usb3 {
+               compatible = "regulator-fixed";
+               regulator-name = "P5.0V_USB3CON";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               gpio = <&gpx2 7 0>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&usb3_vbus_en>;
+               enable-active-high;
+       };
+
+       phy@12100000 {
+               vbus-supply = <&usb3_vbus_reg>;
+       };
+
        usb@12110000 {
                samsung,vbus-gpio = <&gpx1 1 0>;
        };