5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "iodata,wn-ax1167gr", "mediatek,mt7621-soc";
10 model = "I-O DATA WN-AX1167GR";
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-ax1167gr:green:power";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
34 label = "wn-ax1167gr: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>;
100 iNIC_rf: partition@50000 {
102 reg = <0x50000 0x10000>;
108 reg = <0x60000 0xf30000>;
113 reg = <0xf90000 0x10000>;
119 reg = <0xfa0000 0x10000>;
125 reg = <0xfb0000 0x50000>;
132 mtd-mac-address = <&iNIC_rf 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 = <&iNIC_rf 0x0>;
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&Factory 0x0>;
159 ieee80211-freq-limit = <5000000 6000000>;