sipeed_tang_primer_20k: Switch Serial to Dock IOs.

This commit is contained in:
Florent Kermarrec 2022-08-05 09:07:20 +02:00
parent f2cb211432
commit c79d01064e
1 changed files with 10 additions and 10 deletions

View File

@ -16,17 +16,10 @@ from litex.build.openfpgaloader import OpenFPGALoader
# IOs ----------------------------------------------------------------------------------------------
_io = [
# Clk / Rst
# Clk / Rst.
("clk27", 0, Pins("H11"), IOStandard("LVCMOS33")),
# Serial
("serial", 0,
Subsignal("rx", Pins("T13")),
Subsignal("tx", Pins("M11")),
IOStandard("LVCMOS33")
),
# SPIFlash
# SPIFlash.
("spiflash", 0,
Subsignal("cs_n", Pins("M9"), IOStandard("LVCMOS33")),
Subsignal("clk", Pins("L10"), IOStandard("LVCMOS33")),
@ -34,7 +27,7 @@ _io = [
Subsignal("mosi", Pins("R10"), IOStandard("LVCMOS33")),
),
# SDCard
# SDCard.
("spisdcard", 0,
Subsignal("clk", Pins("N10")),
Subsignal("mosi", Pins("R14")),
@ -128,6 +121,13 @@ _dock_io = [
("btn_n", 3, Pins("CARD1:159"), IOStandard("LVCMOS15")),
("btn_n", 4, Pins("CARD1:157"), IOStandard("LVCMOS15")),
# Serial.
("serial", 0,
Subsignal("rx", Pins( "CARD1:1")),
Subsignal("tx", Pins("CARD1:11")),
IOStandard("LVCMOS33")
),
# HDMI.
("hdmi", 0,
Subsignal("clk_p", Pins("CARD1:132")),