From 7a7b8905b7b097ec4981c1e83f0ab69ad6f88bf9 Mon Sep 17 00:00:00 2001 From: Gabriel Somlo Date: Thu, 19 Mar 2020 18:04:27 -0400 Subject: [PATCH] platforms/nexys4ddr: add spisdcard pins. Synchronize with litex-boards commit #57bcadb. --- litex/boards/platforms/nexys4ddr.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/litex/boards/platforms/nexys4ddr.py b/litex/boards/platforms/nexys4ddr.py index 677fedaff..1eec88910 100644 --- a/litex/boards/platforms/nexys4ddr.py +++ b/litex/boards/platforms/nexys4ddr.py @@ -57,6 +57,15 @@ _io = [ IOStandard("LVCMOS33"), ), + ("spisdcard", 0, + Subsignal("rst", Pins("E2")), + Subsignal("clk", Pins("B1")), + Subsignal("mosi", Pins("C1"), Misc("PULLUP True")), + Subsignal("cs_n", Pins("D2"), Misc("PULLUP True")), + Subsignal("miso", Pins("C2"), Misc("PULLUP True")), + IOStandard("LVCMOS33"), Misc("SLEW=FAST") + ), + ("sdcard", 0, Subsignal("rst", Pins("E2"), Misc("PULLUP True")), Subsignal("data", Pins("C2 E1 F1 D2"), Misc("PULLUP True")),