ACLINT Machine-level Timer Device

Schema identifier ($id): "http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml#"

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

Maintainers (maintainers): "Inochi Amaoto <inochiama@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "sophgo,sg2042-aclint-mtimer", "sophgo,sg2044-aclint-mtimer"

Item 2

Exact value (const): "thead,c900-aclint-mtimer"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "anlogic,dr1v90-aclint-mtimer"

Item 2

Exact value (const): "nuclei,ux900-aclint-mtimer"

reg — required here #

Array item rules (items) #

Item 1

MTIMECMP Registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mtimecmp"

interrupts-extended — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4095

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "reg-names", "interrupts-extended"

Examples (examples) #

timer@ac000000 {
  compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
  interrupts-extended = <&cpu1intc 7>,
                        <&cpu2intc 7>,
                        <&cpu3intc 7>,
                        <&cpu4intc 7>;
  reg = <0xac000000 0x00010000>;
  reg-names = "mtimecmp";
};

Source notes #

Annotations retained from the schema source

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

Edit this page