ath79: fix nanobeam ac ethernet interface
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_qihoo_c301.dts
index 2d5b5b3ab22b66d90a00fc65984076014ecd789c..dff2644b11aeefc50940d24f5561c769eb47091d 100644 (file)
@@ -1,11 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9344.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9344.dtsi"
-
 / {
        model = "Qihoo 360 C301";
        compatible = "qihoo,c301";
                pinctrl-0 = <&jtag_disable_pins>;
 
                led_wlan_g: wlan_g {
-                       label = "c301:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan_o: wlan_o {
-                       label = "c301:orange:wlan";
+                       label = "orange:wlan";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
                gpio = <&gpio 18 GPIO_ACTIVE_LOW>;
        };
 
-       reg_usb_vbus {
+       usb_vbus: reg_usb_vbus {
                compatible = "regulator-fixed";
                regulator-name = "usb_vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
                enable-active-high;
-               regulator-always-on;
                gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
        };
 };
 
 &usb_phy {
        status = "okay";
+       phy-supply = <&usb_vbus>;
 };
 
 &pcie {