Allwinner A13 High-Speed Timer
Schema identifier ($id): "http://devicetree.org/schemas/timer/allwinner,sun5i-a13-hstimer.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
Exact value (
const):"allwinner,sun5i-a13-hstimer"
Rule 2
Exact value (
const):"allwinner,sun7i-a20-hstimer"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun6i-a31-hstimer"Item 2
Exact value (
const):"allwinner,sun7i-a20-hstimer"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Timer 0 Interrupt
Item 2
Timer 1 Interrupt
Item 3
Timer 2 Interrupt
Item 4
Timer 3 Interrupt
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Exact value (
const):"allwinner,sun5i-a13-hstimer"
When the condition matches (then) #
Properties and child nodes (
properties) #
interrupts— not listed as required here #Minimum number of items (
minItems):2Maximum number of items (
maxItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
interrupts— not listed as required here #Minimum number of items (
minItems):4Maximum number of items (
maxItems):4
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
timer@1c60000 {
compatible = "allwinner,sun7i-a20-hstimer";
reg = <0x01c60000 0x1000>;
interrupts = <0 51 1>,
<0 52 1>,
<0 53 1>,
<0 54 1>;
clocks = <&ahb1_gates 19>;
resets = <&ahb1rst 19>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0