From c4b0a475c0118f9044dc1e942569c3a3b66ce3e8 Mon Sep 17 00:00:00 2001 From: Mao Jinlong Date: Wed, 21 Sep 2022 17:15:50 +0800 Subject: [PATCH] ARM: dts: msm: Add gladiator source for cinder Add gladiator dummy source to support collect gladiator traces. Change-Id: I3cddaaa01ea4d0571a54e0483b2bb10df808d28a --- qcom/cinder-coresight.dtsi | 75 +++++++++++++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/qcom/cinder-coresight.dtsi b/qcom/cinder-coresight.dtsi index e4e39307..b3a41f4c 100644 --- a/qcom/cinder-coresight.dtsi +++ b/qcom/cinder-coresight.dtsi @@ -957,6 +957,63 @@ }; }; + gladiator: gladiator { + compatible = "qcom,coresight-dummy"; + coresight-name = "coresight-gladiator"; + qcom,dummy-source; + + atid = <96>; + + out-ports { + port { + gladiator_out_funnel_ddr_dl1: endpoint { + remote-endpoint = + <&funnel_ddr_dl1_in_gladiator>; + }; + }; + }; + }; + + funnel_ddr_dl1: funnel@10d0f000 { + compatible = "arm,primecell"; + arm,primecell-periphid = <0x000bb908>; + + reg = <0x10d0f000 0x1000>; + reg-names = "funnel-base"; + + coresight-name = "coresight-funnel-ddr_dl1"; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@6 { + reg = <6>; + funnel_ddr_dl1_in_gladiator: endpoint { + remote-endpoint = + <&gladiator_out_funnel_ddr_dl1>; + }; + }; + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + funnel_ddr_dl1_out_funnel_ddr_dl0: endpoint { + remote-endpoint = + <&funnel_ddr_dl0_in_funnel_ddr_dl1>; + }; + }; + }; + + }; + funnel_ddr_dl_0: funnel@10d04000 { compatible = "arm,primecell"; arm,primecell-periphid = <0x000bb908>; @@ -971,18 +1028,32 @@ in-ports { - port { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; funnel_ddr_dl_0_in_tpda_ddr: endpoint { remote-endpoint = <&tpda_ddr_out_funnel_ddr_dl_0>; }; }; + port@5 { + reg = <5>; + funnel_ddr_dl0_in_funnel_ddr_dl1: endpoint { + remote-endpoint = + <&funnel_ddr_dl1_out_funnel_ddr_dl0>; + }; + }; }; out-ports { + #address-cells = <1>; + #size-cells = <0>; - port { + port@0 { + reg = <0>; funnel_ddr_dl_0_out_funnel_dl_center: endpoint { remote-endpoint = <&funnel_dl_center_in_funnel_ddr_dl_0>;