5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc";
10 model = "ELECOM WRC-2533GST";
13 led-status = &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-2533gst:green:power";
30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
34 label = "wrc-2533gst:blue:power";
35 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
39 label = "wrc-2533gst:red:wps";
40 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
44 label = "wrc-2533gst:red:power";
45 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
50 compatible = "gpio-keys-polled";
57 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
71 linux,input-type = <EV_SW>;
76 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
78 linux,input-type = <EV_SW>;
83 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
85 linux,input-type = <EV_SW>;
90 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
92 linux,input-type = <EV_SW>;
98 mtd-mac-address = <&factory 0xe000>;
105 #address-cells = <1>;
107 compatible = "jedec,spi-nor";
109 spi-max-frequency = <10000000>;
110 m25p,chunked-io = <32>;
119 label = "u-boot-env";
120 reg = <0x30000 0x10000>;
124 factory: partition@40000 {
126 reg = <0x40000 0x10000>;
132 reg = <0x50000 0xb00000>;
136 label = "tm_pattern";
137 reg = <0xb50000 0x380000>;
143 reg = <0xed0000 0x80000>;
149 reg = <0xf50000 0x30000>;
155 reg = <0xf80000 0x80000>;
162 state_default: pinctrl0 {
164 ralink,group = "uart3", "jtag", "wdt", "sdhci";
165 ralink,function = "gpio";
172 // WRC-2533GST has MT7615 for 2.4/5 GHz wifi,
173 // but it's not supported in OpenWrt.