# NXP Bluetooth chips

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

> Device-tree binding reference for NXP Bluetooth chips.

<!-- SPDX-License-Identifier: (GPL-2.0 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;nxp&#44;88w8987&#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">This binding describes UART-attached NXP bluetooth chips. These chips are dual-radio chips supporting WiFi and Bluetooth. The bluetooth works on standard H4 protocol over 4-wire UART. The RTS and CTS lines are used during FW download. To enable power save mode, the host asserts break signal over UART-TX line to put the chip into power save state. De-asserting break wakes up the BT chip.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Neeraj Sanjay Kale &#60;neeraj&#46;sanjaykale&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>bluetooth&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/bluetooth/bluetooth-controller.md#dt-root>)</span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nxp&#44;88w8987&#45;bt&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;88w8997&#45;bt&#34;</code></span>

<a id="dt-1627535a811931231361"></a>

### <code>fw&#45;init&#45;baudrate</code> — not listed as required here

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

**Default value (<code>default</code>):** <span id="dt-175a7763733c60891616"><code>115200</code></span>

<div id="dt-770babf7e3e258016e06">
<p style="white-space: pre-wrap">Chip baudrate after FW is downloaded and initialized. This property depends on the module vendor's configuration.</p>
</div>

<a id="dt-7773c1aabffc7772c5a0"></a>

### <code>max&#45;speed</code> — not listed as required here

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

**Allowed values (<code>enum</code>):** <a id="dt-a9e113afd3cf874daae5"></a> <span id="dt-084a200a603a22536d28"><code>3000000</code></span>, <span id="dt-44c9debb397835574142"><code>4000000</code></span>

**Default value (<code>default</code>):** <span id="dt-81d2cbb1b82b0854f741"><code>3000000</code></span>

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

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

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

<a id="dt-6dbbf0b69f05c8a851b5"></a>

### <code>device&#45;wakeup&#45;gpios</code> — not listed as required here

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

<div id="dt-8c2464fbcda0cdd53d3f">
<p style="white-space: pre-wrap">Host-To-Chip power save mechanism is driven by this GPIO connected to BT_WAKE_IN pin of the NXP chipset.</p>
</div>

<a id="dt-50a3ed7aa3dd5bf00d6e"></a>

### <code>nxp&#44;wakein&#45;pin</code> — not listed as required here

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

<div id="dt-9c27a69e82b948c166ff">
<p style="white-space: pre-wrap">The GPIO number of the NXP chipset used for BT_WAKE_IN.</p>
</div>

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

### <code>interrupts</code> — not listed as required here

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Host wakeup by falling edge interrupt on this pin which is connected to BT_WAKE_OUT pin of the NXP chipset.</p>
</div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

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

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;wakeup&#34;</code></span>

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

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

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

### <code>nxp&#44;wakeout&#45;pin</code> — not listed as required here

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

<div id="dt-6ea4cd7fc4417ca754b3">
<p style="white-space: pre-wrap">The GPIO number of the NXP chipset used for BT_WAKE_OUT.</p>
</div>

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

### <code>vcc&#45;supply</code> — not listed as required here

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">phandle of the regulator that provides the supply voltage.</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Chip powerdown/reset signal (PDn).</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
serial {
    bluetooth {
        compatible = "nxp,88w8987-bt";
        fw-init-baudrate = &lt;3000000&gt;;
        max-speed = &lt;4000000&gt;;
        firmware-name = "uartuart8987_bt_v0.bin";
        device-wakeup-gpios = &lt;&amp;gpio 11 GPIO_ACTIVE_HIGH&gt;;
        nxp,wakein-pin = /bits/ 8 &lt;18&gt;;
        nxp,wakeout-pin = /bits/ 8 &lt;19&gt;;
        vcc-supply = &lt;&amp;nxp_iw612_supply&gt;;
        reset-gpios = &lt;&amp;gpioctrl 2 GPIO_ACTIVE_LOW&gt;;
        local-bd-address = [66 55 44 33 22 11];
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;8 IRQ_TYPE_EDGE_FALLING&gt;;
        interrupt-names = "wakeup";
        wakeup-source;
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>
