aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2017-03-05 23:11:57 -0500
committerTony Lindgren <tony@atomide.com>2017-03-06 11:04:30 -0500
commit6f1a0744162e54a6d1baae157c8cb27eb6cde42c (patch)
treeae396158b5e37299b1cf47cb1661c109e8f41f9f
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>
-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 @@
280 "0", "0", "-1"; 280 "0", "0", "-1";
281 281
282 }; 282 };
283
284 lis3dh: accelerometer@18 {
285 compatible = "st,lis3dh-accel";
286 reg = <0x18>;
287
288 vdd-supply = <&vhvio>;
289
290 interrupt-parent = <&gpio2>;
291 interrupts = <2 IRQ_TYPE_EDGE_BOTH>; /* gpio34 */
292
293 rotation-matrix = "0", "-1", "0",
294 "1", "0", "0",
295 "0", "0", "1";
296 };
283}; 297};