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/mtd/partitions/uimage.h>
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
14 led-upgrade = &power_red;
18 compatible = "mtd-concat";
19 devices = <&fwconcat0 &fwconcat1>;
22 compatible = "fixed-partitions";
27 reg = <0x0 0x1f00000>;
29 compatible = "openwrt,uimage", "denx,uimage";
35 compatible = "gpio-keys";
38 linux,code = <KEY_RESTART>;
39 label = "Reset button";
40 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
41 debounce-interval = <50>;
46 compatible = "gpio-leds";
47 pinctrl-names = "default";
48 pinctrl-0 = <&enable_gpio_11>,
53 power_green: power-green {
54 label = "green:power";
55 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
65 ruckus-himem@7ff0000 {
66 /* Ruckus Himem area used to control
67 * redundant boot image selection
69 compatible = "nvmem-rmem";
70 reg = <0x7ff0000 0x10000>;
77 clock-frequency = <40000000>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
89 compatible = "fixed-partitions";
95 reg = <0x000000 0x040000>;
99 fwconcat0: partition@40000 {
101 reg = <0x040000 0xf00000>;
105 compatible = "u-boot,env";
106 label = "u-boot-env";
107 reg = <0xf40000 0x040000>;
110 board_data: partition@f80000 {
111 label = "board-data";
112 reg = <0xf80000 0x080000>;
116 fwconcat1: partition@1000000 {
118 reg = <0x1000000 0x1000000>;
127 phy: ethernet-phy@6 {
128 compatible = "ethernet-phy-ieee802.3-c22";
135 pll-data = <0x02000000 0x00000101 0x00001313>;
136 phy-mode = "rgmii-id";
139 nvmem-cell-names = "mac-address";
150 clks_disable_pins: pinmux_clks_disable_pins {
151 pinctrl-single,bits = <0x40 0x0 0x20>;
154 enable_gpio_4: pinctrl_enable_gpio_4 {
155 pinctrl-single,bits = <0x4 0x0 0xff>;
158 enable_gpio_11: pinctrl_enable_gpio_11 {
159 pinctrl-single,bits = <0x8 0x0 0xff000000>;
162 enable_gpio_16: pinctrl_enable_gpio_16 {
163 pinctrl-single,bits = <0x10 0x0 0xff>;
170 nvmem-cells = <&macaddr_board_data_60>, <&cal_board_data_41000>;
171 nvmem-cell-names = "mac-address", "calibration";
183 compatible = "nvmem-cells";
184 #address-cells = <1>;
187 macaddr_board_data_60: macaddr@60 {
191 macaddr_board_data_66: macaddr@66 {
195 cal_board_data_41000: cal@41000 {
196 reg = <0x41000 0x440>;