[PATCH v3] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC

Pierre-Yves MORDRET pierre-yves.mordret at st.com
Fri Sep 29 07:18:55 PDT 2017


This patch adds DMAMUX support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret at st.com>
---
 Version history:
    v3:
       * Rebase on v4.14-rc2
    v2:
       * Update DTS to be compliant with up-streamed bindings
    v1:
       * Initial
---
---
 arch/arm/boot/dts/stm32h743.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 58ec227..e8457f6 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -121,6 +121,7 @@
 			clocks = <&timer_clk>;
 			#dma-cells = <4>;
 			st,mem2mem;
+			dma-requests = <8>;
 			status = "disabled";
 		};
 
@@ -138,6 +139,7 @@
 			clocks = <&timer_clk>;
 			#dma-cells = <4>;
 			st,mem2mem;
+			dma-requests = <8>;
 			status = "disabled";
 		};
 
@@ -193,6 +195,16 @@
 				status = "disabled";
 			};
 		};
+
+		dmamux1: dma-router at 40020800 {
+			compatible = "st,stm32h7-dmamux";
+			reg = <0x40020800 0x1c>;
+			#dma-cells = <3>;
+			dma-channels = <16>;
+			dma-requests = <128>;
+			dma-masters = <&dma1 &dma2>;
+			clocks = <&timer_clk>;
+		};
 	};
 };
 
-- 
2.7.4




More information about the linux-arm-kernel mailing list