3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "iodata,wn-ax1167gr", "mediatek,mt7621-soc";
8 model = "I-O DATA WN-AX1167GR";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "green:power";
26 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 linux,input-type = <EV_SW>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
61 linux,input-type = <EV_SW>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 macaddr_factory_4: macaddr@4 {
106 compatible = "mac-base";
108 #nvmem-cell-cells = <1>;
113 iNIC_rf: partition@50000 {
115 reg = <0x50000 0x10000>;
119 compatible = "fixed-layout";
120 #address-cells = <1>;
123 eeprom_iNIC_rf_0: eeprom@0 {
127 macaddr_iNIC_rf_4: macaddr@4 {
134 compatible = "denx,uimage";
136 reg = <0x60000 0xf30000>;
141 reg = <0xf90000 0x10000>;
147 reg = <0xfa0000 0x10000>;
153 reg = <0xfb0000 0x50000>;
161 nvmem-cells = <&macaddr_iNIC_rf_4>;
162 nvmem-cell-names = "mac-address";
168 phy-handle = <ðphy0>;
170 nvmem-cells = <&macaddr_factory_4 1>;
171 nvmem-cell-names = "mac-address";
175 ethphy0: ethernet-phy@0 {
206 groups = "uart2", "uart3", "jtag";
217 reg = <0x0000 0 0 0 0>;
218 nvmem-cells = <&eeprom_iNIC_rf_0>;
219 nvmem-cell-names = "eeprom";
225 reg = <0x0000 0 0 0 0>;
226 nvmem-cells = <&eeprom_factory_0>;
227 nvmem-cell-names = "eeprom";
228 ieee80211-freq-limit = <5000000 6000000>;