ARM: dts: exynos: Enable DWC2 dual-role support on OdroidU3+ boards
[linux-2.6-microblaze.git] / arch / arm / boot / dts / exynos4412-odroidu3.dts
index b8549d8..3bc83d6 100644 (file)
                reg = <0x40000000 0x7FF00000>;
        };
 
+       vbus_otg_reg: regulator-1 {
+               compatible = "regulator-fixed";
+               regulator-name = "VBUS_VDD_5.0V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               gpio = <&gpl2 0 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        leds {
                compatible = "gpio-leds";
                led1 {
        phy-names = "hsic0", "hsic1";
 };
 
+&hsotg {
+       dr_mode = "otg";
+       vbus-supply = <&vbus_otg_reg>;
+};
+
 &sound {
        model = "Odroid-U3";
        samsung,audio-widgets =