xref: /linux/Documentation/devicetree/bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml (revision 47d5e0b0e1c151c06885a78a108001ead96adc75)
1*47d5e0b0SGregory CLEMENT# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*47d5e0b0SGregory CLEMENT%YAML 1.2
3*47d5e0b0SGregory CLEMENT---
4*47d5e0b0SGregory CLEMENT$id: "http://devicetree.org/schemas/interrupt-controller/mscc,ocelot-icpu-intr.yaml#"
5*47d5e0b0SGregory CLEMENT$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6*47d5e0b0SGregory CLEMENT
7*47d5e0b0SGregory CLEMENTtitle: Microsemi Ocelot SoC ICPU Interrupt Controller
8*47d5e0b0SGregory CLEMENT
9*47d5e0b0SGregory CLEMENTmaintainers:
10*47d5e0b0SGregory CLEMENT  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11*47d5e0b0SGregory CLEMENT
12*47d5e0b0SGregory CLEMENTallOf:
13*47d5e0b0SGregory CLEMENT  - $ref: /schemas/interrupt-controller.yaml#
14*47d5e0b0SGregory CLEMENT
15*47d5e0b0SGregory CLEMENTdescription: |
16*47d5e0b0SGregory CLEMENT  the Microsemi Ocelot interrupt controller that is part of the
17*47d5e0b0SGregory CLEMENT  ICPU. It is connected directly to the MIPS core interrupt
18*47d5e0b0SGregory CLEMENT  controller.
19*47d5e0b0SGregory CLEMENT
20*47d5e0b0SGregory CLEMENTproperties:
21*47d5e0b0SGregory CLEMENT  compatible:
22*47d5e0b0SGregory CLEMENT    items:
23*47d5e0b0SGregory CLEMENT      - enum:
24*47d5e0b0SGregory CLEMENT          - mscc,ocelot-icpu-intr
25*47d5e0b0SGregory CLEMENT
26*47d5e0b0SGregory CLEMENT  '#interrupt-cells':
27*47d5e0b0SGregory CLEMENT    const: 1
28*47d5e0b0SGregory CLEMENT
29*47d5e0b0SGregory CLEMENT  '#address-cells':
30*47d5e0b0SGregory CLEMENT    const: 0
31*47d5e0b0SGregory CLEMENT
32*47d5e0b0SGregory CLEMENT  interrupt-controller: true
33*47d5e0b0SGregory CLEMENT
34*47d5e0b0SGregory CLEMENT  reg:
35*47d5e0b0SGregory CLEMENT    maxItems: 1
36*47d5e0b0SGregory CLEMENT
37*47d5e0b0SGregory CLEMENT  interrupts:
38*47d5e0b0SGregory CLEMENT    maxItems: 1
39*47d5e0b0SGregory CLEMENT
40*47d5e0b0SGregory CLEMENTrequired:
41*47d5e0b0SGregory CLEMENT  - compatible
42*47d5e0b0SGregory CLEMENT  - '#interrupt-cells'
43*47d5e0b0SGregory CLEMENT  - '#address-cells'
44*47d5e0b0SGregory CLEMENT  - interrupt-controller
45*47d5e0b0SGregory CLEMENT  - reg
46*47d5e0b0SGregory CLEMENT
47*47d5e0b0SGregory CLEMENTadditionalProperties: false
48*47d5e0b0SGregory CLEMENT
49*47d5e0b0SGregory CLEMENTexamples:
50*47d5e0b0SGregory CLEMENT  - |
51*47d5e0b0SGregory CLEMENT    intc: interrupt-controller@70000070 {
52*47d5e0b0SGregory CLEMENT        compatible = "mscc,ocelot-icpu-intr";
53*47d5e0b0SGregory CLEMENT        reg = <0x70000070 0x70>;
54*47d5e0b0SGregory CLEMENT        #interrupt-cells = <1>;
55*47d5e0b0SGregory CLEMENT        #address-cells = <0>;
56*47d5e0b0SGregory CLEMENT        interrupt-controller;
57*47d5e0b0SGregory CLEMENT        interrupt-parent = <&cpuintc>;
58*47d5e0b0SGregory CLEMENT        interrupts = <2>;
59*47d5e0b0SGregory CLEMENT    };
60*47d5e0b0SGregory CLEMENT...
61