Allwinner A10 Timer

Schema identifier ($id): "http://devicetree.org/schemas/timer/allwinner,sun4i-a10-timer.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "allwinner,sun4i-a10-timer", "allwinner,sun8i-a23-timer", "allwinner,sun8i-v3s-timer", "allwinner,suniv-f1c100s-timer"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun20i-d1-timer", "allwinner,sun50i-a64-timer", "allwinner,sun50i-h6-timer", "allwinner,sun50i-h616-timer"

Item 2

Exact value (const): "allwinner,sun8i-a23-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 6

List of timers interrupts

clocks — required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun4i-a10-timer"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun8i-a23-timer"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "allwinner,sun8i-v3s-timer", "allwinner,suniv-f1c100s-timer"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

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

false

Not allowed by this rule.

Examples (examples) #

timer@1c20c00 {
    compatible = "allwinner,sun4i-a10-timer";
    reg = <0x01c20c00 0x400>;
    interrupts = <22>,
                 <23>,
                 <24>,
                 <25>,
                 <67>,
                 <68>;
    clocks = <&osc>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page