diff mbox series

[1/5] arm64: dts: renesas: r8a779f0: Add labels for rswitch ports

Message ID 20250118111344.361617-1-marek.vasut+renesas@mailbox.org (mailing list archive)
State New
Delegated to: Geert Uytterhoeven
Headers show
Series [1/5] arm64: dts: renesas: r8a779f0: Add labels for rswitch ports | expand

Commit Message

Marek Vasut Jan. 18, 2025, 11:13 a.m. UTC
Introduce labels for each rswitch port in the form 'rswitchportN'.
Those can be used to access rswitch port nodes directly, which is
going to be useful in reducing DT indentation slightly as well as
in DT /aliases node to reference the rswitch ports as ethernetN
interfaces. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
---
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
index 054498e54730b..8d296d0ebdfdc 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
@@ -974,15 +974,15 @@  ethernet-ports {
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				port@0 {
+				rswitchport0: port@0 {
 					reg = <0>;
 					phys = <&eth_serdes 0>;
 				};
-				port@1 {
+				rswitchport1: port@1 {
 					reg = <1>;
 					phys = <&eth_serdes 1>;
 				};
-				port@2 {
+				rswitchport2: port@2 {
 					reg = <2>;
 					phys = <&eth_serdes 2>;
 				};