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 16 GPIO_ACTIVE_LOW>;	      /* D10 */
15
16	hci_spi: wb05n@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-cpol; /* CPOL=1 */
22		spi-cpha; /* CPHA=1 */
23		spi-hold-cs;
24		spi-max-frequency = <DT_FREQ_M(8)>; /* the maximum supported SPI speed */
25		reset-assert-duration-ms = <6>;
26		status = "okay";
27	};
28};
29