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";
25 pinctrl-names = "default";
26 pinctrl-0 = <&jtag_disable_pins &led_lan_wan_blue_pin>;
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-leds";
38 led_power_blue: power_blue {
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 label = "yellow:wifi";
57 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
72 compatible = "linux,wdt-gpio";
73 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
75 /* hw_margin_ms is actually 300s but driver limits it to 60s */
76 hw_margin_ms = <60000>;
82 clock-frequency = <40000000>;
90 led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
91 pinctrl-single,bits = <0x10 0x0 0x0000ffff>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <40000000>;
103 /* partitions are passed via bootloader */
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x000000 0x040000>;
116 label = "u-boot-env";
117 reg = <0x040000 0x040000>;
122 reg = <0x080000 0x140000>;
128 reg = <0x1c0000 0x700000>;
133 reg = <0x8c0000 0x700000>;
136 art: partition@fc0000 {
138 reg = <0xfc0000 0x040000>;
148 phy-handle = <&swphy4>;
150 mtd-mac-address = <&art 0x6>;
154 mtd-mac-address = <&art 0x0>;
160 mtd-cal-data = <&art 0x1000>;