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>
9 compatible = "iodata,wn-ac733gr3", "ralink,mt7620a-soc";
10 model = "I-O DATA WN-AC733GR3";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "green:power";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
29 label = "green:notification";
30 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
34 label = "green:wlan2g";
35 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
39 label = "green:wlan5g";
40 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
63 linux,input-type = <EV_SW>;
68 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
70 linux,input-type = <EV_SW>;
75 compatible = "realtek,rtl8367b";
76 gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>;
77 gpio-sck = <&gpio0 23 GPIO_ACTIVE_HIGH>;
78 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
91 compatible = "fixed-partitions";
102 label = "u-boot-env";
103 reg = <0x30000 0x10000>;
107 factory: partition@40000 {
109 reg = <0x40000 0x8000>;
113 iNIC_rf: partition@48000 {
115 reg = <0x48000 0x8000>;
120 compatible = "denx,uimage";
122 reg = <0x50000 0x6d4000>;
126 label = "manufacture";
127 reg = <0x724000 0x8c000>;
133 reg = <0x7b0000 0x10000>;
139 reg = <0x7c0000 0x40000>;
147 pinctrl-names = "default";
148 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";
170 groups = "i2c", "uartf", "mdio";
181 compatible = "mediatek,mt76";
182 reg = <0x0000 0 0 0 0>;
183 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
184 ieee80211-freq-limit = <5000000 6000000>;
189 ralink,mtd-eeprom = <&factory 0x0>;