aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thomson <git@johnthomson.fastmail.com.au>2022-11-10 09:55:11 +1000
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-02 22:25:49 +0200
commitc6b6cab858dd3d13dc32f0be9c7910ca69d6c1b5 (patch)
tree6fd4da880fb15484f9305d9a555e8057f2c77015
parent2faa7ff09e0970e8d5f6bf5906dd4e8c987ec970 (diff)
downloadupstream-c6b6cab858dd3d13dc32f0be9c7910ca69d6c1b5.tar.gz
upstream-c6b6cab858dd3d13dc32f0be9c7910ca69d6c1b5.tar.bz2
upstream-c6b6cab858dd3d13dc32f0be9c7910ca69d6c1b5.zip
ramips: mt7621: mikrotik 760igs (hEX S) fix SFP
This device uses an AR8031/AR8033 chip to convert SoC gmac1 RGMII to 1000base-x or sgmii for the SFP fibre cage. The SFP cage requires phy-mode rgmii-rxid, and without it will not recieve any packets: ethtool -S sfp rx_fcs_errors will increase when packets should be being received, but no other _rx counters will change. Fixes: c77858aa792 ("ramips: mt7621-dts: change phy-mode of gmac1 to rgmii") Reviewed-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au> (cherry picked from commit 7ea965b57803ceec20222279377e611652ac217f)
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts
index ed0b4e52cf..8b88cfe0a3 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts
@@ -49,6 +49,7 @@
status = "okay";
label = "sfp";
+ phy-mode = "rgmii-rxid";
phy-handle = <&ephy7>;
};