diff options
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi index 829e8c3d7e..8f22380cc9 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi @@ -1,6 +1,7 @@ #include "vr9.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/mips/lantiq_rcu_gphy.h> / { compatible = "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9"; @@ -23,13 +24,6 @@ reg = <0x0 0x4000000>; }; - 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>; @@ -98,6 +92,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 47 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; ð0 { @@ -171,6 +177,14 @@ }; }; +&gphy0 { + lantiq,gphy-mode = <GPHY_MODE_FE>; +}; + +&gphy1 { + lantiq,gphy-mode = <GPHY_MODE_FE>; +}; + &gpio { pinctrl-names = "default"; pinctrl-0 = <&state_default>; @@ -237,9 +251,13 @@ status = "disabled"; }; +&usb_phy0 { + status = "okay"; + phy-supply = <&usb_vbus>; +}; + &usb0 { status = "okay"; - gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; }; &vmmc { |