Ezequiel Garcia | bc69b8a | 2014-02-10 17:00:02 -0300 | [diff] [blame] | 1 | Marvell Armada 370, 375, 38x, XP Interrupt Controller |
Gregory CLEMENT | 0d01b7a | 2012-06-01 18:33:17 +0200 | [diff] [blame] | 2 | ----------------------------------------------------- |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible: Should be "marvell,mpic" |
| 6 | - interrupt-controller: Identifies the node as an interrupt controller. |
Thomas Petazzoni | 31f614e | 2013-08-09 22:27:11 +0200 | [diff] [blame] | 7 | - msi-controller: Identifies the node as an PCI Message Signaled |
| 8 | Interrupt controller. |
Gregory CLEMENT | 0d01b7a | 2012-06-01 18:33:17 +0200 | [diff] [blame] | 9 | - #interrupt-cells: The number of cells to define the interrupts. Should be 1. |
| 10 | The cell is the IRQ number |
Gregory CLEMENT | 344e873 | 2012-08-02 11:19:12 +0300 | [diff] [blame] | 11 | |
Gregory CLEMENT | 0d01b7a | 2012-06-01 18:33:17 +0200 | [diff] [blame] | 12 | - reg: Should contain PMIC registers location and length. First pair |
| 13 | for the main interrupt registers, second pair for the per-CPU |
Gregory CLEMENT | 344e873 | 2012-08-02 11:19:12 +0300 | [diff] [blame] | 14 | interrupt registers. For this last pair, to be compliant with SMP |
| 15 | support, the "virtual" must be use (For the record, these registers |
| 16 | automatically map to the interrupt controller registers of the |
| 17 | current CPU) |
| 18 | |
Ezequiel Garcia | bc69b8a | 2014-02-10 17:00:02 -0300 | [diff] [blame] | 19 | Optional properties: |
Gregory CLEMENT | 344e873 | 2012-08-02 11:19:12 +0300 | [diff] [blame] | 20 | |
Ezequiel Garcia | bc69b8a | 2014-02-10 17:00:02 -0300 | [diff] [blame] | 21 | - interrupts: If defined, then it indicates that this MPIC is |
| 22 | connected as a slave to another interrupt controller. This is |
| 23 | typically the case on Armada 375 and Armada 38x, where the MPIC is |
| 24 | connected as a slave to the Cortex-A9 GIC. The provided interrupt |
| 25 | indicate to which GIC interrupt the MPIC output is connected. |
Gregory CLEMENT | 0d01b7a | 2012-06-01 18:33:17 +0200 | [diff] [blame] | 26 | |
| 27 | Example: |
| 28 | |
| 29 | mpic: interrupt-controller@d0020000 { |
| 30 | compatible = "marvell,mpic"; |
| 31 | #interrupt-cells = <1>; |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <1>; |
| 34 | interrupt-controller; |
Thomas Petazzoni | 31f614e | 2013-08-09 22:27:11 +0200 | [diff] [blame] | 35 | msi-controller; |
Gregory CLEMENT | 344e873 | 2012-08-02 11:19:12 +0300 | [diff] [blame] | 36 | reg = <0xd0020a00 0x1d0>, |
| 37 | <0xd0021070 0x58>; |
Gregory CLEMENT | 0d01b7a | 2012-06-01 18:33:17 +0200 | [diff] [blame] | 38 | }; |