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>;
56 compatible = "regulator-fixed";
57 regulator-name = "usb_vbus";
58 regulator-min-microvolt = <5000000>;
59 regulator-max-microvolt = <5000000>;
62 gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
67 pmx_spi_cs1: pinmux_spi_cs1 {
68 pinctrl-single,bits = <0xc 0x07 0xff>;
71 pmx_led_switch: pinmux_led_switch {
72 pinctrl-single,bits = <0x0 0x2b2a2d00 0xffffff00>;
77 clock-frequency = <40000000>;
91 line-name = "c301:ext:lna0";
98 line-name = "c301:ext:lna1";
103 pinctrl-names = "default";
104 pinctrl-0 = <&pmx_led_switch>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&pmx_spi_cs1>;
115 #address-cells = <1>;
117 compatible = "jedec,spi-nor";
119 spi-max-frequency = <25000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
133 label = "u-boot-env";
134 reg = <0x40000 0x10000>;
140 reg = <0x50000 0x10000>;
146 reg = <0x60000 0x10000>;
151 compatible = "seama";
153 reg = <0x70000 0xf60000>;
157 label = "warm_start";
158 reg = <0xfd0000 0x10000>;
163 label = "action_image_config";
164 reg = <0xfe0000 0x10000>;
169 reg = <0xff0000 0x10000>;
176 #address-cells = <1>;
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>;
213 compatible = "qcom,ath10k";
227 switch-phy-swap = <1>;
228 switch-only-mode = <1>;
234 phy-handle = <&swphy0>;