ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
authorChen-Yu Tsai <wens@csie.org>
Thu, 30 Aug 2018 08:09:24 +0000 (16:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:19:23 +0000 (08:19 +0100)
[ Upstream commit db9fd9d13e30fc67737ac9893a82e6b095e85a64 ]

The external RTL8211E RGMII Ethernet PHY is configured via external
resistors to use the address 0x1. The 0x0 address is a broadcast address
for this family of PHYs, and should not be used explicitly.

Fixes: 8c7ba536e709 ("ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i")
Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)")
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts

index 30540dc..bdda0d9 100644 (file)
 &external_mdio {
        ext_rgmii_phy: ethernet-phy@1 {
                compatible = "ethernet-phy-ieee802.3-c22";
-               reg = <0>;
+               reg = <1>;
        };
 };