TI DaVinci Timer
Schema identifier ($id): "http://devicetree.org/schemas/timer/ti,da830-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kousik Sanagavarapu <five231003@gmail.com>"
This is a 64-bit timer found on TI's DaVinci architecture devices. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers, each half can operate in conjunction (chain mode) or independently (unchained mode) of each other.
The timer is a free running up-counter and can generate interrupts when the counter reaches preset counter values.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,da830-timer"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 10
interrupt-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"tint12"
Item 2
Exact value (
const):"tint34"
Item 3
Exact value (
const):"cmpint0"
Item 4
Exact value (
const):"cmpint1"
Item 5
Exact value (
const):"cmpint2"
Item 6
Exact value (
const):"cmpint3"
Item 7
Exact value (
const):"cmpint4"
Item 8
Exact value (
const):"cmpint5"
Item 9
Exact value (
const):"cmpint6"
Item 10
Exact value (
const):"cmpint7"
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
timer@20000 {
compatible = "ti,da830-timer";
reg = <0x20000 0x1000>;
interrupts = <21>, <22>;
interrupt-names = "tint12", "tint34";
clocks = <&pll0_auxclk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)