xref: /linux/Documentation/devicetree/bindings/timer/altr,timer-1.0.yaml (revision e7e86d7697c6ed1dbbde18d7185c35b6967945ed)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/altr,timer-1.0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Altera Timer
8
9maintainers:
10  - Dinh Nguyen <dinguyen@kernel.org>
11
12properties:
13  compatible:
14    const: altr,timer-1.0
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clock-frequency:
23    description: Frequency of the clock that drives the counter, in Hz.
24
25required:
26  - compatible
27  - reg
28  - interrupts
29
30additionalProperties: false
31
32examples:
33  - |
34    timer@400000 {
35        compatible = "altr,timer-1.0";
36        reg = <0x00400000 0x00000020>;
37        interrupts = <11>;
38        clock-frequency = <125000000>;
39    };
40