Add ebaz4205 support #327
|
@ -87,16 +87,7 @@ class EBAZ4205(SoCCore):
|
||||||
platform.add_extension(_ps)
|
platform.add_extension(_ps)
|
||||||
platform.add_extension(_ddr)
|
platform.add_extension(_ddr)
|
||||||
|
|
||||||
## Uncomment if your EBAZ4205 doesn't have a PHY XTAL
|
|
||||||
## Clock for PHY is tied to pin U18
|
|
||||||
# platform.add_extension(
|
|
||||||
# [
|
|
||||||
# ("phy_clk", 0, Pins("U18"), IOStandard("LVCMOS33")),
|
|
||||||
# ]
|
|
||||||
# )
|
|
||||||
|
|
||||||
gmii = platform.request("gmii")
|
gmii = platform.request("gmii")
|
||||||
newell marked this conversation as resolved
Outdated
|
|||||||
|
|
||||||
platform.add_period_constraint(gmii.rx_clk, 10)
|
platform.add_period_constraint(gmii.rx_clk, 10)
|
||||||
platform.add_period_constraint(gmii.tx_clk, 10)
|
platform.add_period_constraint(gmii.tx_clk, 10)
|
||||||
platform.add_platform_command(
|
platform.add_platform_command(
|
||||||
|
@ -135,11 +126,6 @@ class EBAZ4205(SoCCore):
|
||||||
self.ps7.enet0.enet.gmii.rx_dv.eq(gmii.rx_dv),
|
self.ps7.enet0.enet.gmii.rx_dv.eq(gmii.rx_dv),
|
||||||
]
|
]
|
||||||
|
|
||||||
## Uncomment if your EBAZ4205 doesn't have a PHY XTAL
|
|
||||||
## Left for the user to do, setup a 25 MHz clock for phy_clk.
|
|
||||||
# phy_clk = platform.request("phy_clk")
|
|
||||||
# ...
|
|
||||||
|
|
||||||
# MDIO
|
# MDIO
|
||||||
mdio = platform.request("mdio")
|
mdio = platform.request("mdio")
|
||||||
self.comb += [
|
self.comb += [
|
||||||
|
|
Loading…
Reference in New Issue
This should be a commandline option (e.g.
--no-xtal
), rather than uncommentingYes, agreed. This board is known to come in different variants on the 2nd hand market and I don't feel like removing the xtal to test things as my board has the xtal populated. I will remove this commented out code and leave the commandline option for a possible future branch.
Fair enough, don't add anything that's not been tested either.