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 device_type = "memory";
22 reg = <0x0 0x4000000>;
26 compatible = "gpio-leds";
29 label = "wn-ac733gr3:green:power";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
35 label = "wn-ac733gr3:green:notification";
36 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
40 label = "wn-ac733gr3:green:wlan2g";
41 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 label = "wn-ac733gr3:green:wlan5g";
46 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
56 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
68 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
70 linux,input-type = <EV_SW>;
75 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
77 linux,input-type = <EV_SW>;
82 compatible = "realtek,rtl8367b";
83 gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>;
84 gpio-sck = <&gpio0 23 GPIO_ACTIVE_HIGH>;
85 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
98 compatible = "fixed-partitions";
109 label = "u-boot-env";
110 reg = <0x30000 0x10000>;
114 Factory: partition@40000 {
116 reg = <0x40000 0x8000>;
120 iNIC_rf: partition@48000 {
122 reg = <0x48000 0x8000>;
127 compatible = "denx,uimage";
129 reg = <0x50000 0x6d4000>;
133 label = "manufacture";
134 reg = <0x724000 0x8c000>;
140 reg = <0x7b0000 0x10000>;
146 reg = <0x7c0000 0x40000>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&rgmii1_pins>;
156 mtd-mac-address = <&Factory 0x4>;
160 mediatek,fixed-link = <1000 1 1 1>;
168 gpios = <0 GPIO_ACTIVE_HIGH>;
170 line-name = "rtl8367rb-reset";
175 state_default: pinctrl0 {
177 ralink,group = "i2c", "uartf", "mdio";
178 ralink,function = "gpio";
189 compatible = "mediatek,mt76";
190 reg = <0x0000 0 0 0 0>;
191 mediatek,mtd-eeprom = <&iNIC_rf 0x0>;
192 ieee80211-freq-limit = <5000000 6000000>;
197 ralink,mtd-eeprom = <&Factory 0x0>;