mirror of https://gitee.com/openkylin/linux.git
ARM: dts: imx53: Add DMA configuration for UART
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
9eebb750bb
commit
d04eba9099
|
@ -217,6 +217,8 @@ uart3: serial@5000c000 {
|
|||
clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
|
||||
<&clks IMX5_CLK_UART3_PER_GATE>;
|
||||
clock-names = "ipg", "per";
|
||||
dmas = <&sdma 42 4 0>, <&sdma 43 4 0>;
|
||||
dma-names = "rx", "tx";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -498,6 +500,8 @@ uart1: serial@53fbc000 {
|
|||
clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
|
||||
<&clks IMX5_CLK_UART1_PER_GATE>;
|
||||
clock-names = "ipg", "per";
|
||||
dmas = <&sdma 18 4 0>, <&sdma 19 4 0>;
|
||||
dma-names = "rx", "tx";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -508,6 +512,8 @@ uart2: serial@53fc0000 {
|
|||
clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
|
||||
<&clks IMX5_CLK_UART2_PER_GATE>;
|
||||
clock-names = "ipg", "per";
|
||||
dmas = <&sdma 12 4 0>, <&sdma 13 4 0>;
|
||||
dma-names = "rx", "tx";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -591,6 +597,8 @@ uart4: serial@53ff0000 {
|
|||
clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
|
||||
<&clks IMX5_CLK_UART4_PER_GATE>;
|
||||
clock-names = "ipg", "per";
|
||||
dmas = <&sdma 2 4 0>, <&sdma 3 4 0>;
|
||||
dma-names = "rx", "tx";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
@ -621,6 +629,8 @@ uart5: serial@63f90000 {
|
|||
clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
|
||||
<&clks IMX5_CLK_UART5_PER_GATE>;
|
||||
clock-names = "ipg", "per";
|
||||
dmas = <&sdma 16 4 0>, <&sdma 17 4 0>;
|
||||
dma-names = "rx", "tx";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue