1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/dma/renesas,rz-dmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/{G2L,G2UL,V2L} DMA Controller
10 - Biju Das <biju.das.jz@bp.renesas.com>
13 - $ref: "dma-controller.yaml#"
19 - renesas,r9a07g043-dmac # RZ/G2UL
20 - renesas,r9a07g044-dmac # RZ/G2{L,LC}
21 - renesas,r9a07g054-dmac # RZ/V2L
22 - const: renesas,rz-dmac
26 - description: Control and channel register block
27 - description: DMA extended resource selector block
54 - description: DMA main clock
55 - description: DMA register access clock
60 The cell specifies the encoded MID/RID values of the DMAC port
61 connected to the DMA client and the slave channel configuration
63 bits[0:9] - Specifies MID/RID value
64 bit[10] - Specifies DMA request high enable (HIEN)
65 bit[11] - Specifies DMA request detection type (LVL)
66 bits[12:14] - Specifies DMAACK output mode (AM)
67 bit[15] - Specifies Transfer Mode (TM)
77 - description: Reset for DMA ARESETN reset terminal
78 - description: Reset for DMA RST_ASYNC reset terminal
91 additionalProperties: false
95 #include <dt-bindings/interrupt-controller/arm-gic.h>
96 #include <dt-bindings/clock/r9a07g044-cpg.h>
98 dmac: dma-controller@11820000 {
99 compatible = "renesas,r9a07g044-dmac",
101 reg = <0x11820000 0x10000>,
102 <0x11830000 0x10000>;
103 interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
104 <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
105 <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
106 <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
107 <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
108 <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
109 <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
110 <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
111 <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
112 <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
113 <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
114 <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
115 <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
116 <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
117 <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
118 <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
119 <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
120 interrupt-names = "error",
121 "ch0", "ch1", "ch2", "ch3",
122 "ch4", "ch5", "ch6", "ch7",
123 "ch8", "ch9", "ch10", "ch11",
124 "ch12", "ch13", "ch14", "ch15";
125 clocks = <&cpg CPG_MOD R9A07G044_DMAC_ACLK>,
126 <&cpg CPG_MOD R9A07G044_DMAC_PCLK>;
127 power-domains = <&cpg>;
128 resets = <&cpg R9A07G044_DMAC_ARESETN>,
129 <&cpg R9A07G044_DMAC_RST_ASYNC>;