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 = <50000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
74 reg = <0x40000 0x10000>;
78 factory: partition@50000 {
80 reg = <0x50000 0x10000>;
86 reg = <0x60000 0x10000>;
92 reg = <0x70000 0x10000>;
98 reg = <0x80000 0x100000>;
102 firmware: partition@180000 {
103 compatible = "denx,uimage";
105 reg = <0x180000 0xe80000>;
117 compatible = "pci14c3,7662";
118 reg = <0x0000 0 0 0 0>;
119 mediatek,mtd-eeprom = <&factory 0x8000>;
120 ieee80211-freq-limit = <5000000 6000000>;
126 compatible = "pci14c3,7603";
127 reg = <0x0000 0 0 0 0>;
128 mediatek,mtd-eeprom = <&factory 0x0000>;
129 ieee80211-freq-limit = <2400000 2500000>;
134 nvmem-cells = <&macaddr_factory_e000>;
135 nvmem-cell-names = "mac-address";
153 nvmem-cells = <&macaddr_factory_e006>;
154 nvmem-cell-names = "mac-address";
161 groups = "jtag", "uart2", "uart3", "wdt";
167 compatible = "nvmem-cells";
168 #address-cells = <1>;
171 macaddr_factory_e000: macaddr@e000 {
175 macaddr_factory_e006: macaddr@e006 {