# Sram bindings

---

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

---

# Qualcomm IMEM memory region

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

> Device-tree binding reference for Qualcomm IMEM memory region.

<!-- 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;sram&#47;qcom&#44;imem&#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;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm IMEM is dedicated memory region for various debug features and DMA transactions.</p>
</div>

<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;qcom&#44;apq8064&#45;imem&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;qcom&#44;ipq5424&#45;imem&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;qcom&#44;msm8226&#45;imem&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;qcom&#44;msm8974&#45;imem&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;qcom&#44;msm8976&#45;imem&#34;</code></span>, <span id="dt-50ce8af78a6d0f3b7b82"><code>&#34;qcom&#44;qcs404&#45;imem&#34;</code></span>, <span id="dt-8be3d578ae616ce6273c"><code>&#34;qcom&#44;qcs615&#45;imem&#34;</code></span>, <span id="dt-348801aa97cc32ed4b8e"><code>&#34;qcom&#44;qcs8300&#45;imem&#34;</code></span>, <span id="dt-08e250be67bbdba4113e"><code>&#34;qcom&#44;qdu1000&#45;imem&#34;</code></span>, <span id="dt-b384a2e268c424bd4737"><code>&#34;qcom&#44;sa8775p&#45;imem&#34;</code></span>, <span id="dt-00645d7276e48dce88cf"><code>&#34;qcom&#44;sar2130p&#45;imem&#34;</code></span>, <span id="dt-e5bb0b4c6f96135591dc"><code>&#34;qcom&#44;sc7180&#45;imem&#34;</code></span>, <span id="dt-4bde956a8cf6f215f70e"><code>&#34;qcom&#44;sc7280&#45;imem&#34;</code></span>, <span id="dt-10b35ef19b737dbb8601"><code>&#34;qcom&#44;sc8280xp&#45;imem&#34;</code></span>, <span id="dt-04e607d0cca73ecd9a42"><code>&#34;qcom&#44;sdm630&#45;imem&#34;</code></span>, <span id="dt-e2db6a6268b84a260286"><code>&#34;qcom&#44;sdm845&#45;imem&#34;</code></span>, <span id="dt-2a8ead1a46a814445402"><code>&#34;qcom&#44;sdx55&#45;imem&#34;</code></span>, <span id="dt-98beb3234fc95a98556f"><code>&#34;qcom&#44;sdx65&#45;imem&#34;</code></span>, <span id="dt-61d982f22a36aee0de44"><code>&#34;qcom&#44;sdx75&#45;imem&#34;</code></span>, <span id="dt-63fb3a62361de7665053"><code>&#34;qcom&#44;sm6115&#45;imem&#34;</code></span>, <span id="dt-23f0e4ae5b4acf387488"><code>&#34;qcom&#44;sm6125&#45;imem&#34;</code></span>, <span id="dt-8d96638a2d82b213c4d7"><code>&#34;qcom&#44;sm6350&#45;imem&#34;</code></span>, <span id="dt-26223eff0b57f7707c8d"><code>&#34;qcom&#44;sm6375&#45;imem&#34;</code></span>, <span id="dt-8375a7389d2eb1d54522"><code>&#34;qcom&#44;sm7150&#45;imem&#34;</code></span>, <span id="dt-5a09c261fed2ffb1eff2"><code>&#34;qcom&#44;sm8150&#45;imem&#34;</code></span>, <span id="dt-5878ba21cebce591162b"><code>&#34;qcom&#44;sm8250&#45;imem&#34;</code></span>, <span id="dt-f369db9e646fae1f05e1"><code>&#34;qcom&#44;sm8350&#45;imem&#34;</code></span>, <span id="dt-f925e48a2e9815f87700"><code>&#34;qcom&#44;sm8450&#45;imem&#34;</code></span>, <span id="dt-dc910176a5f9b6a6f504"><code>&#34;qcom&#44;sm8550&#45;imem&#34;</code></span>, <span id="dt-69b3a898223f95798ab6"><code>&#34;qcom&#44;sm8650&#45;imem&#34;</code></span>, <span id="dt-fceb723303f85ca375c9"><code>&#34;qcom&#44;sm8750&#45;imem&#34;</code></span>, <span id="dt-8baee1b9f5004c8c5702"><code>&#34;qcom&#44;x1e80100&#45;imem&#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> — not listed as required here

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

<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-a5309b08d7936f7a1136"></a>

### <code>reboot&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-69c72be0093ed2ef8c6c">[<code>&#47;schemas&#47;power&#47;reset&#47;syscon&#45;reboot&#45;mode&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-power/reset/syscon-reboot-mode.md#dt-root>)</span>

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

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

<a id="dt-080a72d811e599db72c1"></a>

### <code>&#94;pil&#45;reloc&#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-0047072ff0a8d70cef43">[<code>&#47;schemas&#47;remoteproc&#47;qcom&#44;pil&#45;info&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-remoteproc/qcom-pil-info.md#dt-root>)</span>

<div id="dt-c2d2c8607a43647a63e1">
<p style="white-space: pre-wrap">Peripheral image loader relocation region</p>
</div>

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

<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">soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    sram@146bf000 {
        compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
        reg = &lt;0 0x146bf000 0 0x1000&gt;;
        ranges = &lt;0 0 0x146bf000 0x1000&gt;;

        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;

        pil-reloc@94c {
            compatible = "qcom,pil-reloc-info";
            reg = &lt;0x94c 0xc8&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>

---

# On Chip Memory (OCMEM) that is present on some Qualcomm Snapdragon SoCs.

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

> Device-tree binding reference for On Chip Memory (OCMEM) that is present on some Qualcomm Snapdragon SoCs..

<!-- SPDX-License-Identifier: (GPL-2.0 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;sram&#47;qcom&#44;ocmem&#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;Brian Masney &#60;masneyb&#64;onstation&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The On Chip Memory (OCMEM) is typically used by the GPU, camera/video, and
audio components on some Snapdragon SoCs.</p>
</div>

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

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

<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;qcom&#44;msm8226&#45;ocmem&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;msm8974&#45;ocmem&#34;</code></span>

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">Control registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">OCMEM address range</p>
> </div>

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

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

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

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

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

**Item 1**

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

<a id="dt-12013039402717d72b48"></a>

**Item 2**

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

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

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

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

<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">Core clock</p>
> </div>

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

**Item 2**

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

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

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

**Item 1**

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

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

**Item 2**

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

<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-1e6b10cf5f67a6a268f5"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7928d91ff1b85834b6df"><code>1</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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><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;qcom&#44;msm8974&#45;ocmem&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b46601d2e44d0accc82c"><code>2</code></span>
> >
> > <a id="dt-935ce0cf7d790018ed2d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-2fd74fdcd652122258bc"><code>2</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b1c124b62d9838b9250d"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-d4e7d222e811819ca3a3"><code>1</code></span>
> >
> > <a id="dt-a49122167f5939d1692d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9194e76c331072fc971b"><code>1</code></span>

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

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

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-33b26f39ee5548619ed2">
<p style="white-space: pre-wrap">A region of reserved memory.</p>
</div>

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

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

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-c018d8ea449239c97a3a"></a> <span id="dt-0ba1079027ebaeba0c02"><code>&#34;reg&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/qcom,rpmcc.h&gt;
#include &lt;dt-bindings/clock/qcom,mmcc-msm8974.h&gt;

sram@fdd00000 {
    compatible = "qcom,msm8974-ocmem";

    reg = &lt;0xfdd00000 0x2000&gt;,
          &lt;0xfec00000 0x180000&gt;;
    reg-names = "ctrl",
                "mem";

    clocks = &lt;&amp;rpmcc RPM_SMD_OCMEMGX_CLK&gt;,
             &lt;&amp;mmcc OCMEMCX_OCMEMNOC_CLK&gt;;
    clock-names = "core",
                  "iface";

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0xfec00000 0x100000&gt;;

    gmu-sram@0 {
        reg = &lt;0x0 0x100000&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 19:</strong> <span> v1.1.0</span></p>

<p id="dt-comment-2"><strong>Line 20:</strong> <span> v1.4.0</span></p>

</details>

---

# Generic on-chip SRAM

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

> Device-tree binding reference for Generic on-chip SRAM.

<!-- 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;sram&#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;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Simple IO memory regions to be managed by the genalloc API.</p>
<p style="white-space: pre-wrap">Each child of the sram node specifies a region of reserved memory. Each
child node should use a 'reg' property to specify a specific range of
reserved memory.</p>
<p style="white-space: pre-wrap">Following the generic-names recommended practice, node names should
reflect the purpose of the node. Unit address (@&lt;address&gt;) should be
appended to the name.</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;sram&#40;&#64;&#46;&#42;&#41;&#63;&#34;</code></span>

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

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

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-e94a17cf5e636efa744d"></a> <span id="dt-fc12e483d817548be400"><code>&#34;mmio&#45;sram&#34;</code></span>, <span id="dt-20064a6865f5d9b325e1"><code>&#34;amlogic&#44;meson&#45;gxbb&#45;sram&#34;</code></span>, <span id="dt-954101434505e339409d"><code>&#34;arm&#44;juno&#45;sram&#45;ns&#34;</code></span>, <span id="dt-8da9d8f65c7ab916e113"><code>&#34;atmel&#44;sama5d2&#45;securam&#34;</code></span>, <span id="dt-d5dbee9079153b8ef68a"><code>&#34;nvidia&#44;tegra186&#45;sysram&#34;</code></span>, <span id="dt-13fdb966f0a61c66b262"><code>&#34;nvidia&#44;tegra194&#45;sysram&#34;</code></span>, <span id="dt-db1d9a2e1223697dcaea"><code>&#34;nvidia&#44;tegra234&#45;sysram&#34;</code></span>, <span id="dt-59d5e1bcb383b687345d"><code>&#34;qcom&#44;kaanapali&#45;imem&#34;</code></span>, <span id="dt-694307034b041c019102"><code>&#34;qcom&#44;rpm&#45;msg&#45;ram&#34;</code></span>, <span id="dt-068759e9fb2d14a47615"><code>&#34;rockchip&#44;rk3288&#45;pmu&#45;sram&#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-4e9a371963ac013ad39d"></a>

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">A list of phandle and clock specifier pair that controls the single SRAM clock.</p>
</div>

<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> — not listed as required here

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

<div id="dt-e09d62fd28b1cb158f01">
<p style="white-space: pre-wrap">Should translate from local addresses within the sram to bus addresses.</p>
</div>

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

### <code>no&#45;memory&#45;wc</code> — not listed as required here

<div id="dt-5c15f006c5ea6c81c195">
<p style="white-space: pre-wrap">The flag indicating, that SRAM memory region has not to be remapped as write combining. WC is used by default.</p>
</div>

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

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

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

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

### <code>&#94;&#40;&#91;a&#45;z0&#45;9&#93;&#42;&#45;&#41;&#63;sram&#40;&#45;section&#41;&#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-900bfd210edeb628efe9"><code>&#34;object&#34;</code></span>

<div id="dt-a2e422b1185d525ac9a3">
<p style="white-space: pre-wrap">Each child of the sram node specifies a region of reserved memory.</p>
</div>

<a id="dt-0956e54edee344779197"></a>

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

<a id="dt-011fbabce647e1bd065e"></a>

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

<div id="dt-61dbadc0992f8c5fc4b6">
<p style="white-space: pre-wrap">Should contain a vendor specific string in the form &lt;vendor&gt;,[&lt;device&gt;-]&lt;usage&gt;</p>
</div>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-0cbd89db6765e1786478"></a> <span id="dt-15303916bfc594843500"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;a3&#45;a4&#34;</code></span>, <span id="dt-aebe6a8e9c3d7946bc14"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;c1&#34;</code></span>, <span id="dt-cf31e682066746e43407"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;sram&#45;d&#34;</code></span>, <span id="dt-4fc35057c9576b130e29"><code>&#34;allwinner&#44;sun9i&#45;a80&#45;smp&#45;sram&#34;</code></span>, <span id="dt-3432f7af99d8679517b7"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;sram&#45;c&#34;</code></span>, <span id="dt-809b05c6cae7737f3ca5"><code>&#34;amlogic&#44;meson8&#45;ao&#45;arc&#45;sram&#34;</code></span>, <span id="dt-59bb9b92957fbe22bd14"><code>&#34;amlogic&#44;meson8b&#45;ao&#45;arc&#45;sram&#34;</code></span>, <span id="dt-a933da46a75c8776824e"><code>&#34;amlogic&#44;meson8&#45;smp&#45;sram&#34;</code></span>, <span id="dt-bcceaa4b759f86b95f53"><code>&#34;amlogic&#44;meson8b&#45;smp&#45;sram&#34;</code></span>, <span id="dt-7c7e7d890c0cf2199a54"><code>&#34;amlogic&#44;meson&#45;gxbb&#45;scp&#45;shmem&#34;</code></span>, <span id="dt-e0bff3f7228f0b68f118"><code>&#34;amlogic&#44;meson&#45;axg&#45;scp&#45;shmem&#34;</code></span>, <span id="dt-20f18e2863ad7daecdaf"><code>&#34;arm&#44;juno&#45;scp&#45;shmem&#34;</code></span>, <span id="dt-1d1f61a5523809587f91"><code>&#34;arm&#44;scmi&#45;shmem&#34;</code></span>, <span id="dt-06be449963938280813a"><code>&#34;arm&#44;scp&#45;shmem&#34;</code></span>, <span id="dt-226409d35463369f7d58"><code>&#34;qcom&#44;pil&#45;reloc&#45;info&#34;</code></span>, <span id="dt-9981f0e40c14ec6d703f"><code>&#34;renesas&#44;smp&#45;sram&#34;</code></span>, <span id="dt-4fc1b8e8bf4faac29a78"><code>&#34;rockchip&#44;rk3066&#45;smp&#45;sram&#34;</code></span>, <span id="dt-3ca266b067a7ff6855ce"><code>&#34;samsung&#44;exynos4210&#45;sysram&#34;</code></span>, <span id="dt-24439ac3289d3eb5b92d"><code>&#34;samsung&#44;exynos4210&#45;sysram&#45;ns&#34;</code></span>, <span id="dt-daf8ba6ef48b7debedcd"><code>&#34;socionext&#44;milbeaut&#45;smp&#45;sram&#34;</code></span>, <span id="dt-d661c1c58c403e7bbd35"><code>&#34;stericsson&#44;u8500&#45;esram&#34;</code></span>

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

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

<div id="dt-c5f3a70d8456df01fc0b">
<p style="white-space: pre-wrap">IO mem address range, relative to the SRAM range.</p>
</div>

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

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

**<code>reg&#45;io&#45;width</code> — not listed as required here**

<div id="dt-e60caf378168bf979d1f">
<p style="white-space: pre-wrap">The size (in bytes) of the IO accesses that should be performed on the SRAM.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-0e0515beef6600fb3a34"></a> <span id="dt-a7effd3d5bbcb42a0d44"><code>1</code></span>, <span id="dt-c8d4e437a746a1ff3c51"><code>2</code></span>, <span id="dt-ccea17924c46a9a9d2f2"><code>4</code></span>, <span id="dt-794b4064f6bd7cd79771"><code>8</code></span>

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

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

<div id="dt-8289b4118755a7a74bbc">
<p style="white-space: pre-wrap">Indicates that the particular reserved SRAM area is addressable and in use by another device or devices.</p>
</div>

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

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

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

<div id="dt-ea3f564de8f4d69d4f98">
<p style="white-space: pre-wrap">Indicates that the reserved SRAM area may be accessed outside of the kernel, e.g. by bootloader or userspace.</p>
</div>

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

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

**<code>protect&#45;exec</code> — not listed as required here**

<div id="dt-9c285a63590ea0ce952b">
<p style="white-space: pre-wrap">Same as 'pool' above but with the additional constraint that code
will be run from the region and that the memory is maintained as
read-only, executable during code execution. NOTE: This region must
be page aligned on start and end in order to properly allow
manipulation of the page attributes.</p>
</div>

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

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

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

<div id="dt-f7883bc8c56e1b021633">
<p style="white-space: pre-wrap">The name for the reserved partition, if omitted, the label is taken from the node name excluding the unit address.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-fab6c60ddd914945d87e"></a> <span id="dt-03e3927fe970e38dca9d"><code>&#34;reg&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

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

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-f5021076855403a9683d"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-ec318efdc6e27fef954f"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-026175eea792feb254b1"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-74e1084322f82a11eb8c"></a> <span id="dt-a0a2e4a684c3c0084c59"><code>&#34;qcom&#44;rpm&#45;msg&#45;ram&#34;</code></span>, <span id="dt-0f0833d357c44a3952f4"><code>&#34;rockchip&#44;rk3288&#45;pmu&#45;sram&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-dd9db9085e2885964a9c"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-0d447fba1979bb23b68c"><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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">sram@5c000000 {
    compatible = "mmio-sram";
    reg = &lt;0x5c000000 0x40000&gt;; /* 256 KiB SRAM at address 0x5c000000 */

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x5c000000 0x40000&gt;;

    smp-sram@100 {
        reg = &lt;0x100 0x50&gt;;
    };

    device-sram@1000 {
        reg = &lt;0x1000 0x1000&gt;;
        pool;
    };

    exported-sram@20000 {
        reg = &lt;0x20000 0x20000&gt;;
        export;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">// Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup
// of the secondary cores. Once the core gets powered up it executes the
// code that is residing at some specific location of the SYSRAM.
//
// Therefore reserved section sub-nodes have to be added to the mmio-sram
// declaration. These nodes are of two types depending upon secure or
// non-secure execution environment.
sram@2020000 {
    compatible = "mmio-sram";
    reg = &lt;0x02020000 0x54000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x02020000 0x54000&gt;;

    smp-sram@0 {
        compatible = "samsung,exynos4210-sysram";
        reg = &lt;0x0 0x1000&gt;;
    };

    smp-sram@53000 {
        compatible = "samsung,exynos4210-sysram-ns";
        reg = &lt;0x53000 0x1000&gt;;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">// Amlogic's SMP-capable SoCs use part of the sram for the bringup of the cores.
// Once the core gets powered up it executes the code that is residing at a
// specific location.
//
// Therefore a reserved section sub-node has to be added to the mmio-sram
// declaration.
sram@d9000000 {
    compatible = "mmio-sram";
    reg = &lt;0xd9000000 0x20000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0xd9000000 0x20000&gt;;

    smp-sram@1ff80 {
        compatible = "amlogic,meson8b-smp-sram";
        reg = &lt;0x1ff80 0x8&gt;;
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">sram@e63c0000 {
    compatible = "mmio-sram";
    reg = &lt;0xe63c0000 0x1000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0xe63c0000 0x1000&gt;;

    smp-sram@0 {
        compatible = "renesas,smp-sram";
        reg = &lt;0 0x10&gt;;
    };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">sram@10080000 {
    compatible = "mmio-sram";
    reg = &lt;0x10080000 0x10000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges;

    smp-sram@10080000 {
        compatible = "rockchip,rk3066-smp-sram";
        reg = &lt;0x10080000 0x50&gt;;
    };
};
</code></pre>

<pre id="dt-0a7a1e02b6a2bd0df8c7"><code class="language-dts">// Rockchip's rk3288 SoC uses the sram of pmu to store the function of
// resume from maskrom(the 1st level loader). This is a common use of
// the "pmu-sram" because it keeps power even in low power states
// in the system.
sram@ff720000 {
  compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
  reg = &lt;0xff720000 0x1000&gt;;
};
</code></pre>

<pre id="dt-f015148604ca561352a9"><code class="language-dts">// Allwinner's A80 SoC uses part of the secure sram for hotplugging of the
// primary core (cpu0). Once the core gets powered up it checks if a magic
// value is set at a specific location. If it is then the BROM will jump
// to the software entry address, instead of executing a standard boot.
//
// Also there are no "secure-only" properties. The implementation should
// check if this SRAM is usable first.
sram@20000 {
    // 256 KiB secure SRAM at 0x20000
    compatible = "mmio-sram";
    reg = &lt;0x00020000 0x40000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x00020000 0x40000&gt;;

    smp-sram@1000 {
        // This is checked by BROM to determine if
        // cpu0 should jump to SMP entry vector
        compatible = "allwinner,sun9i-a80-smp-sram";
        reg = &lt;0x1000 0x8&gt;;
    };
};
</code></pre>

<pre id="dt-f95d9c221ee84555767e"><code class="language-dts">sram@0 {
    compatible = "mmio-sram";
    reg = &lt;0x0 0x10000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x0 0x10000&gt;;

    smp-sram@f100 {
        compatible = "socionext,milbeaut-smp-sram";
        reg = &lt;0xf100 0x20&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>
