[ar71xx] tew-632brp: add status LED
authorGabor Juhos <juhosg@openwrt.org>
Mon, 15 Dec 2008 11:07:11 +0000 (11:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 15 Dec 2008 11:07:11 +0000 (11:07 +0000)
SVN-Revision: 13648

target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c

index 7a5c1b6..ac0f6c1 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/mach-ar71xx/ar71xx.h>
 #include <asm/mach-ar71xx/platform.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
 #include <asm/mach-ar71xx/platform.h>
 
+#define TEW_632BRP_GPIO_LED_STATUS     1
 #define TEW_632BRP_GPIO_LED_WPS                3
 #define TEW_632BRP_GPIO_LED_WLAN       6
 #define TEW_632BRP_GPIO_BTN_RESET      21
 #define TEW_632BRP_GPIO_LED_WPS                3
 #define TEW_632BRP_GPIO_LED_WLAN       6
 #define TEW_632BRP_GPIO_BTN_RESET      21
@@ -78,6 +79,10 @@ static struct spi_board_info tew_632brp_spi_info[] = {
 
 static struct gpio_led tew_632brp_leds_gpio[] __initdata = {
        {
 
 static struct gpio_led tew_632brp_leds_gpio[] __initdata = {
        {
+               .name           = "tew-632brp:green:status",
+               .gpio           = TEW_632BRP_GPIO_LED_STATUS,
+               .active_low     = 1,
+       }, {
                .name           = "tew-632brp:blue:wps",
                .gpio           = TEW_632BRP_GPIO_LED_WPS,
                .active_low     = 1,
                .name           = "tew-632brp:blue:wps",
                .gpio           = TEW_632BRP_GPIO_LED_WPS,
                .active_low     = 1,