Skip to contentSkip to conversation

arm64: dts: allwinner: h6: Add DMA node

PATCH Applied Clément Péron 2 participants 2 messages Jun 11, 2019 – Jun 12, 2019

Subsystems (3)

v4 of 7 Applied Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 arm64: dts: allwinner: h6: Add DMA node

From: Jernej Skrabec <[email protected]>

H6 has DMA controller which supports 16 channels.

Add a node for it.

---

Changes since v3:
- Rebase on top of sunxi/for-next
- Sort by physical address

 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +12 -0
index b9a7dc8d2a40..7628a7c83096 100644
@@ -203,6 +203,18 @@
 			#reset-cells = <1>;
 		};
 
+		dma: dma-controller@3002000 {
+			compatible = "allwinner,sun50i-h6-dma";
+			reg = <0x03002000 0x1000>;
+			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_DMA>, <&ccu CLK_MBUS_DMA>;
+			clock-names = "bus", "mbus";
+			dma-channels = <16>;
+			dma-requests = <46>;
+			resets = <&ccu RST_BUS_DMA>;
+			#dma-cells = <1>;
+		};
+
 		sid: sid@3006000 {
 			compatible = "allwinner,sun50i-h6-sid";
 			reg = <0x03006000 0x400>;
Signature · 1 line
2.20.1
#1 lore raw
Quoted 8 lines · Clément Péron

From: Jernej Skrabec <[email protected]>

H6 has DMA controller which supports 16 channels.

Add a node for it.

Applied, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel