platforms/netv2: add spisdcard.

This commit is contained in:
Florent Kermarrec 2020-06-23 11:54:05 +02:00
parent c895586461
commit d53a51c550
1 changed files with 11 additions and 2 deletions

View File

@ -124,12 +124,21 @@ _io = [
# sdcard # sdcard
("sdcard", 0, ("sdcard", 0,
Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")),
Subsignal("cmd", Pins("L13"), Misc("PULLUP True")),
Subsignal("clk", Pins("K18")), Subsignal("clk", Pins("K18")),
Subsignal("cmd", Pins("L13"), Misc("PULLUP True")),
Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")),
IOStandard("LVCMOS33"), Misc("SLEW=FAST") IOStandard("LVCMOS33"), Misc("SLEW=FAST")
), ),
("spisdcard", 0,
Subsignal("clk", Pins("K18")),
Subsignal("cs_n", Pins("M13")),
Subsignal("mosi", Pins("L13"), Misc("PULLUP")),
Subsignal("miso", Pins("L15"), Misc("PULLUP")),
Misc("SLEW=FAST"),
IOStandard("LVCMOS33")
),
# hdmi in # hdmi in
("hdmi_in", 0, ("hdmi_in", 0,
Subsignal("clk_p", Pins("L19"), IOStandard("TMDS_33"), Inverted()), Subsignal("clk_p", Pins("L19"), IOStandard("TMDS_33"), Inverted()),