platforms/k705: rename mmc to sdcard and make it similar to other boards.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Jun 2020 08:57:43 +0000 (10:57 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Jun 2020 08:57:43 +0000 (10:57 +0200)
litex/boards/platforms/kc705.py

index dcb0001e14d479153050a23fb83e163c88e5c80a..c70e314491145cb79965136495e84cc576b983f6 100644 (file)
@@ -72,20 +72,22 @@ _io = [
         IOStandard("LVCMOS25")
     ),
 
-    ("mmc", 0,
-        Subsignal("wp",  Pins("Y21")),
-        Subsignal("det", Pins("AA21")),
-        Subsignal("cmd", Pins("AB22")),
+    ("sdcard", 0,
         Subsignal("clk", Pins("AB23")),
-        Subsignal("dat", Pins("AC20 AA23 AA22 AC21")),
-        IOStandard("LVCMOS25")),
+        Subsignal("cmd", Pins("AB22"), Misc("PULLUP True")),
+        Subsignal("data", Pins("AC20 AA23 AA22 AC21"), Misc("PULLUP True")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS25")
+    ),
 
-    ("mmc_spi", 0,
-        Subsignal("miso", Pins("AC20"), Misc("PULLUP")),
+    ("spisdcard", 0,
         Subsignal("clk",  Pins("AB23")),
-        Subsignal("mosi", Pins("AB22")),
         Subsignal("cs_n", Pins("AC21")),
-        IOStandard("LVCMOS25")),
+        Subsignal("mosi", Pins("AB22"), Misc("PULLUP")),
+        Subsignal("miso", Pins("AC20"), Misc("PULLUP")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS25")
+    ),
 
     ("lcd", 0,
         Subsignal("db", Pins("AA13 AA10 AA11 Y10")),