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 compatible = "ruckus,gd11", "qca,ar7161";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_red;
16 label-mac-device = ð0;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
34 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
39 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
42 led_power_green: power-green {
43 label = "green:power";
44 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
48 led_power_red: power-red {
50 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
55 label = "green:wlan2g";
56 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
57 linux,default-trigger = "phy0assoc";
61 label = "yellow:wlan2g";
62 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "phy0tpt";
67 label = "green:wlan5g";
68 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "phy1assoc";
73 label = "yellow:wlan5g";
74 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
75 linux,default-trigger = "phy1tpt";
84 ruckus-himem@3ff0000 {
85 /* Ruckus Himem area used to control
86 * redundant boot image selection
88 compatible = "nvmem-rmem";
89 reg = <0x3ff0000 0x10000>;
95 compatible = "spi-gpio";
96 mosi-gpios = <&ath9k0 5 GPIO_ACTIVE_HIGH>;
97 sck-gpios = <&ath9k0 6 GPIO_ACTIVE_HIGH>;
98 num-chipselects = <0>;
102 beamforming_2g_gpio: beamforming-2g-gpio@0 {
103 compatible = "fairchild,74hc595";
105 registers-number = <1>;
106 spi-max-frequency = <24000000>;
113 compatible = "spi-gpio";
114 mosi-gpios = <&ath9k1 5 GPIO_ACTIVE_HIGH>;
115 sck-gpios = <&ath9k1 6 GPIO_ACTIVE_HIGH>;
116 num-chipselects = <0>;
117 #address-cells = <1>;
120 beamforming_5g_gpio: beamforming-5g-gpio@0 {
121 compatible = "fairchild,74hc595";
123 registers-number = <1>;
124 spi-max-frequency = <24000000>;
134 ath9k0: wifi@11,0 { /* 2.4 GHz */
135 compatible = "pci168c,0029";
136 reg = <0x8800 0 0 0 0>;
137 nvmem-cells = <&macaddr_bdata_60>;
138 nvmem-cell-names = "mac-address";
143 ath9k1: wifi@12,0 { /* 5 GHz */
144 compatible = "pci168c,0029";
145 reg = <0x9000 0 0 0 0>;
146 nvmem-cells = <&macaddr_bdata_76>;
147 nvmem-cell-names = "mac-address";
156 phy0: ethernet-phy@1e {
163 nvmem-cells = <&macaddr_bdata_66>;
164 nvmem-cell-names = "mac-address";
166 pll-data = <0x00110000 0x00001099 0x00991099>;
167 phy-handle = <&phy0>;
168 phy-mode = "rgmii-id";
175 compatible = "jedec,spi-nor";
177 spi-max-frequency = <104000000>;
181 compatible = "fixed-partitions";
182 #address-cells = <1>;
191 /* On stock FW this encompasses rcks_wlan.main,
192 * rcks_wlan.bkup and datafs partitions
195 compatible = "openwrt,uimage", "denx,uimage";
196 reg = <0x40000 0xf40000>;
201 compatible = "u-boot,env";
202 reg = <0xf80000 0x40000>;
203 label = "u-boot-env";
206 board_data: partition@fc0000 {
207 reg = <0xfc0000 0x40000>;
208 label = "board-data";