mediatek,mt2712-rtc.yaml 713 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MediaTek MT2712 on-SoC RTC
  7. allOf:
  8. - $ref: rtc.yaml#
  9. maintainers:
  10. - Ran Bi <ran.bi@mediatek.com>
  11. properties:
  12. compatible:
  13. const: mediatek,mt2712-rtc
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. maxItems: 1
  18. required:
  19. - reg
  20. - interrupts
  21. unevaluatedProperties: false
  22. examples:
  23. - |
  24. #include <dt-bindings/interrupt-controller/arm-gic.h>
  25. rtc@10011000 {
  26. compatible = "mediatek,mt2712-rtc";
  27. reg = <0x10011000 0x1000>;
  28. interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
  29. };