18c2ecf20Sopenharmony_ciSynopsys DesignWare AXI DMA Controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: "snps,axi-dma-1.01a"
58c2ecf20Sopenharmony_ci- reg: Address range of the DMAC registers. This should include
68c2ecf20Sopenharmony_ci  all of the per-channel registers.
78c2ecf20Sopenharmony_ci- interrupt: Should contain the DMAC interrupt number.
88c2ecf20Sopenharmony_ci- dma-channels: Number of channels supported by hardware.
98c2ecf20Sopenharmony_ci- snps,dma-masters: Number of AXI masters supported by the hardware.
108c2ecf20Sopenharmony_ci- snps,data-width: Maximum AXI data width supported by hardware.
118c2ecf20Sopenharmony_ci  (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
128c2ecf20Sopenharmony_ci- snps,priority: Priority of channel. Array size is equal to the number of
138c2ecf20Sopenharmony_ci  dma-channels. Priority value must be programmed within [0:dma-channels-1]
148c2ecf20Sopenharmony_ci  range. (0 - minimum priority)
158c2ecf20Sopenharmony_ci- snps,block-size: Maximum block size supported by the controller channel.
168c2ecf20Sopenharmony_ci  Array size is equal to the number of dma-channels.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- snps,axi-max-burst-len: Restrict master AXI burst length by value specified
208c2ecf20Sopenharmony_ci  in this property. If this property is missing the maximum AXI burst length
218c2ecf20Sopenharmony_ci  supported by DMAC is used. [1:256]
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_cidmac: dma-controller@80000 {
268c2ecf20Sopenharmony_ci	compatible = "snps,axi-dma-1.01a";
278c2ecf20Sopenharmony_ci	reg = <0x80000 0x400>;
288c2ecf20Sopenharmony_ci	clocks = <&core_clk>, <&cfgr_clk>;
298c2ecf20Sopenharmony_ci	clock-names = "core-clk", "cfgr-clk";
308c2ecf20Sopenharmony_ci	interrupt-parent = <&intc>;
318c2ecf20Sopenharmony_ci	interrupts = <27>;
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	dma-channels = <4>;
348c2ecf20Sopenharmony_ci	snps,dma-masters = <2>;
358c2ecf20Sopenharmony_ci	snps,data-width = <3>;
368c2ecf20Sopenharmony_ci	snps,block-size = <4096 4096 4096 4096>;
378c2ecf20Sopenharmony_ci	snps,priority = <0 1 2 3>;
388c2ecf20Sopenharmony_ci	snps,axi-max-burst-len = <16>;
398c2ecf20Sopenharmony_ci};
40