xref: /linux/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*fa2024c3SStanislav Jakubek# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*fa2024c3SStanislav Jakubek%YAML 1.2
3*fa2024c3SStanislav Jakubek---
4*fa2024c3SStanislav Jakubek$id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml#
5*fa2024c3SStanislav Jakubek$schema: http://devicetree.org/meta-schemas/core.yaml#
6*fa2024c3SStanislav Jakubek
7*fa2024c3SStanislav Jakubektitle: RDA Micro RDA8810PL Timer
8*fa2024c3SStanislav Jakubek
9*fa2024c3SStanislav Jakubekmaintainers:
10*fa2024c3SStanislav Jakubek  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11*fa2024c3SStanislav Jakubek
12*fa2024c3SStanislav Jakubekproperties:
13*fa2024c3SStanislav Jakubek  compatible:
14*fa2024c3SStanislav Jakubek    const: rda,8810pl-timer
15*fa2024c3SStanislav Jakubek
16*fa2024c3SStanislav Jakubek  reg:
17*fa2024c3SStanislav Jakubek    maxItems: 1
18*fa2024c3SStanislav Jakubek
19*fa2024c3SStanislav Jakubek  interrupts:
20*fa2024c3SStanislav Jakubek    minItems: 2
21*fa2024c3SStanislav Jakubek    maxItems: 2
22*fa2024c3SStanislav Jakubek
23*fa2024c3SStanislav Jakubek  interrupt-names:
24*fa2024c3SStanislav Jakubek    items:
25*fa2024c3SStanislav Jakubek      - const: hwtimer
26*fa2024c3SStanislav Jakubek      - const: ostimer
27*fa2024c3SStanislav Jakubek
28*fa2024c3SStanislav Jakubekrequired:
29*fa2024c3SStanislav Jakubek  - compatible
30*fa2024c3SStanislav Jakubek  - reg
31*fa2024c3SStanislav Jakubek  - interrupts
32*fa2024c3SStanislav Jakubek  - interrupt-names
33*fa2024c3SStanislav Jakubek
34*fa2024c3SStanislav JakubekadditionalProperties: false
35*fa2024c3SStanislav Jakubek
36*fa2024c3SStanislav Jakubekexamples:
37*fa2024c3SStanislav Jakubek  - |
38*fa2024c3SStanislav Jakubek    #include <dt-bindings/interrupt-controller/irq.h>
39*fa2024c3SStanislav Jakubek
40*fa2024c3SStanislav Jakubek    timer@20910000 {
41*fa2024c3SStanislav Jakubek      compatible = "rda,8810pl-timer";
42*fa2024c3SStanislav Jakubek      reg = <0x20910000 0x1000>;
43*fa2024c3SStanislav Jakubek      interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
44*fa2024c3SStanislav Jakubek                   <17 IRQ_TYPE_LEVEL_HIGH>;
45*fa2024c3SStanislav Jakubek      interrupt-names = "hwtimer", "ostimer";
46*fa2024c3SStanislav Jakubek    };
47*fa2024c3SStanislav Jakubek...
48