xref: /linux/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
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
40  power-domains:
41    maxItems: 1
42
43required:
44  - compatible
45  - reg
46  - interrupts
47  - interrupt-controller
48  - '#interrupt-cells'
49  - clocks
50  - clock-names
51
52additionalProperties: false
53
54examples:
55  - |
56    interrupt-controller@37400000 {
57        compatible = "fsl,imx-intmux";
58        reg = <0x37400000 0x1000>;
59        interrupts = <0 16 4>,
60                     <0 17 4>,
61                     <0 18 4>,
62                     <0 19 4>,
63                     <0 20 4>,
64                     <0 21 4>,
65                     <0 22 4>,
66                     <0 23 4>;
67        interrupt-controller;
68        interrupt-parent = <&gic>;
69        #interrupt-cells = <2>;
70        clocks = <&clk>;
71        clock-names = "ipg";
72    };
73