intel,ixp4xx-timer.yaml 915 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. # Copyright 2018 Linaro Ltd.
  3. %YAML 1.2
  4. ---
  5. $id: http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#
  6. $schema: http://devicetree.org/meta-schemas/core.yaml#
  7. title: Intel IXP4xx XScale Networking Processors Timers
  8. maintainers:
  9. - Linus Walleij <linus.walleij@linaro.org>
  10. description: This timer is found in the Intel IXP4xx processors.
  11. properties:
  12. compatible:
  13. items:
  14. - const: intel,ixp4xx-timer
  15. reg:
  16. maxItems: 1
  17. interrupts:
  18. minItems: 1
  19. items:
  20. - description: Timer 1 interrupt
  21. - description: Timer 2 interrupt
  22. required:
  23. - compatible
  24. - reg
  25. - interrupts
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/interrupt-controller/irq.h>
  30. timer@c8005000 {
  31. compatible = "intel,ixp4xx-timer";
  32. reg = <0xc8005000 0x100>;
  33. interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
  34. };