ARM: dts: omap4-droid4: Add accelerometer

Add accelerometer.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Sebastian Reichel 2017-03-05 20:11:57 -08:00 committed by Tony Lindgren
parent d2913a6992
commit 6f1a074416

View File

@ -280,4 +280,18 @@
"0", "0", "-1";
};
lis3dh: accelerometer@18 {
compatible = "st,lis3dh-accel";
reg = <0x18>;
vdd-supply = <&vhvio>;
interrupt-parent = <&gpio2>;
interrupts = <2 IRQ_TYPE_EDGE_BOTH>; /* gpio34 */
rotation-matrix = "0", "-1", "0",
"1", "0", "0",
"0", "0", "1";
};
};