| .. | .. |
|---|
| 1 | 1 | * ARC-HS Interrupt Distribution Unit |
|---|
| 2 | 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. |
|---|
| 3 | + This optional 2nd level interrupt controller can be used in SMP configurations |
|---|
| 4 | + for dynamic IRQ routing, load balancing of common/external IRQs towards core |
|---|
| 5 | + intc. |
|---|
| 5 | 6 | |
|---|
| 6 | 7 | Properties: |
|---|
| 7 | 8 | |
|---|
| 8 | 9 | - compatible: "snps,archs-idu-intc" |
|---|
| 9 | 10 | - interrupt-controller: This is an interrupt controller. |
|---|
| 10 | | -- #interrupt-cells: Must be <1>. |
|---|
| 11 | +- #interrupt-cells: Must be <1> or <2>. |
|---|
| 11 | 12 | |
|---|
| 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. |
|---|
| 13 | + Value of the first cell specifies the "common" IRQ from peripheral to IDU. |
|---|
| 14 | + Number N of the particular interrupt line of IDU corresponds to the line N+24 |
|---|
| 15 | + of the core interrupt controller. |
|---|
| 15 | 16 | |
|---|
| 16 | | - intc accessed via the special ARC AUX register interface, hence "reg" property |
|---|
| 17 | | - is not specified. |
|---|
| 17 | + The (optional) second cell specifies any of the following flags: |
|---|
| 18 | + - bits[3:0] trigger type and level flags |
|---|
| 19 | + 1 = low-to-high edge triggered |
|---|
| 20 | + 2 = NOT SUPPORTED (high-to-low edge triggered) |
|---|
| 21 | + 4 = active high level-sensitive <<< DEFAULT |
|---|
| 22 | + 8 = NOT SUPPORTED (active low level-sensitive) |
|---|
| 23 | + When no second cell is specified, the interrupt is assumed to be level |
|---|
| 24 | + sensitive. |
|---|
| 25 | + |
|---|
| 26 | + The interrupt controller is accessed via the special ARC AUX register |
|---|
| 27 | + interface, hence "reg" property is not specified. |
|---|
| 18 | 28 | |
|---|
| 19 | 29 | Example: |
|---|
| 20 | 30 | core_intc: core-interrupt-controller { |
|---|