summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-04-12 17:42:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-04-12 17:42:35 +0000
commit4fe71cedfea091679bccfd7e50ff3784bea239d8 (patch)
tree19ddf320c9b4c0d5a99b8a062a9d4206b887cde5
parentdb123a8a2136351321d9ab76ed966cf7dab5a0f5 (diff)
downloadmtk-20170518-4fe71cedfea091679bccfd7e50ff3784bea239d8.zip
mtk-20170518-4fe71cedfea091679bccfd7e50ff3784bea239d8.tar.gz
mtk-20170518-4fe71cedfea091679bccfd7e50ff3784bea239d8.tar.bz2
ar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40475
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
index a89b8b6..6f26429 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
@@ -36,6 +36,7 @@
#define WNDR4300_GPIO_LED_USB 13
#define WNDR4300_GPIO_LED_WAN_GREEN 1
#define WNDR4300_GPIO_LED_WAN_AMBER 3
+#define WNDR4300_GPIO_LED_WLAN2G 11
#define WNDR4300_GPIO_LED_WLAN5G 14
#define WNDR4300_GPIO_LED_WPS_GREEN 16
#define WNDR4300_GPIO_LED_WPS_AMBER 17
@@ -84,6 +85,11 @@ static struct gpio_led wndr4300_leds_gpio[] __initdata = {
.active_low = 1,
},
{
+ .name = "netgear:green:wlan2g",
+ .gpio = WNDR4300_GPIO_LED_WLAN2G,
+ .active_low = 1,
+ },
+ {
.name = "netgear:blue:wlan5g",
.gpio = WNDR4300_GPIO_LED_WLAN5G,
.active_low = 1,