Virtual Machine Generation ID

Schema identifier ($id): "http://devicetree.org/schemas/rng/microsoft,vmgenid.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jason A. Donenfeld <Jason@zx2c4.com>"

Firmwares or hypervisors can use this devicetree to describe an interrupt and a shared resource to inject a Virtual Machine Generation ID. Virtual Machine Generation ID is a globally unique identifier (GUID) and the devicetree binding follows VMGenID specification defined in http://go.microsoft.com/fwlink/?LinkId=260709.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microsoft,vmgenid"

reg — required here #

Specifies a 16-byte VMGenID in endianness-agnostic hexadecimal format.

Maximum number of items (maxItems): 1

interrupts — required here #

Interrupt used to notify that a new VMGenID is available.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

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>
rng@80000000 {
  compatible = "microsoft,vmgenid";
  reg = <0x80000000 0x1000>;
  interrupts = <GIC_SPI 35 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)

Edit this page