Merge tag 'for-4.19/post-20180822' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / interrupt-controller / snps,archs-idu-intc.txt
1 * ARC-HS Interrupt Distribution Unit
2
3   This optional 2nd level interrupt controller can be used in SMP configurations for
4   dynamic IRQ routing, load balancing of common/external IRQs towards core intc.
5
6 Properties:
7
8 - compatible: "snps,archs-idu-intc"
9 - interrupt-controller: This is an interrupt controller.
10 - #interrupt-cells: Must be <1>.
11
12   Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N
13   of the particular interrupt line of IDU corresponds to the line N+24 of the
14   core interrupt controller.
15
16   intc accessed via the special ARC AUX register interface, hence "reg" property
17   is not specified.
18
19 Example:
20         core_intc: core-interrupt-controller {
21                 compatible = "snps,archs-intc";
22                 interrupt-controller;
23                 #interrupt-cells = <1>;
24         };
25
26         idu_intc: idu-interrupt-controller {
27                 compatible = "snps,archs-idu-intc";
28                 interrupt-controller;
29                 interrupt-parent = <&core_intc>;
30                 #interrupt-cells = <1>;
31         };
32
33         some_device: serial@c0fc1000 {
34                 interrupt-parent = <&idu_intc>;
35                 interrupts = <0>;       /* upstream idu IRQ #24 */
36         };