Skip to content

Commit

Permalink
arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor
Browse files Browse the repository at this point in the history
Now that there is driver support, describe the accel and gyro sensor parts
of the LSM9DS1 IMU.

Signed-off-by: Martin Kepplinger <[email protected]>
Reviewed-by: Guido Günther <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
merge authored and Shawn Guo committed Dec 23, 2019
1 parent bff5b97 commit 537c00e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 537c00e

Please sign in to comment.