platforms/netv2: add pcie pins
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 26 Jan 2020 13:29:32 +0000 (14:29 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 27 Jan 2020 07:25:57 +0000 (08:25 +0100)
litex/boards/platforms/netv2.py

index 6948f5e5648bb7b52f67a414f5ab7c80fddd346a..2670fd0f2b01d5b2c55ebc97a988ab3a3dc692d3 100644 (file)
@@ -71,6 +71,37 @@ _io = [
         Misc("SLEW=FAST"),
     ),
 
+    # pcie
+    ("pcie_x1", 0,
+        Subsignal("rst_n", Pins("E18"), IOStandard("LVCMOS33")),
+        Subsignal("clk_p", Pins("F10")),
+        Subsignal("clk_n", Pins("E10")),
+        Subsignal("rx_p", Pins("D11")),
+        Subsignal("rx_n", Pins("C11")),
+        Subsignal("tx_p", Pins("D5")),
+        Subsignal("tx_n", Pins("C5"))
+    ),
+
+    ("pcie_x2", 0,
+        Subsignal("rst_n", Pins("E18"), IOStandard("LVCMOS33")),
+        Subsignal("clk_p", Pins("F10")),
+        Subsignal("clk_n", Pins("E10")),
+        Subsignal("rx_p", Pins("D11 B10")),
+        Subsignal("rx_n", Pins("C11 A10")),
+        Subsignal("tx_p", Pins("D5 B6")),
+        Subsignal("tx_n", Pins("C5 A6"))
+    ),
+
+    ("pcie_x4", 0,
+        Subsignal("rst_n", Pins("E18"), IOStandard("LVCMOS33")),
+        Subsignal("clk_p", Pins("F10")),
+        Subsignal("clk_n", Pins("E10")),
+        Subsignal("rx_p", Pins("D11 B10 D9 B8")),
+        Subsignal("rx_n", Pins("C11 A10 C9 A8")),
+        Subsignal("tx_p", Pins("D5 B6 D7 B4")),
+        Subsignal("tx_n", Pins("C5 A6 C7 A4"))
+    ),
+
     # ethernet
     ("eth_clocks", 0,
         Subsignal("ref_clk", Pins("D17")),