[OpenWrt-Devel] [PATCH 09/11] ar71xx: add support for Green WAN LED on wnr2000-v4

Michael J. Bazzinotti bazz at cs.umb.edu
Mon Apr 20 19:24:20 EDT 2015


From: "Michael J. Bazzinotti" <mbazzinotti at gmail.com>

Signed-off-by: Michael J. Bazzinotti <mbazzinotti at gmail.com>
---
 target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
index ac8f817..3e68982 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
@@ -61,6 +61,10 @@ static struct gpio_led wnr2000v4_leds_gpio[] __initdata = {
 		.active_low	= 1,
         .default_trigger = "default-on",
 	}, {
+		.name		= "netgear:green:wan",
+		.gpio		= WNR2000V4_GPIO_LED_WAN_GREEN,
+		.active_low	= 1,
+	}, {
 		.name		= "netgear:amber:wan",
 		.gpio		= WNR2000V4_GPIO_LED_WAN_AMBER,
 		.active_low	= 1,
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list