diff options
author | Priit Laes <plaes@plaes.org> | 2015-09-23 09:38:31 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-27 10:21:32 +0200 |
commit | 0372bb6b92a438a539f5a2d58b1979f999170813 (patch) | |
tree | fd0c6db810d046b3116a3c9e48a2445c5ce64be2 | |
parent | ARM: dts: sun8i-a33: Add security system crypto engine clock and device nodes (diff) | |
download | linux-0372bb6b92a438a539f5a2d58b1979f999170813.tar.xz linux-0372bb6b92a438a539f5a2d58b1979f999170813.zip |
ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ
Add IRQ configuration for bma250 accelerometer.
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index 570754d8df67..3f0aeb8288cd 100644 --- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts +++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts @@ -47,6 +47,7 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/interrupt-controller/irq.h> / { model = "Gemei G9 Tablet"; @@ -64,7 +65,7 @@ /* * TODO: * 2x cameras via CSI - * bma250 IRQs + * audio * AXP battery management * NAND * OTG @@ -103,12 +104,8 @@ bma250@18 { compatible = "bosch,bma250"; reg = <0x18>; - - /* - * TODO: interrupt pins: - * int1 - PH00 - * int2 - PI10 - */ + interrupt-parent = <&pio>; + interrupts = <7 0 IRQ_TYPE_EDGE_RISING>; /* PH00 / EINT0 */ }; }; |