Skip to content

Commit

Permalink
tests: drivers: spi: spi_loopback: add stm32n6 boards overlays
Browse files Browse the repository at this point in the history
Add SPI loopback test overlays for Nucleo N657x0-Q and STM32N6570 DK
boards.

Signed-off-by: Guillaume Gautier <[email protected]>
  • Loading branch information
gautierg-st committed Feb 13, 2025
1 parent c3dc29f commit 095bf58
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_NOCACHE_MEMORY=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright (c) 2024 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

&spi5 {
dmas = <&gpdma1 0 88 STM32_DMA_PERIPH_TX
&gpdma1 1 87 STM32_DMA_PERIPH_RX>;
dma-names = "tx", "rx";
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>;
};
};

&gpdma1 {
status = "okay";
};
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_NOCACHE_MEMORY=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright (c) 2024 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/

&spi5 {
dmas = <&gpdma1 0 88 STM32_DMA_PERIPH_TX
&gpdma1 1 87 STM32_DMA_PERIPH_RX>;
dma-names = "tx", "rx";
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>;
};
};

&gpdma1 {
status = "okay";
};

0 comments on commit 095bf58

Please sign in to comment.