ARMv7M System Timer

Schema identifier ($id): "http://devicetree.org/schemas/timer/arm,armv7m-systick.yaml#"

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

Maintainers (maintainers): "Alexandre Torgue <alexandre.torgue@foss.st.com>", "Fabrice Gasnier <fabrice.gasnier@foss.st.com>"

ARMv7-M includes a system timer, known as SysTick.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,armv7m-systick"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

true — No constraints added by this property rule.

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "clocks"

Rule 2 #

Required in this object (required): "clock-frequency"

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

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

false

Not allowed by this rule.

Examples (examples) #

timer@e000e010 {
    compatible = "arm,armv7m-systick";
    reg = <0xe000e010 0x10>;
    clocks = <&clk_systick>;
};
timer@e000e010 {
    compatible = "arm,armv7m-systick";
    reg = <0xe000e010 0x10>;
    clock-frequency = <90000000>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page