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

#include "mt7620a_netgear_ex3x00_ex61xx.dtsi"

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

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

	leds {
		compatible = "gpio-leds";

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

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

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

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

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

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

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