Commit 50c7cdc9 authored by Paul Cercueil's avatar Paul Cercueil Committed by Krzysztof Kozlowski

ARM: dts: samsung: exynos4210-i9100: Add accelerometer node

Add a Device Tree node for the ST Microelectronics "K3D" accelerometer
chip found in the Galaxy S2.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20231206221556.15348-4-paul@crapouillou.net
[krzysztof: fix alphabetical placement of i2c_1]
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 6e73b110
......@@ -402,6 +402,23 @@ &hsotg {
vusb_a-supply = <&vusbdac_reg>;
};
&i2c_1 {
status = "okay";
samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <100000>;
lis3dh: accelerometer@19 {
compatible = "st,lis3dh-accel";
reg = <0x19>;
mount-matrix = "0", "-1", "0",
"1", "0", "0",
"0", "0", "1";
};
};
&i2c_3 {
status = "okay";
......
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