OSDN Git Service

ARM: dts: stm32: Add LP timer wakeup-source on stm32mp151
authorFabrice Gasnier <fabrice.gasnier@st.com>
Fri, 16 Oct 2020 14:40:19 +0000 (16:40 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 26 Nov 2020 13:42:41 +0000 (14:42 +0100)
LP timer can be used to wakeup from stop mode on stm32mp151.
Add wakeup-source properties to all LP timer instances.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp151.dtsi

index 05a0078..6ffcf06 100644 (file)
                        interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc LPTIM1_K>;
                        clock-names = "mux";
+                       wakeup-source;
                        status = "disabled";
 
                        pwm {
                        interrupts-extended = <&exti 48 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc LPTIM2_K>;
                        clock-names = "mux";
+                       wakeup-source;
                        status = "disabled";
 
                        pwm {
                        interrupts-extended = <&exti 50 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc LPTIM3_K>;
                        clock-names = "mux";
+                       wakeup-source;
                        status = "disabled";
 
                        pwm {
                        interrupts-extended = <&exti 52 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc LPTIM4_K>;
                        clock-names = "mux";
+                       wakeup-source;
                        status = "disabled";
 
                        pwm {
                        interrupts-extended = <&exti 53 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc LPTIM5_K>;
                        clock-names = "mux";
+                       wakeup-source;
                        status = "disabled";
 
                        pwm {