Dove: activate GPIO interrupts in DT

In a DT, the interrupts of an interrupt-controller are not usable when
#interrupt-cells is missing.

This patch activates the interrupts of the GPIOs 0 and 1 for the Marvell
Dove SoC.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
Jean-Francois Moine 2013-01-23 09:38:16 +01:00 committed by Jason Cooper
parent 09d75bc7d2
commit fd2704e82d

View file

@ -93,6 +93,7 @@ gpio0: gpio@d0400 {
reg = <0xd0400 0x20>;
ngpios = <32>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <12>, <13>, <14>, <60>;
};
@ -103,6 +104,7 @@ gpio1: gpio@d0420 {
reg = <0xd0420 0x20>;
ngpios = <32>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <61>;
};