From: Daniel Schwierzeck Date: Tue, 30 Jun 2026 12:56:16 +0000 (+0200) Subject: airoha: an7583: correct LED node names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fca46c5ffb7c80880c125d290e3ca52fd0ab6a0;p=thirdparty%2Fopenwrt.git airoha: an7583: correct LED node names Use the standard 'led' node name for GPIO LEDs as required by the devicetree specification. Signed-off-by: Ziyang Huang [ adapted from commit f5bf8c2b9482 ("airoha: correct led nodename") ] Signed-off-by: Daniel Schwierzeck Link: https://github.com/openwrt/openwrt/pull/24264 Signed-off-by: Robert Marko --- diff --git a/target/linux/airoha/dts/an7583.dtsi b/target/linux/airoha/dts/an7583.dtsi index c7d3bcd6457..fadcfbc8df7 100644 --- a/target/linux/airoha/dts/an7583.dtsi +++ b/target/linux/airoha/dts/an7583.dtsi @@ -769,14 +769,14 @@ * overridden to maintain unique sysfs * naming. */ - gsw_phy1_led0: gsw-phy1-led0@0 { + gsw_phy1_led0: led@0 { reg = <0>; function = LED_FUNCTION_LAN; function-enumerator = <1>; status = "disabled"; }; - gsw_phy1_led1: gsw-phy1-led1@1 { + gsw_phy1_led1: led@1 { reg = <1>; function = LED_FUNCTION_LAN; function-enumerator = <1>; @@ -795,14 +795,14 @@ #address-cells = <1>; #size-cells = <0>; - gsw_phy2_led0: gsw-phy2-led0@0 { + gsw_phy2_led0: led@0 { reg = <0>; function = LED_FUNCTION_LAN; function-enumerator = <2>; status = "disabled"; }; - gsw_phy2_led1: gsw-phy2-led1@1 { + gsw_phy2_led1: led@1 { reg = <1>; function = LED_FUNCTION_LAN; function-enumerator = <2>; @@ -821,14 +821,14 @@ #address-cells = <1>; #size-cells = <0>; - gsw_phy3_led0: gsw-phy3-led0@0 { + gsw_phy3_led0: led@0 { reg = <0>; function = LED_FUNCTION_LAN; function-enumerator = <3>; status = "disabled"; }; - gsw_phy3_led1: gsw-phy3-led1@1 { + gsw_phy3_led1: led@1 { reg = <1>; function = LED_FUNCTION_LAN; function-enumerator = <3>; @@ -847,14 +847,14 @@ #address-cells = <1>; #size-cells = <0>; - gsw_phy4_led0: gsw-phy4-led0@0 { + gsw_phy4_led0: led@0 { reg = <0>; function = LED_FUNCTION_LAN; function-enumerator = <4>; status = "disabled"; }; - gsw_phy4_led1: gsw-phy4-led1@1 { + gsw_phy4_led1: led@1 { reg = <1>; function = LED_FUNCTION_LAN; function-enumerator = <4>;