Commit b04cd038 authored by Francois Ramu's avatar Francois Ramu Committed by Anas Nashif
Browse files

samples: drivers: spi_flash includes the dma for stm32 xspi node



The stm32 xspi node is another possible multi-spi for connecting
with gpDMA channels for Rx and Tx, same request.
Channels 4 and 5 are preferred for AHB periph to/from ext. Mem.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent ac483697
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 STMicroelectronics
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&xspi1 {
       /* request 57 for XSPI1 */
	dmas = <&gpdma1 4 57 STM32_DMA_PERIPH_TX
		&gpdma1 5 57 STM32_DMA_PERIPH_RX>;
	dma-names = "tx", "rx";
};

&gpdma1 {
	status = "okay";
};