arm,pl031.yaml 916 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rtc/arm,pl031.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Arm Primecell PL031 Real Time Clock
  7. select:
  8. properties:
  9. compatible:
  10. contains:
  11. const: arm,pl031
  12. required:
  13. - compatible
  14. allOf:
  15. - $ref: rtc.yaml#
  16. maintainers:
  17. - Rob Herring <robh@kernel.org>
  18. properties:
  19. compatible:
  20. items:
  21. - const: arm,pl031
  22. - const: arm,primecell
  23. reg:
  24. maxItems: 1
  25. interrupts:
  26. maxItems: 1
  27. clocks:
  28. maxItems: 1
  29. clock-names:
  30. maxItems: 1
  31. start-year: true
  32. required:
  33. - compatible
  34. - reg
  35. - clocks
  36. - clock-names
  37. additionalProperties: false
  38. examples:
  39. - |
  40. rtc@10017000 {
  41. compatible = "arm,pl031", "arm,primecell";
  42. reg = <0x10017000 0x1000>;
  43. clocks = <&pclk>;
  44. clock-names = "apb_pclk";
  45. };