1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Qihoo 360 C301";
10 compatible = "qihoo,c301";
13 led-boot = &led_wlan_g;
14 led-failsafe = &led_wlan_o;
15 led-upgrade = &led_wlan_o;
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&jtag_disable_pins>;
24 label = "c301:green:wlan";
25 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
29 label = "c301:orange:wlan";
30 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy1tpt";
36 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
46 compatible = "regulator-fixed";
47 regulator-name = "eth_led_vbus";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
51 gpio = <&gpio 18 GPIO_ACTIVE_LOW>;
54 usb_vbus: reg_usb_vbus {
55 compatible = "regulator-fixed";
56 regulator-name = "usb_vbus";
57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>;
60 gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
65 pmx_spi_cs1: pinmux_spi_cs1 {
66 pinctrl-single,bits = <0xc 0x07 0xff>;
69 pmx_led_switch: pinmux_led_switch {
70 pinctrl-single,bits = <0x0 0x2b2a2d00 0xffffff00>;
75 clock-frequency = <40000000>;
87 line-name = "c301:ext:lna0";
94 line-name = "c301:ext:lna1";
99 pinctrl-names = "default";
100 pinctrl-0 = <&pmx_led_switch>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&pmx_spi_cs1>;
111 #address-cells = <1>;
113 compatible = "jedec,spi-nor";
115 spi-max-frequency = <25000000>;
118 compatible = "fixed-partitions";
119 #address-cells = <1>;
129 label = "u-boot-env";
130 reg = <0x40000 0x10000>;
136 reg = <0x50000 0x10000>;
142 reg = <0x60000 0x10000>;
147 compatible = "seama";
149 reg = <0x70000 0xf60000>;
153 label = "warm_start";
154 reg = <0xfd0000 0x10000>;
159 label = "action_image_config";
160 reg = <0xfe0000 0x10000>;
165 reg = <0xff0000 0x10000>;
172 #address-cells = <1>;
174 compatible = "jedec,spi-nor";
176 spi-max-frequency = <25000000>;
179 compatible = "fixed-partitions";
180 #address-cells = <1>;
185 reg = <0x0 0xf00000>;
189 label = "privatedata";
190 reg = <0xf00000 0x100000>;
203 phy-supply = <&usb_vbus>;
210 compatible = "qcom,ath10k";
224 switch-phy-swap = <1>;
225 switch-only-mode = <1>;
231 phy-handle = <&swphy0>;