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>
10 model = "Ruckus ZoneFlex 7025";
11 compatible = "ruckus,zf7025", "qca,ar7240";
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_red;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_red;
18 label-mac-device = ð0;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
35 pinctrl-names = "default";
36 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
40 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
73 led_power_red: power-red {
75 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
79 led_power_green: power-green {
80 label = "green:power";
81 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
87 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
88 linux,default-trigger = "phy0assoc";
92 label = "yellow:wlan";
93 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
94 linux,default-trigger = "phy0tpt";
103 ruckus-himem@3ff0000 {
104 /* Ruckus Himem area used to control
105 * redundant boot image selection
107 compatible = "nvmem-rmem";
108 reg = <0x3ff0000 0x10000>;
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <104000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
134 /* On stock FW this encompasses rcks_wlan.main,
135 * rcks_wlan.bkup and datafs partitions
138 compatible = "openwrt,uimage", "denx,uimage";
139 reg = <0x40000 0xf40000>;
144 compatible = "u-boot,env";
145 reg = <0xf80000 0x40000>;
146 label = "u-boot-env";
149 board_data: partition@fc0000 {
150 reg = <0xfc0000 0x40000>;
151 label = "board-data";
159 nvmem-cells = <&macaddr_board_data_66>;
160 nvmem-cell-names = "mac-address";
165 nvmem-cells = <&macaddr_board_data_6c>;
166 nvmem-cell-names = "mac-address";
173 compatible = "pci168c,002b";
174 reg = <0x0000 0 0 0 0>;
175 nvmem-cells = <&macaddr_board_data_60>;
176 nvmem-cell-names = "mac-address";
181 compatible = "nvmem-cells";
182 #address-cells = <1>;
185 macaddr_board_data_60: macaddr@60 {
189 macaddr_board_data_66: macaddr@66 {
193 macaddr_board_data_6c: macaddr@6c {