pmaports/device/testing/device-cutiepi-tablet/mpu6050-i2c5-overlay.dts

31 lines
918 B
Text
Raw Normal View History

// Definitions for MPU6050
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&i2c5>;
__overlay__ {
#address-cells = <5>;
#size-cells = <0>;
status = "okay";
clock-frequency = <400000>;
mpu6050: mpu6050@68 {
compatible = "invensense,mpu6050";
reg = <0x68>;
interrupt-parent = <&gpio>;
interrupts = <4 1>;
mount-matrix = "1", "0", "0", "0", "-1", "0", "0", "0", "1";
};
};
};
__overrides__ {
interrupt = <&mpu6050>,"interrupts:0";
addr = <&mpu6050>,"reg:0";
};
};