Realtek System Timer

Schema identifier ($id): "http://devicetree.org/schemas/timer/realtek,rtd1625-systimer.yaml#"

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

Maintainers (maintainers): "Hao-Wen Ting <haowen.ting@realtek.com>"

The Realtek SYSTIMER (System Timer) is a 64-bit global hardware counter operating at a fixed 1MHz frequency. Thanks to its compare match interrupt capability, the timer natively supports oneshot mode for tick broadcast functionality.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "realtek,rtd1625-systimer"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "realtek,rtd1635-systimer"

Item 2

Exact value (const): "realtek,rtd1625-systimer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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@89420 {
    compatible = "realtek,rtd1635-systimer",
                 "realtek,rtd1625-systimer";
    reg = <0x89420 0x18>;
    interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page