lantiq: kernel 4.14: update dts files
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / BTHOMEHUBV5A.dts
index feefc8519ed5932f92a5d240e892fb70404e5653..a3be0a5c9ca93c977a674c45ca4afd97abbb6dc9 100644 (file)
@@ -3,6 +3,7 @@
 #include "vr9.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/mips/lantiq_rcu_gphy.h>
 
 / {
        compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
                reg = <0x0 0x8000000>;
        };
 
-       gphy-xrx200 {
-               compatible = "lantiq,phy-xrx200";
-               firmware1 = "lantiq/xrx200_phy11g_a14.bin";     /*VR9 1.1*/
-               firmware2 = "lantiq/xrx200_phy11g_a22.bin";     /*VR9 1.2*/
-               phys = [ 00 01 ];
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                        gpios = <&gpio 19 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;
+       };
 };
 
 &eth0 {
        };
 };
 
+&gphy0 {
+       lantiq,gphy-mode = <GPHY_MODE_GE>;
+};
+
+&gphy1 {
+       lantiq,gphy-mode = <GPHY_MODE_GE>;
+};
+
 &gpio {
        pinctrl-names = "default";
        pinctrl-0 = <&state_default>;
        };
 };
 
+&usb_phy0 {
+       status = "okay";
+       phy-supply = <&usb_vbus>;
+};
+
 &usb0 {
        status = "okay";
-       gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
 };