xref: /freebsd/sys/contrib/device-tree/Bindings/bus/microsoft,vmbus.yaml (revision 02e9120893770924227138ba49df1edb3896112a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/bus/microsoft,vmbus.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microsoft Hyper-V VMBus
8
9maintainers:
10  - Saurabh Sengar <ssengar@linux.microsoft.com>
11
12description:
13  VMBus is a software bus that implement the protocols for communication
14  between the root or host OS and guest OSs (virtual machines).
15
16properties:
17  compatible:
18    const: microsoft,vmbus
19
20  ranges: true
21
22  '#address-cells':
23    const: 2
24
25  '#size-cells':
26    const: 1
27
28required:
29  - compatible
30  - ranges
31  - '#address-cells'
32  - '#size-cells'
33
34additionalProperties: false
35
36examples:
37  - |
38    soc {
39        #address-cells = <2>;
40        #size-cells = <1>;
41        bus {
42            compatible = "simple-bus";
43            #address-cells = <2>;
44            #size-cells = <1>;
45            ranges;
46
47            vmbus@ff0000000 {
48                compatible = "microsoft,vmbus";
49                #address-cells = <2>;
50                #size-cells = <1>;
51                ranges = <0x0f 0xf0000000 0x0f 0xf0000000 0x10000000>;
52            };
53        };
54    };
55