arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 5 Jan 2021 15:14:21 +0000 (20:44 +0530)
committerNishanth Menon <nm@ti.com>
Mon, 11 Jan 2021 14:19:16 +0000 (08:19 -0600)
x2 lane PCIe slot in the common processor board is enabled and connected to
j7200 SOM. Add PCIe DT node in common processor board to reflect the
same.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20210105151421.23237-7-kishon@ti.com
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts

index def98f563336b12705020a76b7598361adb454e4..4a7182abccf5d050eb1efd8d916c036c529173eb 100644 (file)
@@ -6,6 +6,7 @@
 /dts-v1/;
 
 #include "k3-j7200-som-p0.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/net/ti-dp83867.h>
 #include <dt-bindings/mux/ti-serdes.h>
 #include <dt-bindings/phy/phy.h>
                resets = <&serdes_wiz0 3>;
        };
 };
+
+&pcie1_rc {
+       reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>;
+       phys = <&serdes0_pcie_link>;
+       phy-names = "pcie-phy";
+       num-lanes = <2>;
+};
+
+&pcie1_ep {
+       phys = <&serdes0_pcie_link>;
+       phy-names = "pcie-phy";
+       num-lanes = <2>;
+       status = "disabled";
+};