xref: /linux/Documentation/devicetree/bindings/timer/marvell,orion-timer.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/marvell,orion-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Orion SoC timer
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11  - Gregory Clement <gregory.clement@bootlin.com>
12
13properties:
14  compatible:
15    const: marvell,orion-timer
16
17  reg:
18    maxItems: 1
19
20  clocks:
21    maxItems: 1
22
23  interrupts:
24    items:
25      - description: Timer0 interrupt
26      - description: Timer1 interrupt
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - clocks
33
34additionalProperties: false
35
36examples:
37  - |
38    timer@20300 {
39        compatible = "marvell,orion-timer";
40        reg = <0x20300 0x20>;
41        interrupts = <1>, <2>;
42        clocks = <&core_clk 0>;
43    };
44