blob: 5fc03134a9996473e4fe3ce1cd895b49da5b96f1 [file] [log] [blame]
Ezequiel Garciabc69b8a2014-02-10 17:00:02 -03001Marvell Armada 370, 375, 38x, XP Interrupt Controller
Gregory CLEMENT0d01b7a2012-06-01 18:33:17 +02002-----------------------------------------------------
3
4Required properties:
5- compatible: Should be "marvell,mpic"
6- interrupt-controller: Identifies the node as an interrupt controller.
Thomas Petazzoni31f614e2013-08-09 22:27:11 +02007- msi-controller: Identifies the node as an PCI Message Signaled
8 Interrupt controller.
Gregory CLEMENT0d01b7a2012-06-01 18:33:17 +02009- #interrupt-cells: The number of cells to define the interrupts. Should be 1.
10 The cell is the IRQ number
Gregory CLEMENT344e8732012-08-02 11:19:12 +030011
Gregory CLEMENT0d01b7a2012-06-01 18:33:17 +020012- reg: Should contain PMIC registers location and length. First pair
13 for the main interrupt registers, second pair for the per-CPU
Gregory CLEMENT344e8732012-08-02 11:19:12 +030014 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 Garciabc69b8a2014-02-10 17:00:02 -030019Optional properties:
Gregory CLEMENT344e8732012-08-02 11:19:12 +030020
Ezequiel Garciabc69b8a2014-02-10 17:00:02 -030021- 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 CLEMENT0d01b7a2012-06-01 18:33:17 +020026
27Example:
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 Petazzoni31f614e2013-08-09 22:27:11 +020035 msi-controller;
Gregory CLEMENT344e8732012-08-02 11:19:12 +030036 reg = <0xd0020a00 0x1d0>,
37 <0xd0021070 0x58>;
Gregory CLEMENT0d01b7a2012-06-01 18:33:17 +020038 };