-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] tests: drivers: i2s: Align tests to TDM peripheral
nRF54H series has TDM peripheral instead of I2S. Upstream PR #: 82144 Signed-off-by: Adam Kondraciuk <[email protected]>
- Loading branch information
1 parent
7c71737
commit 7808b31
Showing
4 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
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
31 changes: 31 additions & 0 deletions
31
tests/drivers/i2s/i2s_api/boards/nrf54h20dk_nrf54h20_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,31 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* i2s-node0 is the transmitter/receiver */ | ||
|
||
/ { | ||
aliases { | ||
i2s-node0 = &tdm130; | ||
}; | ||
}; | ||
|
||
&pinctrl { | ||
tdm130_default_alt: tdm130_default_alt { | ||
group1 { | ||
psels = <NRF_PSEL(TDM_SCK_M, 1, 3)>, | ||
<NRF_PSEL(TDM_FSYNC_M, 1, 6)>, | ||
<NRF_PSEL(TDM_SDOUT, 1, 4)>, | ||
<NRF_PSEL(TDM_SDIN, 1, 5)>; | ||
}; | ||
}; | ||
}; | ||
|
||
&tdm130 { | ||
status = "okay"; | ||
pinctrl-0 = <&tdm130_default_alt>; | ||
pinctrl-names = "default"; | ||
memory-regions = <&cpuapp_dma_region>; | ||
}; |
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
31 changes: 31 additions & 0 deletions
31
tests/drivers/i2s/i2s_speed/boards/nrf54h20dk_nrf54h20_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,31 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* i2s-node0 is the transmitter/receiver */ | ||
|
||
/ { | ||
aliases { | ||
i2s-node0 = &tdm130; | ||
}; | ||
}; | ||
|
||
&pinctrl { | ||
tdm130_default_alt: tdm130_default_alt { | ||
group1 { | ||
psels = <NRF_PSEL(TDM_SCK_M, 1, 3)>, | ||
<NRF_PSEL(TDM_FSYNC_M, 1, 6)>, | ||
<NRF_PSEL(TDM_SDOUT, 1, 4)>, | ||
<NRF_PSEL(TDM_SDIN, 1, 5)>; | ||
}; | ||
}; | ||
}; | ||
|
||
&tdm130 { | ||
status = "okay"; | ||
pinctrl-0 = <&tdm130_default_alt>; | ||
pinctrl-names = "default"; | ||
memory-regions = <&cpuapp_dma_region>; | ||
}; |