1/* 2 * Copyright (c) 2024 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,bt-hci = &hci_spi; 10 }; 11 }; 12 13&arduino_spi { 14 cs-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; /* A1 */ 15 16 hci_spi: bluenrg-2@0 { 17 compatible = "st,hci-spi-v2"; 18 reg = <0>; 19 reset-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */ 20 irq-gpios = <&arduino_header 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* A0 */ 21 spi-cpha; /* CPHA=1 */ 22 spi-hold-cs; 23 spi-max-frequency = <DT_FREQ_M(1)>; 24 reset-assert-duration-ms = <6>; 25 }; 26}; 27