tests: spi_loopback: Add esp32s3

Add esp32s3 to spi_loopback test

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
This commit is contained in:
Lucas Tamborrino 2023-02-27 16:31:22 -03:00 committed by Carles Cufí
commit 9015f23b75
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_SPI_ESP32_INTERRUPT=y

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2022 Kumar Gala <galak@kernel.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi3 {
slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <100000>;
};
fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <16000000>;
};
};
&spi3 {
dma-enabled;
};