2015-03-09 16:33:10 +08:00
|
|
|
* ARC-HS Interrupt Distribution Unit
|
|
|
|
|
|
|
|
This optional 2nd level interrupt controller can be used in SMP configurations for
|
|
|
|
dynamic IRQ routing, load balancing of common/external IRQs towards core intc.
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
- compatible: "snps,archs-idu-intc"
|
|
|
|
- interrupt-controller: This is an interrupt controller.
|
|
|
|
- interrupt-parent: <reference to parent core intc>
|
2017-02-02 08:13:32 +08:00
|
|
|
- #interrupt-cells: Must be <1>.
|
2015-03-09 16:33:10 +08:00
|
|
|
|
2017-02-02 08:13:32 +08:00
|
|
|
Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N
|
|
|
|
of the particular interrupt line of IDU corresponds to the line N+24 of the
|
|
|
|
core interrupt controller.
|
2016-12-28 16:46:26 +08:00
|
|
|
|
2015-03-09 16:33:10 +08:00
|
|
|
intc accessed via the special ARC AUX register interface, hence "reg" property
|
|
|
|
is not specified.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
core_intc: core-interrupt-controller {
|
|
|
|
compatible = "snps,archs-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
idu_intc: idu-interrupt-controller {
|
|
|
|
compatible = "snps,archs-idu-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
interrupt-parent = <&core_intc>;
|
2017-02-02 08:13:32 +08:00
|
|
|
#interrupt-cells = <1>;
|
2015-03-09 16:33:10 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
some_device: serial@c0fc1000 {
|
|
|
|
interrupt-parent = <&idu_intc>;
|
2017-02-02 08:13:32 +08:00
|
|
|
interrupts = <0>; /* upstream idu IRQ #24 */
|
2015-03-09 16:33:10 +08:00
|
|
|
};
|