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

From: Alexandre Torgue
Date: Fri Oct 06 2017 - 09:03:39 EST


Hi

On 09/29/2017 04:18 PM, Pierre-Yves MORDRET wrote:
This patch adds DMAMUX support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@xxxxxx>
---
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


Applied on stm32-dt-for-v4.15 branch.

Thanks
Alex


@@ -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@40020800 {
+ compatible = "st,stm32h7-dmamux";
+ reg = <0x40020800 0x1c>;
+ #dma-cells = <3>;
+ dma-channels = <16>;
+ dma-requests = <128>;
+ dma-masters = <&dma1 &dma2>;
+ clocks = <&timer_clk>;
+ };
};
};