18c2ecf20Sopenharmony_ciMarvell Armada 370, 375, 38x, XP Interrupt Controller
28c2ecf20Sopenharmony_ci-----------------------------------------------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciRequired properties:
58c2ecf20Sopenharmony_ci- compatible: Should be "marvell,mpic"
68c2ecf20Sopenharmony_ci- interrupt-controller: Identifies the node as an interrupt controller.
78c2ecf20Sopenharmony_ci- msi-controller: Identifies the node as an PCI Message Signaled
88c2ecf20Sopenharmony_ci  Interrupt controller.
98c2ecf20Sopenharmony_ci- #interrupt-cells: The number of cells to define the interrupts. Should be 1.
108c2ecf20Sopenharmony_ci  The cell is the IRQ number
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci- reg: Should contain PMIC registers location and length. First pair
138c2ecf20Sopenharmony_ci  for the main interrupt registers, second pair for the per-CPU
148c2ecf20Sopenharmony_ci  interrupt registers. For this last pair, to be compliant with SMP
158c2ecf20Sopenharmony_ci  support, the "virtual" must be use (For the record, these registers
168c2ecf20Sopenharmony_ci  automatically map to the interrupt controller registers of the
178c2ecf20Sopenharmony_ci  current CPU)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciOptional properties:
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci- interrupts: If defined, then it indicates that this MPIC is
228c2ecf20Sopenharmony_ci  connected as a slave to another interrupt controller. This is
238c2ecf20Sopenharmony_ci  typically the case on Armada 375 and Armada 38x, where the MPIC is
248c2ecf20Sopenharmony_ci  connected as a slave to the Cortex-A9 GIC. The provided interrupt
258c2ecf20Sopenharmony_ci  indicate to which GIC interrupt the MPIC output is connected.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciExample:
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci        mpic: interrupt-controller@d0020000 {
308c2ecf20Sopenharmony_ci              compatible = "marvell,mpic";
318c2ecf20Sopenharmony_ci              #interrupt-cells = <1>;
328c2ecf20Sopenharmony_ci              #address-cells = <1>;
338c2ecf20Sopenharmony_ci              #size-cells = <1>;
348c2ecf20Sopenharmony_ci              interrupt-controller;
358c2ecf20Sopenharmony_ci              msi-controller;
368c2ecf20Sopenharmony_ci              reg = <0xd0020a00 0x1d0>,
378c2ecf20Sopenharmony_ci                    <0xd0021070 0x58>;
388c2ecf20Sopenharmony_ci        };
39