# Amlogic Meson AO ARC Remote Processor

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

> Device-tree binding reference for Amlogic Meson AO ARC Remote Processor.

<!-- 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;remoteproc&#47;amlogic&#44;meson&#45;mx&#45;ao&#45;arc&#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">Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core controller for always-on operations, typically used for managing system suspend. Meson6 and older use a ARC core based on the ARCv1 ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) core.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Martin Blumenstingl &#60;martin&#46;blumenstingl&#64;googlemail&#46;com&#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;amlogic&#44;meson8&#45;ao&#45;arc&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;amlogic&#44;meson8b&#45;ao&#45;arc&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;amlogic&#44;meson&#45;mx&#45;ao&#45;arc&#34;</code></span>

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

### <code>firmware&#45;name</code> — not listed as required here

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

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">The name of the firmware which should be loaded for this remote processor.</p>
</div>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Address ranges of the remap and CPU control addresses for the remote processor.</p>
</div>

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

<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;remap&#34;</code></span>

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

**Item 2**

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</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-fc60d26da6bd75f25b87"></a>

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

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

<div id="dt-2c3b3b5f18fd1a8ae5b1">
<p style="white-space: pre-wrap">phandles to a reserved SRAM region which is used as the memory of the ARC core. The region should be defined as child nodes of the AHB SRAM node as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml</p>
</div>

<a id="dt-68ca1e5e5b823c0f3835"></a>

### <code>amlogic&#44;secbus2</code> — required here

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

<div id="dt-c6ab2759ee1ecdb3ed46">
<p style="white-space: pre-wrap">A phandle to the SECBUS2 region which contains some configuration bits of this remote processor</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;sram&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;amlogic&#44;secbus2&#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">remoteproc@1c {
  compatible = "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc";
  reg = &lt;0x1c 0x8&gt;, &lt;0x38 0x8&gt;;
  reg-names = "remap", "cpu";
  resets = &lt;&amp;media_cpu_reset&gt;;
  clocks = &lt;&amp;media_cpu_clock&gt;;
  sram = &lt;&amp;ahb_sram_ao_arc&gt;;
  amlogic,secbus2 = &lt;&amp;secbus2&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>
