]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mips: dts: ralink: mt7621: fix external phy on GB-PC2
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 20 Sep 2022 17:25:55 +0000 (20:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:12 +0000 (09:57 +0200)
[ Upstream commit 247825f991b34440f9b9d4fe607502435a42ac7b ]

The address of the external phy on the mdio bus is 5. Update the devicetree
for GB-PC2 accordingly.

Fixes: 5bc148649cf3 ("staging: mt7621-dts: fix GB-PC2 devicetree")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts

index a6201a119a1f2674f2d1e4ada9b27518281d0f65..5bdc63187e77ff606b52fe77be3b79412798bc14 100644 (file)
 
 &gmac1 {
        status = "okay";
-       phy-handle = <&ethphy7>;
+       phy-handle = <&ethphy5>;
 };
 
 &mdio {
-       ethphy7: ethernet-phy@7 {
-               reg = <7>;
+       ethphy5: ethernet-phy@5 {
+               reg = <5>;
                phy-mode = "rgmii-rxid";
        };
 };