summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-12-16 22:59:59 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 09:58:57 +0100
commita6bac9ebf05a51d9c1c570e64a1df2e284b61818 (patch)
tree4126b511d8f42b1f1a49f55c215a05576fe9db6d /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
parent19882b84d7d9b1888b03f35b2430de550b61e49d (diff)
downloadtalos-op-linux-a6bac9ebf05a51d9c1c570e64a1df2e284b61818.tar.gz
talos-op-linux-a6bac9ebf05a51d9c1c570e64a1df2e284b61818.zip
ARM: sunxi: DT: Convert the DTs to use the generic interrupt header
The NMI IRQ controller uses the standard flags definition for the IRQ level and edges. Use the common header to use defines instead of opaque numbers. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index 63e4d54bdd0c..d0dcf7260971 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -17,6 +17,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
/ {
@@ -185,7 +186,7 @@
compatible = "x-powers,axp209";
reg = <0x34>;
interrupt-parent = <&nmi_intc>;
- interrupts = <0 8>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <1>;
OpenPOWER on IntegriCloud