3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "iodata,wn-ax1167gr", "mediatek,mt7621-soc";
9 model = "I-O DATA WN-AX1167GR";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_POWER;
27 color = <LED_COLOR_ID_GREEN>;
28 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
32 function = LED_FUNCTION_WPS;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
57 linux,input-type = <EV_SW>;
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
96 reg = <0x40000 0x10000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
108 macaddr_factory_4: macaddr@4 {
109 compatible = "mac-base";
111 #nvmem-cell-cells = <1>;
118 reg = <0x50000 0x10000>;
122 compatible = "fixed-layout";
123 #address-cells = <1>;
126 eeprom_iNIC_rf_0: eeprom@0 {
130 macaddr_iNIC_rf_4: macaddr@4 {
137 compatible = "denx,uimage";
139 reg = <0x60000 0xf30000>;
144 reg = <0xf90000 0x10000>;
150 reg = <0xfa0000 0x10000>;
156 reg = <0xfb0000 0x50000>;
164 nvmem-cells = <&macaddr_iNIC_rf_4>;
165 nvmem-cell-names = "mac-address";
171 phy-handle = <ðphy0>;
173 nvmem-cells = <&macaddr_factory_4 1>;
174 nvmem-cell-names = "mac-address";
178 ethphy0: ethernet-phy@0 {
209 groups = "uart2", "uart3", "jtag";
220 reg = <0x0000 0 0 0 0>;
221 nvmem-cells = <&eeprom_iNIC_rf_0>;
222 nvmem-cell-names = "eeprom";
228 reg = <0x0000 0 0 0 0>;
229 nvmem-cells = <&eeprom_factory_0>;
230 nvmem-cell-names = "eeprom";
231 ieee80211-freq-limit = <5000000 6000000>;