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-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-ax1167gr:green:power";
28 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
32 label = "wn-ax1167gr: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>;
99 iNIC_rf: partition@50000 {
101 reg = <0x50000 0x10000>;
106 compatible = "denx,uimage";
108 reg = <0x60000 0xf30000>;
113 reg = <0xf90000 0x10000>;
119 reg = <0xfa0000 0x10000>;
125 reg = <0xfb0000 0x50000>;
133 mtd-mac-address = <&iNIC_rf 0x4>;
137 state_default: pinctrl0 {
139 ralink,group = "uart2", "uart3", "jtag";
140 ralink,function = "gpio";
151 reg = <0x0000 0 0 0 0>;
152 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
158 reg = <0x0000 0 0 0 0>;
159 mediatek,mtd-eeprom = <&factory 0x0>;
160 ieee80211-freq-limit = <5000000 6000000>;