rtc-mxc_v2.yaml 778 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/rtc/rtc-mxc_v2.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: i.MX53 Secure Real Time Clock (SRTC)
  7. allOf:
  8. - $ref: rtc.yaml#
  9. maintainers:
  10. - Patrick Bruenn <p.bruenn@beckhoff.com>
  11. properties:
  12. compatible:
  13. enum:
  14. - fsl,imx53-rtc
  15. reg:
  16. maxItems: 1
  17. clocks:
  18. maxItems: 1
  19. interrupts:
  20. maxItems: 1
  21. required:
  22. - compatible
  23. - reg
  24. - clocks
  25. - interrupts
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #include <dt-bindings/clock/imx5-clock.h>
  30. rtc@53fa4000 {
  31. compatible = "fsl,imx53-rtc";
  32. reg = <0x53fa4000 0x4000>;
  33. interrupts = <24>;
  34. clocks = <&clks IMX5_CLK_SRTC_GATE>;
  35. };