Skip to content

Commit b0ff34a

Browse files
khoa-nguyen-18nordicjm
authored andcommitted
[nrf fromtree] tests: drivers: spi: Add support spi_loopback for ek_ra8p1
Add support test app spi_loopback for Renesas ek_ra8p1 Signed-off-by: Khoa Nguyen <[email protected]> (cherry picked from commit c6f237e)
1 parent b4e7ed9 commit b0ff34a

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
5+
CONFIG_SPI_B_INTERRUPT=y
6+
CONFIG_SPI_B_RA_DTC=y
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
#include <zephyr/dt-bindings/clock/ra_clock.h>
7+
8+
&spi1 {
9+
rx-dtc;
10+
tx-dtc;
11+
12+
slow@0 {
13+
compatible = "test-spi-loopback-slow";
14+
reg = <0>;
15+
spi-max-frequency = <2000000>;
16+
};
17+
18+
fast@0 {
19+
compatible = "test-spi-loopback-fast";
20+
reg = <0>;
21+
spi-max-frequency = <3000000>;
22+
};
23+
};

0 commit comments

Comments
 (0)