[PATCH 1/1] riscv: dts: fu740: Add PDMA node

v.v.mitrofanov v.v.mitrofanov at yadro.com
Fri Dec 3 01:57:38 PST 2021


HiFive unmatched supports PDMA but is not implemented in DT.

Add the PDMA node in SiFive FU740 soc-specific DT file.

Signed-off-by: v.v.mitrofanov <v.v.mitrofanov at yadro.com>
---
 arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
index 64ff2e758336..833fb4f4376b 100644
--- a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
@@ -164,6 +164,13 @@ prci: clock-controller at 10000000 {
 			#clock-cells = <1>;
 			#reset-cells = <1>;
 		};
+		dma: dma at 3000000 {
+			compatible = "sifive,fu540-c000-pdma";
+			reg = <0x0 0x3000000 0x0 0x8000>;
+			interrupt-parent = <&plic0>;
+			interrupts = <11 12 13 14 15 16 17 18>;
+			#dma-cells = <1>;
+		};
 		uart0: serial at 10010000 {
 			compatible = "sifive,fu740-c000-uart", "sifive,uart0";
 			reg = <0x0 0x10010000 0x0 0x1000>;
-- 
2.30.2




More information about the linux-riscv mailing list