diff mbox series

[v1,1/3] arm64: dts: imx8mp: add uart2 dma

Message ID 20220317160122.341484-2-marcel@ziswiler.com (mailing list archive)
State New, archived
Headers show
Series arm64: prepare and add verdin imx8m plus support | expand

Commit Message

Marcel Ziswiler March 17, 2022, 4:01 p.m. UTC
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Add DMA properties to uart2 node.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---

 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Laurent Pinchart March 22, 2022, 10:53 p.m. UTC | #1
Hi Marcel,

Thank you for the patch.

On Thu, Mar 17, 2022 at 05:01:20PM +0100, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> Add DMA properties to uart2 node.
> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> index 3f8703f3ba5b..b6a020bac9c5 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> @@ -617,6 +617,8 @@ uart2: serial@30890000 {
>  				clocks = <&clk IMX8MP_CLK_UART2_ROOT>,
>  					 <&clk IMX8MP_CLK_UART2_ROOT>;
>  				clock-names = "ipg", "per";
> +				dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
> +				dma-names = "rx", "tx";
>  				status = "disabled";
>  			};
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 3f8703f3ba5b..b6a020bac9c5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -617,6 +617,8 @@  uart2: serial@30890000 {
 				clocks = <&clk IMX8MP_CLK_UART2_ROOT>,
 					 <&clk IMX8MP_CLK_UART2_ROOT>;
 				clock-names = "ipg", "per";
+				dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
+				dma-names = "rx", "tx";
 				status = "disabled";
 			};