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

Message ID 20200320125841.11059-1-arnaud.pouliquen@st.com
State New, archived
Headers show
Series
  • ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node
Related show

Commit Message

Arnaud POULIQUEN March 20, 2020, 12:58 p.m. UTC
Add declarations related to the syscon pdds for deep sleep management.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
---
 arch/arm/boot/dts/stm32mp151.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Alexandre Torgue April 1, 2020, 8:20 a.m. UTC | #1
Hi Arnaud

On 3/20/20 1:58 PM, Arnaud Pouliquen wrote:
> Add declarations related to the syscon pdds for deep sleep management.
> 
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
> ---

Can you please rebase it on top of stm32-next ?

>   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 7b93eb4b8f49..46ea1024340e 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1115,6 +1115,11 @@
>   			};
>   		};
>   
> +		pwr_mcu: pwr_mcu@50001014 {
> +			compatible = "syscon";
> +			reg = <0x50001014 0x4>;
> +		};
> +
>   		exti: interrupt-controller@5000d000 {
>   			compatible = "st,stm32mp1-exti", "syscon";
>   			interrupt-controller;
> @@ -1693,6 +1698,7 @@
>   			st,syscfg-tz = <&rcc 0x000 0x1>;
>   			st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
>   			st,syscfg-copro-state = <&tamp 0x148 0xFFFFFFFF>;
> +			st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
>   			status = "disabled";
>   		};
>   	};
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 7b93eb4b8f49..46ea1024340e 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1115,6 +1115,11 @@ 
 			};
 		};
 
+		pwr_mcu: pwr_mcu@50001014 {
+			compatible = "syscon";
+			reg = <0x50001014 0x4>;
+		};
+
 		exti: interrupt-controller@5000d000 {
 			compatible = "st,stm32mp1-exti", "syscon";
 			interrupt-controller;
@@ -1693,6 +1698,7 @@ 
 			st,syscfg-tz = <&rcc 0x000 0x1>;
 			st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
 			st,syscfg-copro-state = <&tamp 0x148 0xFFFFFFFF>;
+			st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
 			status = "disabled";
 		};
 	};