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:
parent
cb6aef4329
commit
8350fc2c63
|
@ -11,6 +11,7 @@ supported:
|
|||
- gpio
|
||||
- rtc
|
||||
- i2c
|
||||
- spi
|
||||
testing:
|
||||
timeout_multiplier: 4
|
||||
ignore_tags:
|
||||
|
|
4
tests/drivers/spi/spi_loopback/boards/intel_adl_crb.conf
Normal file
4
tests/drivers/spi/spi_loopback/boards/intel_adl_crb.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
CONFIG_SPI=y
|
||||
CONFIG_SPI_ASYNC=n
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
|
20
tests/drivers/spi/spi_loopback/boards/intel_adl_crb.overlay
Normal file
20
tests/drivers/spi/spi_loopback/boards/intel_adl_crb.overlay
Normal 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>;
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue