Add support for TL-WA801ND v4
[openwrt/staging/wigyori.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wa801nd-v3.c
index 39cdb10ee340650bc69e4f6054b06a4ae7421e57..1637382192f34a3121d34138dcc73b087e942e43 100644 (file)
@@ -1,5 +1,6 @@
 /*
  *  TP-LINK TL-WA801ND v3 adapted from TP-LINK TL-WR841N/ND v9
+ *  TP-LINK TL-WA801ND v4
  *
  *  Copyright (C) 2014 Matthias Schiffer <mschiffer@universe-factory.net>
  *  Copyright (C) 2016 Tiziano Bacocco <tizbac2@gmail.com>
@@ -24,7 +25,7 @@
 #include "machtypes.h"
 
 #define TL_WA801NDV3_GPIO_LED_WLAN     12
-#define TL_WA801NDV3_GPIO_LED_QSS      13
+#define TL_WA801NDV3_GPIO_LED_SYSTEM   13
 #define TL_WA801NDV3_GPIO_LED_SECURITY_RED 11
 #define TL_WA801NDV3_GPIO_LED_SECURITY_GREEN 15
 #define TL_WA801NDV3_GPIO_LED_LAN 3
@@ -46,8 +47,8 @@ static struct flash_platform_data tl_wa801n_v3_flash_data = {
 
 static struct gpio_led tl_wa801n_v3_leds_gpio[] __initdata = {
   {
-               .name           = "tp-link:green:qss",
-               .gpio           = TL_WA801NDV3_GPIO_LED_QSS,
+               .name           = "tp-link:green:system",
+               .gpio           = TL_WA801NDV3_GPIO_LED_SYSTEM,
                .active_low     = 1,
        }, {
                .name           = "tp-link:green:lan",