From 5c20f19d4f8b687f2bb71ca76420d182a954dcdd Mon Sep 17 00:00:00 2001 From: Shashank Mittal Date: Thu, 12 May 2016 13:29:03 -0700 Subject: [PATCH] ARM: dts: add remote etm devices for msmcobalt Add audio, modem and rpm etm devices for msmcobalt. These devices can be used to configure traces on remote processors. Change-Id: Idf381b86cd44679ea1f8b6fbfe85b2616232f533 Signed-off-by: Shashank Mittal --- arch/arm/boot/dts/qcom/msmcobalt-coresight.dtsi | 67 ++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom/msmcobalt-coresight.dtsi b/arch/arm/boot/dts/qcom/msmcobalt-coresight.dtsi index e46a163a7fab..f97b6f8f5c7b 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt-coresight.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt-coresight.dtsi @@ -165,6 +165,14 @@ }; }; port@1 { + reg = <0>; + funnel_in0_in_rpm_etm0: endpoint { + slave-mode; + remote-endpoint = + <&rpm_etm0_out_funnel_in0>; + }; + }; + port@2 { reg = <3>; funnel_in0_in_funnel_spss: endpoint { slave-mode; @@ -172,7 +180,7 @@ <&funnel_spss_out_funnel_in0>; }; }; - port@2 { + port@3 { reg = <6>; funnel_in0_in_funnel_qatb: endpoint { slave-mode; @@ -180,7 +188,7 @@ <&funnel_qatb_out_funnel_in0>; }; }; - port@3 { + port@4 { reg = <7>; funnel_in0_in_stm: endpoint { slave-mode; @@ -231,6 +239,22 @@ }; }; port@3 { + reg = <4>; + funnel_in1_in_audio_etm0: endpoint { + slave-mode; + remote-endpoint = + <&audio_etm0_out_funnel_in1>; + }; + }; + port@4 { + reg = <5>; + funnel_in1_in_modem_etm0: endpoint { + slave-mode; + remote-endpoint = + <&modem_etm0_out_funnel_in1>; + }; + }; + port@5 { reg = <6>; funnel_in1_in_funnel_apss_merg: endpoint { slave-mode; @@ -1406,4 +1430,43 @@ qcom,blk-size = <1>; }; + + modem_etm0 { + compatible = "qcom,coresight-remote-etm"; + + coresight-name = "coresight-modem-etm0"; + qcom,inst-id = <2>; + + port{ + modem_etm0_out_funnel_in1: endpoint { + remote-endpoint = <&funnel_in1_in_modem_etm0>; + }; + }; + }; + + audio_etm0 { + compatible = "qcom,coresight-remote-etm"; + + coresight-name = "coresight-audio-etm0"; + qcom,inst-id = <5>; + + port{ + audio_etm0_out_funnel_in1: endpoint { + remote-endpoint = <&funnel_in1_in_audio_etm0>; + }; + }; + }; + + rpm_etm0 { + compatible = "qcom,coresight-remote-etm"; + + coresight-name = "coresight-rpm-etm0"; + qcom,inst-id = <4>; + + port{ + rpm_etm0_out_funnel_in0: endpoint { + remote-endpoint = <&funnel_in0_in_rpm_etm0>; + }; + }; + }; }; -- 2.11.0