Virtual Machine Clock
Schema identifier ($id): "http://devicetree.org/schemas/ptp/amazon,vmclock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "David Woodhouse <dwmw2@infradead.org>"
The vmclock device provides a precise clock source and allows for accurate timekeeping across live migration and snapshot/restore operations. The full specification of the shared data structure is available at https://uapi-group.org/specifications/specs/vmclock/
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amazon,vmclock"
reg — required here #
Specifies the shared memory region containing the vmclock_abi structure.
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Interrupt used to notify when the contents of the vmclock_abi structure have been updated.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ptp@80000000 {
compatible = "amazon,vmclock";
reg = <0x80000000 0x1000>;
interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)