1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/timer/via,vt8500-timer.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: VIA/Wondermedia VT8500 Timer 8 9description: 10 This is the timer block that is a standalone part of the system power 11 management controller on VIA/WonderMedia SoCs (VIA VT8500 and alike). 12 The hardware has a single 32-bit counter running at 3 MHz and four match 13 registers, each of which is associated with a dedicated match interrupt, 14 and the first of which can also serve as the system watchdog (if the 15 watchdog function is enabled, it will reset the system upon match instead 16 of triggering its respective interrupt) 17 18maintainers: 19 - Alexey Charkov <alchark@gmail.com> 20 21properties: 22 compatible: 23 const: via,vt8500-timer 24 25 reg: 26 maxItems: 1 27 28 interrupts: 29 minItems: 1 30 items: 31 - description: Channel 0 match. Note that if the watchdog function 32 is enabled, this interrupt will not fire and the system will 33 reboot instead once the counter reaches match register 0 value 34 - description: Channel 1 match 35 - description: Channel 2 match 36 - description: Channel 3 match 37 38required: 39 - compatible 40 - reg 41 - interrupts 42 43additionalProperties: false 44 45examples: 46 - | 47 timer@d8130100 { 48 compatible = "via,vt8500-timer"; 49 reg = <0xd8130100 0x28>; 50 interrupts = <36>; 51 }; 52