@ -50,7 +50,7 @@
# define ARCHER_C7_GPIO_LED_USB1 18
# define ARCHER_C7_GPIO_LED_USB1 18
# define ARCHER_C7_GPIO_LED_USB2 19
# define ARCHER_C7_GPIO_LED_USB2 19
# define ARCHER_C7_GPIO_BTN_RFKILL 1 3
# define ARCHER_C7_GPIO_BTN_RFKILL 2 3
# define ARCHER_C7_V2_GPIO_BTN_RFKILL 23
# define ARCHER_C7_V2_GPIO_BTN_RFKILL 23
# define ARCHER_C7_GPIO_BTN_RESET 16
# define ARCHER_C7_GPIO_BTN_RESET 16
@ -74,22 +74,22 @@ static struct flash_platform_data archer_c7_flash_data = {
static struct gpio_led archer_c7_leds_gpio [ ] __initdata = {
static struct gpio_led archer_c7_leds_gpio [ ] __initdata = {
{
{
. name = " tp-link: blue :qss" ,
. name = " tp-link: green :qss" ,
. gpio = ARCHER_C7_GPIO_LED_QSS ,
. gpio = ARCHER_C7_GPIO_LED_QSS ,
. active_low = 1 ,
. active_low = 1 ,
} ,
} ,
{
{
. name = " tp-link: blue :system" ,
. name = " tp-link: green :system" ,
. gpio = ARCHER_C7_GPIO_LED_SYSTEM ,
. gpio = ARCHER_C7_GPIO_LED_SYSTEM ,
. active_low = 1 ,
. active_low = 1 ,
} ,
} ,
{
{
. name = " tp-link: blue :wlan2g" ,
. name = " tp-link: green :wlan2g" ,
. gpio = ARCHER_C7_GPIO_LED_WLAN2G ,
. gpio = ARCHER_C7_GPIO_LED_WLAN2G ,
. active_low = 1 ,
. active_low = 1 ,
} ,
} ,
{
{
. name = " tp-link: blue :wlan5g" ,
. name = " tp-link: green :wlan5g" ,
. gpio = ARCHER_C7_GPIO_LED_WLAN5G ,
. gpio = ARCHER_C7_GPIO_LED_WLAN5G ,
. active_low = 1 ,
. active_low = 1 ,
} ,
} ,
@ -142,11 +142,11 @@ static struct gpio_keys_button archer_c7_v2_gpio_keys[] __initdata = {
} ;
} ;
static const struct ar8327_led_info archer_c7_leds_ar8327 [ ] = {
static const struct ar8327_led_info archer_c7_leds_ar8327 [ ] = {
AR8327_LED_INFO ( PHY0_0 , HW , " tp-link: blue :wan" ) ,
AR8327_LED_INFO ( PHY0_0 , HW , " tp-link: green :wan" ) ,
AR8327_LED_INFO ( PHY1_0 , HW , " tp-link: blue :lan1" ) ,
AR8327_LED_INFO ( PHY1_0 , HW , " tp-link: green :lan1" ) ,
AR8327_LED_INFO ( PHY2_0 , HW , " tp-link: blue :lan2" ) ,
AR8327_LED_INFO ( PHY2_0 , HW , " tp-link: green :lan2" ) ,
AR8327_LED_INFO ( PHY3_0 , HW , " tp-link: blue :lan3" ) ,
AR8327_LED_INFO ( PHY3_0 , HW , " tp-link: green :lan3" ) ,
AR8327_LED_INFO ( PHY4_0 , HW , " tp-link: blue :lan4" ) ,
AR8327_LED_INFO ( PHY4_0 , HW , " tp-link: green :lan4" ) ,
} ;
} ;
/* GMAC0 of the AR8327 switch is connected to the QCA9558 SoC via SGMII */
/* GMAC0 of the AR8327 switch is connected to the QCA9558 SoC via SGMII */