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>
11 model = "Ruckus ZoneFlex 7025";
12 compatible = "ruckus,zf7025", "qca,ar7240";
15 led-boot = &led_power_green;
16 led-failsafe = &led_power_red;
17 led-running = &led_power_green;
18 led-upgrade = &led_power_red;
19 label-mac-device = ð0;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
41 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
74 led_power_red: power-red {
75 function = LED_FUNCTION_POWER;
76 color = <LED_COLOR_ID_RED>;
77 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
81 led_power_green: power-green {
82 function = LED_FUNCTION_POWER;
83 color = <LED_COLOR_ID_GREEN>;
84 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
89 function = LED_FUNCTION_WLAN;
90 color = <LED_COLOR_ID_GREEN>;
91 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
92 linux,default-trigger = "phy0assoc";
96 function = LED_FUNCTION_WLAN;
97 color = <LED_COLOR_ID_YELLOW>;
98 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
99 linux,default-trigger = "phy0tpt";
104 #address-cells = <1>;
108 ruckus-himem@3ff0000 {
109 /* Ruckus Himem area used to control
110 * redundant boot image selection
112 compatible = "nvmem-rmem";
113 reg = <0x3ff0000 0x10000>;
123 compatible = "jedec,spi-nor";
125 spi-max-frequency = <104000000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
139 /* On stock FW this encompasses rcks_wlan.main,
140 * rcks_wlan.bkup and datafs partitions
143 compatible = "openwrt,uimage", "denx,uimage";
144 reg = <0x40000 0xf40000>;
149 compatible = "u-boot,env";
150 reg = <0xf80000 0x40000>;
151 label = "u-boot-env";
154 board_data: partition@fc0000 {
155 reg = <0xfc0000 0x40000>;
156 label = "board-data";
160 compatible = "fixed-layout";
161 #address-cells = <1>;
164 macaddr_board_data_60: macaddr@60 {
168 macaddr_board_data_66: macaddr@66 {
172 macaddr_board_data_6c: macaddr@6c {
182 nvmem-cells = <&macaddr_board_data_66>;
183 nvmem-cell-names = "mac-address";
188 nvmem-cells = <&macaddr_board_data_6c>;
189 nvmem-cell-names = "mac-address";
196 compatible = "pci168c,002b";
197 reg = <0x0000 0 0 0 0>;
198 nvmem-cells = <&macaddr_board_data_60>;
199 nvmem-cell-names = "mac-address";