Merge branch 'for-4.8/hid-led' into for-linus
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / imu / inv_mpu6050.txt
1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
2
3 http://www.invensense.com/mems/gyro/mpu6050.html
4
5 Required properties:
6  - compatible : should be "invensense,mpu6050"
7  - reg : the I2C address of the sensor
8  - interrupt-parent : should be the phandle for the interrupt controller
9  - interrupts : interrupt mapping for GPIO IRQ
10
11 Optional properties:
12  - mount-matrix: an optional 3x3 mounting rotation matrix
13
14
15 Example:
16         mpu6050@68 {
17                 compatible = "invensense,mpu6050";
18                 reg = <0x68>;
19                 interrupt-parent = <&gpio1>;
20                 interrupts = <18 1>;
21                 mount-matrix = "-0.984807753012208",  /* x0 */
22                                "0",                   /* y0 */
23                                "-0.173648177666930",  /* z0 */
24                                "0",                   /* x1 */
25                                "-1",                  /* y1 */
26                                "0",                   /* z1 */
27                                "-0.173648177666930",  /* x2 */
28                                "0",                   /* y2 */
29                                "0.984807753012208";   /* z2 */
30         };