-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 ccd2fd6c4778290f5f2c677770f8c01d6ef1c57f)
- Loading branch information
1 parent
4a67cb9
commit 5ef53b6
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
tests/drivers/spi/spi_loopback/boards/nrf54l09pdk_nrf54l09_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
spi21_default: spi21_default { | ||
group1 { | ||
psels = <NRF_PSEL(SPIM_SCK, 1, 6)>, | ||
<NRF_PSEL(SPIM_MISO, 1, 9)>, | ||
<NRF_PSEL(SPIM_MOSI, 1, 8)>; | ||
}; | ||
}; | ||
|
||
spi21_sleep: spi21_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(SPIM_SCK, 1, 6)>, | ||
<NRF_PSEL(SPIM_MISO, 1, 9)>, | ||
<NRF_PSEL(SPIM_MOSI, 1, 8)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
&spi21 { | ||
status = "okay"; | ||
pinctrl-0 = <&spi21_default>; | ||
pinctrl-1 = <&spi21_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
overrun-character = <0x00>; | ||
zephyr,pm-device-runtime-auto; | ||
slow@0 { | ||
compatible = "test-spi-loopback-slow"; | ||
reg = <0>; | ||
spi-max-frequency = <DT_FREQ_M(2)>; | ||
}; | ||
fast@0 { | ||
compatible = "test-spi-loopback-fast"; | ||
reg = <0>; | ||
spi-max-frequency = <DT_FREQ_M(4)>; | ||
}; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; |