Why doesn't uart2 node include dmas in imx8mm.dtsi?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why doesn't uart2 node include dmas in imx8mm.dtsi?

ソリューションへジャンプ
679件の閲覧回数
takeshi100
Contributor III

Hi.


In imx8mm.dtsi, uart2 node don't include the dmas.

But other uart node (1. 2 and 4) include the dmas.

Why? and What is the impact of not including the dmas?

 

■ imx8mm.dtsi

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/freescale/imx8mm.dtsi

uart1: serial@30860000 {
compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
reg = <0x30860000 0x10000>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_UART1_ROOT>,
<&clk IMX8MM_CLK_UART1_ROOT>;
clock-names = "ipg", "per";
dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
dma-names = "rx", "tx";
status = "disabled";
};
 
uart3: serial@30880000 {
compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
reg = <0x30880000 0x10000>;
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_UART3_ROOT>,
<&clk IMX8MM_CLK_UART3_ROOT>;
clock-names = "ipg", "per";
dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
dma-names = "rx", "tx";
status = "disabled";
};
 
uart2: serial@30890000 {
compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
reg = <0x30890000 0x10000>;
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_UART2_ROOT>,
<&clk IMX8MM_CLK_UART2_ROOT>;
clock-names = "ipg", "per";
status = "disabled";
};

 

Best Regards.

0 件の賞賛
返信
1 解決策
656件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

This is because UART2 is used for debug purposes. If you check the device tree, the debug UART port doesn't use DMA.

Best regards.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
657件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

This is because UART2 is used for debug purposes. If you check the device tree, the debug UART port doesn't use DMA.

Best regards.

0 件の賞賛
返信