aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi18
1 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
index de657c6a54..458a387536 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
@@ -96,6 +96,18 @@
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 {
@@ -178,9 +190,13 @@
req-mask = <0xf>;
};
+&usb_phy {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
&usb {
status = "okay";
- gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
&vmmc {