aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-05-10 07:47:04 +0000
committerLuka Perkov <luka@openwrt.org>2015-05-10 07:47:04 +0000
commit2a9ebfb50391351ba353872678e71bd20d5b10e4 (patch)
tree753c9f1d65263e8c07f8dc52a02abaebf5154e30 /target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
parent53827cdc824556cda910b23ce5030c363b8f1461 (diff)
downloadupstream-2a9ebfb50391351ba353872678e71bd20d5b10e4.tar.gz
upstream-2a9ebfb50391351ba353872678e71bd20d5b10e4.tar.bz2
upstream-2a9ebfb50391351ba353872678e71bd20d5b10e4.zip
ar71xx: add status led found on ew-dorin boards
Signed-off-by: Catrinel Catrinescu <cc@80211.de> SVN-Revision: 45656
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
index 47ed51b5dd..e686b5fa6f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
@@ -2,7 +2,7 @@
* EW Dorin board support
* (based on Atheros Ref. Design AP121)
* Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
- * Copyright (C) 2012 Embedded Wireless GmbH www.80211.de
+ * Copyright (C) 2012-2015 Embedded Wireless GmbH www.80211.de
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
@@ -29,6 +29,7 @@
#define DORIN_GPIO_LED_21 21
#define DORIN_GPIO_LED_22 22
+#define DORIN_GPIO_LED_STATUS 23
#define DORIN_GPIO_BTN_JUMPSTART 11
#define DORIN_GPIO_BTN_RESET 6
@@ -44,6 +45,11 @@ static struct gpio_led dorin_leds_gpio[] __initdata = {
.gpio = DORIN_GPIO_LED_22,
.active_low = 1,
},
+ {
+ .name = "dorin:green:status",
+ .gpio = DORIN_GPIO_LED_STATUS,
+ .active_low = 1,
+ },
};
static struct gpio_keys_button dorin_gpio_keys[] __initdata = {