ti,k3-rtc.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rtc/ti,k3-rtc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Texas Instruments K3 Real Time Clock
  7. maintainers:
  8. - Nishanth Menon <nm@ti.com>
  9. description: |
  10. This RTC appears in the AM62x family of SoCs.
  11. allOf:
  12. - $ref: rtc.yaml#
  13. properties:
  14. compatible:
  15. enum:
  16. - ti,am62-rtc
  17. reg:
  18. maxItems: 1
  19. interrupts:
  20. maxItems: 1
  21. clocks:
  22. items:
  23. - description: VBUS Interface clock
  24. - description: 32k Clock source (external or internal).
  25. clock-names:
  26. items:
  27. - const: vbus
  28. - const: osc32k
  29. power-domains:
  30. maxItems: 1
  31. required:
  32. - compatible
  33. - reg
  34. - interrupts
  35. - clocks
  36. - clock-names
  37. unevaluatedProperties: false
  38. examples:
  39. - |
  40. #include <dt-bindings/interrupt-controller/arm-gic.h>
  41. rtc@2b1f0000 {
  42. compatible = "ti,am62-rtc";
  43. reg = <0x2b1f0000 0x100>;
  44. interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
  45. power-domains = <&bar 0>;
  46. clocks = <&foo 0>, <&foo 1>;
  47. clock-names = "vbus", "osc32k";
  48. wakeup-source;
  49. };