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-polled";
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 iNIC_rf: partition@48000 {
117 reg = <0x48000 0x8000>;
122 compatible = "denx,uimage";
124 reg = <0x50000 0x6d4000>;
128 label = "manufacture";
129 reg = <0x724000 0x8c000>;
135 reg = <0x7b0000 0x10000>;
141 reg = <0x7c0000 0x40000>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&rgmii1_pins>;
151 mtd-mac-address = <&factory 0x4>;
155 mediatek,fixed-link = <1000 1 1 1>;
163 gpios = <0 GPIO_ACTIVE_HIGH>;
165 line-name = "rtl8367rb-reset";
170 state_default: pinctrl0 {
172 ralink,group = "i2c", "uartf", "mdio";
173 ralink,function = "gpio";
184 compatible = "mediatek,mt76";
185 reg = <0x0000 0 0 0 0>;
186 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
187 ieee80211-freq-limit = <5000000 6000000>;
192 ralink,mtd-eeprom = <&factory 0x0>;