Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0372bb6b authored by Priit Laes's avatar Priit Laes Committed by Maxime Ripard
Browse files

ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ



Add IRQ configuration for bma250 accelerometer.

Signed-off-by: default avatarPriit Laes <plaes@plaes.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent f7ad082c
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -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 */
	};
};