1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale INTMUX interrupt multiplexer
8
9maintainers:
10  - Joakim Zhang <qiangqing.zhang@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx-intmux
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    minItems: 1
21    maxItems: 8
22    description: |
23      Should contain the parent interrupt lines (up to 8) used to multiplex
24      the input interrupts.
25
26  interrupt-controller: true
27
28  '#interrupt-cells':
29    const: 2
30    description: |
31      The 1st cell is hw interrupt number, the 2nd cell is channel index.
32
33  clocks:
34    maxItems: 1
35
36  clock-names:
37    const: ipg
38
39required:
40  - compatible
41  - reg
42  - interrupts
43  - interrupt-controller
44  - '#interrupt-cells'
45  - clocks
46  - clock-names
47
48additionalProperties: false
49
50examples:
51  - |
52    interrupt-controller@37400000 {
53        compatible = "fsl,imx-intmux";
54        reg = <0x37400000 0x1000>;
55        interrupts = <0 16 4>,
56                     <0 17 4>,
57                     <0 18 4>,
58                     <0 19 4>,
59                     <0 20 4>,
60                     <0 21 4>,
61                     <0 22 4>,
62                     <0 23 4>;
63        interrupt-controller;
64        interrupt-parent = <&gic>;
65        #interrupt-cells = <2>;
66        clocks = <&clk>;
67        clock-names = "ipg";
68    };
69