diff mbox series

[RFC,3/4] arm64: dts: renesas: r8a779a0: Add dmac1 placeholder node

Message ID 20201117090329.2128904-4-geert+renesas@glider.be (mailing list archive)
State RFC
Delegated to: Geert Uytterhoeven
Headers show
Series r8a779a0: Add MSIOF support | expand

Commit Message

Geert Uytterhoeven Nov. 17, 2020, 9:03 a.m. UTC
Add a placeholder node for the first Direct Memory Access Controller for
System (SYS-DMAC) instance, so it can be referred to from other device
nodes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Alternatively, we could omit the DMA properties in PATCH 4/4.

 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Wolfram Sang Dec. 21, 2020, 4:06 p.m. UTC | #1
On Tue, Nov 17, 2020 at 10:03:28AM +0100, Geert Uytterhoeven wrote:
> Add a placeholder node for the first Direct Memory Access Controller for
> System (SYS-DMAC) instance, so it can be referred to from other device
> nodes.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Alternatively, we could omit the DMA properties in PATCH 4/4.

I'll add quite some devices in the near future and I like this
placeholder a lot better!

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index a3b1294c73952b3c..f1533b4946f4a725 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -245,6 +245,12 @@  scif0: serial@e6e60000 {
 			status = "disabled";
 		};
 
+		dmac1: dma-controller@e7350000 {
+			reg = <0 0xe7350000 0 0x1000>;
+			#dma-cells = <1>;
+			/* placeholder */
+		};
+
 		gic: interrupt-controller@f1000000 {
 			compatible = "arm,gic-v3";
 			#interrupt-cells = <3>;