]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: airoha: an7583: fix phy1_led1 pin function
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 6 Jun 2026 02:03:41 +0000 (05:03 +0300)
committerLinus Walleij <linusw@kernel.org>
Thu, 11 Jun 2026 11:52:48 +0000 (13:52 +0200)
phy1_led1 pin function wrongly refers to gpio1 instead of gpio11.
Fix it.

Fixes: 3ffeb17a9a27 ("pinctrl: airoha: add support for Airoha AN7583 PINs")
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/airoha/pinctrl-airoha.c

index 7dfc8e3c083f7a6970baab61ae77dc0002bd3700..3a452abc0b87824c054c1c66999655dfeda0217c 100644 (file)
@@ -1754,7 +1754,7 @@ static const struct airoha_pinctrl_func_group an7583_phy1_led1_func_group[] = {
                                LAN1_LED_MAPPING_MASK, LAN1_PHY_LED_MAP(0)),
        AIROHA_PINCTRL_PHY_LED1("gpio10", GPIO_LAN2_LED1_MODE_MASK,
                                LAN2_LED_MAPPING_MASK, LAN2_PHY_LED_MAP(0)),
-       AIROHA_PINCTRL_PHY_LED1("gpio1", GPIO_LAN3_LED1_MODE_MASK,
+       AIROHA_PINCTRL_PHY_LED1("gpio11", GPIO_LAN3_LED1_MODE_MASK,
                                LAN3_LED_MAPPING_MASK, LAN3_PHY_LED_MAP(0)),
 };