airoha: an7581: correct the pinctrl-name of phy leds

address the following issues:

    [    3.542844] mdio_bus mt7530-0: Failed to setup PHY LED pinctrl
    [    3.552550] mdio_bus mt7530-0: Failed to setup PHY LED pinctrl
    [    3.562449] mdio_bus mt7530-0: Failed to setup PHY LED pinctrl
    [    3.574350] mdio_bus mt7530-0: Failed to setup PHY LED pinctrl

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
(cherry picked from commit 65aed6aa12)
Link: https://github.com/openwrt/openwrt/pull/21838
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Ziyang Huang
2026-02-07 16:59:12 +01:00
committed by Hauke Mehrtens
parent 90d68d3f02
commit 7000e421f1
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -254,7 +254,7 @@
};
&gsw_phy1 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp1_led0_pins>;
status = "okay";
};
@@ -264,7 +264,7 @@
};
&gsw_phy2 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp2_led0_pins>;
status = "okay";
};
@@ -274,7 +274,7 @@
};
&gsw_phy3 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp3_led0_pins>;
status = "okay";
};
@@ -284,7 +284,7 @@
};
&gsw_phy4 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp4_led0_pins>;
status = "okay";
};
+4 -4
View File
@@ -219,7 +219,7 @@
};
&gsw_phy1 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp1_led0_pins>;
status = "okay";
};
@@ -229,7 +229,7 @@
};
&gsw_phy2 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp2_led0_pins>;
status = "okay";
};
@@ -239,7 +239,7 @@
};
&gsw_phy3 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp3_led0_pins>;
status = "okay";
};
@@ -249,7 +249,7 @@
};
&gsw_phy4 {
pinctrl-names = "led";
pinctrl-names = "gbe-led";
pinctrl-0 = <&gswp4_led0_pins>;
status = "okay";
};