1# Copyright (c) 2019 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Configures SPI slave settings for a Bluetooth controller that uses 6 Zephyr's Bluetooth Host Controller Interface SPI (HCI SPI) driver. 7 8 A node defined via devicetree overlay should look like this: 9 10 &myspi { 11 bt-hci@0 { 12 compatible = "zephyr,bt-hci-spi-slave"; 13 reg = <0>; 14 irq-gpios = <&gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; 15 }; 16 }; 17 18 The bt-hci@0 node configures an HCI SPI slave on SPI slave 19 interface myspi. 20 21 The host interrupt GPIO is set to gpio1 pin 2 via irq-gpios. The 22 GPIO flags are just for example and may be different depending on 23 hardware. 24 25compatible: "zephyr,bt-hci-spi-slave" 26 27include: base.yaml 28 29on-bus: spi 30 31properties: 32 irq-gpios: 33 type: phandle-array 34 required: true 35