1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interrupt-controller/google,goldfish-pic.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Android Goldfish PIC
8
9maintainers:
10  - Miodrag Dinic <miodrag.dinic@mips.com>
11
12description:
13  Android Goldfish programmable interrupt device used by Android emulator.
14
15properties:
16  compatible:
17    const: google,goldfish-pic
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  interrupt-controller: true
26
27  '#interrupt-cells':
28    const: 1
29
30required:
31  - compatible
32  - reg
33  - interrupts
34  - interrupt-controller
35  - '#interrupt-cells'
36
37examples:
38  - |
39    interrupt-controller@1f000000 {
40        compatible = "google,goldfish-pic";
41        reg = <0x1f000000 0x1000>;
42        interrupt-controller;
43        #interrupt-cells = <1>;
44        interrupts = <2>;
45    };
46
47additionalProperties: false
48