# Access controllers bindings

---

# Generic Domain Access Controllers

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

> Device-tree binding reference for Generic Domain Access Controllers.

<!-- 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;access&#45;controllers&#47;access&#45;controllers&#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;Oleksii Moisieiev &#60;oleksii&#95;moisieiev&#64;epam&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Common access controllers properties</p>
<p style="white-space: pre-wrap">Access controllers are in charge of stating which of the hardware blocks under
their responsibility (their domain) can be accesssed by which compartment. A
compartment can be a cluster of CPUs (or coprocessors), a range of addresses
or a group of hardware blocks. An access controller's domain is the set of
resources covered by the access controller.</p>
<p style="white-space: pre-wrap">This device tree binding can be used to bind devices to their access
controller provided by access-controllers property. In this case, the device
is a consumer and the access controller is the provider.</p>
<p style="white-space: pre-wrap">An access controller can be represented by any node in the device tree and
can provide one or more configuration parameters, needed to control parameters
of the consumer device. A consumer node can refer to the provider by phandle
and a set of phandle arguments, specified by '#access-controller-cells'
property in the access controller node.</p>
<p style="white-space: pre-wrap">Access controllers are typically used to set/read the permissions of a
hardware block and grant access to it. Any of which depends on the access
controller. The capabilities of each access controller are defined by the
binding of the access controller device.</p>
<p style="white-space: pre-wrap">Each node can be a consumer for the several access controllers.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>true</code>

This selection rule always matches.

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

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

<a id="dt-8713e0ce692c42779210"></a>

### <code>&#35;access&#45;controller&#45;cells</code> — not listed as required here

<div id="dt-2c6f4ee92deebfe177e5">
<p style="white-space: pre-wrap">Number of cells in an access-controllers specifier; Can be any value as specified by device tree binding documentation of a particular provider. The node is an access controller.</p>
</div>

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

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

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

<div id="dt-c2a5175a53fa5acef204">
<p style="white-space: pre-wrap">A list of access-controllers names, sorted in the same order as access-controllers entries. Consumer drivers will use access-controller-names to match with existing access-controllers entries.</p>
</div>

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

### <code>access&#45;controllers</code> — not listed as required here

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

<div id="dt-af43a6a18d65ff0b71ec">
<p style="white-space: pre-wrap">A list of access controller specifiers, as defined by the bindings of the access-controllers provider.</p>
</div>

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

Allowed by this rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">clock_controller: access-controllers@50000 {
    reg = &lt;0x50000 0x400&gt;;
    #access-controller-cells = &lt;2&gt;;
};

bus_controller: bus@60000 {
    reg = &lt;0x60000 0x10000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges;
    #access-controller-cells = &lt;3&gt;;

    uart4: serial@60100 {
        reg = &lt;0x60100 0x400&gt;;
        clocks = &lt;&amp;clk_serial&gt;;
        access-controllers = &lt;&amp;clock_controller 1 2&gt;,
                             &lt;&amp;bus_controller 1 3 5&gt;;
        access-controller-names = "clock", "bus";
    };
};
</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>

<p id="dt-comment-1"><strong>Line 38:</strong> <span> always select the core schema</span></p>

</details>
