forked from Minki/linux
31f614edb7
This commit introduces the support for the MSI interrupts in the armada-370-xp interrupt controller driver. It registers an MSI chip to the MSI chip registry, which will be used by the Marvell PCIe host controller driver. The MSI interrupts use the 16 high doorbells, and are therefore notified using IRQ1 of the main interrupt controller. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
Marvell Armada 370 and Armada XP Interrupt Controller
|
|
-----------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible: Should be "marvell,mpic"
|
|
- interrupt-controller: Identifies the node as an interrupt controller.
|
|
- msi-controller: Identifies the node as an PCI Message Signaled
|
|
Interrupt controller.
|
|
- #interrupt-cells: The number of cells to define the interrupts. Should be 1.
|
|
The cell is the IRQ number
|
|
|
|
- reg: Should contain PMIC registers location and length. First pair
|
|
for the main interrupt registers, second pair for the per-CPU
|
|
interrupt registers. For this last pair, to be compliant with SMP
|
|
support, the "virtual" must be use (For the record, these registers
|
|
automatically map to the interrupt controller registers of the
|
|
current CPU)
|
|
|
|
|
|
|
|
Example:
|
|
|
|
mpic: interrupt-controller@d0020000 {
|
|
compatible = "marvell,mpic";
|
|
#interrupt-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
interrupt-controller;
|
|
msi-controller;
|
|
reg = <0xd0020a00 0x1d0>,
|
|
<0xd0021070 0x58>;
|
|
};
|