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>;
89 line-name = "c301:ext:lna0";
96 line-name = "c301:ext:lna1";
101 pinctrl-names = "default";
102 pinctrl-0 = <&pmx_led_switch>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pmx_spi_cs1>;
113 #address-cells = <1>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <25000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
131 label = "u-boot-env";
132 reg = <0x40000 0x10000>;
138 reg = <0x50000 0x10000>;
144 reg = <0x60000 0x10000>;
149 compatible = "seama";
151 reg = <0x70000 0xf60000>;
155 label = "warm_start";
156 reg = <0xfd0000 0x10000>;
161 label = "action_image_config";
162 reg = <0xfe0000 0x10000>;
167 reg = <0xff0000 0x10000>;
174 #address-cells = <1>;
176 compatible = "jedec,spi-nor";
178 spi-max-frequency = <25000000>;
181 compatible = "fixed-partitions";
182 #address-cells = <1>;
187 reg = <0x0 0xf00000>;
191 label = "privatedata";
192 reg = <0xf00000 0x100000>;
211 compatible = "qcom,ath10k";
225 switch-phy-swap = <1>;
226 switch-only-mode = <1>;
232 phy-handle = <&swphy0>;