mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
338c64937f
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>
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
/* This file is released into the public domain */
|
|
|
|
/dts-v1/;
|
|
|
|
#include "mt7620a_netgear_ex3x00_ex61xx.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
|
|
model = "Netgear EX3700/EX3800";
|
|
|
|
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 = "ex3700:green:power";
|
|
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
led_power_amber: power_amber {
|
|
label = "ex3700:amber:power";
|
|
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
router_green {
|
|
label = "ex3700:green:router";
|
|
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
router_red {
|
|
label = "ex3700:red:router";
|
|
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
device_green {
|
|
label = "ex3700:green:device";
|
|
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
device_red {
|
|
label = "ex3700:red:device";
|
|
gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wps {
|
|
label = "ex3700:green:wps";
|
|
gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|