-
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 fromlist] tests: drivers: i2s: Align tests to TDM peripheral
nRF54H series has TDM peripheral instead of I2S. Signed-off-by: Adam Kondraciuk <[email protected]> Upstream PR #: 82144 Signed-off-by: Sebastian Głąb <[email protected]>
- Loading branch information
1 parent
f61ac7c
commit 4b75c4b
Showing
6 changed files
with
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ supported: | |
- counter | ||
- gpio | ||
- i2c | ||
- i2s | ||
- pwm | ||
- retained_mem | ||
- spi | ||
|
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 |
---|---|---|
|
@@ -17,5 +17,6 @@ supported: | |
- counter | ||
- gpio | ||
- i2c | ||
- i2s | ||
- pwm | ||
- watchdog |
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>; | ||
}; |