summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap4-droid4-xt894.dts
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2017-03-05 20:11:57 -0800
committerTony Lindgren <tony@atomide.com>2017-03-06 08:04:30 -0800
commit6f1a0744162e54a6d1baae157c8cb27eb6cde42c (patch)
treeae396158b5e37299b1cf47cb1661c109e8f41f9f /arch/arm/boot/dts/omap4-droid4-xt894.dts
parentd2913a69929b777af896f3343edd0dcde5ff700d (diff)
ARM: dts: omap4-droid4: Add accelerometer
Add accelerometer. Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-droid4-xt894.dts')
-rw-r--r--arch/arm/boot/dts/omap4-droid4-xt894.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts
index 31638598331a..9070f4b64b08 100644
--- a/arch/arm/boot/dts/omap4-droid4-xt894.dts
+++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts
@@ -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";
+ };
};