summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/timer/st,stm32-timer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/timer/st,stm32-timer.txt')
-rw-r--r--dts/Bindings/timer/st,stm32-timer.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/dts/Bindings/timer/st,stm32-timer.txt b/dts/Bindings/timer/st,stm32-timer.txt
new file mode 100644
index 0000000000..8ef28e70d6
--- /dev/null
+++ b/dts/Bindings/timer/st,stm32-timer.txt
@@ -0,0 +1,22 @@
+. STMicroelectronics STM32 timer
+
+The STM32 MCUs family has several general-purpose 16 and 32 bits timers.
+
+Required properties:
+- compatible : Should be "st,stm32-timer"
+- reg : Address and length of the register set
+- clocks : Reference on the timer input clock
+- interrupts : Reference to the timer interrupt
+
+Optional properties:
+- resets: Reference to a reset controller asserting the timer
+
+Example:
+
+timer5: timer@40000c00 {
+ compatible = "st,stm32-timer";
+ reg = <0x40000c00 0x400>;
+ interrupts = <50>;
+ resets = <&rrc 259>;
+ clocks = <&clk_pmtr1>;
+};