arm,twd-timer.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/timer/arm,twd-timer.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ARM Timer-Watchdog Timer
  7. maintainers:
  8. - Rob Herring <robh@kernel.org>
  9. description:
  10. ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core
  11. Timer-Watchdog (aka TWD), which provides both a per-cpu local timer
  12. and watchdog.
  13. The TWD is usually attached to a GIC to deliver its two per-processor
  14. interrupts.
  15. properties:
  16. compatible:
  17. enum:
  18. - arm,cortex-a9-twd-timer
  19. - arm,cortex-a5-twd-timer
  20. - arm,arm11mp-twd-timer
  21. reg:
  22. maxItems: 1
  23. interrupts:
  24. maxItems: 1
  25. clocks:
  26. maxItems: 1
  27. always-on:
  28. description:
  29. If present, the timer is powered through an always-on power domain,
  30. therefore it never loses context.
  31. required:
  32. - compatible
  33. - reg
  34. - interrupts
  35. additionalProperties: false
  36. examples:
  37. - |
  38. #include <dt-bindings/interrupt-controller/arm-gic.h>
  39. timer@2c000600 {
  40. compatible = "arm,arm11mp-twd-timer";
  41. reg = <0x2c000600 0x20>;
  42. interrupts = <GIC_PPI 13 0xf01>;
  43. };