tests: drivers: spi: spi_loopback: Add MAX32690EVKIT
Enable SPI loopback test for MAX32690EVKIT board. Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit is contained in:
parent
e034ea5989
commit
2d4b8a413b
2 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
# Copyright (c) 2024 Analog Devices, Inc.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
CONFIG_SPI_ASYNC=y
|
||||||
|
CONFIG_SPI_MAX32_INTERRUPT=y
|
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Analog Devices, Inc.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&spi0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&spi0b_mosi_p2_28 &spi0b_miso_p2_27 &spi0b_sck_p2_29 &spi0b_ss1_p2_26>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
slow@0 {
|
||||||
|
compatible = "test-spi-loopback-slow";
|
||||||
|
reg = <0>;
|
||||||
|
spi-max-frequency = <128000>;
|
||||||
|
};
|
||||||
|
fast@0 {
|
||||||
|
compatible = "test-spi-loopback-fast";
|
||||||
|
reg = <0>;
|
||||||
|
spi-max-frequency = <500000>;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue