[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230925204913.3776656-4-Frank.Li@nxp.com>
Date: Mon, 25 Sep 2023 16:49:09 -0400
From: Frank Li <Frank.Li@....com>
To: frank.li@....com, shawnguo@...nel.org
Cc: clin@...e.com, conor+dt@...nel.org, devicetree@...r.kernel.org,
eagle.zhou@....com, festevam@...il.com, imx@...ts.linux.dev,
joy.zou@....com, kernel@...gutronix.de,
krzysztof.kozlowski+dt@...aro.org, leoyang.li@....com,
linux-arm-kernel@...ts.infradead.org, linux-imx@....com,
linux-kernel@...r.kernel.org, pierre.gondois@....com,
robh+dt@...nel.org, s.hauer@...gutronix.de, shenwei.wang@....com,
sherry.sun@....com
Subject: [PATCH v2 3/7] arm64: dts: imx8: add edma for uart[0..3]
Add dma support uart[0..3].
Signed-off-by: Frank Li <Frank.Li@....com>
---
arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
index 0519edd3f520..8fd924dfb029 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
@@ -93,6 +93,8 @@ lpuart0: serial@...60000 {
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>;
status = "disabled";
};
@@ -105,6 +107,8 @@ lpuart1: serial@...70000 {
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>;
status = "disabled";
};
@@ -117,6 +121,8 @@ lpuart2: serial@...80000 {
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>;
status = "disabled";
};
@@ -129,6 +135,8 @@ lpuart3: serial@...90000 {
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>;
status = "disabled";
};
--
2.34.1
Powered by blists - more mailing lists