Commit 85733cd7 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916-samsung-serranove: Add IMU

Add the STMicroelectronics LSM6DS3 IMU that is used in the S4 Mini VE
to the device tree.
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211004201921.18526-5-stephan@gerhold.net
parent 3fb76057
......@@ -170,6 +170,21 @@ touchkey@20 {
};
};
&blsp_i2c2 {
status = "okay";
imu@6b {
compatible = "st,lsm6ds3";
reg = <0x6b>;
interrupt-parent = <&msmgpio>;
interrupts = <115 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default";
pinctrl-0 = <&imu_irq_default>;
};
};
&blsp_i2c5 {
status = "okay";
......@@ -372,6 +387,14 @@ gpio_hall_sensor_default: gpio-hall-sensor-default {
bias-disable;
};
imu_irq_default: imu-irq-default {
pins = "gpio115";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
muic_i2c_default: muic-i2c-default {
pins = "gpio105", "gpio106";
function = "gpio";
......
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