# TI PRU Consumer Common Properties

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

> Device-tree binding reference for TI PRU Consumer Common Properties.

<!-- 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;remoteproc&#47;ti&#44;pru&#45;consumer&#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;Suman Anna &#60;s&#45;anna&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">A PRU application/consumer/user node typically uses one or more PRU device
nodes to implement a PRU application/functionality. Each application/client
node would need a reference to at least a PRU node, and optionally define
some properties needed for hardware/firmware configuration. The below
properties are a list of common properties supported by the PRU remoteproc
infrastructure.</p>
<p style="white-space: pre-wrap">The application nodes shall define their own bindings like regular platform
devices, so below are in addition to each node's bindings.</p>
</div>

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

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

<a id="dt-41e9a6e42f961f857083"></a>

### <code>ti&#44;prus</code> — required here

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

<div id="dt-ff89f248eebc4b528369">
<p style="white-space: pre-wrap">phandles to the PRU, RTU or Tx_PRU nodes used</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4e334701fc0bc249b64c"><code>6</code></span>

<a id="dt-8ce2ebfb6dd1419631f6"></a>

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

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

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

### <code>firmware&#45;name</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ad3ee6f7b9c2470b07e5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-664bc4dc24f43c53b737"><code>6</code></span>

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">firmwares for the PRU cores, the default firmware for the core from
the PRU node will be used if not provided. The firmware names should
correspond to the PRU cores listed in the 'ti,prus' property</p>
</div>

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

### <code>ti&#44;pruss&#45;gp&#45;mux&#45;sel</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6804dde92068ab621985">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-002a71f2e00ed684c024"><code>6</code></span>

<a id="dt-8d0680ca126ac6c22023"></a>

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

> **Allowed values (<code>enum</code>):** <a id="dt-027cd2ae9e159dc39d32"></a> <span id="dt-fabb8be5aa85e54c9b8a"><code>0</code></span>, <span id="dt-87c3c4fc027f5c68e8d5"><code>1</code></span>, <span id="dt-64f0a369da86f26fef99"><code>2</code></span>, <span id="dt-2ea5de695ea440ad4ef0"><code>3</code></span>, <span id="dt-40dae61eddac46deb0cf"><code>4</code></span>

<div id="dt-c8809c7890cfff72164d">
<p style="white-space: pre-wrap">array of values for the GP_MUX_SEL under PRUSS_GPCFG register for a PRU.
This selects the internal muxing scheme for the PRU instance. Values
should correspond to the PRU cores listed in the 'ti,prus' property. The
GP_MUX_SEL setting is a per-slice setting (one setting for PRU0, RTU0,
and Tx_PRU0 on K3 SoCs). Use the same value for all cores within the
same slice in the associative array. If the array size is smaller than
the size of 'ti,prus' property, the default out-of-reset value (0) for the
PRU core is used.</p>
</div>

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

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

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

<code>true</code>

Allowed by this rule.

## 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>

</details>
