From: Arınç ÜNAL Date: Mon, 28 Nov 2022 21:32:38 +0000 (+0300) Subject: mips: ralink: mt7621: fix phy-mode of external phy on GB-PC2 X-Git-Tag: v6.2-rc1~11^2~14 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=82e918f967ae580e6af79085f906794ca156a08b;p=tomoyo%2Ftomoyo-test1.git 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: Petr Louda Signed-off-by: Arınç ÜNAL Acked-by: Sergio Paracuellos Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts index 7515555388ae..e31417569e09 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts @@ -113,13 +113,13 @@ &gmac1 { status = "okay"; + phy-mode = "rgmii-rxid"; phy-handle = <ðphy5>; }; &mdio { ethphy5: ethernet-phy@5 { reg = <5>; - phy-mode = "rgmii-rxid"; }; };