2019-06-24 14:59:41 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 STMicroelectronics
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2024-06-23 18:10:36 +08:00
|
|
|
/ {
|
2024-06-01 15:46:50 +08:00
|
|
|
chosen {
|
|
|
|
zephyr,bt-hci = &spbtle_rf_x_nucleo_idb05a1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-24 14:59:41 +08:00
|
|
|
&arduino_spi {
|
2024-01-06 01:19:20 +08:00
|
|
|
cs-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; /* A1 */
|
2019-06-24 14:59:41 +08:00
|
|
|
|
2022-10-03 19:55:28 +08:00
|
|
|
spbtle_rf_x_nucleo_idb05a1: spbtle-rf@0 {
|
2024-01-06 01:19:20 +08:00
|
|
|
compatible = "st,hci-spi-v1";
|
2019-06-24 14:59:41 +08:00
|
|
|
reg = <0>;
|
2024-01-06 01:19:20 +08:00
|
|
|
reset-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
|
2019-12-19 00:45:21 +08:00
|
|
|
irq-gpios = <&arduino_header 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* A0 */
|
2024-01-06 01:19:20 +08:00
|
|
|
spi-max-frequency = <DT_FREQ_M(2)>;
|
2023-10-27 20:03:58 +08:00
|
|
|
spi-hold-cs;
|
2019-06-24 14:59:41 +08:00
|
|
|
};
|
|
|
|
};
|