brcm,bcm2835-system-timer.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/timer/brcm,bcm2835-system-timer.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: BCM2835 System Timer
  7. maintainers:
  8. - Stefan Wahren <wahrenst@gmx.net>
  9. - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
  10. description:
  11. The System Timer peripheral provides four 32-bit timer channels and a
  12. single 64-bit free running counter. Each channel has an output compare
  13. register, which is compared against the 32 least significant bits of the
  14. free running counter values, and generates an interrupt.
  15. properties:
  16. compatible:
  17. const: brcm,bcm2835-system-timer
  18. reg:
  19. maxItems: 1
  20. interrupts:
  21. items:
  22. - description: System Timer Compare 0 match (used by VideoCore GPU)
  23. - description: System Timer Compare 1 match (usable for ARM core)
  24. - description: System Timer Compare 2 match (used by VideoCore GPU)
  25. - description: System Timer Compare 3 match (usable for ARM core)
  26. clock-frequency: true
  27. required:
  28. - compatible
  29. - reg
  30. - interrupts
  31. additionalProperties: false
  32. examples:
  33. - |
  34. timer@7e003000 {
  35. compatible = "brcm,bcm2835-system-timer";
  36. reg = <0x7e003000 0x1000>;
  37. interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
  38. clock-frequency = <1000000>;
  39. };
  40. ...