# PWM Nexus node properties

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

> Device-tree binding reference for PWM Nexus node properties.

<!-- 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;pwm&#47;pwm&#45;nexus&#45;node&#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">Platforms can have a standardized connector/expansion slot that exposes PWMs signals to expansion boards.
A nexus node allows to remap a phandle list in a consumer node through a connector node in a generic way. With this remapping, the consumer node needs to know only about the nexus node. Resources behind the nexus node are decoupled by the nexus node itself.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Herve Codina &#60;herve&#46;codina&#64;bootlin&#46;com&#62;&#34;</code></span>

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

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

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

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

### <code>pwm&#45;map</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0bb6f376c9ee02bb2c4e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

<a id="dt-5713de371b15723c30dc"></a>

### <code>pwm&#45;map&#45;mask</code> — not listed as required here

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

<a id="dt-55bd2a6df1a98869ee27"></a>

### <code>pwm&#45;map&#45;pass&#45;thru</code> — not listed as required here

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

**Requirements triggered by another property (<code>dependentRequired</code>):** <a id="dt-e3a4857bf233f030e290"></a> { <code>pwm&#45;map</code>: <a id="dt-1ca9bf427a0e06a5579f"></a> <span id="dt-1e10aaae3dacdd82ddf5"><code>&#34;&#35;pwm&#45;cells&#34;</code></span>, <code>pwm&#45;map&#45;mask</code>: <a id="dt-59e3a3de9a4615bae529"></a> <span id="dt-cf0a08d2307597ba36e7"><code>&#34;pwm&#45;map&#34;</code></span>, <code>pwm&#45;map&#45;pass&#45;thru</code>: <a id="dt-f9340f3535593907bf4d"></a> <span id="dt-971ee19cf700e120127e"><code>&#34;pwm&#45;map&#34;</code></span> }

<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">pwm1: pwm@100 {
    reg = &lt;0x100 0x10&gt;;
    #pwm-cells = &lt;3&gt;;
};

pwm2: pwm@200 {
    reg = &lt;0x200 0x10&gt;;
    #pwm-cells = &lt;3&gt;;
};

connector: connector {
    #pwm-cells = &lt;3&gt;;
    pwm-map = &lt;0 0 0 &amp;pwm1 1 0 0&gt;,
              &lt;1 0 0 &amp;pwm2 4 0 0&gt;,
              &lt;2 0 0 &amp;pwm1 3 0 0&gt;;
    pwm-map-mask = &lt;0xffffffff 0x0 0x0&gt;;
    pwm-map-pass-thru = &lt;0x0 0xffffffff 0xffffffff&gt;;
};

device {
    pwms = &lt;&amp;connector 1 57000 0&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>
