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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "wn-gx300gr:green:power";
28 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
32 label = "wn-gx300gr:green:wps";
33 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
57 linux,input-type = <EV_SW>;
62 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0x10000>;
107 compatible = "denx,uimage";
109 reg = <0x60000 0x770000>;
114 reg = <0x7d0000 0x10000>;
120 reg = <0x7e0000 0x10000>;
126 reg = <0x7f0000 0x10000>;
134 mtd-mac-address = <&factory 0x4>;
138 state_default: pinctrl0 {
140 ralink,group = "uart2", "uart3", "jtag";
141 ralink,function = "gpio";
152 reg = <0x0000 0 0 0 0>;
153 mediatek,mtd-eeprom = <&factory 0x0>;