@@ -859,6 +859,11 @@ &pcie1_rc {
num-lanes = <2>;
max-link-speed = <3>;
reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_HIGH>;
+ /*
+ * There is no on-board or external reference clock generators,
+ * use refclk from the ACSPCIE module's PAD IO Buffers.
+ */
+ ti,syscon-acspcie-proxy-ctrl = <&acspcie0_proxy_ctrl 0x3>;
};
&ufs_wrapper {
@@ -5,6 +5,7 @@
* Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
*/
#include <dt-bindings/phy/phy.h>
+#include <dt-bindings/phy/phy-cadence.h>
#include <dt-bindings/phy/phy-ti.h>
#include <dt-bindings/mux/mux.h>
@@ -82,6 +83,11 @@ ehrpwm_tbclk: clock-controller@4140 {
reg = <0x4140 0x18>;
#clock-cells = <1>;
};
+
+ acspcie0_proxy_ctrl: syscon@18090 {
+ compatible = "ti,j721e-acspcie-proxy-ctrl", "syscon";
+ reg = <0x18090 0x4>;
+ };
};
main_ehrpwm0: pwm@3000000 {
@@ -979,8 +985,8 @@ pcie1_rc: pcie@2910000 {
max-link-speed = <3>;
num-lanes = <2>;
power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 240 1>;
- clock-names = "fck";
+ clocks = <&k3_clks 240 1>, <&serdes1 CDNS_SIERRA_DERIVED_REFCLK>;
+ clock-names = "fck", "pcie_refclk";
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x0 0xff>;