1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Qihoo 360 C301";
11 compatible = "qihoo,c301";
14 led-boot = &led_wlan_g;
15 led-failsafe = &led_wlan_o;
16 led-upgrade = &led_wlan_o;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&jtag_disable_pins>;
25 label = "c301:green:wlan";
26 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
30 label = "c301:orange:wlan";
31 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy1tpt";
37 compatible = "gpio-keys";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
47 compatible = "regulator-fixed";
48 regulator-name = "eth_led_vbus";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
52 gpio = <&gpio 18 GPIO_ACTIVE_LOW>;
55 usb_vbus: reg_usb_vbus {
56 compatible = "regulator-fixed";
57 regulator-name = "usb_vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
61 gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
66 pmx_spi_cs1: pinmux_spi_cs1 {
67 pinctrl-single,bits = <0xc 0x07 0xff>;
70 pmx_led_switch: pinmux_led_switch {
71 pinctrl-single,bits = <0x0 0x2b2a2d00 0xffffff00>;
76 clock-frequency = <40000000>;
88 line-name = "c301:ext:lna0";
95 line-name = "c301:ext:lna1";
100 pinctrl-names = "default";
101 pinctrl-0 = <&pmx_led_switch>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pmx_spi_cs1>;
112 #address-cells = <1>;
114 compatible = "jedec,spi-nor";
116 spi-max-frequency = <25000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
130 label = "u-boot-env";
131 reg = <0x40000 0x10000>;
137 reg = <0x50000 0x10000>;
143 reg = <0x60000 0x10000>;
148 compatible = "seama";
150 reg = <0x70000 0xf60000>;
154 label = "warm_start";
155 reg = <0xfd0000 0x10000>;
160 label = "action_image_config";
161 reg = <0xfe0000 0x10000>;
166 reg = <0xff0000 0x10000>;
173 #address-cells = <1>;
175 compatible = "jedec,spi-nor";
177 spi-max-frequency = <25000000>;
180 compatible = "fixed-partitions";
181 #address-cells = <1>;
186 reg = <0x0 0xf00000>;
190 label = "privatedata";
191 reg = <0xf00000 0x100000>;
204 phy-supply = <&usb_vbus>;
211 compatible = "qcom,ath10k";
225 switch-phy-swap = <1>;
226 switch-only-mode = <1>;
232 phy-handle = <&swphy0>;