0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: RDA Micro RDA8810PL Timer
0008
0009 maintainers:
0010 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
0011
0012 properties:
0013 compatible:
0014 const: rda,8810pl-timer
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 minItems: 2
0021 maxItems: 2
0022
0023 interrupt-names:
0024 items:
0025 - const: hwtimer
0026 - const: ostimer
0027
0028 required:
0029 - compatible
0030 - reg
0031 - interrupts
0032 - interrupt-names
0033
0034 additionalProperties: false
0035
0036 examples:
0037 - |
0038 #include <dt-bindings/interrupt-controller/irq.h>
0039
0040 timer@20910000 {
0041 compatible = "rda,8810pl-timer";
0042 reg = <0x20910000 0x1000>;
0043 interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
0044 <17 IRQ_TYPE_LEVEL_HIGH>;
0045 interrupt-names = "hwtimer", "ostimer";
0046 };
0047 ...