rda,8810pl-timer.yaml 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: RDA Micro RDA8810PL Timer
  7. maintainers:
  8. - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  9. properties:
  10. compatible:
  11. const: rda,8810pl-timer
  12. reg:
  13. maxItems: 1
  14. interrupts:
  15. minItems: 2
  16. maxItems: 2
  17. interrupt-names:
  18. items:
  19. - const: hwtimer
  20. - const: ostimer
  21. required:
  22. - compatible
  23. - reg
  24. - interrupts
  25. - interrupt-names
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/interrupt-controller/irq.h>
  30. timer@20910000 {
  31. compatible = "rda,8810pl-timer";
  32. reg = <0x20910000 0x1000>;
  33. interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
  34. <17 IRQ_TYPE_LEVEL_HIGH>;
  35. interrupt-names = "hwtimer", "ostimer";
  36. };
  37. ...