mstar,msc313-rtc.yaml 866 B

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