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  - Shawn Guo <shawnguo@kernel.org>
11  - NXP Linux Team <linux-imx@nxp.com>
12
13properties:
14  compatible:
15    const: fsl,imx-intmux
16
17  reg:
18    maxItems: 1
19
20  interrupts:
21    minItems: 1
22    maxItems: 8
23    description: |
24      Should contain the parent interrupt lines (up to 8) used to multiplex
25      the input interrupts.
26
27  interrupt-controller: true
28
29  '#interrupt-cells':
30    const: 2
31    description: |
32      The 1st cell is hw interrupt number, the 2nd cell is channel index.
33
34  clocks:
35    maxItems: 1
36
37  clock-names:
38    const: ipg
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - interrupt-controller
45  - '#interrupt-cells'
46  - clocks
47  - clock-names
48
49additionalProperties: false
50
51examples:
52  - |
53    interrupt-controller@37400000 {
54        compatible = "fsl,imx-intmux";
55        reg = <0x37400000 0x1000>;
56        interrupts = <0 16 4>,
57                     <0 17 4>,
58                     <0 18 4>,
59                     <0 19 4>,
60                     <0 20 4>,
61                     <0 21 4>,
62                     <0 22 4>,
63                     <0 23 4>;
64        interrupt-controller;
65        interrupt-parent = <&gic>;
66        #interrupt-cells = <2>;
67        clocks = <&clk>;
68        clock-names = "ipg";
69    };
70