From: Martin Kepplinger Date: Mon, 23 Dec 2019 08:12:52 +0000 (+0100) Subject: arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor X-Git-Tag: v5.15~4505^2~24^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=537c00e3a73cc638c82594fbf969f7435eb864bd;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor Now that there is driver support, describe the accel and gyro sensor parts of the LSM9DS1 IMU. Signed-off-by: Martin Kepplinger Reviewed-by: Guido Günther Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 2a759df..97235b3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -440,6 +440,13 @@ AVDD28-supply = <®_2v8_p>; VDDIO-supply = <®_1v8_p>; }; + + accel-gyro@6a { + compatible = "st,lsm9ds1-imu"; + reg = <0x6a>; + vdd-supply = <®_3v3_p>; + vddio-supply = <®_3v3_p>; + }; }; &iomuxc {