summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-11-28 22:32:38 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-12-01 11:36:45 +0100
commit82e918f967ae580e6af79085f906794ca156a08b (patch)
tree89123a19f4dd86e61fc45997ce56fdbf4b15c9d1 /arch/mips/boot
parentMIPS: vpe-cmp: fix possible memory leak while module exiting (diff)
downloadlinux-82e918f967ae580e6af79085f906794ca156a08b.tar.xz
linux-82e918f967ae580e6af79085f906794ca156a08b.zip
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/boot')
-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";
};
};