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 = <10000000>;
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>;
156 compatible = "denx,uimage";
158 reg = <0x50000 0xb00000>;
162 label = "tm_pattern";
163 reg = <0xb50000 0x380000>;
169 reg = <0xed0000 0x80000>;
175 reg = <0xf50000 0x30000>;
181 reg = <0xf80000 0x80000>;
190 groups = "uart3", "jtag", "wdt", "sdhci";
197 /* WRC-xxxxGST has MT7615 for 2.4/5 GHz wifi, but it's not supported */