Skip to content

Commit 055c1c6

Browse files
FRASTMfabiobaltieri
authored andcommitted
samples: drivers: stm32u5x octospi enables DMA
Adds the dma transfer for the octoSPI on NOR octo Flash of the b_u585i_iot02a disco kit. The channel for the GPDMA is 0-15 (0-7 for DMA1, 8-15 for DMA2) The channel 12 to 15 are used for GPDMA transfers to/from external memories. The request is 41 for the OCTOSPI2. Signed-off-by: Francois Ramu <[email protected]>
1 parent c81dba6 commit 055c1c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* Copyright (c) 2022 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&octospi2 {
8+
/* channel 12-15 are for transfers to/from external memories */
9+
dmas = <&gpdma1 12 41 0x10480>; /* request 41 for OCTOSPI2 */
10+
dma-names = "tx_rx";
11+
};

0 commit comments

Comments
 (0)