ARM MPS2 timer

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

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

Maintainers (maintainers): "Vladimir Murzin <vladimir.murzin@arm.com>"

The MPS2 platform has simple general-purpose 32 bits timers.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,mps2-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — 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 #

Rate in Hz of the timer input clock

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", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

timer@40000000 {
    compatible = "arm,mps2-timer";
    reg = <0x40000000 0x1000>;
    interrupts = <8>;
    clocks = <&sysclk>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page