ar71xx: add missing GPIO LED for the WNDR3700 board
authorGabor Juhos <juhosg@openwrt.org>
Fri, 19 Feb 2010 11:52:19 +0000 (11:52 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 19 Feb 2010 11:52:19 +0000 (11:52 +0000)
Signed-off-by: Scott Dudley <spmsink@hotmail.com>
SVN-Revision: 19744

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c

index c625fc980aeebf313b9bb9ffed698fb248fb80d2..3dd97789a0d7e564e4d103161867d9e1d4d1008c 100644 (file)
@@ -29,6 +29,7 @@
 #define WNDR3700_GPIO_LED_POWER_ORANGE 1
 #define WNDR3700_GPIO_LED_POWER_GREEN  2
 #define WNDR3700_GPIO_LED_WPS_GREEN    4
+#define WNDR3700_GPIO_LED_WAN_GREEN    6
 
 #define WNDR3700_GPIO_BTN_WPS          3
 #define WNDR3700_GPIO_BTN_RESET                8
@@ -118,6 +119,10 @@ static struct gpio_led wndr3700_leds_gpio[] __initdata = {
                .name           = "wndr3700:orange:wps",
                .gpio           = WNDR3700_GPIO_LED_WPS_ORANGE,
                .active_low     = 1,
+       }, {
+               .name           = "wndr3700:green:wan",
+               .gpio           = WNDR3700_GPIO_LED_WAN_GREEN,
+               .active_low     = 1,
        }
 };