Files
zephyr/samples/bluetooth/hci_spi/boards/nrf51dk_nrf51822.overlay
Torsten Rasmussen 2908af0bcc boards: nrf51dk/dongle: change SoC to nRF51822
The physical nRF51dk / nRF51dongle hardware contains a nRF51422 SoC.
In Zephyr, only the nRF51822 SoC, is implemented.

In Zephyr, the nRF51422 SoC is build as a nRF51822, therefore use the
nRF51822 SoC model for those kits instead on the non-existing nRF51422.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:06 +01:00

32 lines
615 B
Plaintext

/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* 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";
def-char = <0x00>;
pinctrl-0 = <&spi1_default_alt>;
/delete-property/ pinctrl-1;
pinctrl-names = "default";
bt-hci@0 {
compatible = "zephyr,bt-hci-spi-slave";
reg = <0>;
irq-gpios = <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
};
};