},
};
+static const struct ar8327_led_info archer_c7_leds_ar8327[] __initconst = {
+ AR8327_LED_INFO(PHY0_0, HW, "tp-link:blue:wan"),
+ AR8327_LED_INFO(PHY1_0, HW, "tp-link:blue:lan1"),
+ AR8327_LED_INFO(PHY2_0, HW, "tp-link:blue:lan2"),
+ AR8327_LED_INFO(PHY3_0, HW, "tp-link:blue:lan3"),
+ AR8327_LED_INFO(PHY4_0, HW, "tp-link:blue:lan4"),
+};
+
/* GMAC0 of the AR8327 switch is connected to the QCA9558 SoC via SGMII */
static struct ar8327_pad_cfg archer_c7_ar8327_pad0_cfg = {
.mode = AR8327_PAD_MAC_SGMII,
.rxpause = 1,
},
.led_cfg = &archer_c7_ar8327_led_cfg,
+ .num_leds = ARRAY_SIZE(archer_c7_leds_ar8327),
+ .leds = archer_c7_leds_ar8327,
};
static struct mdio_board_info archer_c7_mdio0_info[] = {