]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable ACSPCIE0 output for PCIe1
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Tue, 22 Apr 2025 12:32:18 +0000 (18:02 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 2 May 2025 13:29:57 +0000 (08:29 -0500)
The PCIe reference clock required by the PCIe Endpoints connected to the
PCIe connector corresponding to the PCIe1 instance of PCIe on J784S4-EVM
and J742S2-EVM is driven by the ACSPCIE0 module. Add the device-tree
support for enabling the same.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250422123218.3788223-3-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi

index 2664f74a9c7a4dbf6625f12fe52ba4b57d5636c0..fa656b7b13a1d68af0cb0d95f67cee0b9c496023 100644 (file)
@@ -5,6 +5,9 @@
  * EVM Board Schematics(j784s4): https://www.ti.com/lit/zip/sprr458
  * EVM Board Schematics(j742s2): https://www.ti.com/lit/zip/SPAC001
  */
+
+#include <dt-bindings/phy/phy-cadence.h>
+
 / {
        chosen {
                stdout-path = "serial2:115200n8";
 
 &pcie1_rc {
        status = "okay";
+       clocks = <&k3_clks 333 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
+       clock-names = "fck", "pcie_refclk";
        num-lanes = <2>;
        reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>;
        phys = <&serdes0_pcie1_link>;
        phy-names = "pcie-phy";
+       ti,syscon-acspcie-proxy-ctrl = <&acspcie0_proxy_ctrl 0x1>;
 };
 
 &serdes1 {