diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-15 11:07:11 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-15 11:07:11 +0000 |
commit | 8381f3a2033ec8e0f89b23104777072d71634b86 (patch) | |
tree | 94f422b34ca0c3d71b3b455a654c4fcccca37c93 /target/linux/ar71xx | |
parent | dd0fb21b4c30f1a3beaf38cc24a13da268723a4e (diff) |
[ar71xx] tew-632brp: add status LED
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13648 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c index 7a5c1b622f..ac0f6c1869 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c @@ -21,6 +21,7 @@ #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 @@ -78,6 +79,10 @@ static struct spi_board_info tew_632brp_spi_info[] = { 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, |