1# Copyright (c) 2019, Song Qiang <songqiang1304521@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 STM32 DMA controller 6 7 The STM32 DMA is a general-purpose direct memory access controller 8 capable of supporting 5 or 6 or 7 or 8 independent DMA channels. 9 Each stm32 soc with a DMA is of a special version type, which could be 10 V1 like stm32F4 or stm32F2 socs, they include FIFO control registers 11 or V2 like stm32L4 soc or stm322WB, some also have DMAMUX controller 12 or V2bis like stm32F1 or stm32L1, where requests are multiplexed 13 14compatible: "st,stm32-dma" 15 16include: dma-controller.yaml 17 18properties: 19 reg: 20 required: true 21 22 interrupts: 23 required: true 24 25 st,mem2mem: 26 type: boolean 27 description: If the DMA controller V1 supports memory to memory transfer 28 29 dma-offset: 30 type: int 31 description: | 32 offset in the table of channels when mapping to a DMAMUX 33 for 1st dma instance, offset is 0, 34 for 2nd dma instance, offset is the nb of dma channels of the 1st dma, 35 for 3rd dma instance, offset is the nb of dma channels of the 2nd dma 36 plus the nb of dma channels of the 1st dma instance, etc. 37