tests: drivers: i2s: speed: add stm32h5 support

Test on STM32H573i disco board , only the Tx transfer is ok.

Signed-off-by: Franck Thebault <franck.thebault@st.com>
Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
Franck Thebault 2024-04-04 12:31:21 +02:00 committed by Alberto Escolar
commit c12cfb247d
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#
# Copyright (c) 2024 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_I2S_TEST_SEPARATE_DEVICES=y

View file

@ -0,0 +1,20 @@
/* i2s-node0 is the receiver */
/* i2s-node1 is the transmitter */
/ {
aliases {
i2s-node0 = &i2s1;
i2s-node1 = &i2s2;
};
};
&i2s1 {
pinctrl-0 = <&i2s1_ws_pa4 &i2s1_ck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
pinctrl-names = "default";
status = "okay";
};
&i2s2 {
pinctrl-0 = <&i2s2_ws_pa3 &i2s2_ck_pi1 &spi2_miso_pi2 &spi2_mosi_pb15>;
pinctrl-names = "default";
status = "okay";
};