boards/platforms/kcu105: add sfp_tx/rx definition
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 31 Oct 2018 09:48:48 +0000 (10:48 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 31 Oct 2018 09:48:48 +0000 (10:48 +0100)
litex/boards/platforms/kcu105.py

index 18439e27fcee37fdf583528f6b4f53e7aaaeba68..e8a953bad4b23e5bb5d3a3e9e1e6588e88025502 100644 (file)
@@ -204,13 +204,29 @@ _io = [
         Subsignal("rxp", Pins("T2")),
         Subsignal("rxn", Pins("T1"))
     ),
+    ("sfp_tx", 0,
+        Subsignal("p", Pins("U4")),
+        Subsignal("n", Pins("U3")),
+    ),
+    ("sfp_rx", 0,
+        Subsignal("p", Pins("T2")),
+        Subsignal("n", Pins("T1")),
+    ),
     ("sfp_tx_disable_n", 0, Pins("AL8"), IOStandard("LVCMOS18")),
 
     ("sfp", 1,
         Subsignal("txp", Pins("W4")),
         Subsignal("txn", Pins("W3")),
         Subsignal("rxp", Pins("V2")),
-        Subsignal("rxn", Pins("V1"))           
+        Subsignal("rxn", Pins("V1"))
+    ),
+    ("sfp_tx", 1,
+        Subsignal("p", Pins("W4")),
+        Subsignal("n", Pins("W3")),
+    ),
+    ("sfp_rx", 1,
+        Subsignal("p", Pins("V2")),
+        Subsignal("n", Pins("V1")),
     ),
     ("sfp_tx_disable_n", 1, Pins("D28"), IOStandard("LVCMOS18")),
 ]