aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_netgear_ex6130.dts
blob: f0e0861f31b8cd65083180789d18ceafa2dd76c7 (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
57
58
/* This file is released into the public domain */

/dts-v1/;

#include "mt7620a_netgear_ex3700_ex6130.dtsi"

/ {
	compatible = "netgear,ex6130", "ralink,mt7620a-soc";
	model = "Netgear EX6130";

	aliases {
		led-boot = &led_power_green;
		led-failsafe = &led_power_green;
		led-running = &led_power_green;
		led-upgrade = &led_power_green;
		label-mac-device = &ethernet;
	};

	leds {
		compatible = "gpio-leds";

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

		power_a {
			label = "ex6130:amber:power";
			gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
		};

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

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

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

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

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