tests: drivers: i2s: Adding overlays to I2S supported boards
Adding overlay files that give an alias name to the i2s node that is equivalent to the alias in the i2s speed test. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
a326f05b93
commit
fdad738cff
9 changed files with 78 additions and 2 deletions
7
tests/drivers/i2s/i2s_speed/boards/96b_argonkey.overlay
Normal file
7
tests/drivers/i2s/i2s_speed/boards/96b_argonkey.overlay
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* i2s-node0 is the transmitter/receiver */
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s5;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,7 @@
|
|||
/* i2s-node0 is the transmitter/receiver */
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s2;
|
||||
};
|
||||
};
|
10
tests/drivers/i2s/i2s_speed/boards/litex_vexriscv.overlay
Normal file
10
tests/drivers/i2s/i2s_speed/boards/litex_vexriscv.overlay
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* i2s-node0 is the receiver
|
||||
* i2s-node1 is the transmitter
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s_rx;
|
||||
i2s-node1 = &i2s_tx;
|
||||
};
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
/* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
|
||||
* i2s-node0 is the receiver
|
||||
* i2s-node1 is the transmitter
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s0;
|
||||
i2s-node1 = &i2s1;
|
||||
};
|
||||
};
|
|
@ -1,8 +1,15 @@
|
|||
/* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
|
||||
* I2S_0 is the receiver - uses SAI1 peripheral on RT1170
|
||||
* I2S_1 is the transmitter - uses SAI4 peripheral
|
||||
* i2s-node0 is the receiver - uses SAI1 peripheral on RT1170
|
||||
* i2s-node1 is the transmitter - uses SAI4 peripheral
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &sai1;
|
||||
i2s-node1 = &sai4;
|
||||
};
|
||||
};
|
||||
|
||||
/* Enable SAI4, and set clocks to match SAI1 */
|
||||
&sai4 {
|
||||
status = "okay";
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
/* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
|
||||
* i2s-node0 is the receiver
|
||||
* i2s-node1 is the transmitter
|
||||
*/
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s0;
|
||||
i2s-node1 = &i2s1;
|
||||
};
|
||||
};
|
|
@ -1,3 +1,11 @@
|
|||
/* i2s-node0 is the transmitter/receiver */
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s0;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
i2s0_default_alt: i2s0_default_alt {
|
||||
group1 {
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
/* i2s-node0 is the transmitter/receiver */
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s0;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
i2s0_default_alt: i2s0_default_alt {
|
||||
group1 {
|
||||
|
|
7
tests/drivers/i2s/i2s_speed/boards/nucleo_f411re.overlay
Normal file
7
tests/drivers/i2s/i2s_speed/boards/nucleo_f411re.overlay
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* i2s-node0 is the transmitter/receiver */
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
i2s-node0 = &i2s1;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue