# ARM Embedded Trace Extensions

_Peios Kernel / Hardware and drivers / Device-tree binding reference / ARM platform bindings_

> Device-tree binding reference for ARM Embedded Trace Extensions.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;arm&#47;arm&#44;embedded&#45;trace&#45;extension&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Suzuki K Poulose &#60;suzuki&#46;poulose&#64;arm&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mathieu Poirier &#60;mathieu&#46;poirier&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Arm Embedded Trace Extension(ETE) is a per CPU trace component that
allows tracing the CPU execution. It overlaps with the CoreSight ETMv4
architecture and has extended support for future architecture changes.
The trace generated by the ETE could be stored via legacy CoreSight
components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer
Arm Trace Buffer Extension (TRBE)). Since the ETE can be connected to
legacy CoreSight components, a node must be listed per instance, along
with any optional connection graph as per the coresight bindings.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;ete&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;arm&#44;embedded&#45;trace&#45;extension&#34;</code></span>

<a id="dt-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

<div id="dt-def6de561872d689f7b7">
<p style="white-space: pre-wrap">Handle to the cpu this ETE is bound to.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-056c2fe9a8f4e941a2b4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-a58d0f2c7800c61f8738"></a>

### <code>out&#45;ports</code> — not listed as required here

<div id="dt-d07ef426230e7f68a429">
<p style="white-space: pre-wrap">Output connections from the ETE to legacy CoreSight trace bus.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b49582c43c8b8566441b">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-0929997c6980ff71694d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-faaa63856c377308fd84"></a>

**<code>port</code> — not listed as required here**

<div id="dt-700ac6b822a512dbfee4">
<p style="white-space: pre-wrap">Output connection from the ETE to legacy CoreSight Trace bus.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ace227593fbbebe47bff">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;cpu&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">ete-0 {
  compatible = "arm,embedded-trace-extension";
  cpu = &lt;&amp;cpu_0&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">ete-1 {
   compatible = "arm,embedded-trace-extension";
   cpu = &lt;&amp;cpu_1&gt;;

   out-ports {        /* legacy coresight connection */
      port {
          ete1_out_port: endpoint {
             remote-endpoint = &lt;&amp;funnel_in_port0&gt;;
          };
      };
   };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2021, Arm Ltd</span></p>

<p id="dt-comment-2"><strong>Line 56:</strong> <span> An ETE node without legacy CoreSight connections</span></p>

<p id="dt-comment-3"><strong>Line 62:</strong> <span> An ETE node with legacy CoreSight connections</span></p>

</details>
