tests: drivers: spi: Add MAX32675EVKIT overlay file

Enable SPI test for MAX32675EVKIT.

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
This commit is contained in:
Mert Ekren 2024-01-28 17:31:28 +03:00 committed by Anas Nashif
commit 52006222c4
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#
# Copyright (c) 2024 Analog Devices, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SPI_ASYNC=y
CONFIG_SPI_MAX32_INTERRUPT=y

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi1 {
status = "okay";
pinctrl-0 = <&spi1a_mosi_p0_15 &spi1a_miso_p0_14 &spi1a_sck_p0_16 &spi1a_ss0_p0_17>;
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>;
};
};