ramips: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_tplink_re650-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_tplink_rexx0-v1.dtsi"
4
5 / {
6 compatible = "tplink,re650-v1", "mediatek,mt7621-soc";
7 model = "TP-Link RE650 v1";
8
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_power: power {
20 label = "re650-v1:blue:power";
21 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
22 };
23
24 wifi2g {
25 label = "re650-v1:blue:wifi2g";
26 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy0tpt";
28 };
29
30 wifi5g {
31 label = "re650-v1:blue:wifi5g";
32 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy1tpt";
34 };
35
36 wps_red {
37 label = "re650-v1:red:wps";
38 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
39 };
40
41 wps_blue {
42 label = "re650-v1:blue:wps";
43 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
44 };
45
46 eth_act {
47 label = "re650-v1:green:eth_act";
48 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
49 };
50
51 eth_link {
52 label = "re650-v1:green:eth_link";
53 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
54 };
55 };
56 };
57
58 &state_default {
59 gpio {
60 groups = "rgmii2", "wdt";
61 function = "gpio";
62 };
63 };