Commit 98b43386 authored by Georgi Djakov's avatar Georgi Djakov Committed by Bjorn Andersson

arm64: dts: qcom: msm8916: Enable CoreSight STM component

Add DT binding for CoreSight System Trace Macrocell (STM) on msm8916,
which can benefit the CoreSight development on DB410c.
Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Acked-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210321124212.4253-1-leo.yan@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent c1b2189a
...@@ -414,6 +414,7 @@ &wcd_codec { ...@@ -414,6 +414,7 @@ &wcd_codec {
&funnel0 { status = "okay"; }; &funnel0 { status = "okay"; };
&funnel1 { status = "okay"; }; &funnel1 { status = "okay"; };
&replicator { status = "okay"; }; &replicator { status = "okay"; };
&stm { status = "okay"; };
&tpiu { status = "okay"; }; &tpiu { status = "okay"; };
&smd_rpm_regulators { &smd_rpm_regulators {
......
...@@ -489,6 +489,26 @@ snoc: interconnect@580000 { ...@@ -489,6 +489,26 @@ snoc: interconnect@580000 {
<&rpmcc RPM_SMD_SNOC_A_CLK>; <&rpmcc RPM_SMD_SNOC_A_CLK>;
}; };
stm: stm@802000 {
compatible = "arm,coresight-stm", "arm,primecell";
reg = <0x00802000 0x1000>,
<0x09280000 0x180000>;
reg-names = "stm-base", "stm-stimulus-base";
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
clock-names = "apb_pclk", "atclk";
status = "disabled";
out-ports {
port {
stm_out: endpoint {
remote-endpoint = <&funnel0_in7>;
};
};
};
};
/* System CTIs */ /* System CTIs */
/* CTI 0 - TMC connections */ /* CTI 0 - TMC connections */
cti0: cti@810000 { cti0: cti@810000 {
...@@ -562,6 +582,13 @@ funnel0_in4: endpoint { ...@@ -562,6 +582,13 @@ funnel0_in4: endpoint {
remote-endpoint = <&funnel1_out>; remote-endpoint = <&funnel1_out>;
}; };
}; };
port@7 {
reg = <7>;
funnel0_in7: endpoint {
remote-endpoint = <&stm_out>;
};
};
}; };
out-ports { out-ports {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment