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

targets/kc705: update sata pads.

parent a410e447
No related branches found
No related tags found
No related merge requests found
...@@ -94,11 +94,11 @@ class BaseSoC(SoCCore): ...@@ -94,11 +94,11 @@ class BaseSoC(SoCCore):
# IOs # IOs
_sata_io = [ _sata_io = [
# SFP 2 SATA Adapter / https://shop.trenz-electronic.de/en/TE0424-01-SFP-2-SATA-Adapter # SFP 2 SATA Adapter / https://shop.trenz-electronic.de/en/TE0424-01-SFP-2-SATA-Adapter
("sfp", 0, ("sfp2sata", 0,
Subsignal("txp", Pins("H2")), Subsignal("tx_p", Pins("H2")),
Subsignal("txn", Pins("H1")), Subsignal("tx_n", Pins("H1")),
Subsignal("rxp", Pins("G4")), Subsignal("rx_p", Pins("G4")),
Subsignal("rxn", Pins("G3")), Subsignal("rx_n", Pins("G3")),
), ),
] ]
platform.add_extension(_sata_io) platform.add_extension(_sata_io)
...@@ -112,7 +112,7 @@ class BaseSoC(SoCCore): ...@@ -112,7 +112,7 @@ class BaseSoC(SoCCore):
# PHY # PHY
self.submodules.sata_phy = LiteSATAPHY(platform.device, self.submodules.sata_phy = LiteSATAPHY(platform.device,
refclk = sata_refclk, refclk = sata_refclk,
pads = platform.request("sfp"), pads = platform.request("sfp2sata"),
gen = "gen2", gen = "gen2",
clk_freq = sys_clk_freq, clk_freq = sys_clk_freq,
data_width = 16) data_width = 16)
......
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