Skip to content

Commit 7fc2f42

Browse files
tpambornashif
authored andcommitted
dts: arm: st: add reset for lptim
Add resets property to lptim binding and define resets for all lptim instances in device tree files for STM32 MCUs. Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
1 parent f75ba50 commit 7fc2f42

File tree

16 files changed

+25
-2
lines changed

16 files changed

+25
-2
lines changed

‎dts/arm/st/g0/stm32g0.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@
259259
lptim1: timers@40007c00 {
260260
compatible = "st,stm32-lptim";
261261
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
262+
resets = <&rctl STM32_RESET(APB1L, 31)>;
262263
#address-cells = <1>;
263264
#size-cells = <0>;
264265
reg = <0x40007c00 0x400>;

‎dts/arm/st/g4/stm32g4.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@
416416
lptim1: timers@40007c00 {
417417
compatible = "st,stm32-lptim";
418418
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
419+
resets = <&rctl STM32_RESET(APB1L, 31)>;
419420
#address-cells = <1>;
420421
#size-cells = <0>;
421422
reg = <0x40007c00 0x400>;

‎dts/arm/st/h5/stm32h5.dtsi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@
231231
lptim1: timers@44004400 {
232232
compatible = "st,stm32-lptim";
233233
clocks = <&rcc STM32_CLOCK(APB3, 11)>;
234+
resets = <&rctl STM32_RESET(APB3, 11)>;
234235
#address-cells = <1>;
235236
#size-cells = <0>;
236237
reg = <0x44004400 0x400>;
@@ -242,6 +243,7 @@
242243
lptim2: timers@40009400 {
243244
compatible = "st,stm32-lptim";
244245
clocks = <&rcc STM32_CLOCK(APB1_2, 5)>;
246+
resets = <&rctl STM32_RESET(APB1H, 5)>;
245247
#address-cells = <1>;
246248
#size-cells = <0>;
247249
reg = <0x40009400 0x400>;

‎dts/arm/st/h5/stm32h562.dtsi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
lptim3: timers@44004800 {
8282
compatible = "st,stm32-lptim";
8383
clocks = <&rcc STM32_CLOCK(APB3, 12)>;
84+
resets = <&rctl STM32_RESET(APB3, 12)>;
8485
#address-cells = <1>;
8586
#size-cells = <0>;
8687
reg = <0x44004800 0x400>;
@@ -92,6 +93,7 @@
9293
lptim4: timers@44004c00 {
9394
compatible = "st,stm32-lptim";
9495
clocks = <&rcc STM32_CLOCK(APB3, 13)>;
96+
resets = <&rctl STM32_RESET(APB3, 13)>;
9597
#address-cells = <1>;
9698
#size-cells = <0>;
9799
reg = <0x44004c00 0x400>;
@@ -103,6 +105,7 @@
103105
lptim5: timers@44005000 {
104106
compatible = "st,stm32-lptim";
105107
clocks = <&rcc STM32_CLOCK(APB3, 14)>;
108+
resets = <&rctl STM32_RESET(APB3, 14)>;
106109
#address-cells = <1>;
107110
#size-cells = <0>;
108111
reg = <0x44005000 0x400>;
@@ -114,6 +117,7 @@
114117
lptim6: timers@44005400 {
115118
compatible = "st,stm32-lptim";
116119
clocks = <&rcc STM32_CLOCK(APB3, 15)>;
120+
resets = <&rctl STM32_RESET(APB3, 15)>;
117121
#address-cells = <1>;
118122
#size-cells = <0>;
119123
reg = <0x44005400 0x400>;

‎dts/arm/st/h7/stm32h7.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@
932932
lptim1: timers@40002400 {
933933
compatible = "st,stm32-lptim";
934934
clocks = <&rcc STM32_CLOCK(APB1, 9)>;
935+
resets = <&rctl STM32_RESET(APB1L, 9)>;
935936
#address-cells = <1>;
936937
#size-cells = <0>;
937938
reg = <0x40002400 0x400>;

‎dts/arm/st/h7rs/stm32h7rs.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@
868868
lptim1: timers@40002400 {
869869
compatible = "st,stm32-lptim";
870870
clocks = <&rcc STM32_CLOCK(APB1, 9)>;
871+
resets = <&rctl STM32_RESET(APB1L, 9)>;
871872
#address-cells = <1>;
872873
#size-cells = <0>;
873874
reg = <0x40002400 0x400>;

‎dts/arm/st/l0/stm32l0.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@
311311
lptim1: timers@40007c00 {
312312
compatible = "st,stm32-lptim";
313313
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
314+
resets = <&rctl STM32_RESET(APB1, 31)>;
314315
#address-cells = <1>;
315316
#size-cells = <0>;
316317
reg = <0x40007c00 0x400>;

‎dts/arm/st/l4/stm32l4.dtsi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@
490490
lptim1: timers@40007c00 {
491491
compatible = "st,stm32-lptim";
492492
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
493+
resets = <&rctl STM32_RESET(APB1L, 31)>;
493494
#address-cells = <1>;
494495
#size-cells = <0>;
495496
reg = <0x40007c00 0x400>;
@@ -504,6 +505,7 @@
504505
#size-cells = <0>;
505506
reg = <0x40009400 0x400>;
506507
clocks = <&rcc STM32_CLOCK(APB1_2, 5)>;
508+
resets = <&rctl STM32_RESET(APB1H, 5)>;
507509
interrupts = <66 1>;
508510
interrupt-names = "wakeup";
509511
status = "disabled";

‎dts/arm/st/l5/stm32l5.dtsi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
lptim1: timers@40007c00 {
332332
compatible = "st,stm32-lptim";
333333
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
334+
resets = <&rctl STM32_RESET(APB1L, 31)>;
334335
#address-cells = <1>;
335336
#size-cells = <0>;
336337
reg = <0x40007c00 0x400>;

‎dts/arm/st/u0/stm32u0.dtsi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@
582582
lptim1: timers@40007c00 {
583583
compatible = "st,stm32-lptim";
584584
clocks = <&rcc STM32_CLOCK(APB1, 31)>;
585+
resets = <&rctl STM32_RESET(APB1L, 31)>;
585586
#address-cells = <1>;
586587
#size-cells = <0>;
587588
reg = <0x40007c00 0x400>;
@@ -593,6 +594,7 @@
593594
lptim2: timers@40009400 {
594595
compatible = "st,stm32-lptim";
595596
clocks = <&rcc STM32_CLOCK(APB1, 30)>;
597+
resets = <&rctl STM32_RESET(APB1L, 30)>;
596598
#address-cells = <1>;
597599
#size-cells = <0>;
598600
reg = <0x40009400 0x400>;

0 commit comments

Comments
 (0)