openwrt/target/linux/ramips/dts/mt7620a_netgear_ex6130.dts
Adrian Schmutzler 338c64937f ramips: use amber LED for boot/failsafe on Netgear EX3700/EX6130
According to the manual, the amber power LED is used to indicate boot,
while the green LED is meant to indicate a running system.

While at it, also adjust the DT node names for all LEDs.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-11 01:41:43 +02:00

59 lines
1.1 KiB
Plaintext

/* This file is released into the public domain */
/dts-v1/;
#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>;
};
};
};