linux/Documentation/devicetree/bindings/timer/cirrus,ep9301-timer.yaml

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/cirrus,ep9301-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Cirrus Logic EP93xx timer

maintainers:
  - Alexander Sverdlin <[email protected]>
  - Nikita Shubin <[email protected]>

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9301-timer
      - items:
          - enum:
              - cirrus,ep9302-timer
              - cirrus,ep9307-timer
              - cirrus,ep9312-timer
              - cirrus,ep9315-timer
          - const: cirrus,ep9301-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    timer@80810000 {
      compatible = "cirrus,ep9301-timer";
      reg = <0x80810000 0x100>;
      interrupt-parent = <&vic1>;
      interrupts = <19>;
    };
...