# Amlogic Bluetooth chips

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Network bindings / bluetooth_

> Device-tree binding reference for Amlogic Bluetooth chips.

<!-- 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;net&#47;bluetooth&#47;amlogic&#44;w155s2&#45;bt&#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">The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on the standard H4 protocol via a 4-wire UART interface, with baud rates up to 4 Mbps.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Yang Li &#60;yang&#46;li&#64;amlogic&#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-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;amlogic&#44;w265s1&#45;bt&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;amlogic&#44;w265p1&#45;bt&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;amlogic&#44;w155s2&#45;bt&#34;</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;amlogic&#44;w155s2&#45;bt&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;amlogic&#44;w265s2&#45;bt&#34;</code></span>

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

### <code>clocks</code> — 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">clock provided to the controller (32.768KHz)</p>
</div>

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

### <code>enable&#45;gpios</code> — required here

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

<a id="dt-78ea9f736d3e6cab7ae5"></a>

### <code>vddio&#45;supply</code> — required here

<div id="dt-ba263ef99f73e8ce56fb">
<p style="white-space: pre-wrap">VDD_IO supply regulator handle</p>
</div>

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

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

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

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">specify the path of firmware bin to load</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;clocks&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;enable&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vddio&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;firmware&#45;name&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
bluetooth {
    compatible = "amlogic,w155s2-bt";
    clocks = &lt;&amp;extclk&gt;;
    enable-gpios = &lt;&amp;gpio 17 GPIO_ACTIVE_HIGH&gt;;
    vddio-supply = &lt;&amp;wcn_3v3&gt;;
    firmware-name = "amlogic/aml_w155s2_bt_uart.bin";
};
</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 2:</strong> <span> Copyright (C) 2024 Amlogic, Inc. All rights reserved</span></p>

</details>
