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";
42 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
56 linux,input-type = <EV_SW>;
61 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
63 linux,input-type = <EV_SW>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0x10000>;
106 compatible = "denx,uimage";
108 reg = <0x60000 0x770000>;
113 reg = <0x7d0000 0x10000>;
119 reg = <0x7e0000 0x10000>;
125 reg = <0x7f0000 0x10000>;
133 mtd-mac-address = <&factory 0x4>;
138 ralink,group = "uart2", "uart3", "jtag";
139 ralink,function = "gpio";
149 reg = <0x0000 0 0 0 0>;
150 mediatek,mtd-eeprom = <&factory 0x0>;