aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts18
1 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
index 9d0a8ac9e0..6bee3308a2 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
@@ -97,6 +97,18 @@
default-state = "on";
};
};
+
+ usb_vbus: regulator-usb-vbus {
+ compatible = "regulator-fixed";
+
+ regulator-name = "USB_VBUS";
+
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+
+ gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&gpio {
@@ -177,7 +189,11 @@
};
};
+&usb_phy0 {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
&usb0 {
status = "okay";
- gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
};