diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-05-18 20:02:17 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-18 22:08:06 -0400 |
commit | d8f17c49d3f26b5700624819adfd5349798b5162 (patch) | |
tree | eaaca5224f91b3aec461774a218787e4108e21d8 /Documentation/devicetree/bindings/interrupt-controller | |
parent | b8802f76fe473d91886220498aeda157c492f2d1 (diff) |
irqchip: armada-370-xp: Move the devicetree binding documentation
Move the devicetree binding documentation to the interrupt-controller
directory, where it belongs.
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1400457737-1617-1-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/marvell,armada-370-xp-mpic.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-370-xp-mpic.txt b/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-370-xp-mpic.txt new file mode 100644 index 000000000000..5fc03134a999 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-370-xp-mpic.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | Marvell Armada 370, 375, 38x, XP Interrupt Controller | ||
2 | ----------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible: Should be "marvell,mpic" | ||
6 | - interrupt-controller: Identifies the node as an interrupt controller. | ||
7 | - msi-controller: Identifies the node as an PCI Message Signaled | ||
8 | Interrupt controller. | ||
9 | - #interrupt-cells: The number of cells to define the interrupts. Should be 1. | ||
10 | The cell is the IRQ number | ||
11 | |||
12 | - reg: Should contain PMIC registers location and length. First pair | ||
13 | for the main interrupt registers, second pair for the per-CPU | ||
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 | |||
19 | Optional properties: | ||
20 | |||
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. | ||
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; | ||
35 | msi-controller; | ||
36 | reg = <0xd0020a00 0x1d0>, | ||
37 | <0xd0021070 0x58>; | ||
38 | }; | ||