Skip to content

Commit 0ac7f64

Browse files
pefechcarlescufi
authored andcommitted
tests: drivers: spi_loopback: Add phyboard_polis
Adds the devicetree overlay and configuration for phyboard polis to the spi_loopback test. Signed-off-by: Peter Fecher <[email protected]>
1 parent c2d38a7 commit 0ac7f64

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-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 PHYTEC Messtechnik GmbH
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2024 PHYTEC Messtechnik GmbH
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&ecspi1 {
8+
status = "okay";
9+
10+
slow@0 {
11+
compatible = "test-spi-loopback-slow";
12+
reg = <0>;
13+
spi-max-frequency = <500000>;
14+
};
15+
fast@0 {
16+
compatible = "test-spi-loopback-fast";
17+
reg = <0>;
18+
spi-max-frequency = <16000000>;
19+
};
20+
};
21+
22+
&gpio2 {
23+
status = "okay";
24+
};
25+
26+
&gpio5 {
27+
status = "okay";
28+
};

0 commit comments

Comments
 (0)