Commit c1d9ced3 authored by Peter Robinson's avatar Peter Robinson Committed by Heiko Stuebner

arm64: dts: rockchip: Enable PinePhone Pro IMU sensor

Enable the IMU sensor on the PinePhone Pro including
the i2c4 bus that it's attached to.
Signed-off-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20240623165326.1273944-2-pbrobinson@gmail.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent ee9b6b64
......@@ -436,6 +436,21 @@ touchscreen@14 {
};
};
&i2c4 {
i2c-scl-rising-time-ns = <600>;
i2c-scl-falling-time-ns = <20>;
status = "okay";
/* Accelerometer/gyroscope */
mpu6500@68 {
compatible = "invensense,mpu6500";
reg = <0x68>;
interrupt-parent = <&gpio1>;
interrupts = <RK_PC6 IRQ_TYPE_LEVEL_LOW>;
vddio-supply = <&vcc_1v8>;
};
};
&cluster0_opp {
opp04 {
status = "disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment