Skip to content

Commit 6896ca5

Browse files
committed
arm64: dts: allwinner: sun55i: Fix r-spi DMA
r-spi has DRQs for both the main and MCU DMA controllers on the A523 SoC family, however it seems it that it is mainly routed to the MCU DMA controller, with no obvious way to change it. Change the DMA channels of r-spi to the MCU so that it works properly. Fixes: 1bec3bd ("arm64: dts: allwinner: sun55i: Add SPI controllers") Acked-by: Jernej Skrabec <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 6de23f8 commit 6896ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@
901901
interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
902902
clocks = <&r_ccu CLK_BUS_R_SPI>, <&r_ccu CLK_R_SPI>;
903903
clock-names = "ahb", "mod";
904-
dmas = <&dma 53>, <&dma 53>;
904+
dmas = <&mcu_dma 13>, <&mcu_dma 13>;
905905
dma-names = "rx", "tx";
906906
resets = <&r_ccu RST_BUS_R_SPI>;
907907
status = "disabled";

0 commit comments

Comments
 (0)