Debian Codegraph @

Documentation/devicetree/bindings/timer/altr,timer-1.0.yaml

raw
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
7 title: Altera Timer
8
9 maintainers:
10 - Dinh Nguyen <[email protected]>
11
12 properties:
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
25 required:
26 - compatible
27 - reg
28 - interrupts
29
30 additionalProperties: false
31
32 examples:
33 - |
34 timer@400000 {
35 compatible = "altr,timer-1.0";
36 reg = <0x00400000 0x00000020>;
37 interrupts = <11>;
38 clock-frequency = <125000000>;
39 };