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:
parent
93025635b3
commit
82785ca48f
1 changed files with 18 additions and 0 deletions
18
tests/drivers/spi/spi_loopback/boards/adp_xc7k_ae350.overlay
Normal file
18
tests/drivers/spi/spi_loopback/boards/adp_xc7k_ae350.overlay
Normal 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>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue