-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: audio: pdm_loopback: add support for nRF54l20
Added support for testing on nRF54l20pdk. Signed-off-by: Michał Stasiak <[email protected]>
- Loading branch information
1 parent
42f77d4
commit 7b49c65
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
tests/drivers/audio/pdm_loopback/boards/nrf54l20pdk_nrf54l20_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,38 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
gpio_test { | ||
compatible = "gpio-leds"; | ||
pulse_counter: pulse_counter { | ||
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
}; | ||
|
||
&pinctrl { | ||
pdm20_default_alt: pdm20_default_alt { | ||
group1 { | ||
psels = <NRF_PSEL(PDM_CLK, 1, 10)>, | ||
<NRF_PSEL(PDM_DIN, 1, 12)>; | ||
}; | ||
}; | ||
}; | ||
|
||
pdm_dev: &pdm20 { | ||
status = "okay"; | ||
pinctrl-0 = <&pdm20_default_alt>; | ||
pinctrl-names = "default"; | ||
clock-source = "PCLK32M"; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; | ||
|
||
&timer00 { | ||
status = "okay"; | ||
}; |
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