mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
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>
This commit is contained in:
parent
fbb46b7bcc
commit
338c64937f
@ -9,8 +9,8 @@
|
||||
model = "Netgear EX3700/EX3800";
|
||||
|
||||
aliases {
|
||||
led-boot = &led_power_green;
|
||||
led-failsafe = &led_power_green;
|
||||
led-boot = &led_power_amber;
|
||||
led-failsafe = &led_power_amber;
|
||||
led-running = &led_power_green;
|
||||
led-upgrade = &led_power_green;
|
||||
};
|
||||
@ -18,33 +18,33 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_power_green: power_g {
|
||||
led_power_green: power_green {
|
||||
label = "ex3700:green:power";
|
||||
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
power_a {
|
||||
led_power_amber: power_amber {
|
||||
label = "ex3700:amber:power";
|
||||
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
router_g {
|
||||
router_green {
|
||||
label = "ex3700:green:router";
|
||||
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
router_r {
|
||||
router_red {
|
||||
label = "ex3700:red:router";
|
||||
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
device_g {
|
||||
device_green {
|
||||
label = "ex3700:green:device";
|
||||
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
device_r {
|
||||
device_red {
|
||||
label = "ex3700:red:device";
|
||||
gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
@ -9,8 +9,8 @@
|
||||
model = "Netgear EX6130";
|
||||
|
||||
aliases {
|
||||
led-boot = &led_power_green;
|
||||
led-failsafe = &led_power_green;
|
||||
led-boot = &led_power_amber;
|
||||
led-failsafe = &led_power_amber;
|
||||
led-running = &led_power_green;
|
||||
led-upgrade = &led_power_green;
|
||||
label-mac-device = ðernet;
|
||||
@ -19,33 +19,33 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_power_green: power_g {
|
||||
led_power_green: power_green {
|
||||
label = "ex6130:green:power";
|
||||
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
power_a {
|
||||
led_power_amber: power_amber {
|
||||
label = "ex6130:amber:power";
|
||||
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
router_g {
|
||||
router_green {
|
||||
label = "ex6130:green:router";
|
||||
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
router_r {
|
||||
router_red {
|
||||
label = "ex6130:red:router";
|
||||
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
device_g {
|
||||
device_green {
|
||||
label = "ex6130:green:device";
|
||||
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
device_r {
|
||||
device_red {
|
||||
label = "ex6130:red:device";
|
||||
gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user