VIA/Wondermedia VT8500 Timer
Schema identifier ($id): "http://devicetree.org/schemas/timer/via,vt8500-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is the timer block that is a standalone part of the system power management controller on VIA/WonderMedia SoCs (VIA VT8500 and alike). The hardware has a single 32-bit counter running at 3 MHz and four match registers, each of which is associated with a dedicated match interrupt, and the first of which can also serve as the system watchdog (if the watchdog function is enabled, it will reset the system upon match instead of triggering its respective interrupt)
Maintainers (maintainers): "Alexey Charkov <alchark@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "via,vt8500-timer"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Channel 0 match. Note that if the watchdog function is enabled, this interrupt will not fire and the system will reboot instead once the counter reaches match register 0 value
Item 2
Channel 1 match
Item 3
Channel 2 match
Item 4
Channel 3 match
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
timer@d8130100 {
compatible = "via,vt8500-timer";
reg = <0xd8130100 0x28>;
interrupts = <36>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)