xref: /linux/Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml (revision bf373e4c786bfe989e637195252698f45b157a68)
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/chrp,open-pic.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Open PIC Interrupt Controller
8
9maintainers:
10  - Rob Herring <robh@kernel.org>
11
12description:
13  This binding specifies what properties must be available in the device tree
14  representation of an Open PIC compliant interrupt controller.  This binding is
15  based on the binding defined for Open PIC in [1] and is a superset of that
16  binding.
17
18properties:
19  compatible:
20    oneOf:
21      - items:
22          - const: fsl,mpic
23          - const: chrp,open-pic
24      - const: chrp,open-pic
25
26  device_type:
27    const: open-pci
28    deprecated: true
29
30  reg:
31    maxItems: 1
32
33  interrupt-controller: true
34
35  '#address-cells':
36    const: 0
37
38  '#interrupt-cells':
39    const: 2
40
41  pic-no-reset:
42    description: Indicates the PIC shall not be reset during runtime initialization.
43    type: boolean
44
45required:
46  - compatible
47  - reg
48  - interrupt-controller
49  - '#address-cells'
50  - '#interrupt-cells'
51
52additionalProperties: false
53
54examples:
55  - |
56    interrupt-controller@40000 {
57        compatible = "chrp,open-pic";
58        reg = <0x40000 0x40000>;
59        interrupt-controller;
60        #address-cells = <0>;
61        #interrupt-cells = <2>;
62        pic-no-reset;
63    };
64