aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.yaml
blob: ac3c3c3ca186299d11c0efe6a2ec9e89bd3dd562 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/google,goldfish-pic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Android Goldfish PIC

maintainers:
  - Miodrag Dinic <miodrag.dinic@mips.com>

description:
  Android Goldfish programmable interrupt device used by Android emulator.

properties:
  compatible:
    const: google,goldfish-pic

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  interrupt-controller: true

  '#interrupt-cells':
    const: 1

required:
  - compatible
  - reg
  - interrupts
  - interrupt-controller
  - '#interrupt-cells'

examples:
  - |
    interrupt-controller@1f000000 {
        compatible = "google,goldfish-pic";
        reg = <0x1f000000 0x1000>;
        interrupt-controller;
        #interrupt-cells = <1>;
        interrupts = <2>;
    };

additionalProperties: false