Skip to content

Commit 17ade56

Browse files
str4t0mcfriedt
authored andcommitted
dts: arm: st: stm32c0: add counter nodes to all timers
Add the counter nodes (compat st,stm32-counter) to all timers of the STM32C0 series. Signed-off-by: Thomas Stranger <[email protected]>
1 parent 3e5bb62 commit 17ade56

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

dts/arm/st/c0/stm32c0.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@
313313
status = "disabled";
314314
#pwm-cells = <3>;
315315
};
316+
317+
counter {
318+
compatible = "st,stm32-counter";
319+
status = "disabled";
320+
};
316321
};
317322

318323
timers3: timers@40000400 {
@@ -330,6 +335,11 @@
330335
status = "disabled";
331336
#pwm-cells = <3>;
332337
};
338+
339+
counter {
340+
compatible = "st,stm32-counter";
341+
status = "disabled";
342+
};
333343
};
334344

335345
timers14: timers@40002000 {
@@ -347,6 +357,11 @@
347357
status = "disabled";
348358
#pwm-cells = <3>;
349359
};
360+
361+
counter {
362+
compatible = "st,stm32-counter";
363+
status = "disabled";
364+
};
350365
};
351366

352367
timers16: timers@40014400 {
@@ -364,6 +379,11 @@
364379
status = "disabled";
365380
#pwm-cells = <3>;
366381
};
382+
383+
counter {
384+
compatible = "st,stm32-counter";
385+
status = "disabled";
386+
};
367387
};
368388

369389
timers17: timers@40014800 {
@@ -381,6 +401,11 @@
381401
status = "disabled";
382402
#pwm-cells = <3>;
383403
};
404+
405+
counter {
406+
compatible = "st,stm32-counter";
407+
status = "disabled";
408+
};
384409
};
385410

386411
i2c1: i2c@40005400 {

0 commit comments

Comments
 (0)