Skip to content
Open
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
2 changes: 2 additions & 0 deletions tests/drivers/spi/spi_loopback/boards/xg23_rb4210a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_DMA_MAX_DESCRIPTOR=16
CONFIG_SPI_SILABS_EUSART_DMA_MAX_BLOCKS=10
35 changes: 35 additions & 0 deletions tests/drivers/spi/spi_loopback/boards/xg23_rb4210a.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright (c) 2025 Silicon Laboratories Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr/dt-bindings/pinctrl/silabs/xg23-pinctrl.h>

&eusart1 {
dmas = <&dma0 DMA_REQSEL_EUSART1TXFL>,
<&dma0 DMA_REQSEL_EUSART1RXFL>;
dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&eusart1_default>;
pinctrl-names = "default";
status = "okay";
cs-gpios = <&gpioc 0 GPIO_ACTIVE_LOW>;

slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <500000>;
};

fast@1 {
compatible = "test-spi-loopback-fast";
reg = <1>;
spi-max-frequency = <10000000>;
};
};

&dma0 {
status = "okay";
};
2 changes: 2 additions & 0 deletions tests/drivers/spi/spi_loopback/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ tests:
drivers.spi.silabs_s2.loopback.no_async:
filter: CONFIG_SOC_FAMILY_SILABS_S2
platform_allow:
- xg23_rb4210a
- xg24_rb4187c
- xg29_rb4412a
- bg29_rb4420a
Expand All @@ -350,6 +351,7 @@ tests:
drivers.spi.silabs_s2.loopback.dma.no_async:
filter: CONFIG_SOC_FAMILY_SILABS_S2
platform_allow:
- xg23_rb4210a
- xg24_rb4187c
- xg29_rb4412a
- bg29_rb4420a
Expand Down
Loading