Create aliases for led-booting and led-failsafe pointing at
ubnt:green:link4 LED, forUbiquiti XM series, so visual feedback
on device status becomes available, in order to enter failsafe mode
via button. led-running and led-upgrade aliases are omitted to avoid
conflicting with RSSI LEDs when in normal operation.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
compatible = "ubnt,xm", "qca,ar7241";
model = "Ubiquiti Networks XM (rev 1.0) board";
+ aliases {
+ led-boot = &link4;
+ led-failsafe = &link4;
+ };
+
/* extosc: ref {
compatible = "fixed-clock";
#clock-cells = <0>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
- link4 {
+ link4: link4 {
label = "ubnt:green:link4";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};