diff options
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts index 1fc42fe51f..a958fc67aa 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370.dts @@ -3,6 +3,7 @@ #include "vr9.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/mips/lantiq_rcu_gphy.h> / { compatible = "avm,fritz3370", "lantiq,xway", "lantiq,vr9"; @@ -26,12 +27,6 @@ reg = <0x0 0x8000000>; }; - gphy-xrx200 { - compatible = "lantiq,phy-xrx200"; - firmware = "lantiq/xrx200_phy11g_a14.bin"; - phys = [ 00 01 ]; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -147,6 +142,14 @@ }; }; +&gphy0 { + lantiq,gphy-mode = <GPHY_MODE_GE>; +}; + +&gphy1 { + lantiq,gphy-mode = <GPHY_MODE_GE>; +}; + &gpio { pinctrl-names = "default"; pinctrl-0 = <&state_default>; @@ -280,9 +283,14 @@ }; }; +/* + * TODO: add phy-supply, gpio 5 GPIO_ACTIVE_HIGH and gpio 14 GPIO_ACTIVE_HIGH are + * related + */ +&usb_phy0 { + status = "okay"; +}; + &usb0 { status = "okay"; - gpios = <&gpio 5 GPIO_ACTIVE_HIGH - &gpio 14 GPIO_ACTIVE_HIGH>; - lantiq,portmask = <0x3>; }; |