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#
23 - starfive,jh7110-axi-dma
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
67 Number of AXI masters supported by the hardware.
68 $ref: /schemas/types.yaml#/definitions/uint32
73 AXI data width supported by hardware.
74 (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
75 $ref: /schemas/types.yaml#/definitions/uint32
76 enum: [0, 1, 2, 3, 4, 5, 6]
80 Channel priority specifier associated with the DMA channels.
81 $ref: /schemas/types.yaml#/definitions/uint32-array
87 Channel block size specifier associated with the DMA channels.
88 $ref: /schemas/types.yaml#/definitions/uint32-array
92 snps,axi-max-burst-len:
94 Restrict master AXI burst length by value specified in this property.
95 If this property is missing the maximum AXI burst length supported by
97 $ref: /schemas/types.yaml#/definitions/uint32
119 - starfive,jh7110-axi-dma
125 - description: AXI reset line
126 - description: AHB reset line
127 - description: module reset
133 additionalProperties: false
137 #include <dt-bindings/interrupt-controller/arm-gic.h>
138 #include <dt-bindings/interrupt-controller/irq.h>
139 /* example with snps,dw-axi-dmac */
140 dma-controller@80000 {
141 compatible = "snps,axi-dma-1.01a";
142 reg = <0x80000 0x400>;
143 clocks = <&core_clk>, <&cfgr_clk>;
144 clock-names = "core-clk", "cfgr-clk";
145 interrupt-parent = <&intc>;
149 snps,dma-masters = <2>;
150 snps,data-width = <3>;
151 snps,block-size = <4096 4096 4096 4096>;
152 snps,priority = <0 1 2 3>;
153 snps,axi-max-burst-len = <16>;