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;
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 {
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy0tpt";
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
72 compatible = "linux,wdt-gpio";
73 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
75 /* hw_margin_ms is actually 300s but driver limits it to 60s */
76 hw_margin_ms = <60000>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <25000000>;
93 /* partitions are passed via bootloader */
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x040000>;
112 reg = <0x080000 0x140000>;
118 reg = <0x1c0000 0x700000>;
123 reg = <0x8c0000 0x700000>;
126 art: partition@fc0000 {
128 reg = <0xfc0000 0x040000>;
138 mtd-mac-address = <&art 0x6>;
144 mtd-mac-address = <&art 0x0>;
150 mtd-cal-data = <&art 0x1000>;