Skip to contentSkip to conversation

ARM64: dts: sun6i: add dma node for a64.

PATCH Superseded Hao Zhang 2 participants 2 messages Nov 7, 2016 – Nov 8, 2016

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Hao Zhang

author
#0 lore raw

PATCH v3 2/3 ARM64: dts: sun6i: add dma node for a64.

This adds the dma node for sun50i a64.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +9 -0
index e3c3d7d8..855ae2c 100644
@@ -227,6 +227,15 @@
 			};
 		};
 
+		dma: dma-controller at 01c02000 {
+			compatible = "allwinner,sun50i-a64-dma";
+			reg = <0x01c02000 0x1000>;
+			interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_DMA>;
+			resets = <&ccu RST_BUS_DMA>;
+			#dma-cells = <1>;
+		};
+
 		uart0: serial at 1c28000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x01c28000 0x400>;
Signature · 1 line
2.7.4
#1 lore raw

Hi,

Quoted 12 lines · Hao Zhang

This adds the dma node for sun50i a64.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +0 -0
index e3c3d7d8..855ae2c 100644

arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi line 230

Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +1 -0
@@ -227,6 +227,15 @@
 			};
 		};
 
+		dma: dma-controller at 01c02000 {

Please order the nodes by base adress, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161108/cd8a7e91/attachment.sig>