Skip to content
Snippets Groups Projects
Commit 22f18f61 authored by Florent Kermarrec's avatar Florent Kermarrec
Browse files

pano_logic_g2: move gmii_rst_n to _CRG.

parent 935a7112
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ class _CRG(Module):
# # #
# Take Ethernet PHY out of reset to enable clk125 (25MHz otherwise).
gmii_rst_n = platform.request("gmii_rst_n")
self.comb += gmii_rst_n.eq(1)
self.submodules.pll = pll = S6PLL(speedgrade=-2)
pll.register_clkin(platform.request("clk125"), 125e6)
pll.create_clkout(self.cd_sys, clk_freq)
......@@ -46,12 +50,6 @@ class BaseSoC(SoCCore):
sys_clk_freq = sys_clk_freq)
self.add_csr("leds")
# Take Ethernet Phy out of reset for SYSCLK of 125 Mhz
gmii_rst_n = platform.request("gmii_rst_n")
self.comb += [
gmii_rst_n.eq(1)
]
# Build --------------------------------------------------------------------------------------------
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment