platforms/trellisboard: fix "sdcard" pads, add "spisdcard" pads
Add support for SPI-mode SDCard interface. Also, add pull-up and slew constraints to the standard sdcard interface. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
parent
d0d047dfa4
commit
396b0383c8
|
@ -140,11 +140,19 @@ _io = [
|
||||||
Subsignal("uart_cts_n", Pins("P7"), IOStandard("LVCMOS33"))
|
Subsignal("uart_cts_n", Pins("P7"), IOStandard("LVCMOS33"))
|
||||||
),
|
),
|
||||||
|
|
||||||
("sdcard", 0,
|
("spisdcard", 0,
|
||||||
Subsignal("data", Pins("AG1 AJ1 AH1 AK1")),
|
|
||||||
Subsignal("clk", Pins("AK3")),
|
Subsignal("clk", Pins("AK3")),
|
||||||
Subsignal("cmd", Pins("AH3")),
|
Subsignal("mosi", Pins("AH3"), Misc("PULLMODE=UP")),
|
||||||
IOStandard("LVCMOS33")
|
Subsignal("cs_n", Pins("AK1"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("miso", Pins("AG1"), Misc("PULLMODE=UP")),
|
||||||
|
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
|
||||||
|
),
|
||||||
|
|
||||||
|
("sdcard", 0,
|
||||||
|
Subsignal("clk", Pins("AK3")),
|
||||||
|
Subsignal("cmd", Pins("AH3"), Misc("PULLMODE=UP")),
|
||||||
|
Subsignal("data", Pins("AG1 AJ1 AH1 AK1"), Misc("PULLMODE=UP")),
|
||||||
|
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
|
||||||
),
|
),
|
||||||
|
|
||||||
("spiflash4x", 0,
|
("spiflash4x", 0,
|
||||||
|
|
Loading…
Reference in New Issue