From 2505aeb9b4ff4392212255663c3c38f2c1d8e357 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 28 Mar 2024 15:57:40 +0100 Subject: [PATCH] qmtech_wukong: Switch to direct instance of LiteEthPHYGMII since hybrid MII/GMII does not seems to work correctly. --- litex_boards/targets/qmtech_wukong.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/litex_boards/targets/qmtech_wukong.py b/litex_boards/targets/qmtech_wukong.py index 1f4ec5c..eacd74e 100755 --- a/litex_boards/targets/qmtech_wukong.py +++ b/litex_boards/targets/qmtech_wukong.py @@ -23,8 +23,7 @@ from litex.soc.cores.gpio import GPIOIn from litedram.modules import MT41K128M16 from litedram.phy import s7ddrphy -from liteeth.phy import LiteEthPHY -from liteeth.phy import LiteEthPHYMII +from liteeth.phy import LiteEthPHYGMII # CRG ---------------------------------------------------------------------------------------------- @@ -110,10 +109,9 @@ class BaseSoC(SoCCore): # Ethernet / Etherbone --------------------------------------------------------------------- if with_ethernet or with_etherbone: - self.ethphy = LiteEthPHY( + self.ethphy = LiteEthPHYGMII( clock_pads = self.platform.request("eth_clocks"), - pads = self.platform.request("eth"), - clk_freq = sys_clk_freq) + pads = self.platform.request("eth")) if with_ethernet: self.add_ethernet(phy=self.ethphy, nrxslots=2, local_ip=eth_ip, remote_ip=remote_ip) if with_etherbone: