platforms/versa_ecp5: add serdes refclk/sma
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 11 Oct 2019 12:28:29 +0000 (14:28 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 11 Oct 2019 17:51:38 +0000 (19:51 +0200)
litex/boards/platforms/versa_ecp5.py

index 7375895fd6bb0a60dddf374e1baab15553b93078..ccf289e93332485c6dbaf84a2d0234df54fad48d 100644 (file)
@@ -121,6 +121,26 @@ _io = [
         Subsignal("tx_n", Pins("W5")),
         Subsignal("perst", Pins("A6"), IOStandard("LVCMOS33")),
     ),
+
+    ("refclk_en", 0, Pins("C12"), IOStandard("LVCMOS33")),
+    ("refclk_rst_n", 0, Pins("R1"), IOStandard("LVCMOS33")),
+    ("refclk", 0,
+        Subsignal("p", Pins("Y11")),
+        Subsignal("n", Pins("Y12")),
+    ),
+    ("refclk", 1,
+        Subsignal("p", Pins("Y19")),
+        Subsignal("n", Pins("W20")),
+    ),
+
+    ("sma_tx", 0,
+        Subsignal("p", Pins("W8")),
+        Subsignal("n", Pins("W9")),
+    ),
+    ("sma_rx", 0,
+        Subsignal("p", Pins("Y7")),
+        Subsignal("n", Pins("Y8")),
+    ),
 ]