GNU Linux-libre 4.14.259-gnu1
[releases.git] / Documentation / devicetree / bindings / timer / renesas,ostm.txt
1 * Renesas OS Timer (OSTM)
2
3 The OSTM is a multi-channel 32-bit timer/counter with fixed clock
4 source that can operate in either interval count down timer or free-running
5 compare match mode.
6
7 Channels are independent from each other.
8
9 Required Properties:
10
11   - compatible: must be one or more of the following:
12     - "renesas,r7s72100-ostm" for the r7s72100 OSTM
13     - "renesas,ostm" for any OSTM
14                 This is a fallback for the above renesas,*-ostm entries
15
16   - reg: base address and length of the register block for a timer channel.
17
18   - interrupts: interrupt specifier for the timer channel.
19
20   - clocks: clock specifier for the timer channel.
21
22 Example: R7S72100 (RZ/A1H) OSTM node
23
24         ostm0: timer@fcfec000 {
25                 compatible = "renesas,r7s72100-ostm", "renesas,ostm";
26                 reg = <0xfcfec000 0x30>;
27                 interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>;
28                 clocks = <&mstp5_clks R7S72100_CLK_OSTM0>;
29                 power-domains = <&cpg_clocks>;
30         };