xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/chrp,open-pic.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/chrp,open-pic.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Open PIC Interrupt Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Rob Herring <robh@kernel.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  This binding specifies what properties must be available in the device tree
14*ae5de77eSEmmanuel Vadot  representation of an Open PIC compliant interrupt controller.  This binding is
15*ae5de77eSEmmanuel Vadot  based on the binding defined for Open PIC in [1] and is a superset of that
16*ae5de77eSEmmanuel Vadot  binding.
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadotproperties:
19*ae5de77eSEmmanuel Vadot  compatible:
20*ae5de77eSEmmanuel Vadot    oneOf:
21*ae5de77eSEmmanuel Vadot      - items:
22*ae5de77eSEmmanuel Vadot          - const: fsl,mpic
23*ae5de77eSEmmanuel Vadot          - const: chrp,open-pic
24*ae5de77eSEmmanuel Vadot      - const: chrp,open-pic
25*ae5de77eSEmmanuel Vadot
26*ae5de77eSEmmanuel Vadot  device_type:
27*ae5de77eSEmmanuel Vadot    const: open-pci
28*ae5de77eSEmmanuel Vadot    deprecated: true
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot  reg:
31*ae5de77eSEmmanuel Vadot    maxItems: 1
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  interrupt-controller: true
34*ae5de77eSEmmanuel Vadot
35*ae5de77eSEmmanuel Vadot  '#address-cells':
36*ae5de77eSEmmanuel Vadot    const: 0
37*ae5de77eSEmmanuel Vadot
38*ae5de77eSEmmanuel Vadot  '#interrupt-cells':
39*ae5de77eSEmmanuel Vadot    const: 2
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel Vadot  pic-no-reset:
42*ae5de77eSEmmanuel Vadot    description: Indicates the PIC shall not be reset during runtime initialization.
43*ae5de77eSEmmanuel Vadot    type: boolean
44*ae5de77eSEmmanuel Vadot
45*ae5de77eSEmmanuel Vadotrequired:
46*ae5de77eSEmmanuel Vadot  - compatible
47*ae5de77eSEmmanuel Vadot  - reg
48*ae5de77eSEmmanuel Vadot  - interrupt-controller
49*ae5de77eSEmmanuel Vadot  - '#address-cells'
50*ae5de77eSEmmanuel Vadot  - '#interrupt-cells'
51*ae5de77eSEmmanuel Vadot
52*ae5de77eSEmmanuel VadotadditionalProperties: false
53*ae5de77eSEmmanuel Vadot
54*ae5de77eSEmmanuel Vadotexamples:
55*ae5de77eSEmmanuel Vadot  - |
56*ae5de77eSEmmanuel Vadot    interrupt-controller@40000 {
57*ae5de77eSEmmanuel Vadot        compatible = "chrp,open-pic";
58*ae5de77eSEmmanuel Vadot        reg = <0x40000 0x40000>;
59*ae5de77eSEmmanuel Vadot        interrupt-controller;
60*ae5de77eSEmmanuel Vadot        #address-cells = <0>;
61*ae5de77eSEmmanuel Vadot        #interrupt-cells = <2>;
62*ae5de77eSEmmanuel Vadot        pic-no-reset;
63*ae5de77eSEmmanuel Vadot    };
64