%YAML 1.2
---
$id: "http://devicetree.org/schemas/qcom-vsock-gunyah.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Gunyah Vsock Transport Configuration

description: |
  Configuration properties for the Vsock Gunyah Transport. This configuration
  is to instantiate a transport for communication over vsock between primary
  and secondary virtual machines on top of the Gunyah hypervisor.

properties:
  compatible:
    const: qcom,gunyah-vsock

  qcom,master:
    description: Specify if this device is on the primary virtual machine.

  msgq-label:
    $ref: '/schemas/types.yaml#/definitions/u32'
    maxItems: 1
    description: The label gunyah vsock transport should request msgq with
                 from the gunyah message queue driver.

required:
  -compatible
  -msgq-label

examples:
  - |
    gunyah-vsock {
        compatible = "qcom,gunyah-vsock";
        msgq-label = <3>;
    };
