platforms/nexys4ddr: add spisdcard pins.
authorGabriel Somlo <gsomlo@gmail.com>
Thu, 19 Mar 2020 22:04:27 +0000 (18:04 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Fri, 20 Mar 2020 01:51:44 +0000 (21:51 -0400)
Synchronize with litex-boards commit #57bcadb.

litex/boards/platforms/nexys4ddr.py

index 677fedaffdc1dad8cca2560a651274f835685d48..1eec8891042fb438a3d1677d8056b5f2904ff84f 100644 (file)
@@ -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")),