aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts
blob: bc454f3910d6740e70c5db932b7f7a4b7508403e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "mt7621_linksys_ea7xxx.dtsi"

/ {
	compatible = "linksys,ea7500-v2", "mediatek,mt7621-soc";
	model = "Linksys EA7500 v2";

	aliases {
		led-boot = &led_power;
		led-failsafe = &led_power;
		led-running = &led_power;
		led-upgrade = &led_power;
	};

	leds {
		compatible = "gpio-leds";

		wan_green {
			label = "ea7500-v2:green:wan";
			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
		};

		lan1_green {
			label = "ea7500-v2:green:lan1";
			gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
		};

		lan2_green {
			label = "ea7500-v2:green:lan2";
			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
		};

		lan3_green {
			label = "ea7500-v2:green:lan3";
			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
		};

		lan4_green {
			label = "ea7500-v2:green:lan4";
			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
		};

		led_power: power {
			label = "ea7500-v2:white:power";
			gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
		};

		wps {
			label = "ea7500-v2:green:wps";
			gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
		};
	};
};