tests: drivers: spi: Support test spi_loopback for RA6, RA4, RA2
Add overlay and add config to support test spi_loopback for: ek_ra6m1, ek_ra6m2, ek_ra6m3, ek_ra6m4, ek_ra6m5, ek_ra6e2, fpb_ra6e1, fpb_ra6e2, ek_ra4w1, ek_ra4m2, ek_ra4m3, ek_ra4e2, ek_ra2a1. Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com> Signed-off-by: Thao Luong <thao.luong.uw@renesas.com> Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
parent
c8077e3552
commit
8d7ae89c23
26 changed files with 325 additions and 0 deletions
6
tests/drivers/spi/spi_loopback/boards/ek_ra2a1.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra2a1.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra2a1.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra2a1.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi1 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra4e2.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra4e2.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra4e2.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra4e2.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra4m2.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra4m2.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra4m2.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra4m2.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra4m3.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra4m3.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra4m3.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra4m3.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra4w1.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra4w1.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra4w1.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra4w1.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi1 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6e2.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6e2.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6e2.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6e2.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m1.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m1.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m1.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m1.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m2.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m2.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m2.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m2.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m3.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m3.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m3.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m3.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m4.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m4.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m4.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m4.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m5.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/ek_ra6m5.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m5.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/ek_ra6m5.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/fpb_ra6e1.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/fpb_ra6e1.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/fpb_ra6e1.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/fpb_ra6e1.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi1 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
6
tests/drivers/spi/spi_loopback/boards/fpb_ra6e2.conf
Normal file
6
tests/drivers/spi/spi_loopback/boards/fpb_ra6e2.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
||||
CONFIG_SPI_INTERRUPT=y
|
||||
CONFIG_SPI_RA_DTC=y
|
19
tests/drivers/spi/spi_loopback/boards/fpb_ra6e2.overlay
Normal file
19
tests/drivers/spi/spi_loopback/boards/fpb_ra6e2.overlay
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&spi0 {
|
||||
rx-dtc;
|
||||
tx-dtc;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <2000000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <3000000>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue