liteeth_gen: Add A7_2500BASEX support.

This commit is contained in:
Florent Kermarrec 2024-01-23 13:54:06 +01:00
parent a00c9a3d22
commit 5a1caed75f
2 changed files with 3 additions and 1 deletions

View File

@ -278,6 +278,7 @@ class PHYCore(SoCMini):
# SGMII.
elif phy in [
liteeth_phys.A7_1000BASEX,
liteeth_phys.A7_2500BASEX,
liteeth_phys.K7_1000BASEX,
liteeth_phys.KU_1000BASEX,
liteeth_phys.USP_GTH_1000BASEX,
@ -285,7 +286,7 @@ class PHYCore(SoCMini):
]:
ethphy_pads = platform.request("sgmii")
# Artix7.
if phy in [liteeth_phys.A7_1000BASEX]:
if phy in [liteeth_phys.A7_1000BASEX, liteeth_phys.A7_2500BASEX]:
refclk_freq = core_config.get("refclk_freq", 0)
assert refclk_freq in [125e6, 156.25e6]
from liteeth.phy.a7_gtp import QPLLSettings, QPLL

View File

@ -34,6 +34,7 @@ from liteeth.phy.usrgmii import LiteEthPHYRGMII as LiteEthUSPHYRGMII
from liteeth.phy.ecp5rgmii import LiteEthPHYRGMII as LiteEthECP5PHYRGMII
from liteeth.phy.a7_1000basex import A7_1000BASEX
from liteeth.phy.a7_2500basex import A7_2500BASEX
from liteeth.phy.k7_1000basex import K7_1000BASEX
from liteeth.phy.ku_1000basex import KU_1000BASEX
from liteeth.phy.usp_gth_1000basex import USP_GTH_1000BASEX