Skip to contentSkip to conversation

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

PATCH Applied Arınç ÜNAL 3 participants 4 messages Nov 28, 2022 – Jan 15, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +1 -1
index 7515555388ae..e31417569e09 100644
@@ -113,13 +113,13 @@ &pcie {
 
 &gmac1 {
 	status = "okay";
+	phy-mode = "rgmii-rxid";
 	phy-handle = <&ethphy5>;
 };
 
 &mdio {
 	ethphy5: ethernet-phy@5 {
 		reg = <5>;
-		phy-mode = "rgmii-rxid";
 	};
 };
 
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Arınç ÜNAL

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.

---
 arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks,
Sergio Paracuellos

maintainer Applied
#2 lore raw
In reply to Arınç ÜNAL
Quoted 8 lines · Arınç ÜNAL

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.

---
 arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
#3 lore raw
Quoted 11 lines · Thomas Bogendoerfer
Quoted 8 lines · Arınç ÜNAL

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.

---
  arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-next.

I just realised I forgot to add "dts:" to the patch subject. Would that be a problem?

Arınç