This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

zephyr,bt-hci-spi-slave (on spi bus)

Vendor: Zephyr-specific binding

Description

Configures SPI slave settings for a Bluetooth controller that uses
Zephyr's Bluetooth Host Controller Interface SPI (HCI SPI) driver.

A node defined via devicetree overlay should look like this:

   &myspi {
        bt-hci@0 {
                compatible = "zephyr,bt-hci-spi-slave";
                reg = <0>;
                irq-gpios = <&gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
        };
   };

The bt-hci@0 node configures an HCI SPI slave on SPI slave
interface myspi.

The host interrupt GPIO is set to gpio1 pin 2 via irq-gpios. The
GPIO flags are just for example and may be different depending on
hardware.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

irq-gpios

phandle-array

This property is required.