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 led-boot = &led_status_yellow;
11 led-failsafe = &led_status_yellow;
12 led-running = &led_status_blue;
13 led-upgrade = &led_status_yellow;
14 label-mac-device = &wan;
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-leds";
24 led_status_blue: status_blue {
25 label = "blue:status";
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
29 led_status_yellow: status_yellow {
30 label = "yellow:status";
31 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <80000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
73 reg = <0x40000 0x10000>;
77 factory: partition@50000 {
79 reg = <0x50000 0x10000>;
85 reg = <0x60000 0x10000>;
91 reg = <0x70000 0x10000>;
97 reg = <0x80000 0x100000>;
101 firmware: partition@180000 {
102 compatible = "denx,uimage";
104 reg = <0x180000 0xe80000>;
116 compatible = "pci14c3,7662";
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x8000>;
119 ieee80211-freq-limit = <5000000 6000000>;
125 compatible = "pci14c3,7603";
126 reg = <0x0000 0 0 0 0>;
127 mediatek,mtd-eeprom = <&factory 0x0000>;
128 ieee80211-freq-limit = <2400000 2500000>;
133 mtd-mac-address = <&factory 0xe000>;
151 mtd-mac-address = <&factory 0xe006>;
158 groups = "jtag", "uart2", "uart3", "wdt";