boards/platforms/ulx3s: add gpios 0-3
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 27 Nov 2018 13:15:35 +0000 (14:15 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 27 Nov 2018 13:15:35 +0000 (14:15 +0100)
litex/boards/platforms/ulx3s.py

index c17ce331897192a7b847fadd6791a3eb13d403af..c1815848b674411abb2a6d5098c9b45423e153ab 100644 (file)
@@ -42,6 +42,26 @@ _io = [
     ("ext0p", 0, Pins("B11"), IOStandard("LVCMOS33")),
     ("ext1p", 0, Pins("A10"), IOStandard("LVCMOS33")),
 
+    ("gpio", 0,
+        Subsignal("p", Pins("B11")),
+        Subsignal("n", Pins("C11")),
+        IOStandard("LVCMOS33")
+    ),
+    ("gpio", 1,
+        Subsignal("p", Pins("A10")),
+        Subsignal("n", Pins("A11")),
+        IOStandard("LVCMOS33")
+    ),
+    ("gpio", 2,
+        Subsignal("p", Pins("A9")),
+        Subsignal("n", Pins("B10")),
+        IOStandard("LVCMOS33")
+    ),
+    ("gpio", 3,
+        Subsignal("p", Pins("B9")),
+        Subsignal("n", Pins("C10")),
+        IOStandard("LVCMOS33")
+    ),
 ]