ARM Timer-Watchdog Timer

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

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core Timer-Watchdog (aka TWD), which provides both a per-cpu local timer and watchdog. The TWD is usually attached to a GIC to deliver its two per-processor interrupts.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,cortex-a9-twd-timer", "arm,cortex-a5-twd-timer", "arm,arm11mp-twd-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

always-on — not listed as required here #

If present, the timer is powered through an always-on power domain, therefore it never loses context.

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) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

timer@2c000600 {
    compatible = "arm,arm11mp-twd-timer";
    reg = <0x2c000600 0x20>;
    interrupts = <GIC_PPI 13 0xf01>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page