1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/dma/snps,dw-axi-dmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synopsys DesignWare AXI DMA Controller
10 - Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
13 Synopsys DesignWare AXI DMA Controller DT Binding
16 - $ref: dma-controller.yaml#
27 - description: Address range of the DMAC registers
28 - description: Address range of the DMAC APB registers
32 - const: axidma_ctrl_regs
33 - const: axidma_apb_regs
37 If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this
38 will be per-channel interrupts. Otherwise, this is a single combined IRQ
45 - description: Bus Clock
46 - description: Module Clock
65 Number of AXI masters supported by the hardware.
66 $ref: /schemas/types.yaml#/definitions/uint32
71 AXI data width supported by hardware.
72 (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
73 $ref: /schemas/types.yaml#/definitions/uint32
74 enum: [0, 1, 2, 3, 4, 5, 6]
78 Channel priority specifier associated with the DMA channels.
79 $ref: /schemas/types.yaml#/definitions/uint32-array
85 Channel block size specifier associated with the DMA channels.
86 $ref: /schemas/types.yaml#/definitions/uint32-array
90 snps,axi-max-burst-len:
92 Restrict master AXI burst length by value specified in this property.
93 If this property is missing the maximum AXI burst length supported by
95 $ref: /schemas/types.yaml#/definitions/uint32
112 additionalProperties: false
116 #include <dt-bindings/interrupt-controller/arm-gic.h>
117 #include <dt-bindings/interrupt-controller/irq.h>
118 /* example with snps,dw-axi-dmac */
119 dma-controller@80000 {
120 compatible = "snps,axi-dma-1.01a";
121 reg = <0x80000 0x400>;
122 clocks = <&core_clk>, <&cfgr_clk>;
123 clock-names = "core-clk", "cfgr-clk";
124 interrupt-parent = <&intc>;
128 snps,dma-masters = <2>;
129 snps,data-width = <3>;
130 snps,block-size = <4096 4096 4096 4096>;
131 snps,priority = <0 1 2 3>;
132 snps,axi-max-burst-len = <16>;