47dceea809546ccdd7cca48f16bff088f470c556
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_netgear_ex6130.dts
1 /* This file is released into the public domain */
2
3 /dts-v1/;
4
5 #include "mt7620a_netgear_ex3x00_ex61xx.dtsi"
6
7 / {
8         compatible = "netgear,ex6130", "ralink,mt7620a-soc";
9         model = "Netgear EX6130";
10
11         aliases {
12                 led-boot = &led_power_green;
13                 led-failsafe = &led_power_green;
14                 led-running = &led_power_green;
15                 led-upgrade = &led_power_green;
16                 label-mac-device = &ethernet;
17         };
18
19         leds {
20                 compatible = "gpio-leds";
21
22                 led_power_green: power_g {
23                         label = "ex6130:green:power";
24                         gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
25                         default-state = "on";
26                 };
27
28                 power_a {
29                         label = "ex6130:amber:power";
30                         gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
31                 };
32
33                 router_g {
34                         label = "ex6130:green:router";
35                         gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
36                 };
37
38                 router_r {
39                         label = "ex6130:red:router";
40                         gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
41                 };
42
43                 device_g {
44                         label = "ex6130:green:device";
45                         gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
46                 };
47
48                 device_r {
49                         label = "ex6130:red:device";
50                         gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
51                 };
52
53                 wps {
54                         label = "ex6130:green:wps";
55                         gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
56                 };
57         };
58 };