mediatek: sync cpufreq support with changed compatible string
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_re220-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "mt7628an_tplink_re200.dtsi"
5
6 / {
7 compatible = "tplink,re220-v2", "mediatek,mt7628an-soc";
8 model = "TP-Link RE220 v2";
9
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 wps {
21 label = "re220-v2:green:wps";
22 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
23 };
24
25 wifi {
26 label = "re220-v2:green:wifi";
27 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
28 };
29
30 lan {
31 label = "re220-v2:green:lan";
32 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
33 };
34
35 led_power: power {
36 label = "re220-v2:green:power";
37 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
38 };
39
40 wifi2g_green {
41 label = "re220-v2:green:wifi2g";
42 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
44 };
45
46 wifi5g_green {
47 label = "re220-v2:green:wifi5g";
48 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
50 };
51
52 wifi2g_red {
53 label = "re220-v2:red:wifi2g";
54 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
55 };
56
57 wifi5g_red {
58 label = "re220-v2:red:wifi5g";
59 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
60 };
61 };
62 };
63
64 &state_default {
65 gpio {
66 groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
67 "p0led_an", "wled_an", "i2c", "wdt", "refclk";
68 function = "gpio";
69 };
70 };