ti,da830-timer.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/timer/ti,da830-timer.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI DaVinci Timer
  7. maintainers:
  8. - Kousik Sanagavarapu <five231003@gmail.com>
  9. description: |
  10. This is a 64-bit timer found on TI's DaVinci architecture devices. The timer
  11. can be configured as a general-purpose 64-bit timer, dual general-purpose
  12. 32-bit timers. When configured as dual 32-bit timers, each half can operate
  13. in conjunction (chain mode) or independently (unchained mode) of each other.
  14. The timer is a free running up-counter and can generate interrupts when the
  15. counter reaches preset counter values.
  16. properties:
  17. compatible:
  18. const: ti,da830-timer
  19. reg:
  20. maxItems: 1
  21. interrupts:
  22. minItems: 2
  23. maxItems: 10
  24. interrupt-names:
  25. minItems: 2
  26. items:
  27. - const: tint12
  28. - const: tint34
  29. - const: cmpint0
  30. - const: cmpint1
  31. - const: cmpint2
  32. - const: cmpint3
  33. - const: cmpint4
  34. - const: cmpint5
  35. - const: cmpint6
  36. - const: cmpint7
  37. clocks:
  38. maxItems: 1
  39. required:
  40. - compatible
  41. - reg
  42. - interrupts
  43. - interrupt-names
  44. - clocks
  45. additionalProperties: false
  46. examples:
  47. - |
  48. timer@20000 {
  49. compatible = "ti,da830-timer";
  50. reg = <0x20000 0x1000>;
  51. interrupts = <21>, <22>;
  52. interrupt-names = "tint12", "tint34";
  53. clocks = <&pll0_auxclk>;
  54. };
  55. ...