From 5f026f12728fbe9fe909c44c293f4ea58311d50f Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Mon, 29 Aug 2022 09:25:55 -0500 Subject: [PATCH] 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 --- target/linux/realtek/dts-5.10/rtl838x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>; \ -- 2.30.2