Skip to content

Commit 5200622

Browse files
mertekrennashif
authored andcommitted
tests: drivers: spi: Add MAX32675EVKIT overlay file
Enable SPI test for MAX32675EVKIT. Signed-off-by: Mert Ekren <[email protected]>
1 parent 1cffd2b commit 5200622

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Copyright (c) 2024 Analog Devices, Inc.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
CONFIG_SPI_ASYNC=y
7+
CONFIG_SPI_MAX32_INTERRUPT=y
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&spi1 {
8+
status = "okay";
9+
pinctrl-0 = <&spi1a_mosi_p0_15 &spi1a_miso_p0_14 &spi1a_sck_p0_16 &spi1a_ss0_p0_17>;
10+
pinctrl-names = "default";
11+
12+
slow@0 {
13+
compatible = "test-spi-loopback-slow";
14+
reg = <0>;
15+
spi-max-frequency = <128000>;
16+
};
17+
fast@0 {
18+
compatible = "test-spi-loopback-fast";
19+
reg = <0>;
20+
spi-max-frequency = <500000>;
21+
};
22+
};

0 commit comments

Comments
 (0)