aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-15 11:07:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-15 11:07:11 +0000
commitc52307074dfaff329c2e13d8aab65cc5a29b2cce (patch)
tree94f422b34ca0c3d71b3b455a654c4fcccca37c93 /target/linux/ar71xx/files/arch
parent0897bff8216680f407d0885d0f9b59df3c403527 (diff)
downloadmaster-187ad058-c52307074dfaff329c2e13d8aab65cc5a29b2cce.tar.gz
master-187ad058-c52307074dfaff329c2e13d8aab65cc5a29b2cce.tar.bz2
master-187ad058-c52307074dfaff329c2e13d8aab65cc5a29b2cce.zip
[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/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tew-632brp.c5
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,