platforms/nexys_video: add spisdcard pins.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 29 May 2020 17:36:33 +0000 (19:36 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 29 May 2020 17:36:33 +0000 (19:36 +0200)
litex/boards/platforms/nexys_video.py

index a81b6556e7d468d3e699acc59ca16ea4a50d9e99..3dfd552dda6d9a53778a7d78aaf759474bb97c5f 100644 (file)
@@ -69,6 +69,16 @@ _io = [
         IOStandard("LVCMOS33"),
     ),
 
+    ("spisdcard", 0,
+        Subsignal("rst",  Pins("V20")),
+        Subsignal("clk",  Pins("W19")),
+        Subsignal("mosi", Pins("W20"), Misc("PULLUP True")),
+        Subsignal("cs_n", Pins("U18"), Misc("PULLUP True")),
+        Subsignal("miso", Pins("V19"), Misc("PULLUP True")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS33"),
+    ),
+
     ("sdcard", 0,
         Subsignal("rst",  Pins("V20"),             Misc("PULLUP True")),
         Subsignal("data", Pins("V19 T21 T20 U18"), Misc("PULLUP True")),