# TI Programmable Real-Time Unit and Industrial Communication Subsystem



_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / ti_

> Device-tree binding reference for TI Programmable Real-Time Unit and Industrial Communication Subsystem

.

<!-- 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;soc&#47;ti&#47;ti&#44;pruss&#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">The Programmable Real-Time Unit and Industrial Communication Subsystem
(PRU-ICSS a.k.a. PRUSS) is present on various TI SoCs such as AM335x, AM437x,
Keystone 66AK2G, OMAP-L138/DA850 etc. A PRUSS consists of dual 32-bit RISC
cores (Programmable Real-Time Units, or PRUs), shared RAM, data and
instruction RAMs, some internal peripheral modules to facilitate industrial
communication, and an interrupt controller.</p>
<pre><code>The programmable nature of the PRUs provide flexibility to implement custom
peripheral interfaces, fast real-time responses, or specialized data handling.
The common peripheral modules include the following,
  - an Ethernet MII_RT module with two MII ports
  - an MDIO port to control external Ethernet PHYs
  - an Industrial Ethernet Peripheral (IEP) to manage/generate Industrial
    Ethernet functions
  - an Enhanced Capture Module (eCAP)
  - an Industrial Ethernet Timer with 7/9 capture and 16 compare events
  - a 16550-compatible UART to support PROFIBUS
  - Enhanced GPIO with async capture and serial support</code></pre>
<p style="white-space: pre-wrap">A PRU-ICSS subsystem can have up to three shared data memories. A PRU core
acts on a primary Data RAM (there are usually 2 Data RAMs) at its address
0x0, but also has access to a secondary Data RAM (primary to the other PRU
core) at its address 0x2000. A shared Data RAM, if present, can be accessed
by both the PRU cores. The Interrupt Controller (INTC) and a CFG module are
common to both the PRU cores. Each PRU core also has a private instruction
RAM, and specific register spaces for Control and Debug functionalities.</p>
<p style="white-space: pre-wrap">Various sub-modules within a PRU-ICSS subsystem are represented as individual
nodes and are defined using a parent-child hierarchy depending on their
integration within the IP and the SoC. These nodes are described in the
following sections.</p>
<p style="white-space: pre-wrap">PRU-ICSS Node
==============
Each PRU-ICSS instance is represented as its own node with the individual PRU
processor cores, the memories node, an INTC node and an MDIO node represented
as child nodes within this PRUSS node. This node shall be a child of the
corresponding interconnect bus nodes or target-module nodes.</p>
<p style="white-space: pre-wrap">See ../../mfd/syscon.yaml for generic SysCon binding details.</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;&#40;pruss&#124;icssg&#41;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;am3356&#45;pruss&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;am4376&#45;pruss0&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;am4376&#45;pruss1&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;am5728&#45;pruss&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;am625&#45;pruss&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;am642&#45;icssg&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;am654&#45;icssg&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;ti&#44;j721e&#45;icssg&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;ti&#44;k2g&#45;pruss&#34;</code></span>

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

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

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

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

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>1</code></span>

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

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

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

<a id="dt-43b0a2c310c74daba2e4"></a>

### <code>dma&#45;ranges</code> — not listed as required here

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

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

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

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

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

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">This property is as per sci-pm-domain.txt.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

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

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

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">ICSSG_CORE Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">ICSSG_IEP Clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">ICSSG_RGMII_MHZ_250 Clock</p>
> </div>

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

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">ICSSG_RGMII_MHZ_50 Clock</p>
> </div>

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

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">ICSSG_RGMII_MHZ_5 Clock</p>
> </div>

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

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">ICSSG_UART Clock</p>
> </div>

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

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">ICSSG_ICLK Clock</p>
> </div>

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

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

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

### <code>memories&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-8cb624f992043a38dd77">
<p style="white-space: pre-wrap">The various Data RAMs within a single PRU-ICSS unit are represented as a
single node with the name 'memories'.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-bdabad31c7ff75bb113a"><code>&#34;object&#34;</code></span>

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

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

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

**<code>reg</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-7578f0afa545eb500c2c"><code>2</code></span>

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

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

<a id="dt-54a21b788872d6ee416f"></a>

**Item 1**

> <div id="dt-1cc41790b6e087a2e434">
> <p style="white-space: pre-wrap">Address and size of the Data RAM0.</p>
> </div>

<a id="dt-8834c168ad8be754eded"></a>

**Item 2**

> <div id="dt-887b1b3ed4285b9a0f15">
> <p style="white-space: pre-wrap">Address and size of the Data RAM1.</p>
> </div>

<a id="dt-879059fcf2090736a0a0"></a>

**Item 3**

> <div id="dt-f37796f0277c5cf1be28">
> <p style="white-space: pre-wrap">Address and size of the Shared Data RAM. Note that on AM437x one
> of two PRUSS units don't contain Shared RAM, while the second one
> has it.</p>
> </div>

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

**<code>reg&#45;names</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-5412cfcc9f944ff9aeaf"><code>2</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-a911df40651482e2f484"><code>&#34;dram0&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bfd4b7e43e47d1d95614"><code>&#34;dram1&#34;</code></span>

<a id="dt-74bb02430940b5a0c625"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-9e372cdf197d4722fb77"><code>&#34;shrdram2&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-2c739a355d9b76eace3d"></a> <span id="dt-a7e7e6f0b3dc0269a0ff"><code>&#34;reg&#34;</code></span>, <span id="dt-de397742aae7233dbc27"><code>&#34;reg&#45;names&#34;</code></span>

<a id="dt-1707922ba5c54a76d361"></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-52fc38999be42803cd89"></a>

### <code>cfg&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-734de4ad3eb38c73fc8d">
<p style="white-space: pre-wrap">PRU-ICSS configuration space. CFG sub-module represented as a SysCon.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b19034867d1825c7b34e"><code>&#34;object&#34;</code></span>

<a id="dt-b49e59382a81e99ca28e"></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-897caba56f5d836a266b"></a>

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-da0ed6bbe04005489b97"><code>&#34;ti&#44;pruss&#45;cfg&#34;</code></span>

<a id="dt-20ff9a64dd86ea86b554"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-eb83e040dc15ee14f205"><code>&#34;syscon&#34;</code></span>

<a id="dt-9835ed74a91a824dab90"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-4354930d1673afd323c8"><code>1</code></span>

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

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-30a54a7d92c982242d19"><code>1</code></span>

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

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

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

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

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

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

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

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

**Value type (<code>type</code>):** <span id="dt-8d38d82ae5f49f9bd8f1"><code>&#34;object&#34;</code></span>

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

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

<a id="dt-96b124c7ab7f32d97614"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-011637b086d8d6d99701"><code>1</code></span>

<a id="dt-00685eb07d63b5136f9d"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-b9077a437e678e264b6a"><code>0</code></span>

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

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

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

**<code>coreclk&#45;mux&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

<div id="dt-7e80d528b2c2869dcbef">
<p style="white-space: pre-wrap">This is applicable only for ICSSG (K3 SoCs). The ICSSG modules
core clock can be set to one of the 2 sources: ICSSG_CORE_CLK or
ICSSG_ICLK.  This node models this clock mux and should have the
name "coreclk-mux".</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3ea78f24509e58179dcd"><code>&#34;object&#34;</code></span>

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

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

<a id="dt-7b9fa0c1800bf2e60633"></a>

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-db095f1b95feea3b5bc8"><code>0</code></span>

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

**<code>clocks</code> — required here**

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

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

<a id="dt-0915430c212990ef0cc6"></a>

**Item 1**

> <div id="dt-fa932513631d8a46a2b0">
> <p style="white-space: pre-wrap">ICSSG_CORE Clock</p>
> </div>

<a id="dt-4007c11f0f94d8a2a5ba"></a>

**Item 2**

> <div id="dt-4e44dfc10a2f357228f6">
> <p style="white-space: pre-wrap">ICSSG_ICLK Clock</p>
> </div>

<a id="dt-81c02d799d56678960c1"></a>

**<code>assigned&#45;clocks</code> — not listed as required here**

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

<a id="dt-00c43f2a6a9bc5deb1bf"></a>

**<code>assigned&#45;clock&#45;parents</code> — not listed as required here**

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

<div id="dt-15c202a3f190c5dbaab0">
<p style="white-space: pre-wrap">Standard assigned-clocks-parents definition used for selecting
mux parent (one of the mux input).</p>
</div>

<a id="dt-11ce987d902188ff5485"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-c1b40aefab684cc11e27"></a> <span id="dt-29f53510ddcc19313ec0"><code>&#34;clocks&#34;</code></span>

<a id="dt-ea9ef4c425ba6f07eb82"></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-f738afe8210e8d348fda"></a>

**<code>iepclk&#45;mux&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

<div id="dt-4b575d8a0645ca3a5920">
<p style="white-space: pre-wrap">The IEP module can get its clock from 2 sources: ICSSG_IEP_CLK or
CORE_CLK (OCP_CLK in older SoCs). This node models this clock
mux and should have the name "iepclk-mux".</p>
</div>

**Value type (<code>type</code>):** <span id="dt-cab4276fc91413e5c53a"><code>&#34;object&#34;</code></span>

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

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

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

**<code>&#35;clock&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-6b9fc0d36abcc2ee0247"><code>0</code></span>

<a id="dt-596774d945a7b1d11b65"></a>

**<code>clocks</code> — required here**

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

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

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

**Item 1**

> <div id="dt-6d8c8c7c8b890df78c60">
> <p style="white-space: pre-wrap">ICSSG_IEP Clock</p>
> </div>

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

**Item 2**

> <div id="dt-c21f6adf3c6702dec41e">
> <p style="white-space: pre-wrap">Core Clock (OCP Clock in older SoCs)</p>
> </div>

<a id="dt-182f7b568e1ac8a81dde"></a>

**<code>assigned&#45;clocks</code> — not listed as required here**

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

<a id="dt-4a7c6bda7ab8d3d10e68"></a>

**<code>assigned&#45;clock&#45;parents</code> — not listed as required here**

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

<div id="dt-32305f79d0c578ec9606">
<p style="white-space: pre-wrap">Standard assigned-clocks-parents definition used for selecting
mux parent (one of the mux input).</p>
</div>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-7a67ca249e11e74ff8f0"></a> <span id="dt-bafaae4e604bc351c154"><code>&#34;clocks&#34;</code></span>

<a id="dt-5e7d2ed2408aaf3b3baa"></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-21ee80c32b96e33189a6"></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-fdd176314175ac17d39d"></a>

### <code>iep&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-8a73580e5628e9a48969">
<p style="white-space: pre-wrap">Industrial Ethernet Peripheral to manage/generate Industrial Ethernet
functions such as time stamping. Each PRUSS has either 1 IEP (on AM335x,
AM437x, AM57xx &amp; 66AK2G SoCs) or 2 IEPs (on K3 AM65x, J721E &amp; AM64x SoCs).
IEP is used for creating PTP clocks and generating PPS signals.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b1bc59c7c1807ab5b0f9"><code>&#34;object&#34;</code></span>

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

### <code>ecap&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-23c799950b75c6f0f2d5">
<p style="white-space: pre-wrap">PRU-ICSS has a Enhanced Capture (eCAP) event module which can generate and capture periodic timer based events which will be used for features like RX Pacing to rise interrupt when the timer event has occurred. Each PRU-ICSS instance has one eCAP module irrespective of SOCs.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4c05d3fabc131e818e">[<code>&#47;schemas&#47;net&#47;ti&#44;pruss&#45;ecap&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/ti-pruss-ecap.md#dt-root>)</span>

**Value type (<code>type</code>):** <span id="dt-400943c1aeec7629a214"><code>&#34;object&#34;</code></span>

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

### <code>mii&#45;rt&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-97d3ec1732b49253436b">
<p style="white-space: pre-wrap">Real-Time Ethernet to support multiple industrial communication protocols.
MII-RT sub-module represented as a SysCon.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b328d2b5b3ee56b9a56b"><code>&#34;object&#34;</code></span>

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

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

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

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

<a id="dt-059794c42fbcc6a1e288"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-8d884093d4ba44022a6b"><code>&#34;ti&#44;pruss&#45;mii&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-fa88a0d623527ba00196"><code>&#34;syscon&#34;</code></span>

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

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

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

<a id="dt-17b746fcdb2a9eef4f4f"></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-321609847bc237413fad"></a>

### <code>mii&#45;g&#45;rt&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-1704d1f5f143f5d2da92">
<p style="white-space: pre-wrap">The Real-time Media Independent Interface to support multiple industrial
communication protocols (G stands for Gigabit). MII-G-RT sub-module
represented as a SysCon.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-fbbe5ce70c35ce3eda27"><code>&#34;object&#34;</code></span>

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

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

<a id="dt-7dc87a3912a4166b3c4e"></a>

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

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

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

<a id="dt-48865c33ae233dc3f5ce"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-1576cded44dff6f9534a"><code>&#34;ti&#44;pruss&#45;mii&#45;g&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ac910be0ca6465c12586"><code>&#34;syscon&#34;</code></span>

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

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

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

<a id="dt-03413c39e66eeaed83c6"></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-07b17b046cb52f05ac8e"></a>

### <code>&#94;pa&#45;stats&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-c337f43deb556c48449d">
<p style="white-space: pre-wrap">PA-STATS sub-module represented as a SysCon. PA_STATS is a set of
registers where different statistics related to ICSSG, are dumped by
ICSSG firmware. This syscon sub-module will help the device to
access/read/write those statistics.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-712c7b92e69ee43df8a6"><code>&#34;object&#34;</code></span>

<a id="dt-b2ce1cd53b110b847791"></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-a5cff01354f3bfcc48f4"></a>

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

<a id="dt-3ef6def2754108bda115"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-96fea87cef7efcfe058e"><code>&#34;ti&#44;pruss&#45;pa&#45;st&#34;</code></span>

<a id="dt-926ea2376db2d2c960b5"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-3346570de89e75977da0"><code>&#34;syscon&#34;</code></span>

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

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

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

<a id="dt-00d39a52b0dbd92b3452"></a>

### <code>interrupt&#45;controller&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-5cc0b2b752001b8367c5">
<p style="white-space: pre-wrap">PRUSS INTC Node. Each PRUSS has a single interrupt controller instance
that is common to all the PRU cores. This should be represented as an
interrupt-controller node.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3847b49432066e9dc33f">[<code>&#47;schemas&#47;interrupt&#45;controller&#47;ti&#44;pruss&#45;intc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-interrupt-controller/ti-pruss-intc.md#dt-root>)</span>

**Value type (<code>type</code>):** <span id="dt-65e2ae177253931dbebe"><code>&#34;object&#34;</code></span>

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

### <code>mdio&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-ace83652fbe7432317dc">
<p style="white-space: pre-wrap">MDIO Node. Each PRUSS has an MDIO module that can be used to control
external PHYs. The MDIO module used within the PRU-ICSS is an instance of
the MDIO Controller used in TI Davinci SoCs.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-81c682c10d47283856d1">[<code>&#47;schemas&#47;net&#47;ti&#44;davinci&#45;mdio&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/ti-davinci-mdio.md#dt-root>)</span>

**Value type (<code>type</code>):** <span id="dt-a8a9fc6b87d603053bac"><code>&#34;object&#34;</code></span>

<a id="dt-36d9953f9c28506edbd6"></a>

### <code>&#94;&#40;pru&#124;rtu&#124;txpru&#41;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-abff0b3166fd00f12b72">
<p style="white-space: pre-wrap">PRU Node. Each PRUSS has dual PRU cores, each represented as a RemoteProc
device through a PRU child node each. Each node can optionally be rendered
inactive by using the standard DT string property, "status". The ICSSG IP
present on K3 SoCs have additional auxiliary PRU cores with slightly
different IP integration.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e88398054d265816b5bc">[<code>&#47;schemas&#47;remoteproc&#47;ti&#44;pru&#45;rproc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-remoteproc/ti-pru-rproc.md#dt-root>)</span>

**Value type (<code>type</code>):** <span id="dt-330c1e377ed21676b068"><code>&#34;object&#34;</code></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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ranges&#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-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;ti&#44;k2g&#45;pruss&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;ti&#44;am654&#45;icssg&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;ti&#44;j721e&#45;icssg&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;ti&#44;am642&#45;icssg&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;ti&#44;k2g&#45;pruss&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;dma&#45;coherent&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
/* Example 1 AM33xx PRU-ICSS */
pruss: pruss@0 {
    compatible = "ti,am3356-pruss";
    reg = &lt;0x0 0x80000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges;

    pruss_mem: memories@0 {
        reg = &lt;0x0 0x2000&gt;,
              &lt;0x2000 0x2000&gt;,
              &lt;0x10000 0x3000&gt;;
        reg-names = "dram0", "dram1", "shrdram2";
    };

    pruss_cfg: cfg@26000 {
        compatible = "ti,pruss-cfg", "syscon";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;
        reg = &lt;0x26000 0x2000&gt;;
        ranges = &lt;0x00 0x26000 0x2000&gt;;

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

            pruss_iepclk_mux: iepclk-mux@30 {
                reg = &lt;0x30&gt;;
                #clock-cells = &lt;0&gt;;
                clocks = &lt;&amp;l3_gclk&gt;,        /* icss_iep */
                         &lt;&amp;pruss_ocp_gclk&gt;; /* icss_ocp */
            };
        };
    };

    pruss_mii_rt: mii-rt@32000 {
        compatible = "ti,pruss-mii", "syscon";
        reg = &lt;0x32000 0x58&gt;;
    };

    pruss_intc: interrupt-controller@20000 {
        compatible = "ti,pruss-intc";
        reg = &lt;0x20000 0x2000&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;3&gt;;
        interrupts = &lt;20 21 22 23 24 25 26 27&gt;;
        interrupt-names = "host_intr0", "host_intr1",
                          "host_intr2", "host_intr3",
                          "host_intr4", "host_intr5",
                          "host_intr6", "host_intr7";
    };

    pru0: pru@34000 {
        compatible = "ti,am3356-pru";
        reg = &lt;0x34000 0x2000&gt;,
              &lt;0x22000 0x400&gt;,
              &lt;0x22400 0x100&gt;;
        reg-names = "iram", "control", "debug";
        firmware-name = "am335x-pru0-fw";
    };

    pru1: pru@38000 {
        compatible = "ti,am3356-pru";
        reg = &lt;0x38000 0x2000&gt;,
              &lt;0x24000 0x400&gt;,
              &lt;0x24400 0x100&gt;;
        reg-names = "iram", "control", "debug";
        firmware-name = "am335x-pru1-fw";
    };

    pruss_mdio: mdio@32400 {
        compatible = "ti,davinci_mdio";
        reg = &lt;0x32400 0x90&gt;;
        clocks = &lt;&amp;dpll_core_m4_ck&gt;;
        clock-names = "fck";
        bus_freq = &lt;1000000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">
/* Example 2 AM43xx PRU-ICSS with PRUSS1 node */
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
pruss1: pruss@0 {
    compatible = "ti,am4376-pruss1";
    reg = &lt;0x0 0x40000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges;

    pruss1_mem: memories@0 {
        reg = &lt;0x0 0x2000&gt;,
              &lt;0x2000 0x2000&gt;,
              &lt;0x10000 0x8000&gt;;
        reg-names = "dram0", "dram1", "shrdram2";
    };

    pruss1_cfg: cfg@26000 {
        compatible = "ti,pruss-cfg", "syscon";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;
        reg = &lt;0x26000 0x2000&gt;;
        ranges = &lt;0x00 0x26000 0x2000&gt;;

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

            pruss1_iepclk_mux: iepclk-mux@30 {
                reg = &lt;0x30&gt;;
                #clock-cells = &lt;0&gt;;
                clocks = &lt;&amp;sysclk_div&gt;,     /* icss_iep */
                         &lt;&amp;pruss_ocp_gclk&gt;; /* icss_ocp */
            };
        };
    };

    pruss1_mii_rt: mii-rt@32000 {
        compatible = "ti,pruss-mii", "syscon";
        reg = &lt;0x32000 0x58&gt;;
    };

    pruss1_intc: interrupt-controller@20000 {
        compatible = "ti,pruss-intc";
        reg = &lt;0x20000 0x2000&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;3&gt;;
        interrupts = &lt;GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH&gt;;
        interrupt-names = "host_intr0", "host_intr1",
                          "host_intr2", "host_intr3",
                          "host_intr4",
                          "host_intr6", "host_intr7";
        ti,irqs-reserved = /bits/ 8 &lt;0x20&gt;; /* BIT(5) */
    };

    pru1_0: pru@34000 {
        compatible = "ti,am4376-pru";
        reg = &lt;0x34000 0x3000&gt;,
              &lt;0x22000 0x400&gt;,
              &lt;0x22400 0x100&gt;;
        reg-names = "iram", "control", "debug";
        firmware-name = "am437x-pru1_0-fw";
    };

    pru1_1: pru@38000 {
        compatible = "ti,am4376-pru";
        reg = &lt;0x38000 0x3000&gt;,
              &lt;0x24000 0x400&gt;,
              &lt;0x24400 0x100&gt;;
        reg-names = "iram", "control", "debug";
        firmware-name = "am437x-pru1_1-fw";
    };

    pruss1_mdio: mdio@32400 {
        compatible = "ti,davinci_mdio";
        reg = &lt;0x32400 0x90&gt;;
        clocks = &lt;&amp;dpll_core_m4_ck&gt;;
        clock-names = "fck";
        bus_freq = &lt;1000000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&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 61:</strong> <span> for AM335x SoC family</span></p>

<p id="dt-comment-2"><strong>Line 62:</strong> <span> for AM437x SoC family and PRUSS unit 0</span></p>

<p id="dt-comment-3"><strong>Line 63:</strong> <span> for AM437x SoC family and PRUSS unit 1</span></p>

<p id="dt-comment-4"><strong>Line 64:</strong> <span> for AM57xx SoC family</span></p>

<p id="dt-comment-5"><strong>Line 65:</strong> <span> for K3 AM62x SoC family</span></p>

<p id="dt-comment-6"><strong>Line 66:</strong> <span> for K3 AM64x SoC family</span></p>

<p id="dt-comment-7"><strong>Line 67:</strong> <span> for K3 AM65x SoC family</span></p>

<p id="dt-comment-8"><strong>Line 68:</strong> <span> for K3 J721E SoC family</span></p>

<p id="dt-comment-9"><strong>Line 69:</strong> <span> for 66AK2G SoC family</span></p>

<p id="dt-comment-10"><strong>Line 113:</strong> <span> On AM437x one of two PRUSS units don't contain Shared RAM.</span></p>

<p id="dt-comment-11"><strong>Line 350:</strong> <span> Due to inability of correctly verifying sub-nodes with an @address through</span></p>

<p id="dt-comment-12"><strong>Line 351:</strong> <span> the "required" list, the required sub-nodes below are commented out for now.</span></p>

<p id="dt-comment-13"><strong>Line 353:</strong> <span> required:</span></p>

<p id="dt-comment-14"><strong>Line 354:</strong> <span> - memories</span></p>

<p id="dt-comment-15"><strong>Line 355:</strong> <span> - interrupt-controller</span></p>

<p id="dt-comment-16"><strong>Line 356:</strong> <span> - pru</span></p>

</details>
