summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2013-01-23 09:38:16 +0100
committerJason Cooper <jason@lakedaemon.net>2013-01-23 12:32:57 +0000
commitfd2704e82daa93923921dd1c9052ead74b2fdc79 (patch)
tree738910802a4f1412d3b2ebbc8f916d3470ad563b /arch
parent09d75bc7d217bd8868899028a98b53423e6b3324 (diff)
downloadblackbird-op-linux-fd2704e82daa93923921dd1c9052ead74b2fdc79.tar.gz
blackbird-op-linux-fd2704e82daa93923921dd1c9052ead74b2fdc79.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/dove.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 42eac1ff3cc8..740630f9cd65 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -93,6 +93,7 @@
reg = <0xd0400 0x20>;
ngpios = <32>;
interrupt-controller;
+ #interrupt-cells = <2>;
interrupts = <12>, <13>, <14>, <60>;
};
@@ -103,6 +104,7 @@
reg = <0xd0420 0x20>;
ngpios = <32>;
interrupt-controller;
+ #interrupt-cells = <2>;
interrupts = <61>;
};
OpenPOWER on IntegriCloud