Skip to content

Commit

Permalink
mips: ralink: mt7621: fix phy-mode of external phy on GB-PC2
Browse files Browse the repository at this point in the history
The phy-mode property must be defined on the MAC instead of the PHY. Define
phy-mode under gmac1 which the external phy is connected to.

Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  • Loading branch information
arinc9 authored and tsbogend committed Dec 1, 2022
1 parent c5ed1fe commit 82e918f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@

&gmac1 {
status = "okay";
phy-mode = "rgmii-rxid";
phy-handle = <&ethphy5>;
};

&mdio {
ethphy5: ethernet-phy@5 {
reg = <5>;
phy-mode = "rgmii-rxid";
};
};

Expand Down

0 comments on commit 82e918f

Please sign in to comment.