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 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
28 led_power_green: power_green {
29 label = "wrc-gst:green:power";
30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
34 label = "wrc-gst:blue:power";
35 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
39 label = "wrc-gst:red:wps";
40 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
44 label = "wrc-gst:red:power";
45 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
50 compatible = "gpio-keys-polled";
55 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
67 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
69 linux,input-type = <EV_SW>;
74 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
76 linux,input-type = <EV_SW>;
81 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
83 linux,input-type = <EV_SW>;
88 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
90 linux,input-type = <EV_SW>;
96 mtd-mac-address = <&factory 0xe000>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <10000000>;
106 m25p,chunked-io = <32>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
120 label = "u-boot-env";
121 reg = <0x30000 0x10000>;
125 factory: partition@40000 {
127 reg = <0x40000 0x10000>;
133 reg = <0x50000 0xb00000>;
137 label = "tm_pattern";
138 reg = <0xb50000 0x380000>;
144 reg = <0xed0000 0x80000>;
150 reg = <0xf50000 0x30000>;
156 reg = <0xf80000 0x80000>;
164 state_default: pinctrl0 {
166 ralink,group = "uart3", "jtag", "wdt", "sdhci";
167 ralink,function = "gpio";
174 /* WRC-xxxxGST has MT7615 for 2.4/5 GHz wifi, but it's not supported */