xref: /linux/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml (revision 5be478f9c24fbdf8162b8118b8da8cc685e2efb4)
16e172df7SPaul Cercueil# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26e172df7SPaul Cercueil%YAML 1.2
36e172df7SPaul Cercueil---
46e172df7SPaul Cercueil$id: http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml#
56e172df7SPaul Cercueil$schema: http://devicetree.org/meta-schemas/core.yaml#
66e172df7SPaul Cercueil
76e172df7SPaul Cercueiltitle: Ingenic SoCs interrupt controller devicetree bindings
86e172df7SPaul Cercueil
96e172df7SPaul Cercueilmaintainers:
106e172df7SPaul Cercueil  - Paul Cercueil <paul@crapouillou.net>
116e172df7SPaul Cercueil
126e172df7SPaul Cercueilproperties:
136e172df7SPaul Cercueil  $nodename:
146e172df7SPaul Cercueil    pattern: "^interrupt-controller@[0-9a-f]+$"
156e172df7SPaul Cercueil
166e172df7SPaul Cercueil  compatible:
176e172df7SPaul Cercueil    oneOf:
186e172df7SPaul Cercueil      - enum:
196e172df7SPaul Cercueil          - ingenic,jz4740-intc
206e172df7SPaul Cercueil          - ingenic,jz4760-intc
216e172df7SPaul Cercueil          - ingenic,jz4780-intc
226e172df7SPaul Cercueil      - items:
236e172df7SPaul Cercueil          - enum:
246e172df7SPaul Cercueil              - ingenic,jz4775-intc
256e172df7SPaul Cercueil              - ingenic,jz4770-intc
266e172df7SPaul Cercueil          - const: ingenic,jz4760-intc
276e172df7SPaul Cercueil      - items:
286e172df7SPaul Cercueil          - const: ingenic,x1000-intc
296e172df7SPaul Cercueil          - const: ingenic,jz4780-intc
306e172df7SPaul Cercueil      - items:
316e172df7SPaul Cercueil          - const: ingenic,jz4725b-intc
326e172df7SPaul Cercueil          - const: ingenic,jz4740-intc
336e172df7SPaul Cercueil
346e172df7SPaul Cercueil  "#interrupt-cells":
356e172df7SPaul Cercueil    const: 1
366e172df7SPaul Cercueil
376e172df7SPaul Cercueil  reg:
386e172df7SPaul Cercueil    maxItems: 1
396e172df7SPaul Cercueil
406e172df7SPaul Cercueil  interrupts:
416e172df7SPaul Cercueil    maxItems: 1
426e172df7SPaul Cercueil
436e172df7SPaul Cercueil  interrupt-controller: true
446e172df7SPaul Cercueil
456e172df7SPaul Cercueilrequired:
466e172df7SPaul Cercueil  - compatible
476e172df7SPaul Cercueil  - reg
486e172df7SPaul Cercueil  - interrupts
496e172df7SPaul Cercueil  - "#interrupt-cells"
506e172df7SPaul Cercueil  - interrupt-controller
516e172df7SPaul Cercueil
52*5be478f9SRob HerringadditionalProperties: false
53*5be478f9SRob Herring
546e172df7SPaul Cercueilexamples:
556e172df7SPaul Cercueil  - |
566e172df7SPaul Cercueil    intc: interrupt-controller@10001000 {
576e172df7SPaul Cercueil      compatible = "ingenic,jz4770-intc", "ingenic,jz4760-intc";
586e172df7SPaul Cercueil      reg = <0x10001000 0x40>;
596e172df7SPaul Cercueil
606e172df7SPaul Cercueil      interrupt-controller;
616e172df7SPaul Cercueil      #interrupt-cells = <1>;
626e172df7SPaul Cercueil
636e172df7SPaul Cercueil      interrupt-parent = <&cpuintc>;
646e172df7SPaul Cercueil      interrupts = <2>;
656e172df7SPaul Cercueil    };
66