// 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 {