mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: imx8: Fix lpuart DMA channel order
Bindings say DMA channels are in order Rx, Tx. Adjust the DT nodes accordingly. While at it, use defines for the flags. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
30567925e9
commit
616effc027
1 changed files with 9 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <dt-bindings/clock/imx8-lpcg.h>
|
||||
#include <dt-bindings/dma/fsl-edma.h>
|
||||
#include <dt-bindings/firmware/imx/rsrc.h>
|
||||
|
||||
dma_ipg_clk: clock-dma-ipg {
|
||||
|
@ -93,8 +94,8 @@ dma_subsys: bus@5a000000 {
|
|||
assigned-clocks = <&clk IMX_SC_R_UART_0 IMX_SC_PM_CLK_PER>;
|
||||
assigned-clock-rates = <80000000>;
|
||||
power-domains = <&pd IMX_SC_R_UART_0>;
|
||||
dma-names = "tx","rx";
|
||||
dmas = <&edma2 9 0 0>, <&edma2 8 0 1>;
|
||||
dma-names = "rx", "tx";
|
||||
dmas = <&edma2 8 0 FSL_EDMA_RX>, <&edma2 9 0 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -107,8 +108,8 @@ dma_subsys: bus@5a000000 {
|
|||
assigned-clocks = <&clk IMX_SC_R_UART_1 IMX_SC_PM_CLK_PER>;
|
||||
assigned-clock-rates = <80000000>;
|
||||
power-domains = <&pd IMX_SC_R_UART_1>;
|
||||
dma-names = "tx","rx";
|
||||
dmas = <&edma2 11 0 0>, <&edma2 10 0 1>;
|
||||
dma-names = "rx", "tx";
|
||||
dmas = <&edma2 10 0 FSL_EDMA_RX>, <&edma2 11 0 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -121,8 +122,8 @@ dma_subsys: bus@5a000000 {
|
|||
assigned-clocks = <&clk IMX_SC_R_UART_2 IMX_SC_PM_CLK_PER>;
|
||||
assigned-clock-rates = <80000000>;
|
||||
power-domains = <&pd IMX_SC_R_UART_2>;
|
||||
dma-names = "tx","rx";
|
||||
dmas = <&edma2 13 0 0>, <&edma2 12 0 1>;
|
||||
dma-names = "rx", "tx";
|
||||
dmas = <&edma2 12 0 FSL_EDMA_RX>, <&edma2 13 0 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -135,8 +136,8 @@ dma_subsys: bus@5a000000 {
|
|||
assigned-clocks = <&clk IMX_SC_R_UART_3 IMX_SC_PM_CLK_PER>;
|
||||
assigned-clock-rates = <80000000>;
|
||||
power-domains = <&pd IMX_SC_R_UART_3>;
|
||||
dma-names = "tx","rx";
|
||||
dmas = <&edma2 15 0 0>, <&edma2 14 0 1>;
|
||||
dma-names = "rx", "tx";
|
||||
dmas = <&edma2 14 0 FSL_EDMA_RX>, <&edma2 15 0 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue