# Aspeed System Control Unit

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

> Device-tree binding reference for Aspeed System Control Unit.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;mfd&#47;aspeed&#44;ast2x00&#45;scu&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Aspeed System Control Unit manages the global behaviour of the SoC, configuring elements such as clocks, pinmux, and reset. In AST2700 SOC which has two soc connection, each soc have its own scu register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Joel Stanley &#60;joel&#64;jms&#46;id&#46;au&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Andrew Jeffery &#60;andrew&#64;aj&#46;id&#46;au&#62;&#34;</code></span>

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

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;aspeed&#44;ast2400&#45;scu&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;aspeed&#44;ast2500&#45;scu&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;aspeed&#44;ast2600&#45;scu&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;aspeed&#44;ast2700&#45;scu0&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;aspeed&#44;ast2700&#45;scu1&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

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

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-985600cab9ae8398068d"><code>&#34;simple&#45;mfd&#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-1e6b10cf5f67a6a268f5"></a>

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

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

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-bc46479238b112518bcb"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5bc169e82a56c8ce44bc"><code>2</code></span>

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

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

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

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — required here

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

<a id="dt-02c38475362b738e226b"></a>

### <code>&#35;reset&#45;cells</code> — required here

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

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

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

<a id="dt-85fc983d6ec340bf6e70"></a>

### <code>&#94;p2a&#45;control&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-0007d932d93f3d5f4ba6">
<p style="white-space: pre-wrap">PCI-to-AHB Bridge Control
The bridge is available on platforms with the VGA enabled on the Aspeed device. In this case, the host has access to a 64KiB window into all of the BMC's memory. The BMC can disable this bridge. If the bridge is enabled, the host has read access to all the regions of memory, however the host only has read and write access depending on a register controlled by the BMC.</p>
</div>

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

<a id="dt-efcc3db50e4e03fa80aa"></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-38a8395c350bb5e60695"></a>

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-29d2efc2bad5b6d3ca8e"></a> <span id="dt-781ef67739e9ce33a95f"><code>&#34;aspeed&#44;ast2400&#45;p2a&#45;ctrl&#34;</code></span>, <span id="dt-f8a546c0baf8d0fcb212"><code>&#34;aspeed&#44;ast2500&#45;p2a&#45;ctrl&#34;</code></span>

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

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

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

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

**<code>memory&#45;region</code> — not listed as required here**

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

<div id="dt-2f7d99143bed32be793a">
<p style="white-space: pre-wrap">A reserved_memory region to be used for the PCI to AHB mapping</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-01c2db640ca4334d7678"></a> <span id="dt-5002bba595b0b1d5cb92"><code>&#34;compatible&#34;</code></span>, <span id="dt-207f0b98ab5139db27ab"><code>&#34;reg&#34;</code></span>

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

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

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

<a id="dt-08bb4dd804e1a2e77c65"></a>

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

<code>true</code>

Allowed by this rule.

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

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

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

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

<a id="dt-75b69c9f49651e9abd05"></a>

**Rule for matching array elements (<code>contains</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-0063c0b64cfdcff801db"></a> <span id="dt-2412a08d0702b695f3a7"><code>&#34;aspeed&#44;ast2400&#45;pinctrl&#34;</code></span>, <span id="dt-ace6b0a471f2a4215dec"><code>&#34;aspeed&#44;ast2500&#45;pinctrl&#34;</code></span>, <span id="dt-dc6f66712bfd3297ef1e"><code>&#34;aspeed&#44;ast2600&#45;pinctrl&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-df10e77c57240375b4b9"></a> <span id="dt-094c89a8400032724659"><code>&#34;compatible&#34;</code></span>

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

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

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

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

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

<code>true</code>

Allowed by this rule.

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

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

<a id="dt-113d6aee1779f2e99060"></a>

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

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

**Rule for matching array elements (<code>contains</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-8dfa0e016c1f1095d4bc"></a> <span id="dt-b7f7356afffeac753792"><code>&#34;aspeed&#44;ast2500&#45;scu&#45;ic&#34;</code></span>, <span id="dt-d50dbac6cacc9530d7bc"><code>&#34;aspeed&#44;ast2600&#45;scu&#45;ic0&#34;</code></span>, <span id="dt-095beaaa0e481e07cef6"><code>&#34;aspeed&#44;ast2600&#45;scu&#45;ic1&#34;</code></span>, <span id="dt-c26078c6cda608d7973f"><code>&#34;aspeed&#44;ast2700&#45;scu&#45;ic0&#34;</code></span>, <span id="dt-3468a3f7fe4bdd08bbd0"><code>&#34;aspeed&#44;ast2700&#45;scu&#45;ic1&#34;</code></span>, <span id="dt-1ea76a712f5e135a53f1"><code>&#34;aspeed&#44;ast2700&#45;scu&#45;ic2&#34;</code></span>, <span id="dt-12f12b3c57350ae619ee"><code>&#34;aspeed&#44;ast2700&#45;scu&#45;ic3&#34;</code></span>

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

### <code>&#94;silicon&#45;id&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-7898d5d222f52d6fe552">
<p style="white-space: pre-wrap">Unique hardware silicon identifiers within the SoC</p>
</div>

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

<a id="dt-b50a82c217309b6a8f44"></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-c84084ac9a9ba09a61d7"></a>

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

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

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

<a id="dt-428e875ff160057021c9"></a>

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-f205b5da51920cc69aa9"></a> <span id="dt-2efd9bc21bd78c2601bd"><code>&#34;aspeed&#44;ast2400&#45;silicon&#45;id&#34;</code></span>, <span id="dt-5a780cf4901b92f3a7a6"><code>&#34;aspeed&#44;ast2500&#45;silicon&#45;id&#34;</code></span>, <span id="dt-b0a0e4c7d02f5dde93e9"><code>&#34;aspeed&#44;ast2600&#45;silicon&#45;id&#34;</code></span>, <span id="dt-e219f778721e14b00e85"><code>&#34;aspeed&#44;ast2700&#45;silicon&#45;id&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8eec8cd7327b29ebc912"><code>&#34;aspeed&#44;silicon&#45;id&#34;</code></span>

<a id="dt-98398695173e71ba0dcb"></a>

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

<div id="dt-d308b76de8100e001451">
<p style="white-space: pre-wrap">The reg should be the unique silicon id register, and not backwards compatible one in eg. the 2600.</p>
</div>

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

<a id="dt-9237535632fb50397096"></a>

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

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

**Item 1**

> <div id="dt-f060806437faba417248">
> <p style="white-space: pre-wrap">silicon id information registers</p>
> </div>

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

**Item 2**

> <div id="dt-01f141b81f756c8ce214">
> <p style="white-space: pre-wrap">unique chip id registers</p>
> </div>

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

### <code>&#94;smp&#45;memram&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

<div id="dt-a6ab6203bc11917001fe">
<p style="white-space: pre-wrap">Memory region used for the AST2600's custom SMP bringup protocol</p>
</div>

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

<a id="dt-8b7b91337a4f9c957f6f"></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-689015cf549846f8cb44"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-e6b357917265dbc15d9b"><code>&#34;aspeed&#44;ast2600&#45;smpmem&#34;</code></span>

<a id="dt-62a488d5e91890faeef1"></a>

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

<div id="dt-133d0831e919b1d447df">
<p style="white-space: pre-wrap">The SMP memory region</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-6336a4caeed17880c8a6"></a> <span id="dt-9f362d54db518f1abd5c"><code>&#34;compatible&#34;</code></span>, <span id="dt-186bafedfda728429269"><code>&#34;reg&#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>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;reset&#45;cells&#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">syscon@1e6e2000 {
    compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
    reg = &lt;0x1e6e2000 0x1a8&gt;;
    #clock-cells = &lt;1&gt;;
    #reset-cells = &lt;1&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0x0 0x1e6e2000 0x1000&gt;;

    p2a-control@2c {
        compatible = "aspeed,ast2400-p2a-ctrl";
        reg = &lt;0x2c 0x4&gt;;
    };

    silicon-id@7c {
        compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";
        reg = &lt;0x7c 0x4&gt;, &lt;0x150 0x8&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</span></p>

</details>
