Skip to content

Commit c5ab54e

Browse files
GreenWanS5paul-walmsley-sifive
authored andcommitted
riscv: dts: add support for PDMA device of HiFive Unleashed Rev A00
Add PDMA support to (arch/riscv/boot/dts/sifive/fu540-c000.dtsi) Signed-off-by: Green Wan <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent 8083c62 commit c5ab54e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/riscv/boot/dts/sifive/fu540-c000.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@
162162
clocks = <&prci PRCI_CLK_TLCLK>;
163163
status = "disabled";
164164
};
165+
dma: dma@3000000 {
166+
compatible = "sifive,fu540-c000-pdma";
167+
reg = <0x0 0x3000000 0x0 0x8000>;
168+
interrupt-parent = <&plic0>;
169+
interrupts = <23 24 25 26 27 28 29 30>;
170+
#dma-cells = <1>;
171+
};
165172
uart1: serial@10011000 {
166173
compatible = "sifive,fu540-c000-uart", "sifive,uart0";
167174
reg = <0x0 0x10011000 0x0 0x1000>;

0 commit comments

Comments
 (0)