diff options
author | Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> | 2016-08-04 06:22:37 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-08-09 09:33:51 -0400 |
commit | d04eba90998fdfeb09b7c655fa894207fe175042 (patch) | |
tree | 91ac667016e5f5d20d3ad70950ff332b7af24f43 /arch/arm/boot | |
parent | 9eebb750bb3ab56cb00911cd01fb00aad52f0d82 (diff) |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx53.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd170376eaca..c1bc97c747cb 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi | |||
@@ -217,6 +217,8 @@ | |||
217 | clocks = <&clks IMX5_CLK_UART3_IPG_GATE>, | 217 | clocks = <&clks IMX5_CLK_UART3_IPG_GATE>, |
218 | <&clks IMX5_CLK_UART3_PER_GATE>; | 218 | <&clks IMX5_CLK_UART3_PER_GATE>; |
219 | clock-names = "ipg", "per"; | 219 | clock-names = "ipg", "per"; |
220 | dmas = <&sdma 42 4 0>, <&sdma 43 4 0>; | ||
221 | dma-names = "rx", "tx"; | ||
220 | status = "disabled"; | 222 | status = "disabled"; |
221 | }; | 223 | }; |
222 | 224 | ||
@@ -498,6 +500,8 @@ | |||
498 | clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, | 500 | clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, |
499 | <&clks IMX5_CLK_UART1_PER_GATE>; | 501 | <&clks IMX5_CLK_UART1_PER_GATE>; |
500 | clock-names = "ipg", "per"; | 502 | clock-names = "ipg", "per"; |
503 | dmas = <&sdma 18 4 0>, <&sdma 19 4 0>; | ||
504 | dma-names = "rx", "tx"; | ||
501 | status = "disabled"; | 505 | status = "disabled"; |
502 | }; | 506 | }; |
503 | 507 | ||
@@ -508,6 +512,8 @@ | |||
508 | clocks = <&clks IMX5_CLK_UART2_IPG_GATE>, | 512 | clocks = <&clks IMX5_CLK_UART2_IPG_GATE>, |
509 | <&clks IMX5_CLK_UART2_PER_GATE>; | 513 | <&clks IMX5_CLK_UART2_PER_GATE>; |
510 | clock-names = "ipg", "per"; | 514 | clock-names = "ipg", "per"; |
515 | dmas = <&sdma 12 4 0>, <&sdma 13 4 0>; | ||
516 | dma-names = "rx", "tx"; | ||
511 | status = "disabled"; | 517 | status = "disabled"; |
512 | }; | 518 | }; |
513 | 519 | ||
@@ -591,6 +597,8 @@ | |||
591 | clocks = <&clks IMX5_CLK_UART4_IPG_GATE>, | 597 | clocks = <&clks IMX5_CLK_UART4_IPG_GATE>, |
592 | <&clks IMX5_CLK_UART4_PER_GATE>; | 598 | <&clks IMX5_CLK_UART4_PER_GATE>; |
593 | clock-names = "ipg", "per"; | 599 | clock-names = "ipg", "per"; |
600 | dmas = <&sdma 2 4 0>, <&sdma 3 4 0>; | ||
601 | dma-names = "rx", "tx"; | ||
594 | status = "disabled"; | 602 | status = "disabled"; |
595 | }; | 603 | }; |
596 | }; | 604 | }; |
@@ -621,6 +629,8 @@ | |||
621 | clocks = <&clks IMX5_CLK_UART5_IPG_GATE>, | 629 | clocks = <&clks IMX5_CLK_UART5_IPG_GATE>, |
622 | <&clks IMX5_CLK_UART5_PER_GATE>; | 630 | <&clks IMX5_CLK_UART5_PER_GATE>; |
623 | clock-names = "ipg", "per"; | 631 | clock-names = "ipg", "per"; |
632 | dmas = <&sdma 16 4 0>, <&sdma 17 4 0>; | ||
633 | dma-names = "rx", "tx"; | ||
624 | status = "disabled"; | 634 | status = "disabled"; |
625 | }; | 635 | }; |
626 | 636 | ||