From: Adam Ford Date: Thu, 3 Jul 2025 11:38:10 +0000 (-0500) Subject: arm64: dts: imx8mn: Configure DMA on UART2 X-Git-Tag: v6.17-rc1~172^2~19^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc077c4c74bbcb0f86cab11aa30e0deeb24bd65b;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: imx8mn: Configure DMA on UART2 UART2 is often used as the console, so the DMA was likely left off on purpose, since it's recommended to not use the DMA on the console. Because, the driver checks to see if the UART is used for the console when determining if it should initialize DMA, it should be safe to enable DMA on UART2 for all users. Signed-off-by: Adam Ford Reviewed-by: Ahmad Fatoum Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 848ba5e46ee67..b98b3d0ddf25a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -860,6 +860,8 @@ clocks = <&clk IMX8MN_CLK_UART2_ROOT>, <&clk IMX8MN_CLK_UART2_ROOT>; clock-names = "ipg", "per"; + dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>; + dma-names = "rx", "tx"; status = "disabled"; }; };