aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts')
-rw-r--r--target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts39
1 files changed, 30 insertions, 9 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
index d361fde6d4..40607aebdd 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
@@ -3,6 +3,7 @@
#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
compatible = "arcadyan,arv7519rw22", "lantiq,xway", "lantiq,vr9";
@@ -24,13 +25,6 @@
reg = <0x0 0x8000000>;
};
- gphy-xrx200 {
- compatible = "lantiq,phy-xrx200";
- firmware1 = "lantiq/xrx200_phy22f_a14.bin"; /*VR9 1.1*/
- firmware2 = "lantiq/xrx200_phy22f_a22.bin"; /*VR9 1.2*/
- phys = [ 00 01 ];
- };
-
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -87,6 +81,18 @@
gpios = <&gpio 29 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 32 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&eth0 {
@@ -159,6 +165,13 @@
};
};
+&gphy0 {
+ lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
+
+&gphy1 {
+ lantiq,gphy-mode = <GPHY_MODE_FE>;
+};
&gpio {
pinctrl-names = "default";
@@ -221,12 +234,20 @@
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
+&usb_phy0 {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
+&usb_phy1 {
+ status = "okay";
+ phy-supply = <&usb_vbus>;
+};
+
&usb0 {
status = "okay";
- gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
};
&usb1 {
status = "okay";
- gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
};