From patchwork Tue Jun 19 10:43:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [OpenWrt-Devel,3/3] ar71xx: airrouter power led support Date: Tue, 19 Jun 2012 09:43:26 -0000 From: Rocco Folino X-Patchwork-Id: 2307 Message-Id: <4FE057CE.1050200@autistici.org> To: openwrt-devel@lists.openwrt.org This patch adds support for power led to Unifi Airrouter AP. Signed-off-by: Rocco Folino --- 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, } };