1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 # Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
5 $id: http://devicetree.org/schemas/arm/qcom,coresight-tpdm.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Trace, Profiling and Diagnostics Monitor - TPDM
11 The TPDM or Monitor serves as data collection component for various dataset
12 types specified in the QPMDA spec. It covers Implementation defined ((ImplDef),
13 Basic Counts (BC), Tenure Counts (TC), Continuous Multi-Bit (CMB), and Discrete
14 Single Bit (DSB). It performs data collection in the data producing clock
15 domain and transfers it to the data collection time domain, generally ATB
18 The primary use case of the TPDM is to collect data from different data
19 sources and send it to a TPDA for packetization, timestamping, and funneling.
22 - Mao Jinlong <quic_jinlmao@quicinc.com>
23 - Tao Zhang <quic_taozha@quicinc.com>
25 # Need a custom select here or 'arm,primecell' will match on lots of nodes
37 pattern: "^tpdm(@[0-9a-f]+)$"
40 - const: qcom,coresight-tpdm
41 - const: arm,primecell
47 qcom,dsb-element-size:
49 Specifies the DSB(Discrete Single Bit) element size supported by
50 the monitor. The associated aggregator will read this size before it
51 is enabled. DSB element size currently only supports 32-bit and 64-bit.
52 $ref: /schemas/types.yaml#/definitions/uint8
57 Specifies the number of DSB(Discrete Single Bit) MSR(mux select register)
58 registers supported by the monitor. If this property is not configured
59 or set to 0, it means this DSB TPDM doesn't support MSR.
60 $ref: /schemas/types.yaml#/definitions/uint32
73 Output connections from the TPDM to coresight funnel/TPDA.
74 $ref: /schemas/graph.yaml#/properties/ports
78 description: Output connection from the TPDM to coresight
80 $ref: /schemas/graph.yaml#/properties/port
88 additionalProperties: false
91 # minimum TPDM definition. TPDM connect to coresight TPDA.
94 compatible = "qcom,coresight-tpdm", "arm,primecell";
95 reg = <0x0684c000 0x1000>;
97 qcom,dsb-element-size = /bits/ 8 <32>;
98 qcom,dsb-msrs-num = <16>;
100 clocks = <&aoss_qmp>;
101 clock-names = "apb_pclk";
105 tpdm_prng_out_tpda_qdss: endpoint {
107 <&tpda_qdss_in_tpdm_prng>;