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>
8 #include <dt-bindings/mtd/partitions/uimage.h>
12 led-boot = &power_green;
13 led-failsafe = &power_red;
14 led-running = &power_green;
15 led-upgrade = &power_red;
19 compatible = "mtd-concat";
20 devices = <&fwconcat0 &fwconcat1>;
23 compatible = "fixed-partitions";
28 reg = <0x0 0x1f00000>;
30 compatible = "openwrt,uimage", "denx,uimage";
36 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 label = "Reset button";
41 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
42 debounce-interval = <50>;
47 compatible = "gpio-leds";
48 pinctrl-names = "default";
49 pinctrl-0 = <&enable_gpio_11>,
54 power_green: power-green {
55 function = LED_FUNCTION_POWER;
56 color = <LED_COLOR_ID_GREEN>;
57 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
67 ruckus-himem@7ff0000 {
68 /* Ruckus Himem area used to control
69 * redundant boot image selection
71 compatible = "nvmem-rmem";
72 reg = <0x7ff0000 0x10000>;
79 clock-frequency = <40000000>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <25000000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x040000>;
101 fwconcat0: partition@40000 {
103 reg = <0x040000 0xf00000>;
107 compatible = "u-boot,env";
108 label = "u-boot-env";
109 reg = <0xf40000 0x040000>;
112 board_data: partition@f80000 {
113 label = "board-data";
114 reg = <0xf80000 0x080000>;
118 fwconcat1: partition@1000000 {
120 reg = <0x1000000 0x1000000>;
129 phy: ethernet-phy@6 {
130 compatible = "ethernet-phy-ieee802.3-c22";
137 pll-data = <0x02000000 0x00000101 0x00001313>;
138 phy-mode = "rgmii-id";
141 nvmem-cell-names = "mac-address";
152 clks_disable_pins: pinmux_clks_disable_pins {
153 pinctrl-single,bits = <0x40 0x0 0x20>;
156 enable_gpio_4: pinctrl_enable_gpio_4 {
157 pinctrl-single,bits = <0x4 0x0 0xff>;
160 enable_gpio_11: pinctrl_enable_gpio_11 {
161 pinctrl-single,bits = <0x8 0x0 0xff000000>;
164 enable_gpio_16: pinctrl_enable_gpio_16 {
165 pinctrl-single,bits = <0x10 0x0 0xff>;
172 nvmem-cells = <&macaddr_board_data_60>, <&cal_board_data_41000>;
173 nvmem-cell-names = "mac-address", "calibration";