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>
11 - Jee Heng Sia <jee.heng.sia@intel.com>
14 Synopsys DesignWare AXI DMA Controller DT Binding
17 - $ref: "dma-controller.yaml#"
28 - description: Address range of the DMAC registers
29 - description: Address range of the DMAC APB registers
33 - const: axidma_ctrl_regs
34 - const: axidma_apb_regs
38 If the IP-core synthesis parameter DMAX_INTR_IO_TYPE is set to 1, this
39 will be per-channel interrupts. Otherwise, this is a single combined IRQ
46 - description: Bus Clock
47 - description: Module Clock
66 Number of AXI masters supported by the hardware.
67 $ref: /schemas/types.yaml#/definitions/uint32
72 AXI data width supported by hardware.
73 (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
74 $ref: /schemas/types.yaml#/definitions/uint32
75 enum: [0, 1, 2, 3, 4, 5, 6]
79 Channel priority specifier associated with the DMA channels.
80 $ref: /schemas/types.yaml#/definitions/uint32-array
86 Channel block size specifier associated with the DMA channels.
87 $ref: /schemas/types.yaml#/definitions/uint32-array
91 snps,axi-max-burst-len:
93 Restrict master AXI burst length by value specified in this property.
94 If this property is missing the maximum AXI burst length supported by
96 $ref: /schemas/types.yaml#/definitions/uint32
113 additionalProperties: false
117 #include <dt-bindings/interrupt-controller/arm-gic.h>
118 #include <dt-bindings/interrupt-controller/irq.h>
119 /* example with snps,dw-axi-dmac */
120 dmac: dma-controller@80000 {
121 compatible = "snps,axi-dma-1.01a";
122 reg = <0x80000 0x400>;
123 clocks = <&core_clk>, <&cfgr_clk>;
124 clock-names = "core-clk", "cfgr-clk";
125 interrupt-parent = <&intc>;
129 snps,dma-masters = <2>;
130 snps,data-width = <3>;
131 snps,block-size = <4096 4096 4096 4096>;
132 snps,priority = <0 1 2 3>;
133 snps,axi-max-burst-len = <16>;