]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sm8650: Add coresight nodes
authorYuanfang Zhang <quic_yuanfang@quicinc.com>
Tue, 7 Jan 2025 08:48:26 +0000 (16:48 +0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 7 Jan 2025 16:46:18 +0000 (10:46 -0600)
Add coresight components: Funnel, ETE and ETF for SM8650.

Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Link: https://lore.kernel.org/r/20250107-sm8650-cs-dt-v4-1-2113b18754ea@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi

index 131ace22e13224a1921fa30167149321222954d8..2a9a413374a62c051a3bd2d96af1ee773681bdcb 100644 (file)
                };
        };
 
+       ete0 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu0>;
+
+               out-ports {
+                       port {
+                               ete0_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete0>;
+                               };
+                       };
+               };
+       };
+
+       funnel-ete {
+               compatible = "arm,coresight-static-funnel";
+
+               in-ports {
+                       port {
+                               funnel_ete_in_ete0: endpoint {
+                                       remote-endpoint = <&ete0_out_funnel_ete>;
+                               };
+                       };
+               };
+
+               out-ports {
+                       port {
+                               funnel_ete_out_funnel_apss: endpoint {
+                                       remote-endpoint = <&funnel_apss_in_funnel_ete>;
+                               };
+                       };
+               };
+       };
+
        firmware {
                scm: scm {
                        compatible = "qcom,scm-sm8650", "qcom,scm";
                        };
                };
 
+               funnel@10042000 {
+                       compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
+
+                       reg = <0x0 0x10042000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       in-ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@4 {
+                                       reg = <4>;
+
+                                       funnel_in1_in_funnel_apss: endpoint {
+                                               remote-endpoint = <&funnel_apss_out_funnel_in1>;
+                                       };
+                               };
+                       };
+
+                       out-ports {
+                               port {
+                                       funnel_in1_out_funnel_qdss: endpoint {
+                                               remote-endpoint = <&funnel_qdss_in_funnel_in1>;
+                                       };
+                               };
+                       };
+               };
+
+               funnel@10045000 {
+                       compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
+
+                       reg = <0x0 0x10045000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       in-ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@1 {
+                                       reg = <1>;
+
+                                       funnel_qdss_in_funnel_in1: endpoint {
+                                               remote-endpoint = <&funnel_in1_out_funnel_qdss>;
+                                       };
+                               };
+                       };
+
+                       out-ports {
+                               port {
+                                       funnel_qdss_out_funnel_aoss: endpoint {
+                                               remote-endpoint = <&funnel_aoss_in_funnel_qdss>;
+                                       };
+                               };
+                       };
+               };
+
+               funnel@10b04000 {
+                       compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
+
+                       reg = <0x0 0x10b04000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       in-ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@7 {
+                                       reg = <7>;
+
+                                       funnel_aoss_in_funnel_qdss: endpoint {
+                                               remote-endpoint = <&funnel_qdss_out_funnel_aoss>;
+                                       };
+                               };
+                       };
+
+                       out-ports {
+                               port {
+                                       funnel_aoss_out_tmc_etf: endpoint {
+                                               remote-endpoint = <&tmc_etf_in_funnel_aoss>;
+                                       };
+                               };
+                       };
+               };
+
+               tmc@10b05000 {
+                       compatible = "arm,coresight-tmc", "arm,primecell";
+
+                       reg = <0x0 0x10b05000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       in-ports {
+                               port {
+                                       tmc_etf_in_funnel_aoss: endpoint {
+                                               remote-endpoint = <&funnel_aoss_out_tmc_etf>;
+                                       };
+                               };
+                       };
+               };
+
+               funnel@13810000 {
+                       compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
+
+                       reg = <0x0 0x13810000 0x0 0x1000>;
+
+                       clocks = <&aoss_qmp>;
+                       clock-names = "apb_pclk";
+
+                       in-ports {
+                               port {
+                                       funnel_apss_in_funnel_ete: endpoint {
+                                               remote-endpoint = <&funnel_ete_out_funnel_apss>;
+                                       };
+                               };
+                       };
+
+                       out-ports {
+                               port {
+                                       funnel_apss_out_funnel_in1: endpoint {
+                                               remote-endpoint = <&funnel_in1_in_funnel_apss>;
+                                       };
+                               };
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sm8650-smmu-500", "qcom,smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x100000>;