ARM: dts: kirkwood: lsxl: remove first ethernet port
authorMichael Walle <michael@walle.cc>
Tue, 16 Aug 2022 00:10:25 +0000 (02:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:17:02 +0000 (13:17 +0200)
[ Upstream commit 2d528eda7c96ce5c70f895854ecd5684bd5d80b9 ]

Both the Linkstation LS-CHLv2 and the LS-XHL have only one ethernet
port. This has always been wrong, i.e. the board code used to set up
both ports, but the driver will play nice and return -ENODEV if the
assiciated PHY is not found. Nevertheless, it is wrong. Remove it.

Fixes: 876e23333511 ("ARM: kirkwood: add gigabit ethernet and mvmdio device tree nodes")
Signed-off-by: Michael Walle <michael@walle.cc>
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/kirkwood-lsxl.dtsi

index 321a40a98ed2083efb1d597af9f547b2656eb1de..88b70ba1c8feec67b670335c60235aa21342687e 100644 (file)
 &mdio {
        status = "okay";
 
-       ethphy0: ethernet-phy@0 {
-               reg = <0>;
-       };
-
        ethphy1: ethernet-phy@8 {
                reg = <8>;
        };
 };
 
-&eth0 {
-       status = "okay";
-       ethernet0-port@0 {
-               phy-handle = <&ethphy0>;
-       };
-};
-
 &eth1 {
        status = "okay";
        ethernet1-port@0 {