mstar,msc313e-timer.yaml 861 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Mstar MSC313e Timer
  7. maintainers:
  8. - Daniel Palmer <daniel@0x0f.com>
  9. - Romain Perier <romain.perier@gmail.com>
  10. properties:
  11. compatible:
  12. enum:
  13. - mstar,msc313e-timer
  14. - sstar,ssd20xd-timer
  15. reg:
  16. maxItems: 1
  17. interrupts:
  18. maxItems: 1
  19. clocks:
  20. maxItems: 1
  21. required:
  22. - compatible
  23. - reg
  24. - interrupts
  25. - clocks
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/interrupt-controller/arm-gic.h>
  30. timer@6040 {
  31. compatible = "mstar,msc313e-timer";
  32. reg = <0x6040 0x40>;
  33. clocks = <&xtal_div2>;
  34. interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  35. };
  36. ...