[PATCH v1 4/4] ARM: dts: stm32: Add DMAMUX support on STM32MP157C

From: Pierre-Yves MORDRET
Date: Fri Apr 20 2018 - 05:15:17 EST


Activate DMAMUX for STM32MP157C

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@xxxxxx>
---
Version history:
v1:
* Initial
---
---
arch/arm/boot/dts/stm32mp157c.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index 3c0ca6c..da4c39e 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -174,6 +174,7 @@
clocks = <&rcc DMA1>;
#dma-cells = <4>;
st,mem2mem;
+ dma-requests = <8>;
};

dma2: dma@48001000 {
@@ -190,6 +191,17 @@
clocks = <&rcc DMA2>;
#dma-cells = <4>;
st,mem2mem;
+ dma-requests = <8>;
+ };
+
+ dmamux1: dma-router@48002000 {
+ compatible = "st,stm32h7-dmamux";
+ reg = <0x48002000 0x1c>;
+ #dma-cells = <3>;
+ dma-requests = <128>;
+ dma-masters = <&dma1 &dma2>;
+ dma-channels = <16>;
+ clocks = <&rcc DMAMUX>;
};

rcc: rcc@50000000 {
--
2.7.4