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