Path: blob/master/Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/microsoft,vmbus.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Microsoft Hyper-V VMBus78maintainers:9- Saurabh Sengar <ssengar@linux.microsoft.com>1011description:12VMBus is a software bus that implements the protocols for communication13between the root or host OS and guest OS'es (virtual machines).1415properties:16compatible:17const: microsoft,vmbus1819ranges: true2021'#address-cells':22const: 22324'#size-cells':25const: 12627dma-coherent: true2829interrupts:30maxItems: 131description: Interrupt is used to report a message from the host.3233required:34- compatible35- ranges36- interrupts37- '#address-cells'38- '#size-cells'3940additionalProperties: false4142examples:43- |44#include <dt-bindings/interrupt-controller/irq.h>45#include <dt-bindings/interrupt-controller/arm-gic.h>46soc {47#address-cells = <2>;48#size-cells = <1>;49bus {50compatible = "simple-bus";51#address-cells = <2>;52#size-cells = <1>;53ranges;5455vmbus@ff0000000 {56compatible = "microsoft,vmbus";57#address-cells = <2>;58#size-cells = <1>;59ranges = <0x0f 0xf0000000 0x0f 0xf0000000 0x10000000>;60dma-coherent;61interrupt-parent = <&gic>;62interrupts = <GIC_PPI 2 IRQ_TYPE_EDGE_RISING>;63};64};65};666768