1618ea627SJoakim Zhang# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2618ea627SJoakim Zhang%YAML 1.2
3618ea627SJoakim Zhang---
4618ea627SJoakim Zhang$id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
5618ea627SJoakim Zhang$schema: http://devicetree.org/meta-schemas/core.yaml#
6618ea627SJoakim Zhang
7618ea627SJoakim Zhangtitle: Freescale INTMUX interrupt multiplexer
8618ea627SJoakim Zhang
9618ea627SJoakim Zhangmaintainers:
10618ea627SJoakim Zhang  - Joakim Zhang <qiangqing.zhang@nxp.com>
11618ea627SJoakim Zhang
12618ea627SJoakim Zhangproperties:
13618ea627SJoakim Zhang  compatible:
14618ea627SJoakim Zhang    const: fsl,imx-intmux
15618ea627SJoakim Zhang
16618ea627SJoakim Zhang  reg:
17618ea627SJoakim Zhang    maxItems: 1
18618ea627SJoakim Zhang
19618ea627SJoakim Zhang  interrupts:
20618ea627SJoakim Zhang    minItems: 1
21618ea627SJoakim Zhang    maxItems: 8
22618ea627SJoakim Zhang    description: |
23618ea627SJoakim Zhang      Should contain the parent interrupt lines (up to 8) used to multiplex
24618ea627SJoakim Zhang      the input interrupts.
25618ea627SJoakim Zhang
26618ea627SJoakim Zhang  interrupt-controller: true
27618ea627SJoakim Zhang
28618ea627SJoakim Zhang  '#interrupt-cells':
29618ea627SJoakim Zhang    const: 2
30618ea627SJoakim Zhang    description: |
31618ea627SJoakim Zhang      The 1st cell is hw interrupt number, the 2nd cell is channel index.
32618ea627SJoakim Zhang
33618ea627SJoakim Zhang  clocks:
34618ea627SJoakim Zhang    description: ipg clock.
35618ea627SJoakim Zhang
36618ea627SJoakim Zhang  clock-names:
37618ea627SJoakim Zhang    const: ipg
38618ea627SJoakim Zhang
39618ea627SJoakim Zhangrequired:
40618ea627SJoakim Zhang  - compatible
41618ea627SJoakim Zhang  - reg
42618ea627SJoakim Zhang  - interrupts
43618ea627SJoakim Zhang  - interrupt-controller
44618ea627SJoakim Zhang  - '#interrupt-cells'
45618ea627SJoakim Zhang  - clocks
46618ea627SJoakim Zhang  - clock-names
47618ea627SJoakim Zhang
48618ea627SJoakim ZhangadditionalProperties: false
49618ea627SJoakim Zhang
50618ea627SJoakim Zhangexamples:
51618ea627SJoakim Zhang  - |
52618ea627SJoakim Zhang    interrupt-controller@37400000 {
53618ea627SJoakim Zhang        compatible = "fsl,imx-intmux";
54618ea627SJoakim Zhang        reg = <0x37400000 0x1000>;
55618ea627SJoakim Zhang        interrupts = <0 16 4>,
56618ea627SJoakim Zhang                     <0 17 4>,
57618ea627SJoakim Zhang                     <0 18 4>,
58618ea627SJoakim Zhang                     <0 19 4>,
59618ea627SJoakim Zhang                     <0 20 4>,
60618ea627SJoakim Zhang                     <0 21 4>,
61618ea627SJoakim Zhang                     <0 22 4>,
62618ea627SJoakim Zhang                     <0 23 4>;
63618ea627SJoakim Zhang        interrupt-controller;
64618ea627SJoakim Zhang        interrupt-parent = <&gic>;
65618ea627SJoakim Zhang        #interrupt-cells = <2>;
66618ea627SJoakim Zhang        clocks = <&clk>;
67618ea627SJoakim Zhang        clock-names = "ipg";
68618ea627SJoakim Zhang    };
69