SYSOST in Ingenic XBurst family SoCs

Schema identifier ($id): "http://devicetree.org/schemas/timer/ingenic,sysost.yaml#"

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

Maintainers (maintainers): "周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>"

The SYSOST in an Ingenic SoC provides one 64bit timer for clocksource and one or more 32bit timers for clockevent.

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "ingenic,x1000-ost", "ingenic,x2000-ost"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ost"

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "compatible", "reg", "clocks", "clock-names", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,x1000-cgu.h>

ost: timer@12000000 {
    compatible = "ingenic,x1000-ost";
    reg = <0x12000000 0x3c>;

    #clock-cells = <1>;

    clocks = <&cgu X1000_CLK_OST>;
    clock-names = "ost";

    interrupt-parent = <&cpuintc>;
    interrupts = <3>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page