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>
7 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_WLAN;
26 color = <LED_COLOR_ID_GREEN>;
27 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
31 function = LED_FUNCTION_WLAN;
32 color = <LED_COLOR_ID_ORANGE>;
33 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy1tpt";
39 compatible = "gpio-keys";
42 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 debounce-interval = <60>;
49 compatible = "regulator-fixed";
50 regulator-name = "eth_led_vbus";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 usb_vbus: reg_usb_vbus {
58 compatible = "regulator-fixed";
59 regulator-name = "usb_vbus";
60 regulator-min-microvolt = <5000000>;
61 regulator-max-microvolt = <5000000>;
63 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
68 pmx_spi_cs1: pinmux_spi_cs1 {
69 pinctrl-single,bits = <0xc 0x07 0xff>;
72 pmx_led_switch: pinmux_led_switch {
73 pinctrl-single,bits = <0x0 0x2b2a2d00 0xffffff00>;
78 clock-frequency = <40000000>;
86 line-name = "c301:ext:lna0";
93 line-name = "c301:ext:lna1";
98 pinctrl-names = "default";
99 pinctrl-0 = <&pmx_led_switch>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pmx_spi_cs1>;
109 compatible = "jedec,spi-nor";
111 spi-max-frequency = <25000000>;
114 compatible = "fixed-partitions";
115 #address-cells = <1>;
125 label = "u-boot-env";
126 reg = <0x40000 0x10000>;
132 reg = <0x50000 0x10000>;
138 reg = <0x60000 0x10000>;
143 compatible = "seama";
145 reg = <0x70000 0xf60000>;
149 label = "warm_start";
150 reg = <0xfd0000 0x10000>;
155 label = "action_image_config";
156 reg = <0xfe0000 0x10000>;
161 reg = <0xff0000 0x10000>;
165 compatible = "fixed-layout";
166 #address-cells = <1>;
169 cal_radiocfg_5000: calibration@5000 {
170 reg = <0x5000 0x844>;
178 compatible = "jedec,spi-nor";
180 spi-max-frequency = <25000000>;
183 compatible = "fixed-partitions";
184 #address-cells = <1>;
189 reg = <0x0 0xf00000>;
193 label = "privatedata";
194 reg = <0xf00000 0x100000>;
207 phy-supply = <&usb_vbus>;
214 compatible = "qcom,ath10k";
216 nvmem-cells = <&cal_radiocfg_5000>;
217 nvmem-cell-names = "calibration";
230 switch-phy-swap = <1>;
231 switch-only-mode = <1>;
237 phy-handle = <&swphy0>;