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>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
78 m25p,chunked-io = <32>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 Factory: partition@40000 {
99 reg = <0x40000 0x10000>;
103 iNIC_rf: partition@50000 {
105 reg = <0x50000 0x10000>;
111 reg = <0x60000 0xf30000>;
116 reg = <0xf90000 0x10000>;
122 reg = <0xfa0000 0x10000>;
128 reg = <0xfb0000 0x50000>;
136 mtd-mac-address = <&iNIC_rf 0x4>;
140 state_default: pinctrl0 {
142 ralink,group = "uart2", "uart3", "jtag";
143 ralink,function = "gpio";
154 reg = <0x0000 0 0 0 0>;
155 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
161 reg = <0x0000 0 0 0 0>;
162 mediatek,mtd-eeprom = <&Factory 0x0>;
163 ieee80211-freq-limit = <5000000 6000000>;