ARM: dts: DRA7: fix interrupt-cells for GPIO
authorNishanth Menon <nm@ti.com>
Wed, 30 Jul 2014 19:20:32 +0000 (14:20 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Aug 2014 23:02:35 +0000 (16:02 -0700)
commit61d284fba84b31120628bf5fccf3aa0045a63fc4
treeedf8a018afb3078743df8cf9ab25c24ba4bf5795
parent52406899f7b0f30f4d30a4b3a07ed1b9e9675177
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