From: Alexandru Gagniuc Date: Mon, 29 Aug 2022 14:25:55 +0000 (-0500) Subject: realtek: rtl838x: label switch port dts nodes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f026f12728fbe9fe909c44c293f4ea58311d50f;p=openwrt%2Fstaging%2Fneocturne.git realtek: rtl838x: label switch port dts nodes Although PHY nodes are labeled, the port nodes were not. Labeling of ports is useful for 'status = "disabled"' ports, which is supported since commit 9a7f17e11f5d ("realtek: ignore disabled switch ports") Signed-off-by: Alexandru Gagniuc --- diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index f92af17ef1..256efb1c05 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -37,7 +37,7 @@ }; #define SWITCH_PORT(n, s, m) \ - port@##n { \ + port##n: port@##n { \ reg = <##n>; \ label = SWITCH_PORT_LABEL(s) ; \ phy-handle = <&phy##n>; \ @@ -45,7 +45,7 @@ }; #define SWITCH_SFP_PORT(n, s, m) \ - port@##n { \ + port##n: port@##n { \ reg = <##n>; \ label = SWITCH_PORT_LABEL(s) ; \ phy-handle = <&phy##n>; \