summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorMartin Kepplinger <martin.kepplinger@puri.sm>2019-12-23 09:12:52 +0100
committerShawn Guo <shawnguo@kernel.org>2019-12-23 16:53:46 +0800
commit537c00e3a73cc638c82594fbf969f7435eb864bd (patch)
treed8d81393e0b318d545e1bb3ba35de1a1cbab09fa /arch/arm64/boot
parentbff5b97237322138c22b565c2b351d0cd88bb3cf (diff)
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 <martin.kepplinger@puri.sm> Reviewed-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index 2a759dff9f87..97235b3725a2 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 = <&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 {