1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*8d13bc63SEmmanuel Vadot%YAML 1.2 3*8d13bc63SEmmanuel Vadot--- 4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml# 5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8d13bc63SEmmanuel Vadot 7*8d13bc63SEmmanuel Vadottitle: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell) 8*8d13bc63SEmmanuel Vadot 9*8d13bc63SEmmanuel Vadotmaintainers: 10*8d13bc63SEmmanuel Vadot - Jinlong Mao <quic_jinlmao@quicinc.com> 11*8d13bc63SEmmanuel Vadot - Tao Zhang <quic_taozha@quicinc.com> 12*8d13bc63SEmmanuel Vadot 13*8d13bc63SEmmanuel Vadotdescription: 14*8d13bc63SEmmanuel Vadot Support for ETM trace collection on remote processor using coresight 15*8d13bc63SEmmanuel Vadot framework. Enabling this will allow turning on ETM tracing on remote 16*8d13bc63SEmmanuel Vadot processor like modem processor via sysfs and collecting the trace 17*8d13bc63SEmmanuel Vadot via coresight TMC sinks. 18*8d13bc63SEmmanuel Vadot 19*8d13bc63SEmmanuel Vadotproperties: 20*8d13bc63SEmmanuel Vadot compatible: 21*8d13bc63SEmmanuel Vadot const: qcom,coresight-remote-etm 22*8d13bc63SEmmanuel Vadot 23*8d13bc63SEmmanuel Vadot out-ports: 24*8d13bc63SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 25*8d13bc63SEmmanuel Vadot additionalProperties: false 26*8d13bc63SEmmanuel Vadot 27*8d13bc63SEmmanuel Vadot properties: 28*8d13bc63SEmmanuel Vadot port: 29*8d13bc63SEmmanuel Vadot description: Output connection to the CoreSight Trace bus. 30*8d13bc63SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 31*8d13bc63SEmmanuel Vadot 32*8d13bc63SEmmanuel Vadotrequired: 33*8d13bc63SEmmanuel Vadot - compatible 34*8d13bc63SEmmanuel Vadot - out-ports 35*8d13bc63SEmmanuel Vadot 36*8d13bc63SEmmanuel VadotadditionalProperties: false 37*8d13bc63SEmmanuel Vadot 38*8d13bc63SEmmanuel Vadotexamples: 39*8d13bc63SEmmanuel Vadot - | 40*8d13bc63SEmmanuel Vadot etm { 41*8d13bc63SEmmanuel Vadot compatible = "qcom,coresight-remote-etm"; 42*8d13bc63SEmmanuel Vadot 43*8d13bc63SEmmanuel Vadot out-ports { 44*8d13bc63SEmmanuel Vadot port { 45*8d13bc63SEmmanuel Vadot modem_etm0_out_funnel_modem: endpoint { 46*8d13bc63SEmmanuel Vadot remote-endpoint = <&funnel_modem_in_modem_etm0>; 47*8d13bc63SEmmanuel Vadot }; 48*8d13bc63SEmmanuel Vadot }; 49*8d13bc63SEmmanuel Vadot }; 50*8d13bc63SEmmanuel Vadot }; 51*8d13bc63SEmmanuel Vadot... 52