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

Conor Dooley conor at kernel.org
Fri Feb 20 14:27:55 PST 2026


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 at 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 at 10060000 {
> >  			clocks = <&prci FU740_PRCI_CLK_PCLK>;
> >  			status = "disabled";
> >  		};
> > +		dma: dma-controller at 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 at e00000000 {
> >  			compatible = "sifive,fu740-pcie";
> >  			#address-cells = <3>;
> >
> > --
> > 2.43.0
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260220/256c3cf3/attachment.sig>


More information about the linux-riscv mailing list