Path: blob/main/sys/contrib/device-tree/Bindings/dma/arm-pl330.txt
48375 views
* ARM PrimeCell PL330 DMA Controller12The ARM PrimeCell PL330 DMA controller can move blocks of memory contents3between memory and peripherals or memory to memory.45Required properties:6- compatible: should include both "arm,pl330" and "arm,primecell".7- reg: physical base address of the controller and length of memory mapped8region.9- interrupts: interrupt number to the cpu.1011Optional properties:12- dma-coherent : Present if dma operations are coherent13- #dma-cells: must be <1>. used to represent the number of integer14cells in the dmas property of client device.15- dma-channels: contains the total number of DMA channels supported by the DMAC16- dma-requests: contains the total number of DMA requests supported by the DMAC17- arm,pl330-broken-no-flushp: quirk for avoiding to execute DMAFLUSHP18- arm,pl330-periph-burst: quirk for performing burst transfer only19- resets: contains an entry for each entry in reset-names.20See ../reset/reset.txt for details.21- reset-names: must contain at least "dma", and optional is "dma-ocp".2223Example:2425pdma0: pdma@12680000 {26compatible = "arm,pl330", "arm,primecell";27reg = <0x12680000 0x1000>;28interrupts = <99>;29#dma-cells = <1>;30#dma-channels = <8>;31#dma-requests = <32>;32};3334Client drivers (device nodes requiring dma transfers from dev-to-mem or35mem-to-dev) should specify the DMA channel numbers and dma channel names36as shown below.3738[property name] = <[phandle of the dma controller] [dma request id]>;39[property name] = <[dma channel name]>4041where 'dma request id' is the dma request number which is connected42to the client controller. The 'property name' 'dmas' and 'dma-names'43as required by the generic dma device tree binding helpers. The dma44names correspond 1:1 with the dma request ids in the dmas property.4546Example: dmas = <&pdma0 1247&pdma1 11>;48dma-names = "tx", "rx";495051