ARM: dts: turris-omnia: Add switch port 6 node
authorPali Rohár <pali@kernel.org>
Thu, 25 Aug 2022 12:21:02 +0000 (14:21 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 28 Nov 2022 00:01:06 +0000 (01:01 +0100)
Switch port 6 is connected to eth0, so add appropriate device tree node for it.

Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-385-turris-omnia.dts

index f2aaaed..0c1f238 100644 (file)
                                };
                        };
 
-                       /* port 6 is connected to eth0 */
+                       ports@6 {
+                               reg = <6>;
+                               label = "cpu";
+                               ethernet = <&eth0>;
+                               phy-mode = "rgmii-id";
+
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
+                       };
                };
        };
 };