1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "mt7620a_tplink_re2x0-v1.dtsi"
8 compatible = "tplink,re210-v1", "ralink,mt7620a-soc";
9 model = "TP-Link RE210 v1";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
28 label = "green:rssi-high";
29 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
33 label = "red:rssi-low";
34 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
38 label = "green:wlan2g";
39 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1tpt";
44 label = "green:wlan5g";
45 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
54 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
61 groups = "i2c", "uartf", "wled", "rgmii1";
68 mediatek,ephy-base = /bits/ 8 <8>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&rgmii2_pins &mdio_pins>;
85 phy4: ethernet-phy@4 {