diff --git a/liteeth/gen.py b/liteeth/gen.py index 885e83f..340a85c 100755 --- a/liteeth/gen.py +++ b/liteeth/gen.py @@ -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 diff --git a/liteeth/phy/__init__.py b/liteeth/phy/__init__.py index a961709..fffab07 100644 --- a/liteeth/phy/__init__.py +++ b/liteeth/phy/__init__.py @@ -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