amazon,vmclock.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/ptp/amazon,vmclock.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Virtual Machine Clock
  7. maintainers:
  8. - David Woodhouse <dwmw2@infradead.org>
  9. description:
  10. The vmclock device provides a precise clock source and allows for
  11. accurate timekeeping across live migration and snapshot/restore
  12. operations. The full specification of the shared data structure is
  13. available at https://uapi-group.org/specifications/specs/vmclock/
  14. properties:
  15. compatible:
  16. const: amazon,vmclock
  17. reg:
  18. description:
  19. Specifies the shared memory region containing the vmclock_abi structure.
  20. maxItems: 1
  21. interrupts:
  22. description:
  23. Interrupt used to notify when the contents of the vmclock_abi structure
  24. have been updated.
  25. maxItems: 1
  26. required:
  27. - compatible
  28. - reg
  29. additionalProperties: false
  30. examples:
  31. - |
  32. #include <dt-bindings/interrupt-controller/arm-gic.h>
  33. ptp@80000000 {
  34. compatible = "amazon,vmclock";
  35. reg = <0x80000000 0x1000>;
  36. interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
  37. };