Skip to content

Commit 4789325

Browse files
mstasiaknordicrlubos
authored andcommitted
[nrf fromtree] tests: drivers: spi: Add support for nRF54L09 PDK
Added support for nRF54L09 PDK in SPIM twister tests. Signed-off-by: Michał Stasiak <[email protected]> (cherry picked from commit ccd2fd6)
1 parent cb4ee54 commit 4789325

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pinctrl {
8+
spi21_default: spi21_default {
9+
group1 {
10+
psels = <NRF_PSEL(SPIM_SCK, 1, 6)>,
11+
<NRF_PSEL(SPIM_MISO, 1, 9)>,
12+
<NRF_PSEL(SPIM_MOSI, 1, 8)>;
13+
};
14+
};
15+
16+
spi21_sleep: spi21_sleep {
17+
group1 {
18+
psels = <NRF_PSEL(SPIM_SCK, 1, 6)>,
19+
<NRF_PSEL(SPIM_MISO, 1, 9)>,
20+
<NRF_PSEL(SPIM_MOSI, 1, 8)>;
21+
low-power-enable;
22+
};
23+
};
24+
};
25+
26+
&spi21 {
27+
status = "okay";
28+
pinctrl-0 = <&spi21_default>;
29+
pinctrl-1 = <&spi21_sleep>;
30+
pinctrl-names = "default", "sleep";
31+
overrun-character = <0x00>;
32+
zephyr,pm-device-runtime-auto;
33+
slow@0 {
34+
compatible = "test-spi-loopback-slow";
35+
reg = <0>;
36+
spi-max-frequency = <DT_FREQ_M(2)>;
37+
};
38+
fast@0 {
39+
compatible = "test-spi-loopback-fast";
40+
reg = <0>;
41+
spi-max-frequency = <DT_FREQ_M(4)>;
42+
};
43+
};
44+
45+
&gpio1 {
46+
status = "okay";
47+
};

0 commit comments

Comments
 (0)