tests: drivers: spi: add spi test support for frdm_mcxn236 board

add spi test support for frdm_mcxn236 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
Neil Chen 2024-08-02 14:54:07 +08:00 committed by Fabio Baltieri
commit 488ed025c9
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#
# Copyright 2024 NXP
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SPI_MCUX_LPSPI_DMA=n
CONFIG_SPI_ASYNC=n

View file

@ -0,0 +1,21 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/* To test this sample, connect
* LPSPI3 MOSI(J2-8, P1_0/FC3_P0) --> LPSPI5 MISO(J2-10, P1_2/FC3_P2)
*/
&flexcomm3_lpspi3 {
slow@0 {
compatible = "test-spi-loopback-slow";
reg = <0>;
spi-max-frequency = <500000>;
};
fast@0 {
compatible = "test-spi-loopback-fast";
reg = <0>;
spi-max-frequency = <16000000>;
};
};