summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-11-29 00:32:38 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-12-01 13:36:45 +0300
commit82e918f967ae580e6af79085f906794ca156a08b (patch)
tree89123a19f4dd86e61fc45997ce56fdbf4b15c9d1 /arch/mips
parentc5ed1fe0801f0c66b0fbce2785239a5664629057 (diff)
downloadlinux-82e918f967ae580e6af79085f906794ca156a08b.tar.xz
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 <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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts2
1 files changed, 1 insertions, 1 deletions
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 = <&ethphy5>;
};
&mdio {
ethphy5: ethernet-phy@5 {
reg = <5>;
- phy-mode = "rgmii-rxid";
};
};