]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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>
Wed, 18 Jan 2023 10:40:52 +0000 (11:40 +0100)
[ Upstream commit f87db2005f73876602211af0ee156817019b6bda ]

Switch port 6 is connected to eth0, so add appropriate device tree node for it.

Fixes: 694371b0ef9a ("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 c0a026ac7be8366f418800fdf4d667449e822157..320c759b4090f6e22468e11148ae7b101237adef 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;
+                               };
+                       };
                };
        };
 };