• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/ingenic,intc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ingenic SoCs interrupt controller devicetree bindings
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11
12properties:
13  $nodename:
14    pattern: "^interrupt-controller@[0-9a-f]+$"
15
16  compatible:
17    oneOf:
18      - enum:
19          - ingenic,jz4740-intc
20          - ingenic,jz4760-intc
21          - ingenic,jz4780-intc
22      - items:
23          - enum:
24              - ingenic,jz4775-intc
25              - ingenic,jz4770-intc
26          - const: ingenic,jz4760-intc
27      - items:
28          - const: ingenic,x1000-intc
29          - const: ingenic,jz4780-intc
30      - items:
31          - const: ingenic,jz4725b-intc
32          - const: ingenic,jz4740-intc
33
34  "#interrupt-cells":
35    const: 1
36
37  reg:
38    maxItems: 1
39
40  interrupts:
41    maxItems: 1
42
43  interrupt-controller: true
44
45required:
46  - compatible
47  - reg
48  - interrupts
49  - "#interrupt-cells"
50  - interrupt-controller
51
52additionalProperties: false
53
54examples:
55  - |
56    intc: interrupt-controller@10001000 {
57      compatible = "ingenic,jz4770-intc", "ingenic,jz4760-intc";
58      reg = <0x10001000 0x40>;
59
60      interrupt-controller;
61      #interrupt-cells = <1>;
62
63      interrupt-parent = <&cpuintc>;
64      interrupts = <2>;
65    };
66