ARM: dts: msm: Add coresight configurations for sun
Add device tree nodes for coresight CX and GX DBGC blocks for sun devices. Also, add coresight funnel configuration for graphics funnel device. Change-Id: Id0a73ac9ef51e1039b718d5d51a4fc063d218a94 Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
|
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
|
||||||
@@ -178,4 +178,58 @@
|
|||||||
|
|
||||||
qcom,ipc-core = <0x00400000 0x140000>;
|
qcom,ipc-core = <0x00400000 0x140000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
coresight_cx_dgbc: qcom,gpu-coresight-cx {
|
||||||
|
compatible = "qcom,gpu-coresight-cx";
|
||||||
|
|
||||||
|
coresight-name = "coresight-gfx-cx";
|
||||||
|
|
||||||
|
out-ports {
|
||||||
|
port {
|
||||||
|
cx_dbgc_out_funnel_gfx: endpoint {
|
||||||
|
remote-endpoint =
|
||||||
|
<&funnel_gfx_in_cx_dbgc>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
coresight_gx_dgbc: qcom,gpu-coresight-gx {
|
||||||
|
compatible = "qcom,gpu-coresight-gx";
|
||||||
|
|
||||||
|
coresight-name = "coresight-gfx";
|
||||||
|
|
||||||
|
out-ports {
|
||||||
|
port {
|
||||||
|
gx_dbgc_out_funnel_gfx: endpoint {
|
||||||
|
remote-endpoint =
|
||||||
|
<&funnel_gfx_in_gx_dbgc>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&funnel_gfx {
|
||||||
|
status = "ok";
|
||||||
|
in-ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
funnel_gfx_in_gx_dbgc: endpoint {
|
||||||
|
remote-endpoint =
|
||||||
|
<&gx_dbgc_out_funnel_gfx>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
funnel_gfx_in_cx_dbgc: endpoint {
|
||||||
|
remote-endpoint =
|
||||||
|
<&cx_dbgc_out_funnel_gfx>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user