]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: talos: add ETR device
authorJie Gan <jie.gan@oss.qualcomm.com>
Wed, 28 Jan 2026 01:25:34 +0000 (09:25 +0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 9 Mar 2026 22:13:32 +0000 (17:13 -0500)
Add the TMC ETR device to store collected trace data in DDR memory.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260128-enable-etr-on-talos-v2-1-ba77063d6b62@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/talos.dtsi

index 2f51036ca194d6a38dec6fc7c3ccdab5488b4686..2bc991e350a4dbdd145c721de4094f3cbe26230d 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <0>;
 
+                               port@0 {
+                                       reg = <0>;
+
+                                       replicator0_out0: endpoint {
+                                               remote-endpoint = <&tmc_etr_in>;
+                                       };
+                               };
+
                                port@1 {
                                        reg = <1>;
 
                        };
                };
 
+               tmc@6048000 {
+                       compatible = "arm,coresight-tmc", "arm,primecell";
+                       reg = <0x0 0x06048000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       iommus = <&apps_smmu 0x01e0 0x0>;
+                       arm,scatter-gather;
+
+                       in-ports {
+                               port {
+                                       tmc_etr_in: endpoint {
+                                               remote-endpoint = <&replicator0_out0>;
+                                       };
+                               };
+                       };
+               };
+
                replicator@604a000 {
                        compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
                        reg = <0x0 0x0604a000 0x0 0x1000>;