Skip to content

Commit 8c4caab

Browse files
kromliDinh Nguyen
authored andcommitted
arm64: dts: socfpga: agilex5: Add dma-coherent property
Add the `dma-coherent` property to these device nodes to inform the kernel and DMA subsystem that the devices support hardware-managed cache coherence. Changes: - Add `dma-coherent` to `cdns,hp-nfc` - Add `dma-coherent` to both `snps,axi-dma-1.01a` instances (dmac0, dmac1) This aligns the Agilex5 device tree with the coherent DMA-capable devices accordingly. Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 8f0b4cc commit 8c4caab

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@
312312
clock-names = "nf_clk";
313313
cdns,board-delay-ps = <4830>;
314314
iommus = <&smmu 4>;
315+
dma-coherent;
315316
status = "disabled";
316317
};
317318

@@ -339,6 +340,7 @@
339340
snps,priority = <0 1 2 3>;
340341
snps,axi-max-burst-len = <8>;
341342
iommus = <&smmu 8>;
343+
dma-coherent;
342344
};
343345

344346
dmac1: dma-controller@10dc0000 {
@@ -357,6 +359,7 @@
357359
snps,priority = <0 1 2 3>;
358360
snps,axi-max-burst-len = <8>;
359361
iommus = <&smmu 9>;
362+
dma-coherent;
360363
};
361364

362365
rst: rstmgr@10d11000 {

0 commit comments

Comments
 (0)