Skip to content

Commit 5136ea6

Browse files
nxpfrankliShawn Guo
authored and
Shawn Guo
committed
arm64: dts: imx8qm: Correct edma3 power-domains and interrupt numbers
It is eDMA1 at QM, which have the same register with eDMA3 at qxp. The below commit fix panic problem. commit b37e75b ("arm64: dts: imx8qm: Add imx8qm's own pm to avoid panic during startup") This fixes the IRQ and DMA channel numbers. While QM eDMA1 technically has 32 channels, only 10 channels are likely used for I2C. The exact IRQ numbers for the remaining channels were unclear in the reference manual. Fixes: e4d7a33 ("arm64: dts: imx8: add edma[0..3]") Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 7edee2b commit 5136ea6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,30 @@
9696
status = "okay";
9797
};
9898

99+
/* It is eDMA1 in 8QM RM, but 8QXP it is eDMA3 */
99100
&edma3 {
101+
reg = <0x5a9f0000 0x210000>;
102+
dma-channels = <10>;
103+
interrupts = <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
104+
<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
105+
<GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
106+
<GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
107+
<GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
108+
<GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>,
109+
<GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>,
110+
<GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH>,
111+
<GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
112+
<GIC_SPI 433 IRQ_TYPE_LEVEL_HIGH>;
100113
power-domains = <&pd IMX_SC_R_DMA_1_CH0>,
101114
<&pd IMX_SC_R_DMA_1_CH1>,
102115
<&pd IMX_SC_R_DMA_1_CH2>,
103116
<&pd IMX_SC_R_DMA_1_CH3>,
104117
<&pd IMX_SC_R_DMA_1_CH4>,
105118
<&pd IMX_SC_R_DMA_1_CH5>,
106119
<&pd IMX_SC_R_DMA_1_CH6>,
107-
<&pd IMX_SC_R_DMA_1_CH7>;
120+
<&pd IMX_SC_R_DMA_1_CH7>,
121+
<&pd IMX_SC_R_DMA_1_CH8>,
122+
<&pd IMX_SC_R_DMA_1_CH9>;
108123
};
109124

110125
&flexcan1 {

0 commit comments

Comments
 (0)