ramips: add support for Linksys EA7300 v2
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_linksys_ea7300-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "mt7621_linksys_ea7xxx.dtsi"
5
6 / {
7 compatible = "linksys,ea7300-v2", "mediatek,mt7621-soc";
8 model = "Linksys EA7300 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 wan_green {
21 label = "ea7300-v2:green:wan";
22 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
23 };
24
25 lan1_green {
26 label = "ea7300-v2:green:lan1";
27 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
28 };
29
30 lan2_green {
31 label = "ea7300-v2:green:lan2";
32 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
33 };
34
35 lan3_green {
36 label = "ea7300-v2:green:lan3";
37 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
38 };
39
40 lan4_green {
41 label = "ea7300-v2:green:lan4";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 };
44
45 led_power: power {
46 label = "ea7300-v2:white:power";
47 gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
48 };
49
50 wps {
51 label = "ea7300-v2:green:wps";
52 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
53 };
54 };
55 };