1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "iodata,wn-ac733gr3", "ralink,mt7620a-soc";
11 model = "I-O DATA WN-AC733GR3";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
31 label = "green:notification";
32 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
36 label = "green:wlan2g";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
41 label = "green:wlan5g";
42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
51 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
65 linux,input-type = <EV_SW>;
70 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
72 linux,input-type = <EV_SW>;
77 compatible = "realtek,rtl8367b";
78 gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>;
79 gpio-sck = <&gpio0 23 GPIO_ACTIVE_HIGH>;
80 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <10000000>;
93 compatible = "fixed-partitions";
104 label = "u-boot-env";
105 reg = <0x30000 0x10000>;
109 factory: partition@40000 {
111 reg = <0x40000 0x8000>;
115 compatible = "fixed-layout";
116 #address-cells = <1>;
119 eeprom_factory_0: eeprom@0 {
123 macaddr_factory_4: macaddr@4 {
129 iNIC_rf: partition@48000 {
131 reg = <0x48000 0x8000>;
135 compatible = "fixed-layout";
136 #address-cells = <1>;
139 eeprom_iNIC_rf_0: eeprom@0 {
146 compatible = "denx,uimage";
148 reg = <0x50000 0x6d4000>;
152 label = "manufacture";
153 reg = <0x724000 0x8c000>;
159 reg = <0x7b0000 0x10000>;
165 reg = <0x7c0000 0x40000>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&rgmii1_pins>;
176 nvmem-cells = <&macaddr_factory_4>;
177 nvmem-cell-names = "mac-address";
181 mediatek,fixed-link = <1000 1 1 1>;
189 gpios = <0 GPIO_ACTIVE_HIGH>;
191 line-name = "rtl8367rb-reset";
197 groups = "i2c", "uartf", "mdio";
208 compatible = "mediatek,mt76";
209 reg = <0x0000 0 0 0 0>;
210 nvmem-cells = <&eeprom_iNIC_rf_0>;
211 nvmem-cell-names = "eeprom";
212 ieee80211-freq-limit = <5000000 6000000>;
217 nvmem-cells = <&eeprom_factory_0>;
218 nvmem-cell-names = "eeprom";