2015-04-24 09:23:07 +00:00
|
|
|
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
|
|
|
|
|
2016-04-20 17:23:45 +00:00
|
|
|
Optional properties:
|
|
|
|
- mount-matrix: an optional 3x3 mounting rotation matrix
|
|
|
|
|
|
|
|
|
2015-04-24 09:23:07 +00:00
|
|
|
Example:
|
|
|
|
mpu6050@68 {
|
|
|
|
compatible = "invensense,mpu6050";
|
|
|
|
reg = <0x68>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
|
|
|
interrupts = <18 1>;
|
2016-04-20 17:23:45 +00:00
|
|
|
mount-matrix = "-0.984807753012208", /* x0 */
|
|
|
|
"0", /* y0 */
|
|
|
|
"-0.173648177666930", /* z0 */
|
|
|
|
"0", /* x1 */
|
|
|
|
"-1", /* y1 */
|
|
|
|
"0", /* z1 */
|
|
|
|
"-0.173648177666930", /* x2 */
|
|
|
|
"0", /* y2 */
|
|
|
|
"0.984807753012208"; /* z2 */
|
2015-04-24 09:23:07 +00:00
|
|
|
};
|