Skip to content

Commit 0489972

Browse files
tests: drivers: spi: Add support spi test for ek_ra4c1
Add support test app spi_loopback for ek_ra4c1 board Signed-off-by: Khoa Nguyen <[email protected]>
1 parent ebae262 commit 0489972

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-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_INTERRUPT=y
6+
CONFIG_SPI_RA_DTC=y
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&spi0 {
7+
rx-dtc;
8+
tx-dtc;
9+
10+
slow@0 {
11+
compatible = "test-spi-loopback-slow";
12+
reg = <0>;
13+
spi-max-frequency = <2000000>;
14+
};
15+
16+
fast@0 {
17+
compatible = "test-spi-loopback-fast";
18+
reg = <0>;
19+
spi-max-frequency = <3000000>;
20+
};
21+
};

0 commit comments

Comments
 (0)