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

index b598172c72fcad3c728a8f95f6d5922039464e6a..5bec34672f0da68836e53b3ae537c125cdb45c1c 100644 (file)
@@ -124,12 +124,21 @@ _io = [
 
      # sdcard
      ("sdcard", 0,
-        Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")),
-        Subsignal("cmd",  Pins("L13"), Misc("PULLUP True")),
         Subsignal("clk",  Pins("K18")),
+        Subsignal("cmd",  Pins("L13"), Misc("PULLUP True")),
+        Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")),
         IOStandard("LVCMOS33"), Misc("SLEW=FAST")
     ),
 
+    ("spisdcard", 0,
+        Subsignal("clk",  Pins("K18")),
+        Subsignal("cs_n", Pins("M13")),
+        Subsignal("mosi", Pins("L13"), Misc("PULLUP")),
+        Subsignal("miso", Pins("L15"), Misc("PULLUP")),
+        Misc("SLEW=FAST"),
+        IOStandard("LVCMOS33")
+    ),
+
     # hdmi in
     ("hdmi_in", 0,
         Subsignal("clk_p",   Pins("L19"), IOStandard("TMDS_33"), Inverted()),