Skip to contentSkip to conversation

riscv: dts: add support for PDMA device of HiFive Unleashed Rev A00

PATCH Superseded Green Wan 1 participant 1 message Sep 19, 2019

Subsystems (4)

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Green Wan

author
#0 lore raw

PATCH v2 2/3 riscv: dts: add support for PDMA device of HiFive Unleashed Rev A00

Add PDMA support to (arch/riscv/boot/dts/sifive/fu540-c000.dtsi)

---
 arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/riscv/boot/dts/sifive/fu540-c000.dtsi +7 -0
index 42b5ec223100..d3030d7fb45c 100644
@@ -164,6 +164,13 @@
 			clocks = <&prci PRCI_CLK_TLCLK>;
 			status = "disabled";
 		};
+		dma: dma@3000000 {
+			compatible = "sifive,fu540-c000-pdma";
+			reg = <0x0 0x3000000 0x0 0x8000>;
+			interrupt-parent = <&plic0>;
+			interrupts = <23 24 25 26 27 28 29 30>;
+			#dma-cells = <1>;
+		};
 		uart1: serial@10011000 {
 			compatible = "sifive,fu540-c000-uart", "sifive,uart0";
 			reg = <0x0 0x10011000 0x0 0x1000>;
Signature · 1 line
2.17.1