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 compatible = "ruckus,gd11", "qca,ar7161";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_red;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
40 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
43 led_power_green: power-green {
44 function = LED_FUNCTION_POWER;
45 color = <LED_COLOR_ID_GREEN>;
46 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
50 led_power_red: power-red {
51 function = LED_FUNCTION_POWER;
52 color = <LED_COLOR_ID_RED>;
53 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
58 label = "green:wlan2g";
59 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
60 linux,default-trigger = "phy0assoc";
64 label = "yellow:wlan2g";
65 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "phy0tpt";
70 label = "green:wlan5g";
71 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
72 linux,default-trigger = "phy1assoc";
76 label = "yellow:wlan5g";
77 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
78 linux,default-trigger = "phy1tpt";
87 ruckus-himem@3ff0000 {
88 /* Ruckus Himem area used to control
89 * redundant boot image selection
91 compatible = "nvmem-rmem";
92 reg = <0x3ff0000 0x10000>;
98 compatible = "spi-gpio";
99 mosi-gpios = <&ath9k0 5 GPIO_ACTIVE_HIGH>;
100 sck-gpios = <&ath9k0 6 GPIO_ACTIVE_HIGH>;
101 num-chipselects = <0>;
102 #address-cells = <1>;
105 beamforming_2g_gpio: beamforming-2g-gpio@0 {
106 compatible = "fairchild,74hc595";
108 registers-number = <1>;
109 spi-max-frequency = <24000000>;
116 compatible = "spi-gpio";
117 mosi-gpios = <&ath9k1 5 GPIO_ACTIVE_HIGH>;
118 sck-gpios = <&ath9k1 6 GPIO_ACTIVE_HIGH>;
119 num-chipselects = <0>;
120 #address-cells = <1>;
123 beamforming_5g_gpio: beamforming-5g-gpio@0 {
124 compatible = "fairchild,74hc595";
126 registers-number = <1>;
127 spi-max-frequency = <24000000>;
137 ath9k0: wifi@11,0 { /* 2.4 GHz */
138 compatible = "pci168c,0029";
139 reg = <0x8800 0 0 0 0>;
140 nvmem-cells = <&macaddr_bdata_60>;
141 nvmem-cell-names = "mac-address";
146 ath9k1: wifi@12,0 { /* 5 GHz */
147 compatible = "pci168c,0029";
148 reg = <0x9000 0 0 0 0>;
149 nvmem-cells = <&macaddr_bdata_76>;
150 nvmem-cell-names = "mac-address";
159 phy0: ethernet-phy@1e {
166 nvmem-cells = <&macaddr_bdata_66>;
167 nvmem-cell-names = "mac-address";
169 pll-data = <0x00110000 0x00001099 0x00991099>;
170 phy-handle = <&phy0>;
171 phy-mode = "rgmii-id";
178 compatible = "jedec,spi-nor";
180 spi-max-frequency = <104000000>;
184 compatible = "fixed-partitions";
185 #address-cells = <1>;
194 /* On stock FW this encompasses rcks_wlan.main,
195 * rcks_wlan.bkup and datafs partitions
198 compatible = "openwrt,uimage", "denx,uimage";
199 reg = <0x40000 0xf40000>;
204 compatible = "u-boot,env";
205 reg = <0xf80000 0x40000>;
206 label = "u-boot-env";
209 board_data: partition@fc0000 {
210 reg = <0xfc0000 0x40000>;
211 label = "board-data";