1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/arm/arm,coresight-tmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Arm CoreSight Trace Memory Controller
10 - Mathieu Poirier <mathieu.poirier@linaro.org>
11 - Mike Leach <mike.leach@linaro.org>
12 - Leo Yan <leo.yan@linaro.org>
13 - Suzuki K Poulose <suzuki.poulose@arm.com>
16 CoreSight components are compliant with the ARM CoreSight architecture
17 specification and can be connected in various topologies to suit a particular
18 SoCs tracing needs. These trace components can generally be classified as
19 sinks, links and sources. Trace data produced by one or more sources flows
20 through the intermediate links connecting the source to the currently selected
23 Trace Memory Controller is used for Embedded Trace Buffer(ETB), Embedded Trace
24 FIFO(ETF) and Embedded Trace Router(ETR) configurations. The configuration
25 mode (ETB, ETF, ETR) is discovered at boot time when the device is probed.
27 # Need a custom select here or 'arm,primecell' will match on lots of nodes
32 const: arm,coresight-tmc
37 - $ref: /schemas/arm/primecell.yaml#
42 - const: arm,coresight-tmc
43 - const: arm,primecell
65 $ref: /schemas/types.yaml#/definitions/uint32
68 Size of contiguous buffer space for TMC ETR (embedded trace router). The
69 buffer size can be configured dynamically via buffer_size property in
75 Indicates that the TMC-ETR can safely use the SG mode on this system.
79 The maximum burst size initiated by TMC on the AXI master interface. The
80 burst size can be in the range [0..15], the setting supports one data
81 transfer per burst up to a maximum of 16 data transfers per burst.
82 $ref: /schemas/types.yaml#/definitions/uint32
86 $ref: /schemas/graph.yaml#/properties/ports
87 additionalProperties: false
91 description: Input connection from the CoreSight Trace bus.
92 $ref: /schemas/graph.yaml#/properties/port
95 $ref: /schemas/graph.yaml#/properties/ports
96 additionalProperties: false
100 description: AXI or ATB Master output connection. Used for ETR
101 and ETF configurations.
102 $ref: /schemas/graph.yaml#/properties/port
111 unevaluatedProperties: false
116 compatible = "arm,coresight-tmc", "arm,primecell";
117 reg = <0x20070000 0x1000>;
119 clocks = <&oscclk6a>;
120 clock-names = "apb_pclk";
123 etr_in_port: endpoint {
124 remote-endpoint = <&replicator2_out_port0>;
131 etr_out_port: endpoint {
132 remote-endpoint = <&catu_in_port>;