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

Conor Dooley
2026-02-20T22:28:01Z

[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]

On Fri, Feb 20, 2026 at 03:30:50PM -0500, Frank Li wrote:
> 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.

Correct on the ordering front, but the latter appears to be the style in
the file at the moment so I don't care about that.

>
> 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
> >

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]