pmaports/device/testing/device-cutiepi-tablet/mpu6050-i2c5-overlay.dts
Raffaele Tranquillini 1bb85eecbd
cutiepi-tablet: new device (MR 3737)
This adds initial support to CutiePi tablet, with basic peripherals, sound, touchscreen, and wireless support.

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>

Add peripheral overlays

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>

[ci:skip-build]: Already built successfully in CI
2022-12-18 13:13:19 +01:00

30 lines
918 B
Text

// 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";
};
};