platforms/arty: add spisdcard to _sdcard_pmod_io.
This commit is contained in:
parent
00c8e40d02
commit
b6df166f5a
|
@ -146,12 +146,21 @@ _io = [
|
||||||
]
|
]
|
||||||
|
|
||||||
_sdcard_pmod_io = [ # https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
|
_sdcard_pmod_io = [ # https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
|
||||||
|
("spisdcard", 0,
|
||||||
|
Subsignal("clk", Pins("C15")),
|
||||||
|
Subsignal("mosi", Pins("E16"), Misc("PULLUP True")),
|
||||||
|
Subsignal("cs_n", Pins("E15"), Misc("PULLUP True")),
|
||||||
|
Subsignal("miso", Pins("D15"), Misc("PULLUP True")),
|
||||||
|
Misc("SLEW=FAST"),
|
||||||
|
IOStandard("LVCMOS33"),
|
||||||
|
),
|
||||||
("sdcard", 0,
|
("sdcard", 0,
|
||||||
Subsignal("data", Pins("D15 J17 J18 E15")),
|
Subsignal("data", Pins("D15 J17 J18 E15")),
|
||||||
Subsignal("cmd", Pins("E16")),
|
Subsignal("cmd", Pins("E16")),
|
||||||
Subsignal("clk", Pins("C15")),
|
Subsignal("clk", Pins("C15")),
|
||||||
Subsignal("cd", Pins("K15")),
|
Subsignal("cd", Pins("K15")),
|
||||||
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
|
Misc("SLEW=FAST"),
|
||||||
|
IOStandard("LVCMOS33"),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue