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 = "netis,wf2770", "ralink,mt7620a-soc";
10 model = "NETIS WF2770";
13 compatible = "gpio-leds";
17 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
18 linux,default-trigger = "phy0tpt";
23 compatible = "gpio-keys";
27 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RFKILL>;
45 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_LIGHTS_TOGGLE>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <50000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
83 compatible = "denx,uimage";
85 reg = <0x50000 0xfb0000>;
93 groups = "i2c", "uartf";
99 pinctrl-names = "default";
100 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
102 mtd-mac-address = <&factory 0x4>;
106 mediatek,fixed-link = <1000 1 1 1>;
146 mediatek,ephy-base = /bits/ 8 <12>;
155 compatible = "mediatek,mt76";
156 reg = <0x0000 0 0 0 0>;
157 mediatek,mtd-eeprom = <&factory 0x8000>;
158 ieee80211-freq-limit = <5000000 6000000>;
163 ralink,mtd-eeprom = <&factory 0x0>;