1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/st,stm32-timer.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: STMicroelectronics STM32 general-purpose 16 and 32 bits timers 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 108cc087a1SEmmanuel Vadot - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 118cc087a1SEmmanuel Vadot - Patrice Chotard <patrice.chotard@foss.st.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot compatible: 15c66ec88fSEmmanuel Vadot const: st,stm32-timer 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot reg: 18c66ec88fSEmmanuel Vadot maxItems: 1 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot interrupts: 21c66ec88fSEmmanuel Vadot maxItems: 1 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot clocks: 24c66ec88fSEmmanuel Vadot maxItems: 1 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot resets: 27c66ec88fSEmmanuel Vadot maxItems: 1 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadotrequired: 30c66ec88fSEmmanuel Vadot - compatible 31c66ec88fSEmmanuel Vadot - reg 32c66ec88fSEmmanuel Vadot - interrupts 33c66ec88fSEmmanuel Vadot - clocks 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel VadotadditionalProperties: false 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadotexamples: 38c66ec88fSEmmanuel Vadot - | 39c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 40c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/stm32mp1-clks.h> 41c66ec88fSEmmanuel Vadot timer: timer@40000c00 { 42c66ec88fSEmmanuel Vadot compatible = "st,stm32-timer"; 43c66ec88fSEmmanuel Vadot reg = <0x40000c00 0x400>; 44c66ec88fSEmmanuel Vadot interrupts = <50>; 45c66ec88fSEmmanuel Vadot clocks = <&clk_pmtr1>; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot... 49