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


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# 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 <alexander.sverdlin@gmail.com>
  - Nikita Shubin <nikita.shubin@maquefel.me>

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>;
    };
...