Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/*
* Test requires loopback between P0.06 and P0.07.
* No other driver on SPI_CLK and SPI_CS.
*/

/ {
spibb0: spibb0 {
compatible = "zephyr,spi-bitbang";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
clk-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
mosi-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
miso-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
cs-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
};

&gpio0 {
status = "okay";
};

&gpiote130 {
status = "okay";
owned-channels = <7>;
};
1 change: 1 addition & 0 deletions samples/drivers/spi_bitbang/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tests:
platform_allow:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpuppr
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
Expand Down