[v2] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node
diff mbox series

Message ID 20200401150339.7933-1-arnaud.pouliquen@st.com
State Accepted
Commit dda830431640264b6afcf78424dcefaf4cbc55a4
Headers show
Series
  • [v2] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node
Related show

Commit Message

Arnaud POULIQUEN April 1, 2020, 3:03 p.m. UTC
Add declarations related to the syscon pdds for deep sleep management.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
---
v2: patch rebasing

 arch/arm/boot/dts/stm32mp151.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Alexandre Torgue April 28, 2020, 4:30 p.m. UTC | #1
Hi Arnaud

On 4/1/20 5:03 PM, Arnaud Pouliquen wrote:
> Add declarations related to the syscon pdds for deep sleep management.
> 
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
> ---
> v2: patch rebasing
> 
>   arch/arm/boot/dts/stm32mp151.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 5260818543e5..a40772eac487 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1124,6 +1124,11 @@
>   			};
>   		};
>   
> +		pwr_mcu: pwr_mcu@50001014 {
> +			compatible = "syscon";
> +			reg = <0x50001014 0x4>;
> +		};
> +
>   		exti: interrupt-controller@5000d000 {
>   			compatible = "st,stm32mp1-exti", "syscon";
>   			interrupt-controller;
> @@ -1700,6 +1705,7 @@
>   			resets = <&rcc MCU_R>;
>   			st,syscfg-holdboot = <&rcc 0x10C 0x1>;
>   			st,syscfg-tz = <&rcc 0x000 0x1>;
> +			st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
>   			status = "disabled";
>   		};
>   	};
> 

Applied on stm32-next.

Thanks.
Alex

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 5260818543e5..a40772eac487 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1124,6 +1124,11 @@ 
 			};
 		};
 
+		pwr_mcu: pwr_mcu@50001014 {
+			compatible = "syscon";
+			reg = <0x50001014 0x4>;
+		};
+
 		exti: interrupt-controller@5000d000 {
 			compatible = "st,stm32mp1-exti", "syscon";
 			interrupt-controller;
@@ -1700,6 +1705,7 @@ 
 			resets = <&rcc MCU_R>;
 			st,syscfg-holdboot = <&rcc 0x10C 0x1>;
 			st,syscfg-tz = <&rcc 0x000 0x1>;
+			st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
 			status = "disabled";
 		};
 	};