Skip to content

Commit a988cae

Browse files
SherrySun5Shawn Guo
authored andcommitted
arm64: dts: imx8qm-ss-dma: correct the dma channels of lpuart
The commit 616effc ("arm64: dts: imx8: Fix lpuart DMA channel order") swap uart rx and tx channel at common imx8-ss-dma.dtsi. But miss update imx8qm-ss-dma.dtsi. The commit 5a8e9b0 ("arm64: dts: imx8qm-ss-dma: Pass lpuart dma-names") just simple add dma-names as binding doc requirement. Correct lpuart0 - lpuart3 dma rx and tx channels, and use defines for the FSL_EDMA_RX flag. Fixes: 5a8e9b0 ("arm64: dts: imx8qm-ss-dma: Pass lpuart dma-names") Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent c63749a commit a988cae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,25 +172,25 @@
172172

173173
&lpuart0 {
174174
compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
175-
dmas = <&edma2 13 0 0>, <&edma2 12 0 1>;
175+
dmas = <&edma2 12 0 FSL_EDMA_RX>, <&edma2 13 0 0>;
176176
dma-names = "rx","tx";
177177
};
178178

179179
&lpuart1 {
180180
compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
181-
dmas = <&edma2 15 0 0>, <&edma2 14 0 1>;
181+
dmas = <&edma2 14 0 FSL_EDMA_RX>, <&edma2 15 0 0>;
182182
dma-names = "rx","tx";
183183
};
184184

185185
&lpuart2 {
186186
compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
187-
dmas = <&edma2 17 0 0>, <&edma2 16 0 1>;
187+
dmas = <&edma2 16 0 FSL_EDMA_RX>, <&edma2 17 0 0>;
188188
dma-names = "rx","tx";
189189
};
190190

191191
&lpuart3 {
192192
compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
193-
dmas = <&edma2 19 0 0>, <&edma2 18 0 1>;
193+
dmas = <&edma2 18 0 FSL_EDMA_RX>, <&edma2 19 0 0>;
194194
dma-names = "rx","tx";
195195
};
196196

0 commit comments

Comments
 (0)