platforms/nexys4ddr: add sdcard pins
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 Jan 2020 10:00:54 +0000 (11:00 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 Jan 2020 10:00:54 +0000 (11:00 +0100)
litex/boards/platforms/nexys4ddr.py

index 2c245b1b5362cd63b265298cbd46a561ac5b71ab..677fedaffdc1dad8cca2560a651274f835685d48 100644 (file)
@@ -57,6 +57,14 @@ _io = [
         IOStandard("LVCMOS33"),
     ),
 
+    ("sdcard", 0,
+        Subsignal("rst", Pins("E2"), Misc("PULLUP True")),
+        Subsignal("data", Pins("C2 E1 F1 D2"), Misc("PULLUP True")),
+        Subsignal("cmd", Pins("C1"), Misc("PULLUP True")),
+        Subsignal("clk", Pins("B1")),
+        IOStandard("LVCMOS33"), Misc("SLEW=FAST")
+    ),
+
     ("ddram", 0,
         Subsignal("a", Pins(
             "M4 P4 M6 T1 L3 P5 M2 N1",