diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-12-16 16:59:59 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-21 03:58:57 -0500 |
commit | a6bac9ebf05a51d9c1c570e64a1df2e284b61818 (patch) | |
tree | 4126b511d8f42b1f1a49f55c215a05576fe9db6d /arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | |
parent | 19882b84d7d9b1888b03f35b2430de550b61e49d (diff) |
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-lime.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts index f74405cd18b6..12ded69d61eb 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | |||
@@ -53,6 +53,7 @@ | |||
53 | #include "sunxi-common-regulators.dtsi" | 53 | #include "sunxi-common-regulators.dtsi" |
54 | 54 | ||
55 | #include <dt-bindings/gpio/gpio.h> | 55 | #include <dt-bindings/gpio/gpio.h> |
56 | #include <dt-bindings/interrupt-controller/irq.h> | ||
56 | #include <dt-bindings/pinctrl/sun4i-a10.h> | 57 | #include <dt-bindings/pinctrl/sun4i-a10.h> |
57 | 58 | ||
58 | / { | 59 | / { |
@@ -128,7 +129,7 @@ | |||
128 | compatible = "x-powers,axp209"; | 129 | compatible = "x-powers,axp209"; |
129 | reg = <0x34>; | 130 | reg = <0x34>; |
130 | interrupt-parent = <&nmi_intc>; | 131 | interrupt-parent = <&nmi_intc>; |
131 | interrupts = <0 8>; | 132 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
132 | 133 | ||
133 | interrupt-controller; | 134 | interrupt-controller; |
134 | #interrupt-cells = <1>; | 135 | #interrupt-cells = <1>; |