Skip to content

Commit 618ea62

Browse files
Joakim ZhangMarc Zyngier
authored andcommitted
dt-bindings: interrupt-controller: Add binding for NXP INTMUX interrupt multiplexer
This patch adds the DT bindings for the NXP INTMUX interrupt multiplexer for i.MX8 family SoCs. Signed-off-by: Joakim Zhang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b74416d commit 618ea62

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
7+
title: Freescale INTMUX interrupt multiplexer
8+
9+
maintainers:
10+
- Joakim Zhang <[email protected]>
11+
12+
properties:
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+
description: ipg clock.
35+
36+
clock-names:
37+
const: ipg
38+
39+
required:
40+
- compatible
41+
- reg
42+
- interrupts
43+
- interrupt-controller
44+
- '#interrupt-cells'
45+
- clocks
46+
- clock-names
47+
48+
additionalProperties: false
49+
50+
examples:
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+
};

0 commit comments

Comments
 (0)