alphascale,asm9260-rtc.yaml 885 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rtc/alphascale,asm9260-rtc.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Alphascale asm9260 SoC Real Time Clock
  7. maintainers:
  8. - Javier Carrasco <javier.carrasco.cruz@gmail.com>
  9. allOf:
  10. - $ref: rtc.yaml#
  11. properties:
  12. compatible:
  13. const: alphascale,asm9260-rtc
  14. reg:
  15. maxItems: 1
  16. clocks:
  17. maxItems: 1
  18. clock-names:
  19. const: ahb
  20. interrupts:
  21. maxItems: 1
  22. required:
  23. - compatible
  24. - reg
  25. - clocks
  26. - clock-names
  27. - interrupts
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. #include <dt-bindings/clock/alphascale,asm9260.h>
  32. rtc@800a0000 {
  33. compatible = "alphascale,asm9260-rtc";
  34. reg = <0x800a0000 0x100>;
  35. clocks = <&acc CLKID_AHB_RTC>;
  36. clock-names = "ahb";
  37. interrupts = <2>;
  38. };