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";
47 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
61 linux,input-type = <EV_SW>;
66 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
68 linux,input-type = <EV_SW>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <10000000>;
82 m25p,chunked-io = <32>;
92 reg = <0x30000 0x10000>;
96 Factory: partition@40000 {
98 reg = <0x40000 0x10000>;
102 iNIC_rf: partition@50000 {
104 reg = <0x50000 0x10000>;
110 reg = <0x60000 0xf30000>;
115 reg = <0xf90000 0x10000>;
121 reg = <0xfa0000 0x10000>;
127 reg = <0xfb0000 0x50000>;
134 mtd-mac-address = <&iNIC_rf 0x4>;
138 state_default: pinctrl0 {
140 ralink,group = "uart2", "uart3", "jtag";
141 ralink,function = "gpio";
151 reg = <0x0000 0 0 0 0>;
153 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
159 reg = <0x0000 0 0 0 0>;
161 mediatek,mtd-eeprom = <&Factory 0x0>;
162 ieee80211-freq-limit = <5000000 6000000>;