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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "wevo,air-duo", "ralink,mt7620a-soc";
11 model = "WeVO AIR DUO";
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
18 label-mac-device = ðernet;
22 compatible = "gpio-leds";
25 label = "blue:status";
26 color = <LED_COLOR_ID_BLUE>;
27 function = LED_FUNCTION_STATUS;
28 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
32 color = <LED_COLOR_ID_BLUE>;
33 function = LED_FUNCTION_WPS;
34 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <50000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
89 compatible = "nvmem-cells";
93 macaddr_factory_4: macaddr@4 {
99 compatible = "denx,uimage";
101 reg = <0x50000 0xeb0000>;
106 reg = <0xf00000 0x100000>;
115 groups = "i2c", "uartf", "spi refclk";
121 pinctrl-names = "default";
122 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
123 nvmem-cells = <&macaddr_factory_4>;
124 nvmem-cell-names = "mac-address";
128 mediatek,fixed-link = <1000 1 1 1>;
168 mediatek,ephy-base = /bits/ 8 <12>;
185 compatible = "mediatek,mt76";
186 reg = <0x0000 0 0 0 0>;
187 mediatek,mtd-eeprom = <&factory 0x8000>;
188 ieee80211-freq-limit = <5000000 6000000>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&wled_pins>;
201 ralink,mtd-eeprom = <&factory 0x0>;