# Atmel at91sam9g20ek wm8731 audio complex

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

> Device-tree binding reference for Atmel at91sam9g20ek wm8731 audio complex.

<!-- 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;sound&#47;atmel&#44;at91sam9g20ek&#45;wm8731&#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;Balakrishnan Sambath &#60;balakrishnan&#46;s&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;at91sam9g20ek&#45;wm8731&#45;audio&#34;</code></span>

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

### <code>atmel&#44;model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2b96320d17ca64eeb3f">[<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-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

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

### <code>atmel&#44;audio&#45;routing</code> — required here

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

<div id="dt-2088ab9b9ce06782c91b">
<p style="white-space: pre-wrap">A list of the connections between audio components.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-924d6e420f1a8fea2f6b"><code>4</code></span>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-6acb303e8c957b611042"></a> <span id="dt-6878975e77392c5923ce"><code>&#34;Ext Spk&#34;</code></span>, <span id="dt-7fb7c9a1fb7de399e63f"><code>&#34;Int Mic&#34;</code></span>, <span id="dt-f4a0f2604fd89b73c2e8"><code>&#34;LOUT&#34;</code></span>, <span id="dt-544e96a78e27fb62fd34"><code>&#34;ROUT&#34;</code></span>, <span id="dt-acd048f5177210394e5a"><code>&#34;LHPOUT&#34;</code></span>, <span id="dt-0e1e1665141035d200e2"><code>&#34;RHPOUT&#34;</code></span>, <span id="dt-5f45f3cd4b340f8bed7e"><code>&#34;LLINEIN&#34;</code></span>, <span id="dt-aa5a7e90ca31a99c4837"><code>&#34;RLINEIN&#34;</code></span>, <span id="dt-3cf75b03dc94ced3d7c0"><code>&#34;MICIN&#34;</code></span>

<a id="dt-17acba1af86d88d6de8a"></a>

### <code>atmel&#44;ssc&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf20062a9e98aae6a48c">[<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-2a47413970e26497f7c2">
<p style="white-space: pre-wrap">The phandle of the SSC controller.</p>
</div>

<a id="dt-170962ecbfbea0fe083e"></a>

### <code>atmel&#44;audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-75ccf31bfb674823275c">[<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-5c7f746444aa02f2401f">
<p style="white-space: pre-wrap">The phandle of WM8731 audio codec.</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;atmel&#44;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;atmel&#44;audio&#45;routing&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;atmel&#44;ssc&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;atmel&#44;audio&#45;codec&#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">sound {
    compatible = "atmel,at91sam9g20ek-wm8731-audio";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_pck0_as_mck&gt;;
    atmel,model = "wm8731 @ AT91SAMG20EK";
    atmel,audio-routing =
        "Ext Spk", "LHPOUT",
        "Int Mic", "MICIN";
    atmel,ssc-controller = &lt;&amp;ssc0&gt;;
    atmel,audio-codec = &lt;&amp;wm8731&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>

<p id="dt-comment-1"><strong>Line 30:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 34:</strong> <span> CODEC Pins</span></p>

</details>
