5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "iodata,wn-gx300gr", "mediatek,mt7621-soc";
10 model = "I-O DATA WN-GX300GR";
13 led-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x4000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "wn-gx300gr:green:power";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
34 label = "wn-gx300gr:green:wps";
35 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
57 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
59 linux,input-type = <EV_SW>;
64 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
66 linux,input-type = <EV_SW>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
80 m25p,chunked-io = <32>;
90 reg = <0x30000 0x10000>;
94 Factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0x10000>;
108 reg = <0x60000 0x770000>;
113 reg = <0x7d0000 0x10000>;
119 reg = <0x7e0000 0x10000>;
125 reg = <0x7f0000 0x10000>;
132 mtd-mac-address = <&Factory 0x4>;
136 state_default: pinctrl0 {
138 ralink,group = "uart2", "uart3", "jtag";
139 ralink,function = "gpio";
150 reg = <0x0000 0 0 0 0>;
151 mediatek,mtd-eeprom = <&Factory 0x0>;