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 = "netis,wf2770", "ralink,mt7620a-soc";
11 model = "NETIS WF2770";
14 compatible = "gpio-leds";
17 label = "wf2770:blue:wlan";
18 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
19 linux,default-trigger = "phy0tpt";
24 compatible = "gpio-keys";
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RFKILL>;
46 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_LIGHTS_TOGGLE>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <50000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0xfb0000>;
94 groups = "i2c", "uartf";
100 pinctrl-names = "default";
101 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
103 mtd-mac-address = <&factory 0x4>;
107 mediatek,fixed-link = <1000 1 1 1>;
152 compatible = "mediatek,mt76";
153 reg = <0x0000 0 0 0 0>;
154 mediatek,mtd-eeprom = <&factory 0x8000>;
155 ieee80211-freq-limit = <5000000 6000000>;
160 ralink,mtd-eeprom = <&factory 0x0>;