summaryrefslogtreecommitdiff
path: root/target
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
commitd4aa7ecdca2de65212c37b9f392f1993b7d39ad3 (patch)
treea2b50268dd7f0f26afa1fda4f2e0f19103ba0b48 /target
parentf212ab51efc7e25b22e1189de89ad788ce8716dc (diff)
downloadmtk-20170518-d4aa7ecdca2de65212c37b9f392f1993b7d39ad3.zip
mtk-20170518-d4aa7ecdca2de65212c37b9f392f1993b7d39ad3.tar.gz
mtk-20170518-d4aa7ecdca2de65212c37b9f392f1993b7d39ad3.tar.bz2
tew-632brp: add status LED
SVN-Revision: 13648
Diffstat (limited to 'target')
-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 7a5c1b6..ac0f6c1 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,