xref: /freebsd/sys/contrib/device-tree/Bindings/timer/renesas,em-sti.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas EMMA Mobile System Timer
8
9maintainers:
10  - Magnus Damm <magnus.damm@gmail.com>
11
12properties:
13  compatible:
14    const: renesas,em-sti
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    const: sclk
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - clocks
33  - clock-names
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/arm-gic.h>
40    timer@e0180000 {
41            compatible = "renesas,em-sti";
42            reg = <0xe0180000 0x54>;
43            interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
44            clocks = <&sti_sclk>;
45            clock-names = "sclk";
46    };
47