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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:13:59 +0000 (13:13 +0100)
[ Upstream commit f87db2005f73876602211af0ee156817019b6bda ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/armada-385-turris-omnia.dts

index 86e8a46..e7649c7 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;
+                               };
+                       };
                };
        };
 };