samples: bluetooth: hci_spi: use pinctrl for nrf board overlay

nRF boards now require usage of pinctrl, migrate them.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-03-17 13:45:50 +01:00 committed by Carles Cufí
commit e3dd5c784d

View file

@ -4,14 +4,24 @@
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
spi1_default_alt: spi1_default_alt {
group1 {
psels = <NRF_PSEL(SPIS_SCK, 0, 6)>,
<NRF_PSEL(SPIS_MOSI, 0, 5)>,
<NRF_PSEL(SPIS_MISO, 0, 4)>,
<NRF_PSEL(SPIS_CSN, 0, 3)>;
};
};
};
&spi1 {
compatible = "nordic,nrf-spis";
status = "okay";
sck-pin = <6>;
mosi-pin = <5>;
miso-pin = <4>;
csn-pin = <3>;
def-char = <0x00>;
pinctrl-0 = <&spi1_default_alt>;
/delete-property/ pinctrl-1;
pinctrl-names = "default";
bt-hci@0 {
compatible = "zephyr,bt-hci-spi-slave";