diff --git a/samples/bluetooth/hci_spi/boards/nrf51_pca10028.conf b/samples/bluetooth/hci_spi/boards/nrf51_pca10028.conf new file mode 100644 index 00000000000..047baffeecb --- /dev/null +++ b/samples/bluetooth/hci_spi/boards/nrf51_pca10028.conf @@ -0,0 +1 @@ +CONFIG_SPI_1_NRF_SPIS=y diff --git a/samples/bluetooth/hci_spi/nrf51_pca10028.overlay b/samples/bluetooth/hci_spi/nrf51_pca10028.overlay new file mode 100644 index 00000000000..1517abad579 --- /dev/null +++ b/samples/bluetooth/hci_spi/nrf51_pca10028.overlay @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2020 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&spi1 { + compatible = "nordic,nrf-spis"; + status = "okay"; + sck-pin = <6>; + mosi-pin = <5>; + miso-pin = <4>; + csn-pin = <3>; + def-char = <0x00>; + + bt-hci@0 { + compatible = "zephyr,bt-hci-spi-slave"; + reg = <0>; + irq-gpios = <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; + }; +};