5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-status = &led_power_green;
14 device_type = "memory";
15 reg = <0x0 0x8000000>;
19 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-leds";
25 led_power_green: power_green {
26 label = "wrc-gst:green:power";
27 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
31 label = "wrc-gst:blue:power";
32 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
36 label = "wrc-gst:red:wps";
37 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
41 label = "wrc-gst:red:power";
42 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys-polled";
52 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
66 linux,input-type = <EV_SW>;
71 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
73 linux,input-type = <EV_SW>;
78 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
80 linux,input-type = <EV_SW>;
85 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
87 linux,input-type = <EV_SW>;
93 mtd-mac-address = <&factory 0xe000>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <10000000>;
103 m25p,chunked-io = <32>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
117 label = "u-boot-env";
118 reg = <0x30000 0x10000>;
122 factory: partition@40000 {
124 reg = <0x40000 0x10000>;
130 reg = <0x50000 0xb00000>;
134 label = "tm_pattern";
135 reg = <0xb50000 0x380000>;
141 reg = <0xed0000 0x80000>;
147 reg = <0xf50000 0x30000>;
153 reg = <0xf80000 0x80000>;
161 state_default: pinctrl0 {
163 ralink,group = "uart3", "jtag", "wdt", "sdhci";
164 ralink,function = "gpio";
171 /* WRC-xxxxGST has MT7615 for 2.4/5 GHz wifi, but it's not supported */