# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/misc/google,android-pipe.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Android Goldfish QEMU Pipe

maintainers:
  - Kuan-Wei Chiu <visitorckw@gmail.com>

description:
  Android QEMU pipe virtual device generated by Android emulator.

properties:
  compatible:
    const: google,android-pipe

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    pipe@ff018000 {
        compatible = "google,android-pipe";
        reg = <0xff018000 0x2000>;
        interrupts = <18>;
    };
