This patch adds support for power led to Unifi Airrouter AP.
Signed-off-by: Rocco Folino <[email protected]>
--- a/arch/mips/ath79/mach-ubnt-xm.c
+++ b/arch/mips/ath79/mach-ubnt-xm.c
@@ -123,6 +123,11 @@ static struct gpio_led ubnt_airrouter_le
.name = "ubnt:green:globe",
.gpio = 0,
.active_low = 1,
+ }, {
+ .name = "ubnt:green:power",
+ .gpio = 11,
+ .active_low = 1,
+ .default_state = LEDS_GPIO_DEFSTATE_ON,
}
};
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel