]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: renesas: r8a779f0: Add labels for rswitch ports
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Jan 2025 11:13:08 +0000 (12:13 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Feb 2025 15:23:00 +0000 (16:23 +0100)
Introduce labels for each rswitch port in the form 'rswitch_portN'.
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 the DT
/aliases node to reference the rswitch ports as ethernetN interfaces.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250118111344.361617-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779f0.dtsi

index 054498e54730b49c6595dac165dbe08f81122879..5457d527f9cd855e120aaebc78ed8ee6d900ad98 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               port@0 {
+                               rswitch_port0: port@0 {
                                        reg = <0>;
                                        phys = <&eth_serdes 0>;
                                };
-                               port@1 {
+                               rswitch_port1: port@1 {
                                        reg = <1>;
                                        phys = <&eth_serdes 1>;
                                };
-                               port@2 {
+                               rswitch_port2: port@2 {
                                        reg = <2>;
                                        phys = <&eth_serdes 2>;
                                };