diff mbox series

[2/2] ARM: dts: stm32: fix dmamux reg property on stm32h743

Message ID 20201110142737.13106-2-amelie.delaunay@st.com (mailing list archive)
State New, archived
Headers show
Series [1/2] ARM: dts: stm32: fix dmamux reg property on stm32mp151 | expand

Commit Message

Amelie Delaunay Nov. 10, 2020, 2:27 p.m. UTC
Reg property length should cover all DMAMUX_CxCR registers.
DMAMUX_CxCR Address offset: 0x000 + 0x04 * x (x = 0 to 15), so latest
offset is at 0x3c, so length should be 0x40.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32h743.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre TORGUE Nov. 17, 2020, 9:47 a.m. UTC | #1
Hi,

On 11/10/20 3:27 PM, Amelie Delaunay wrote:
> Reg property length should cover all DMAMUX_CxCR registers.
> DMAMUX_CxCR Address offset: 0x000 + 0x04 * x (x = 0 to 15), so latest
> offset is at 0x3c, so length should be 0x40.
> 
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
>   arch/arm/boot/dts/stm32h743.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 7febe19e780d..b083afd0ebd6 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -274,7 +274,7 @@
>   
>   		dmamux1: dma-router@40020800 {
>   			compatible = "st,stm32h7-dmamux";
> -			reg = <0x40020800 0x1c>;
> +			reg = <0x40020800 0x40>;
>   			#dma-cells = <3>;
>   			dma-channels = <16>;
>   			dma-requests = <128>;
> 

Series applied on stm32-next.

Regards
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 7febe19e780d..b083afd0ebd6 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -274,7 +274,7 @@ 
 
 		dmamux1: dma-router@40020800 {
 			compatible = "st,stm32h7-dmamux";
-			reg = <0x40020800 0x1c>;
+			reg = <0x40020800 0x40>;
 			#dma-cells = <3>;
 			dma-channels = <16>;
 			dma-requests = <128>;