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;
17 bootargs = "console=ttyS0,57600";
21 compatible = "gpio-leds";
23 led_power_green: power_green {
24 label = "wrc-gst:green:power";
25 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
29 label = "wrc-gst:blue:power";
30 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
34 label = "wrc-gst:red:wps";
35 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
39 label = "wrc-gst:red:power";
40 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys";
49 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
63 linux,input-type = <EV_SW>;
68 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
70 linux,input-type = <EV_SW>;
75 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
77 linux,input-type = <EV_SW>;
82 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
84 linux,input-type = <EV_SW>;
90 mtd-mac-address = <&factory 0xe000>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <10000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
113 label = "u-boot-env";
114 reg = <0x30000 0x10000>;
118 factory: partition@40000 {
120 reg = <0x40000 0x10000>;
125 compatible = "denx,uimage";
127 reg = <0x50000 0xb00000>;
131 label = "tm_pattern";
132 reg = <0xb50000 0x380000>;
138 reg = <0xed0000 0x80000>;
144 reg = <0xf50000 0x30000>;
150 reg = <0xf80000 0x80000>;
159 ralink,group = "uart3", "jtag", "wdt", "sdhci";
160 ralink,function = "gpio";
166 /* WRC-xxxxGST has MT7615 for 2.4/5 GHz wifi, but it's not supported */