Created
July 20, 2015 14:25
-
-
Save gnitnaw/97ed8cdd220ede655490 to your computer and use it in GitHub Desktop.
Device tree overlay for mpu6050
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Definitions for MPU6050 | |
/dts-v1/; | |
/plugin/; | |
/ { | |
compatible = "brcm,bcm2708"; | |
fragment@0 { | |
target = <&i2c1>; | |
__overlay__ { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
status = "okay"; | |
clock-frequency = <400000>; | |
inv-mpu6050@68 { | |
compatible = "invensense,mpu6050"; | |
reg = <0x68>; | |
orientation = <0xff 0 0 0 1 0 0 0 0xff>; | |
//interrupt-parent = <&intc>; | |
//interrupts = <2 21>; | |
}; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment