targets/kc705: update sata pads.

This commit is contained in:
Florent Kermarrec 2020-10-30 17:12:59 +01:00
parent a410e447e1
commit e950a4a588
1 changed files with 6 additions and 6 deletions

View File

@ -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):
# 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)