Skip to content

Commit 48648c9

Browse files
committed
dts: riscv: sophgo: fix dmac data-width config for cv18xx
The Duo DMA controller supports a 32-bit bus width. If the configuration is incorrect, the DMA block transfer size may exceed the hardware's maximum supported size, resulting in data loss during transfers. Link to tests: https://gist.github.com/Sutter099/4fa99bb2d89e5af975983124704b3861 Signed-off-by: Ze Huang <[email protected]>
1 parent 99c63a6 commit 48648c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/boot/dts/sophgo/cv18xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
1024 1024 1024 1024>;
522522
snps,priority = <0 1 2 3 4 5 6 7>;
523523
snps,dma-masters = <2>;
524-
snps,data-width = <4>;
524+
snps,data-width = <2>;
525525
status = "disabled";
526526
};
527527

0 commit comments

Comments
 (0)