tests: drivers: spi: spi_loopback: Add board's overlay

Add child node in spi node for testcase parsing compatible

Signed-off-by: Kevin Wang <yunkai@andestech.com>
This commit is contained in:
Kevin Wang 2022-08-30 10:38:26 +08:00 committed by Carles Cufí
commit 82785ca48f

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2022 Andes Technology Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi1 {
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>;
};
};