This enables using the "eTactica" LED during boot, to indicate failsafe,
and during upgrade, while still leaving the LED alone for normal
operation. This brings the device more in line with how other devices
work, and makes the failsafe functionality easier to use and understand.
Signed-off-by: Karl Palsson <karlp@etactica.com>
etactica,eg200)
ucidef_set_led_netdev "lan" "LAN" "$boardname:red:eth0" "eth0"
ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
- ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore"
;;
glinet,gl-ar150)
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
compatible = "etactica,eg200", "qca,ar9331";
aliases {
+ led-boot = &led_etactica;
+ led-failsafe = &led_etactica;
+ led-upgrade = &led_etactica;
serial0 = &uart;
};
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
- etactica {
+ led_etactica: etactica {
label = "eg200:red:etactica";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};