diff options
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts index b187ab77f3..4092b6b6eb 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts @@ -3,6 +3,7 @@ #include "vr9.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/mips/lantiq_rcu_gphy.h> / { compatible = "buffalo,wbmr-300hpd", "lantiq,xway", "lantiq,vr9"; @@ -26,12 +27,6 @@ reg = <0x0 0x4000000>; }; - gphy-xrx200 { - compatible = "lantiq,phy-xrx200"; - firmware = "lantiq/xrx200_phy22f_a22.bin"; - phys = [ 00 01 ]; - }; - gpio_poweroff { compatible = "gpio-poweroff"; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; @@ -145,6 +140,18 @@ gpios = <&gpio 49 GPIO_ACTIVE_HIGH>; }; }; + + usb_vbus: regulator-usb-vbus { + compatible = "regulator-fixed"; + + regulator-name = "USB_VBUS"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio 33 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; ð0 { @@ -206,6 +213,14 @@ }; }; +&gphy0 { + lantiq,gphy-mode = <GPHY_MODE_FE>; +}; + +&gphy1 { + lantiq,gphy-mode = <GPHY_MODE_FE>; +}; + &gpio { pinctrl-names = "default"; pinctrl-0 = <&state_default>; @@ -295,13 +310,20 @@ }; }; +&usb_phy0 { + status = "okay"; + phy-supply = <&usb_vbus>; +}; + +&usb_phy1 { + status = "okay"; + phy-supply = <&usb_vbus>; +}; + &usb0 { status = "okay"; - gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; - lantiq,portmask = <0x3>; }; &usb1 { status = "okay"; - gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; }; |