Merge pull request #110 from Xiretza/gen-fix-rmii

gen: fix for RMII PHY
This commit is contained in:
enjoy-digital 2022-06-27 15:31:17 +02:00 committed by GitHub
commit 6930fb1cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class PHYCore(SoCMini):
pads = platform.request("mii_eth")) pads = platform.request("mii_eth"))
elif phy in [liteeth_phys.LiteEthPHYRMII]: elif phy in [liteeth_phys.LiteEthPHYRMII]:
ethphy = phy( ethphy = phy(
refclk_cd = None,
clock_pads = platform.request("rmii_eth_clocks"), clock_pads = platform.request("rmii_eth_clocks"),
pads = platform.request("rmii_eth")) pads = platform.request("rmii_eth"))
elif phy in [liteeth_phys.LiteEthPHYGMII]: elif phy in [liteeth_phys.LiteEthPHYGMII]: