NXP Bluetooth chips

Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/nxp,88w8987-bt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

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.

Maintainers (maintainers): "Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): bluetooth-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,88w8987-bt", "nxp,88w8997-bt"

fw-init-baudrate — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 115200

Chip baudrate after FW is downloaded and initialized. This property depends on the module vendor's configuration.

max-speed — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 3000000, 4000000

Default value (default): 3000000

firmware-name — not listed as required here #

Maximum number of items (maxItems): 1

device-wakeup-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Host-To-Chip power save mechanism is driven by this GPIO connected to BT_WAKE_IN pin of the NXP chipset.

nxp,wakein-pin — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8

The GPIO number of the NXP chipset used for BT_WAKE_IN.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Host wakeup by falling edge interrupt on this pin which is connected to BT_WAKE_OUT pin of the NXP chipset.

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "wakeup"

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

nxp,wakeout-pin — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8

The GPIO number of the NXP chipset used for BT_WAKE_OUT.

vcc-supply — not listed as required here #

phandle of the regulator that provides the supply voltage.

reset-gpios — not listed as required here #

Chip powerdown/reset signal (PDn).

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
serial {
    bluetooth {
        compatible = "nxp,88w8987-bt";
        fw-init-baudrate = <3000000>;
        max-speed = <4000000>;
        firmware-name = "uartuart8987_bt_v0.bin";
        device-wakeup-gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
        nxp,wakein-pin = /bits/ 8 <18>;
        nxp,wakeout-pin = /bits/ 8 <19>;
        vcc-supply = <&nxp_iw612_supply>;
        reset-gpios = <&gpioctrl 2 GPIO_ACTIVE_LOW>;
        local-bd-address = [66 55 44 33 22 11];
        interrupt-parent = <&gpio>;
        interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
        interrupt-names = "wakeup";
        wakeup-source;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page