From 35b04658a6dd8a4bc58628b59d3046edb6e9dddc Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jun 2020 11:54:16 +0200 Subject: [PATCH] genesys2: add sdcard/spisdcard. --- litex/boards/platforms/genesys2.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/litex/boards/platforms/genesys2.py b/litex/boards/platforms/genesys2.py index 7da31c87..0dc8a5e3 100644 --- a/litex/boards/platforms/genesys2.py +++ b/litex/boards/platforms/genesys2.py @@ -45,6 +45,23 @@ _io = [ IOStandard("LVCMOS33") ), + ("sdcard", 0, + Subsignal("clk", Pins("R28")), + Subsignal("cmd", Pins("R29"), Misc("PULLUP True")), + Subsignal("data", Pins("R26 R30 P29 T30"), Misc("PULLUP True")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS33") + ), + + ("spisdcard", 0, + Subsignal("clk", Pins("R28")), + Subsignal("cs_n", Pins("T30")), + Subsignal("mosi", Pins("R29"), Misc("PULLUP")), + Subsignal("miso", Pins("R26"), Misc("PULLUP")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS33") + ), + ("ddram", 0, Subsignal("a", Pins( "AC12 AE8 AD8 AC10 AD9 AA13 AA10 AA11", -- 2.30.2