1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an_tplink_re200.dtsi"
7 compatible = "tplink,re220-v2", "mediatek,mt7628an-soc";
8 model = "TP-Link RE220 v2";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "re220-v2:green:wps";
22 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
26 label = "re220-v2:green:wifi";
27 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
31 label = "re220-v2:green:lan";
32 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
36 label = "re220-v2:green:power";
37 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
41 label = "re220-v2:green:wifi2g";
42 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "re220-v2:green:wifi5g";
48 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
53 label = "re220-v2:red:wifi2g";
54 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
58 label = "re220-v2:red:wifi5g";
59 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
66 groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
67 "p0led_an", "wled_an", "i2c", "wdt", "refclk";