[PATCH V2 16/18] ARM: dts: imx7ulp: add dma configurations for lpi2c
Clark Wang
xiaoning.wang at nxp.com
Tue Apr 6 12:33:04 BST 2021
Enable dma support for all lpi2c nodes.
Signed-off-by: Clark Wang <xiaoning.wang at nxp.com>
---
V2 changes:
- New patch added in V2
---
arch/arm/boot/dts/imx7ulp.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index 0c51fa79c0bc..a6681836ca05 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -157,6 +157,8 @@ lpi2c4: lpi2c4 at 402b0000 {
assigned-clocks = <&pcc2 IMX7ULP_CLK_LPI2C4>;
assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>;
assigned-clock-rates = <48000000>;
+ dmas = <&edma1 0 10>, <&edma1 0 9>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -170,6 +172,8 @@ lpi2c5: lpi2c5 at 402c0000 {
assigned-clocks = <&pcc2 IMX7ULP_CLK_LPI2C5>;
assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>;
assigned-clock-rates = <48000000>;
+ dmas = <&edma1 0 12>, <&edma1 0 11>;
+ dma-names = "tx","rx";
};
lpuart4: serial at 402d0000 {
@@ -361,6 +365,8 @@ lpi2c6: i2c at 40a40000 {
assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>;
assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>;
assigned-clock-rates = <48000000>;
+ dmas = <&edma1 0 14>, <&edma1 0 13>;
+ dma-names = "tx","rx";
status = "disabled";
};
@@ -374,6 +380,8 @@ lpi2c7: i2c at 40a50000 {
assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>;
assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>;
assigned-clock-rates = <48000000>;
+ dmas = <&edma1 0 16>, <&edma1 0 15>;
+ dma-names = "tx","rx";
status = "disabled";
};
--
2.25.1
More information about the linux-arm-kernel
mailing list