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 /delete-property/ bootargs;
15 led-boot = &led_power_blue;
16 led-failsafe = &led_power_blue;
17 led-running = &led_power_blue;
18 led-upgrade = &led_power_blue;
19 label-mac-device = ð1;
23 compatible = "gpio-keys";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
35 pinctrl-names = "default";
36 pinctrl-0 = <&switch_led_disable_pins>;
39 label = "yellow:wifi";
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 led_power_blue: power_blue {
44 function = LED_FUNCTION_POWER;
45 color = <LED_COLOR_ID_BLUE>;
46 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
51 function = LED_FUNCTION_LAN;
52 color = <LED_COLOR_ID_BLUE>;
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
64 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
68 function = LED_FUNCTION_WAN;
69 color = <LED_COLOR_ID_BLUE>;
70 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
75 compatible = "linux,wdt-gpio";
76 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
78 /* hw_margin_ms is actually 300s but driver limits it to 60s */
79 hw_margin_ms = <60000>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
92 /* partitions are passed via bootloader */
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x040000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x040000>;
111 reg = <0x080000 0x140000>;
117 reg = <0x1c0000 0x700000>;
122 reg = <0x8c0000 0x700000>;
125 art: partition@fc0000 {
127 reg = <0xfc0000 0x040000>;
131 compatible = "fixed-layout";
132 #address-cells = <1>;
135 macaddr_art_0: macaddr@0 {
139 macaddr_art_6: macaddr@6 {
151 nvmem-cells = <&macaddr_art_6>;
152 nvmem-cell-names = "mac-address";
158 nvmem-cells = <&macaddr_art_0>;
159 nvmem-cell-names = "mac-address";
165 mtd-cal-data = <&art 0x1000>;