tests: spi_loopback: enable lpspi + dma testing for mr_canhubk3
This enables lpspi + dma testing by default for mr_canhubk3 Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
This commit is contained in:
parent
d9f4c1cff0
commit
9f9aaf83f4
2 changed files with 8 additions and 0 deletions
5
tests/drivers/spi/spi_loopback/boards/mr_canhubk3.conf
Normal file
5
tests/drivers/spi/spi_loopback/boards/mr_canhubk3.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Copyright 2023 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_MCUX_LPSPI_DMA=y
|
||||
CONFIG_SPI_ASYNC=n
|
|
@ -6,6 +6,9 @@
|
|||
|
||||
&lpspi1 {
|
||||
status = "okay";
|
||||
/* DMA channels 10 and 12, muxed to LPSPI1 TX and RX */
|
||||
dmas = <&edma0 10 45>, <&edma0 12 46>;
|
||||
dma-names = "tx", "rx";
|
||||
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue