summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/href.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-05-29 19:15:39 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-05-30 09:50:47 +0200
commit90c40257fe1a9cd0373507cfb05390ad1f2c06ee (patch)
tree5ac2d46e3f5fc2ae49136074a990cb7d9865e1e3 /arch/arm/boot/dts/href.dtsi
parent807e8838e309a8076dcccac1a399522e20bf229c (diff)
downloadblackbird-op-linux-90c40257fe1a9cd0373507cfb05390ad1f2c06ee.tar.gz
blackbird-op-linux-90c40257fe1a9cd0373507cfb05390ad1f2c06ee.zip
ARM: ux500: use symbolic names for interrupt flags
This switches to including <dt-bindings/interrupt-controller/irq.h> and referencing the apropriate flags from there instead of open-coding the flag numerals everywhere in the ux500 device trees. Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/href.dtsi')
-rw-r--r--arch/arm/boot/dts/href.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/href.dtsi b/arch/arm/boot/dts/href.dtsi
index 2c2162662e52..0485519673c2 100644
--- a/arch/arm/boot/dts/href.dtsi
+++ b/arch/arm/boot/dts/href.dtsi
@@ -9,6 +9,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+#include <dt-bindings/interrupt-controller/irq.h>
#include "dbx5x0.dtsi"
/ {
@@ -45,14 +46,14 @@
compatible = "tc3589x";
reg = <0x42>;
interrupt-parent = <&gpio6>;
- interrupts = <25 0x1>;
+ interrupts = <25 IRQ_TYPE_EDGE_RISING>;
interrupt-controller;
#interrupt-cells = <2>;
tc3589x_gpio: tc3589x_gpio {
compatible = "tc3589x-gpio";
- interrupts = <0 0x1>;
+ interrupts = <0 IRQ_TYPE_EDGE_RISING>;
interrupt-controller;
#interrupt-cells = <2>;
OpenPOWER on IntegriCloud