summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml
blob: f0d9bbd7d510ae9749ee3e71ab3c227e06967347 (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/chrp,open-pic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Open PIC Interrupt Controller

maintainers:
  - Rob Herring <robh@kernel.org>

description:
  This binding specifies what properties must be available in the device tree
  representation of an Open PIC compliant interrupt controller.  This binding is
  based on the binding defined for Open PIC in [1] and is a superset of that
  binding.

properties:
  compatible:
    oneOf:
      - items:
          - const: fsl,mpic
          - const: chrp,open-pic
      - const: chrp,open-pic

  device_type:
    const: open-pci
    deprecated: true

  reg:
    maxItems: 1

  interrupt-controller: true

  '#address-cells':
    const: 0

  '#interrupt-cells':
    const: 2

  pic-no-reset:
    description: Indicates the PIC shall not be reset during runtime initialization.
    type: boolean

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

additionalProperties: false

examples:
  - |
    interrupt-controller@40000 {
        compatible = "chrp,open-pic";
        reg = <0x40000 0x40000>;
        interrupt-controller;
        #address-cells = <0>;
        #interrupt-cells = <2>;
        pic-no-reset;
    };