]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2022 09:24:59 +0000 (10:24 +0100)
The address of the external phy on the mdio bus is 5. Update the devicetree
for GB-PC2 accordingly.

Fixes: 4dbbab4a8ea9 ("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>
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts

index 2e534ea5bab70df3a0c8407cdec1b7010f0abcc1..5f52193a4c375985b6062e48254a0c22659e0c32 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";
        };
 };