ARM: dts: armada-375: Update network description to match schema
authorMarcin Wojtas <mw@semihalf.com>
Fri, 14 Oct 2022 21:32:54 +0000 (23:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2022 08:49:38 +0000 (09:49 +0100)
Update the PP2 ethernet ports subnodes' names to match
schema enforced by the marvell,pp2.yaml contents.

Add new required properties ('reg') which contains information
about the port ID, keeping 'port-id' ones for backward
compatibility.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/armada-375.dtsi

index 929deaf..9fbe0cf 100644 (file)
 
                        /* Network controller */
                        ethernet: ethernet@f0000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                compatible = "marvell,armada-375-pp2";
                                reg = <0xf0000 0xa000>, /* Packet Processor regs */
                                      <0xc0000 0x3060>, /* LMS regs */
                                clock-names = "pp_clk", "gop_clk";
                                status = "disabled";
 
-                               eth0: eth0 {
+                               eth0: ethernet-port@0 {
                                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-                                       port-id = <0>;
+                                       reg = <0>;
+                                       port-id = <0>; /* For backward compatibility. */
                                        status = "disabled";
                                };
 
-                               eth1: eth1 {
+                               eth1: ethernet-port@1 {
                                        interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-                                       port-id = <1>;
+                                       reg = <1>;
+                                       port-id = <1>; /* For backward compatibility. */
                                        status = "disabled";
                                };
                        };