Skip to content

Commit f35bda7

Browse files
khoatranyjkartben
authored andcommitted
tests: drivers: spi: Add support for spi_loopback on mck_ra8t2
Add support for test app "spi_loopback" on Renesas mck_ra8t2 Signed-off-by: Khoa Tran <[email protected]>
1 parent f07002c commit f35bda7

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_B_INTERRUPT=y
6+
CONFIG_SPI_B_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)