aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_netgear_ex6120.dts
blob: 1f8cc1ae47669b5e7065c6f0e8eb2f280018ba0a (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
56
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "mt7620a_netgear_ex3x00_ex61xx.dtsi"

/ {
	compatible = "netgear,ex6120", "ralink,mt7620a-soc";
	model = "Netgear EX6120";

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

	leds {
		compatible = "gpio-leds";

		led_power_green: power_green {
			label = "ex6120:green:power";
			gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
			default-state = "on";
		};

		led_power_amber: power_amber {
			label = "ex6120:amber:power";
			gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
		};

		router_green {
			label = "ex6120:green:router";
			gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
		};

		router_red {
			label = "ex6120:red:router";
			gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
		};

		device_green {
			label = "ex6120:green:device";
			gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
		};

		device_red {
			label = "ex6120:red:device";
			gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
		};

		wps {
			label = "ex6120:green:wps";
			gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
		};
	};
};