lantiq: kernel 4.14: update dts files
[openwrt/staging/chunkeey.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / ARV4518PWR01.dtsi
index de657c6a5427880baf1382bc5b2d67003169ad9a..458a3875363f301b5626ad6c6c9aee34c4196530 100644 (file)
                        gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
                };
        };
+
+       usb_vbus: regulator-usb-vbus {
+               compatible = "regulator-fixed";
+
+               regulator-name = "USB_VBUS";
+
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
 };
 
 &gpio {
        req-mask = <0xf>;
 };
 
+&usb_phy {
+       status = "okay";
+       phy-supply = <&usb_vbus>;
+};
+
 &usb {
        status = "okay";
-       gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
 };
 
 &vmmc {