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 /delete-property/ bootargs;
14 led-boot = &led_power_blue;
15 led-failsafe = &led_power_blue;
16 led-running = &led_power_blue;
17 led-upgrade = &led_power_blue;
18 label-mac-device = ð1;
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&jtag_disable_pins &led_lan_wan_blue_pin>;
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
37 led_power_blue: power_blue {
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
51 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
55 label = "yellow:wifi";
56 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
71 compatible = "linux,wdt-gpio";
72 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
74 /* hw_margin_ms is actually 300s but driver limits it to 60s */
75 hw_margin_ms = <60000>;
81 clock-frequency = <40000000>;
85 led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
86 pinctrl-single,bits = <0x10 0x0 0x0000ffff>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <40000000>;
98 /* partitions are passed via bootloader */
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
111 label = "u-boot-env";
112 reg = <0x040000 0x040000>;
117 reg = <0x080000 0x140000>;
123 reg = <0x1c0000 0x700000>;
128 reg = <0x8c0000 0x700000>;
131 art: partition@fc0000 {
133 reg = <0xfc0000 0x040000>;
137 compatible = "fixed-layout";
138 #address-cells = <1>;
141 macaddr_art_0: macaddr@0 {
145 macaddr_art_6: macaddr@6 {
157 phy-handle = <&swphy4>;
159 nvmem-cells = <&macaddr_art_6>;
160 nvmem-cell-names = "mac-address";
164 nvmem-cells = <&macaddr_art_0>;
165 nvmem-cell-names = "mac-address";
171 mtd-cal-data = <&art 0x1000>;