Re: [PATCH 5/5] riscv: dts: sifive: fu740: add PDMA device node

Frank Li
2026-02-20T20:31:00Z

On Sat, Feb 21, 2026 at 03:43:57AM +0800, Max Hsu wrote:
> The FU740 SoC includes a 4-channel Platform DMA (PDMA) controller.
> Add the device node to enable DMA support.
>
> Signed-off-by: Max Hsu <max.hsu@sifive.com>
> ---
> arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
> index 6150f3397bff..30d0d6837c57 100644
> --- a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
> +++ b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
> @@ -329,6 +329,15 @@ gpio: gpio@10060000 {
> clocks = <&prci FU740_PRCI_CLK_PCLK>;
> status = "disabled";
> };
> + dma: dma-controller@3000000 {

not sure sifive, generally require orderby hex address, and need empty
line between child node.

Frank
> + compatible = "sifive,fu740-c000-pdma", "sifive,pdma0";
> + reg = <0x0 0x3000000 0x0 0x100000>;
> + interrupt-parent = <&plic0>;
> + interrupts = <11>, <12>, <13>, <14>, <15>, <16>, <17>, <18>;
> + dma-channels = <4>;
> + clocks = <&prci FU740_PRCI_CLK_PCLK>;
> + #dma-cells = <1>;
> + };
> pcie@e00000000 {
> compatible = "sifive,fu740-pcie";
> #address-cells = <3>;
>
> --
> 2.43.0
>