# Allwinner A10 System Control

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

> Device-tree binding reference for Allwinner A10 System Control.

<!-- 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;sram&#47;allwinner&#44;sun4i&#45;a10&#45;system&#45;control&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SRAM controller found on most Allwinner devices is represented by a regular node for the SRAM controller itself, with sub-nodes representing the SRAM handled by the SRAM controller.</p>
</div>

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

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

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

### <code>&#35;address&#45;cells</code> — 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> — required here

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

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;controller&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;sram&#45;controller&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-d8ed634e63aac4a42d5d"><code>true</code></span>

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

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;system&#45;control&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;allwinner&#44;sun5i&#45;a13&#45;system&#45;control&#34;</code></span>, <span id="dt-5c9870d52793df25216b"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;system&#45;control&#34;</code></span>, <span id="dt-5142a30d4d34242a17aa"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;system&#45;control&#34;</code></span>, <span id="dt-ab9c88671bf820cb69ba"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;system&#45;control&#34;</code></span>, <span id="dt-a21de15fab03e8d186db"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;system&#45;control&#34;</code></span>, <span id="dt-9049291986ad112b9460"><code>&#34;allwinner&#44;sun50i&#45;h5&#45;system&#45;control&#34;</code></span>, <span id="dt-74cc4d9c69dece604aec"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;system&#45;control&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;allwinner&#44;suniv&#45;f1c100s&#45;system&#45;control&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;system&#45;control&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;system&#45;control&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;system&#45;control&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-4c3894ced8f7125f7050"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;system&#45;control&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;system&#45;control&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;system&#45;control&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;system&#45;control&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;system&#45;control&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;system&#45;control&#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> — not listed as required here

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

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5be358d7627d2a1d8115">[<code>&#47;schemas&#47;regulator&#47;allwinner&#44;sun20i&#45;d1&#45;system&#45;ldos&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/allwinner-sun20i-d1-system-ldos.md#dt-root>)</span>

<a id="dt-1080054300ddb0f9a70c"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2d7adb3b23b6fe769363">[<code>&#47;schemas&#47;sram&#47;sram&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sram/sram.md#dt-root>)</span>

<a id="dt-88de03c200031c119555"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>&#94;sram&#45;section&#63;&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

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

<a id="dt-48a24174e61fd778ef78"></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-015e8890e082649d9f6f"></a>

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

<a id="dt-4889dace065d9f2669d0"></a>

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

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

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

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

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

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

<a id="dt-76400076b2b73b20d727"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-3d3503a69b449bfe7181"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;a3&#45;a4&#34;</code></span>

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

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-3b4fe5a01faa51372edd"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;c1&#34;</code></span>

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

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-068ef63b98bb840ac828"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;d&#34;</code></span>

<a id="dt-10be873a63ed1a731296"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-f36e9a81dd5549f69ccb"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;sram&#45;c&#34;</code></span>

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

**Rule 5**

> <a id="dt-38abbefc0da073d6ae5b"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bde6231f11c047615dea"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-38399d547563968c2a0d"></a> <span id="dt-439aeba62be4c45c8f7e"><code>&#34;allwinner&#44;sun5i&#45;a13&#45;sram&#45;a3&#45;a4&#34;</code></span>, <span id="dt-b07aea539baa56ca304e"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;sram&#45;a3&#45;a4&#34;</code></span>
>
> <a id="dt-90158ef9253d2db67514"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a596714eac246def5565"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;a3&#45;a4&#34;</code></span>

<a id="dt-2794c16fff077a246ae9"></a>

**Rule 6**

> <a id="dt-4887217e41d116501527"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-3bac77379ceb774d3a98"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-eb48b16ab3ad2d9bad2e"></a> <span id="dt-29f903163cc472b0b50b"><code>&#34;allwinner&#44;sun5i&#45;a13&#45;sram&#45;c1&#34;</code></span>, <span id="dt-d6cacb7738ae541996ad"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;sram&#45;c1&#34;</code></span>, <span id="dt-1a779aec2b1147525a65"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;sram&#45;c1&#34;</code></span>, <span id="dt-44575b100203e92bba72"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;sram&#45;c1&#34;</code></span>, <span id="dt-0bc7a416b088c6974772"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;sram&#45;c1&#34;</code></span>, <span id="dt-c57141402907fe8d8182"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;sram&#45;c1&#34;</code></span>, <span id="dt-c3a7a7e912c50b739c39"><code>&#34;allwinner&#44;sun50i&#45;h5&#45;sram&#45;c1&#34;</code></span>, <span id="dt-c2097dad617be84f3db2"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;sram&#45;c1&#34;</code></span>
>
> <a id="dt-14ad78f7a209e7dc42a5"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c8afb0f90a0f7821ce6"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;c1&#34;</code></span>

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

**Rule 7**

> <a id="dt-7df0c2204cc0f8532866"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-a35a3467d7ed50adeea5"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-83e798782b18a51dab87"></a> <span id="dt-62cf7a8c990365f318f9"><code>&#34;allwinner&#44;suniv&#45;f1c100s&#45;sram&#45;d&#34;</code></span>, <span id="dt-3564f5e3846b74da4b47"><code>&#34;allwinner&#44;sun5i&#45;a13&#45;sram&#45;d&#34;</code></span>, <span id="dt-6583bcb1a2156cdccea9"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;sram&#45;d&#34;</code></span>
>
> <a id="dt-f6f4b4be090965535434"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1b8780147e63245d81fb"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;d&#34;</code></span>

<a id="dt-88c3280b8407da50fea9"></a>

**Rule 8**

> <a id="dt-99e79cf8f9ba90b0d900"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-fa5269fdc96e3c8755f6"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-6aeb39a23eb466de8e71"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;sram&#45;c&#34;</code></span>
>
> <a id="dt-8a68eb9bba4cbcb00bd1"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-3151af37aebc41eac839"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;sram&#45;c&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;compatible&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reg&#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">system-control@1c00000 {
  compatible = "allwinner,sun4i-a10-system-control";
  reg = &lt;0x01c00000 0x30&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;
  ranges;

  sram_a: sram@0 {
    compatible = "mmio-sram";
    reg = &lt;0x00000000 0xc000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x00000000 0xc000&gt;;

    emac_sram: sram-section@8000 {
      compatible = "allwinner,sun4i-a10-sram-a3-a4";
      reg = &lt;0x8000 0x4000&gt;;
    };
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">syscon@3000000 {
  compatible = "allwinner,sun20i-d1-system-control";
  reg = &lt;0x3000000 0x1000&gt;;
  ranges;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;

  regulators@3000150 {
    compatible = "allwinner,sun20i-d1-system-ldos";
    reg = &lt;0x3000150 0x4&gt;;

    reg_ldoa: ldoa {
      regulator-min-microvolt = &lt;1800000&gt;;
      regulator-max-microvolt = &lt;1800000&gt;;
    };

    reg_ldob: ldob {
      regulator-name = "vcc-dram";
      regulator-min-microvolt = &lt;1500000&gt;;
      regulator-max-microvolt = &lt;1500000&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>
