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