# TI-SCI controller

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

> Device-tree binding reference for TI-SCI controller.

<!-- 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;keystone&#47;ti&#44;sci&#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;Nishanth Menon &#60;nm&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Texas Instrument's processors including those belonging to Keystone generation
of processors have separate hardware entity which is now responsible for the
management of the System on Chip (SoC) system. These include various system
level functions as well.</p>
<p style="white-space: pre-wrap">An example of such an SoC is K2G, which contains the system control hardware
block called Power Management Micro Controller (PMMC). This hardware block is
initialized early into boot process and provides services to Operating Systems
on multiple processors including ones running Linux.</p>
<p style="white-space: pre-wrap">See https://software-dl.ti.com/tisci/esd/latest/index.html for protocol definition.</p>
<p style="white-space: pre-wrap">The TI-SCI node describes the Texas Instrument's System Controller entity node.
This parent node may optionally have additional children nodes which describe
specific functionality such as clocks, power domain, reset or additional
functionality as may be required for the SoC. This hierarchy also describes the
relationship between the TI-SCI parent node to the child node.</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;system&#45;controller&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">System controller on TI 66AK2G SoC and other K3 SoCs</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;ti&#44;k2g&#45;sci&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">System controller on TI AM654 SoC</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ti&#44;am654&#45;sci&#34;</code></span>

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

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

<div id="dt-c6f78d81605b46af6c17">
<p style="white-space: pre-wrap">Specifies the debug messages memory mapped region that is optionally
made available from TI-SCI controller.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-817e79faee2ad624aa2b"><code>&#34;debug&#95;messages&#34;</code></span>

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

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

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

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

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

<div id="dt-6536d0ff26ca75c7868e">
<p style="white-space: pre-wrap">Specifies the mailboxes used to communicate with TI-SCI Controller
made available from TI-SCI controller.</p>
</div>

<a id="dt-48583272e5ed97b0ea27"></a>

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

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

**Item 1**

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

<a id="dt-69854b892779cd21ad4c"></a>

**Item 2**

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

<a id="dt-574e031ceefcc9ce5f61"></a>

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

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

<a id="dt-8460b22abb103dec9b53"></a>

### <code>ti&#44;host&#45;id</code> — not listed as required here

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

<div id="dt-f0a22289105f54563375">
<p style="white-space: pre-wrap">Value corresponding to the host ID assigned by Firmware
for identification of host processing entities such as virtual machines.</p>
</div>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-52ab45f523f17dafe569">[<code>&#47;schemas&#47;soc&#47;ti&#47;sci&#45;pm&#45;domain&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/ti/sci-pm-domain.md#dt-root>)</span>

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

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

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

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

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

### <code>reset&#45;controller</code> — not listed as required here

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-984ca9b72518300f9348">[<code>&#47;schemas&#47;reset&#47;ti&#44;sci&#45;reset&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-reset/ti-sci-reset.md#dt-root>)</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;mbox&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mboxes&#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">pmmc: system-controller@2921800 {
  compatible = "ti,k2g-sci";
  mbox-names = "rx", "tx";
  mboxes = &lt;&amp;msgmgr 5 2&gt;,
           &lt;&amp;msgmgr 0 0&gt;;
  reg-names = "debug_messages";
  reg = &lt;0x02921800 0x800&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">dmsc: system-controller@44083000 {
  compatible = "ti,k2g-sci";
  ti,host-id = &lt;12&gt;;
  mbox-names = "rx", "tx";
  mboxes = &lt;&amp;secure_proxy_main 11&gt;,
           &lt;&amp;secure_proxy_main 13&gt;;
  reg-names = "debug_messages";
  reg = &lt;0x44083000 0x1000&gt;;

  k3_pds: power-controller {
    compatible = "ti,sci-pm-domain";
    #power-domain-cells = &lt;2&gt;;
  };

  k3_clks: clock-controller {
    compatible = "ti,k2g-sci-clk";
    #clock-cells = &lt;2&gt;;
  };

  k3_reset: reset-controller {
    compatible = "ti,sci-reset";
    #reset-cells = &lt;2&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>

</details>
