1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7620a.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.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 label = "wn-ac733gr3:green:power";
25 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
30 label = "wn-ac733gr3:green:notification";
31 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
35 label = "wn-ac733gr3:green:wlan2g";
36 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
40 label = "wn-ac733gr3:green:wlan5g";
41 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
69 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
71 linux,input-type = <EV_SW>;
76 compatible = "realtek,rtl8367b";
77 gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>;
78 gpio-sck = <&gpio0 23 GPIO_ACTIVE_HIGH>;
79 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x30000 0x10000>;
108 factory: partition@40000 {
110 reg = <0x40000 0x8000>;
114 iNIC_rf: partition@48000 {
116 reg = <0x48000 0x8000>;
121 compatible = "denx,uimage";
123 reg = <0x50000 0x6d4000>;
127 label = "manufacture";
128 reg = <0x724000 0x8c000>;
134 reg = <0x7b0000 0x10000>;
140 reg = <0x7c0000 0x40000>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&rgmii1_pins>;
150 mtd-mac-address = <&factory 0x4>;
154 mediatek,fixed-link = <1000 1 1 1>;
162 gpios = <0 GPIO_ACTIVE_HIGH>;
164 line-name = "rtl8367rb-reset";
169 state_default: pinctrl0 {
171 ralink,group = "i2c", "uartf", "mdio";
172 ralink,function = "gpio";
183 compatible = "mediatek,mt76";
184 reg = <0x0000 0 0 0 0>;
185 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
186 ieee80211-freq-limit = <5000000 6000000>;
191 ralink,mtd-eeprom = <&factory 0x0>;