platforms/kcu105: add sdcard/spisdcard.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Jun 2020 09:54:33 +0000 (11:54 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Jun 2020 09:54:33 +0000 (11:54 +0200)
litex/boards/platforms/kcu105.py

index 1230011de6eac5c0dd838edab225e868dbcad06d..d23a53d9178b0b53316230f4d9f5c2f93a35b1ff 100644 (file)
@@ -79,6 +79,23 @@ _io = [
         IOStandard("LVCMOS18")
     ),
 
+    ("sdcard", 0,
+        Subsignal("clk", Pins("AL10")),
+        Subsignal("cmd", Pins("AD9"), Misc("PULLUP True")),
+        Subsignal("data", Pins("AP9 AN9 AH9 AH8"), Misc("PULLUP True")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS18")
+    ),
+
+    ("spisdcard", 0,
+        Subsignal("clk",  Pins("AL10")),
+        Subsignal("cs_n", Pins("AH8")),
+        Subsignal("mosi", Pins("AD9"), Misc("PULLUP")),
+        Subsignal("miso", Pins("AP9"), Misc("PULLUP")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS18")
+    ),
+
     ("rotary", 0,
         Subsignal("a",    Pins("Y21")),
         Subsignal("b",    Pins("AD26")),