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

Commit ee1a81f9 authored by Varka Bhadram's avatar Varka Bhadram Committed by Jonathan Cameron
Browse files

imu: inv_mpu6050: adds device tree bindings

parent 85b4ba70
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device

http://www.invensense.com/mems/gyro/mpu6050.html

Required properties:
 - compatible : should be "invensense,mpu6050"
 - reg : the I2C address of the sensor
 - interrupt-parent : should be the phandle for the interrupt controller
 - interrupts : interrupt mapping for GPIO IRQ

Example:
	mpu6050@68 {
		compatible = "invensense,mpu6050";
		reg = <0x68>;
		interrupt-parent = <&gpio1>;
		interrupts = <18 1>;
	};