tests: drivers: spi: spi_loopback: Added intel_adl_crb overlay

Added overlay and conf to enable SPI tests on intel_adl_crb board.

Signed-off-by: Bindu S <bindu.s@intel.com>
This commit is contained in:
Bindu S 2023-08-23 09:17:53 +05:30 committed by Carles Cufí
parent cb6aef4329
commit 8350fc2c63
3 changed files with 25 additions and 0 deletions

View file

@ -11,6 +11,7 @@ supported:
- gpio
- rtc
- i2c
- spi
testing:
timeout_multiplier: 4
ignore_tags:

View file

@ -0,0 +1,4 @@
CONFIG_SPI=y
CONFIG_SPI_ASYNC=n
CONFIG_GPIO=y
CONFIG_SPI_LOOPBACK_MODE_LOOP=y

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2023 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/* External Loopback: Short MOSI & MISO */
&spi0 {
slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <500000>;
};
fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <16000000>;
};
};