Skip to content

Commit 5952603

Browse files
ozersanashif
authored andcommitted
tests: drivers: spi: spi_loopback: Add MAX32666FTHR
Enable SPI test for MAX32666FTHR board Signed-off-by: Sadik Ozer <[email protected]>
1 parent 86d69ad commit 5952603

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) 2023-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) 2023-2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&spi1 {
8+
status = "okay";
9+
pinctrl-0 = <&spi1_mosi_p0_17 &spi1_miso_p0_18 &spi1_sck_p0_19 &spi1_ss0_p0_16>;
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)