From 63f1d82db609ddd76245877cff1578de04eec5e6 Mon Sep 17 00:00:00 2001 From: Inochi Amaoto Date: Sun, 26 Apr 2026 09:29:20 +0800 Subject: [PATCH] riscv: dts: sophgo: cv180x: Allow the DMA multiplexer to set channel number for DMA controller Change the DMA controller compatible to the sophgo,cv1800b-axi-dma, which supports setting DMA channel number in DMA phandle args. This dts introduces an ABI break that changes the compatiable without adding a fallback. However, this change make no change as the previous compatiable provides broken DMA chain for other devices, which make the DMA function unavailable. And apply this patch without adding the driver does not change the fact of broken DMA function. Fixes: 514951a81a5e ("riscv: dts: sophgo: cv18xx: add DMA controller") Reported-by: Anton D. Stavinskii Closes: https://github.com/sophgo/linux/issues/9 Signed-off-by: Inochi Amaoto Tested-by: Anton D. Stavinskii Signed-off-by: Linux RISC-V bot --- arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi index 06b0ce5a2db7af..8446b4dfe1a1d9 100644 --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi @@ -417,7 +417,7 @@ }; dmac: dma-controller@4330000 { - compatible = "snps,axi-dma-1.01a"; + compatible = "sophgo,cv1800b-axi-dma"; reg = <0x04330000 0x1000>; interrupts = ; clocks = <&clk CLK_SDMA_AXI>, <&clk CLK_SDMA_AXI>;