1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 label-mac-device = &wan;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
24 led_power_green: power_green {
25 label = "wrc-gst:green:power";
26 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
30 label = "wrc-gst:blue:power";
31 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
35 label = "wrc-gst:red:wps";
36 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
40 label = "wrc-gst:red:power";
41 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-keys";
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
69 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
71 linux,input-type = <EV_SW>;
76 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
78 linux,input-type = <EV_SW>;
83 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
85 linux,input-type = <EV_SW>;
91 mtd-mac-address = <&factory 0xe000>;
99 mtd-mac-address = <&factory 0xe006>;
128 compatible = "jedec,spi-nor";
130 spi-max-frequency = <40000000>;
132 partitions: partitions {
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
144 label = "u-boot-env";
145 reg = <0x30000 0x10000>;
149 factory: partition@40000 {
151 reg = <0x40000 0x10000>;
160 groups = "uart3", "jtag", "wdt", "sdhci";
171 compatible = "mediatek,mt76";
172 reg = <0x0000 0 0 0 0>;
173 mediatek,mtd-eeprom = <&factory 0x0000>;
174 ieee80211-freq-limit = <2400000 2500000>;
185 compatible = "mediatek,mt76";
186 reg = <0x0000 0 0 0 0>;
187 mediatek,mtd-eeprom = <&factory 0x8000>;
188 ieee80211-freq-limit = <5000000 6000000>;