]> 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>
Fri, 21 Oct 2022 10:38:16 +0000 (12:38 +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 34006e6677806a4bd5dc1e4595a3c6bd52abe0e9..0d01e542a0a6efd5ce10bc453a9076f34c01bac9 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";
        };
 };