summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-19 11:52:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-19 11:52:19 +0000
commitda5cacba76f4a3658de9d960e074ceb99a532f44 (patch)
tree6474b04f214d744791ad09950fe87966c8f5ea07
parentb00fe580edf0015155385cc41f06518121e9c7a0 (diff)
downloadmtk-20170518-da5cacba76f4a3658de9d960e074ceb99a532f44.zip
mtk-20170518-da5cacba76f4a3658de9d960e074ceb99a532f44.tar.gz
mtk-20170518-da5cacba76f4a3658de9d960e074ceb99a532f44.tar.bz2
ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com> SVN-Revision: 19744
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
index c625fc9..3dd9778 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
@@ -29,6 +29,7 @@
#define WNDR3700_GPIO_LED_POWER_ORANGE 1
#define WNDR3700_GPIO_LED_POWER_GREEN 2
#define WNDR3700_GPIO_LED_WPS_GREEN 4
+#define WNDR3700_GPIO_LED_WAN_GREEN 6
#define WNDR3700_GPIO_BTN_WPS 3
#define WNDR3700_GPIO_BTN_RESET 8
@@ -118,6 +119,10 @@ static struct gpio_led wndr3700_leds_gpio[] __initdata = {
.name = "wndr3700:orange:wps",
.gpio = WNDR3700_GPIO_LED_WPS_ORANGE,
.active_low = 1,
+ }, {
+ .name = "wndr3700:green:wan",
+ .gpio = WNDR3700_GPIO_LED_WAN_GREEN,
+ .active_low = 1,
}
};