ARM: dts: DRA7: fix interrupt-cells for GPIO
authorNishanth Menon <nm@ti.com>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Aug 2014 23:15:34 +0000 (16:15 -0700)
commite49d519c456f4fb6f4a0473bc04ba30bb805fce5
tree9e6f4546193332c38121bce9fabca99cd98044c7
parent40ddbf5069bd4e11447c0088fc75318e0aac53f0
ARM: dts: DRA7: fix interrupt-cells for GPIO

GPIO modules are also interrupt sources. However, they require both the
GPIO number and IRQ type to function properly.

By declaring that GPIO uses interrupt-cells=<1>, we essentially do not
allow users of the nodes to use the interrupt property appropritely.

With this change, the following now works:

interrupt-parent = <&gpio6>;
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;

Fixes: 6e58b8f1daaf ('ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board')
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi