]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Mon, 23 Dec 2019 08:12:52 +0000 (09:12 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Dec 2019 08:53:46 +0000 (16:53 +0800)
Now that there is driver support, describe the accel and gyro sensor parts
of the LSM9DS1 IMU.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

index 2a759dff9f87168f00a8c68f920cb846cf9d8ba6..97235b3725a283765d6ba55fe1feab8f35d93527 100644 (file)
@@ -440,6 +440,13 @@ touchscreen@5d {
                AVDD28-supply = <&reg_2v8_p>;
                VDDIO-supply = <&reg_1v8_p>;
        };
+
+       accel-gyro@6a {
+               compatible = "st,lsm9ds1-imu";
+               reg = <0x6a>;
+               vdd-supply = <&reg_3v3_p>;
+               vddio-supply = <&reg_3v3_p>;
+       };
 };
 
 &iomuxc {