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
26*673433e7SPaul Cercueil              - ingenic,jz4760b-intc
276e172df7SPaul Cercueil          - const: ingenic,jz4760-intc
286e172df7SPaul Cercueil      - items:
296e172df7SPaul Cercueil          - const: ingenic,x1000-intc
306e172df7SPaul Cercueil          - const: ingenic,jz4780-intc
316e172df7SPaul Cercueil      - items:
326e172df7SPaul Cercueil          - const: ingenic,jz4725b-intc
336e172df7SPaul Cercueil          - const: ingenic,jz4740-intc
346e172df7SPaul Cercueil
356e172df7SPaul Cercueil  "#interrupt-cells":
366e172df7SPaul Cercueil    const: 1
376e172df7SPaul Cercueil
386e172df7SPaul Cercueil  reg:
396e172df7SPaul Cercueil    maxItems: 1
406e172df7SPaul Cercueil
416e172df7SPaul Cercueil  interrupts:
426e172df7SPaul Cercueil    maxItems: 1
436e172df7SPaul Cercueil
446e172df7SPaul Cercueil  interrupt-controller: true
456e172df7SPaul Cercueil
466e172df7SPaul Cercueilrequired:
476e172df7SPaul Cercueil  - compatible
486e172df7SPaul Cercueil  - reg
496e172df7SPaul Cercueil  - interrupts
506e172df7SPaul Cercueil  - "#interrupt-cells"
516e172df7SPaul Cercueil  - interrupt-controller
526e172df7SPaul Cercueil
535be478f9SRob HerringadditionalProperties: false
545be478f9SRob Herring
556e172df7SPaul Cercueilexamples:
566e172df7SPaul Cercueil  - |
576e172df7SPaul Cercueil    intc: interrupt-controller@10001000 {
586e172df7SPaul Cercueil      compatible = "ingenic,jz4770-intc", "ingenic,jz4760-intc";
596e172df7SPaul Cercueil      reg = <0x10001000 0x40>;
606e172df7SPaul Cercueil
616e172df7SPaul Cercueil      interrupt-controller;
626e172df7SPaul Cercueil      #interrupt-cells = <1>;
636e172df7SPaul Cercueil
646e172df7SPaul Cercueil      interrupt-parent = <&cpuintc>;
656e172df7SPaul Cercueil      interrupts = <2>;
666e172df7SPaul Cercueil    };
67