# Arm CoreSight Static Trace Bus Replicator

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

> Device-tree binding reference for Arm CoreSight Static Trace Bus Replicator.

<!-- 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;coresight&#45;static&#45;replicator&#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;Mathieu Poirier &#60;mathieu&#46;poirier&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mike Leach &#60;mike&#46;leach&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Leo Yan &#60;leo&#46;yan&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Suzuki K Poulose &#60;suzuki&#46;poulose&#64;arm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">CoreSight components are compliant with the ARM CoreSight architecture
specification and can be connected in various topologies to suit a particular
SoCs tracing needs. These trace components can generally be classified as
sinks, links and sources. Trace data produced by one or more sources flows
through the intermediate links connecting the source to the currently selected
sink.</p>
<p style="white-space: pre-wrap">The Coresight replicator splits a single trace stream into two trace streams
for systems that have more than one trace sink component.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;arm&#44;coresight&#45;static&#45;replicator&#34;</code></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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-661af0885579a69ba337"></a>

**Rule 1**

> <a id="dt-027418c760db9276fcba"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bf543c95e0c50d9cb8f7"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-f0c0fa89a89b8cc37543"></a> <span id="dt-d1f6f347b955bcf7b937"><code>&#34;apb&#95;pclk&#34;</code></span>, <span id="dt-a61c0f51e1d5348b60f7"><code>&#34;atclk&#34;</code></span>

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

**Rule 2**

> <a id="dt-20fc6bfaeee95ba35790"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f468ad1eba090a3de488"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-8c8dcde100c56b536a91"><code>&#34;apb&#95;pclk&#34;</code></span>
>
> <a id="dt-b2245a46cbe503285ae3"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1e527555b977de836626"><code>&#34;dbg&#95;trc&#34;</code></span>
>
> <a id="dt-6ccd29364ec41f23f771"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-bd383bf1f3b36abaaf17"><code>&#34;dbg&#95;apb&#34;</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">Description of a coresight device.</p>
</div>

<a id="dt-2f52e7ec9fd894cb9e81"></a>

### <code>in&#45;ports</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-32c2359c5b814554b061">[<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-ba0f8185bec2d923265b"></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-0ae7e91541bb61b37a8a"></a>

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

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

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

<div id="dt-7afe1dfda0f6095c2a02">
<p style="white-space: pre-wrap">Input connection from CoreSight Trace bus</p>
</div>

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

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

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

**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-3a3991c8ed65d9c21a54"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-0bb41b90c28df20076c8"></a>

**<code>&#94;port&#64;&#91;01&#93;&#36;</code> — name matches this regular expression**

<div id="dt-b7409ab3527c7c392652">
<p style="white-space: pre-wrap">Output connections to CoreSight Trace bus</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b64e984a32065531a46a">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

<a id="dt-6cae537fdac710a77e4c"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-86be04c7831670b02a9e"></a>

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

<a id="dt-9fa46c91ced2c40fde8e"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-59e3fbfaae976beb6c3b">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;endpoint&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-7415ffe8e57fb59e2968>)</span>

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

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-621429009f4ec209a432"></a>

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

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

**<code>filter&#45;source</code> — not listed as required here**

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

<div id="dt-ce813ee50786b66b81e9">
<p style="white-space: pre-wrap">phandle to the coresight trace source device matching the hard coded filtering for this port</p>
</div>

<a id="dt-6d20a51eb56c6a22fc7f"></a>

**<code>remote&#45;endpoint</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

**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;in&#45;ports&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;out&#45;ports&#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">replicator {
    /*
     * non-configurable replicators don't show up on the
     * AMBA bus.  As such no need to add "arm,primecell".
     */
    compatible = "arm,coresight-static-replicator";

    out-ports {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        /* replicator output ports */
        port@0 {
            reg = &lt;0&gt;;
            replicator_out_port0: endpoint {
                remote-endpoint = &lt;&amp;etb_in_port&gt;;
                filter-source = &lt;&amp;tpdm_video&gt;;
            };
        };

        port@1 {
            reg = &lt;1&gt;;
            replicator_out_port1: endpoint {
                remote-endpoint = &lt;&amp;tpiu_in_port&gt;;
                filter-source = &lt;&amp;tpdm_mdss&gt;;
            };
        };
    };

    in-ports {
        port {
            replicator_in_port0: endpoint {
                remote-endpoint = &lt;&amp;funnel_out_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 41:</strong> <span> Zynq-700</span></p>

</details>
