3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "iodata,wn-gx300gr", "mediatek,mt7621-soc";
8 model = "I-O DATA WN-GX300GR";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "wn-gx300gr:green:power";
26 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
30 label = "wn-gx300gr:green:wps";
31 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 linux,input-type = <EV_SW>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
61 linux,input-type = <EV_SW>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x60000 0x770000>;
111 reg = <0x7d0000 0x10000>;
117 reg = <0x7e0000 0x10000>;
123 reg = <0x7f0000 0x10000>;
131 mtd-mac-address = <&factory 0x4>;
139 mtd-mac-address = <&factory 0x4>;
140 mtd-mac-address-increment = <1>;
167 groups = "uart2", "uart3", "jtag";
178 reg = <0x0000 0 0 0 0>;
179 mediatek,mtd-eeprom = <&factory 0x0>;