STMicroelectronics STM32 general-purpose 16 and 32 bits timers

Schema identifier ($id): "http://devicetree.org/schemas/timer/st,stm32-timer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Fabrice Gasnier <fabrice.gasnier@foss.st.com>", "Patrice Chotard <patrice.chotard@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stm32-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
timer: timer@40000c00 {
    compatible = "st,stm32-timer";
    reg = <0x40000c00 0x400>;
    interrupts = <50>;
    clocks = <&clk_pmtr1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page