Dove: activate GPIO interrupts in DT
authorJean-Francois Moine <moinejf@free.fr>
Wed, 23 Jan 2013 08:38:16 +0000 (09:38 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 23 Jan 2013 12:32:57 +0000 (12:32 +0000)
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>
arch/arm/boot/dts/dove.dtsi

index 42eac1f..740630f 100644 (file)
@@ -93,6 +93,7 @@
                        reg = <0xd0400 0x20>;
                        ngpios = <32>;
                        interrupt-controller;
+                       #interrupt-cells = <2>;
                        interrupts = <12>, <13>, <14>, <60>;
                };
 
                        reg = <0xd0420 0x20>;
                        ngpios = <32>;
                        interrupt-controller;
+                       #interrupt-cells = <2>;
                        interrupts = <61>;
                };