Commit 82e918f9 authored by Arınç ÜNAL's avatar Arınç ÜNAL Committed by Thomas Bogendoerfer
Browse files

mips: ralink: mt7621: fix phy-mode of external phy on GB-PC2



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: default avatarPetr Louda <petr.louda@outlook.cz>
Signed-off-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Acked-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent c5ed1fe0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
	};
};