arm64: dts: imx8mq: Add eCSPI DMA support
authorFabio Estevam <festevam@gmail.com>
Fri, 8 Jan 2021 12:47:26 +0000 (09:47 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 18 Jan 2021 00:57:54 +0000 (08:57 +0800)
eCSPI ports have DMA capability. Describe the eCSPI DMA properties.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index c9874df..4ef8c92 100644 (file)
                                clocks = <&clk IMX8MQ_CLK_ECSPI1_ROOT>,
                                         <&clk IMX8MQ_CLK_ECSPI1_ROOT>;
                                clock-names = "ipg", "per";
+                               dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
+                               dma-names = "rx", "tx";
                                status = "disabled";
                        };
 
                                clocks = <&clk IMX8MQ_CLK_ECSPI2_ROOT>,
                                         <&clk IMX8MQ_CLK_ECSPI2_ROOT>;
                                clock-names = "ipg", "per";
+                               dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
+                               dma-names = "rx", "tx";
                                status = "disabled";
                        };
 
                                clocks = <&clk IMX8MQ_CLK_ECSPI3_ROOT>,
                                         <&clk IMX8MQ_CLK_ECSPI3_ROOT>;
                                clock-names = "ipg", "per";
+                               dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
+                               dma-names = "rx", "tx";
                                status = "disabled";
                        };