diff options
author | Sebastian Reichel <sre@kernel.org> | 2017-03-06 05:11:57 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-03-06 17:04:30 +0100 |
commit | 6f1a0744162e54a6d1baae157c8cb27eb6cde42c (patch) | |
tree | ae396158b5e37299b1cf47cb1661c109e8f41f9f /arch/arm/boot/dts/omap4-droid4-xt894.dts | |
parent | ARM: dts: omap4-droid4: Add compass (diff) | |
download | linux-6f1a0744162e54a6d1baae157c8cb27eb6cde42c.tar.xz linux-6f1a0744162e54a6d1baae157c8cb27eb6cde42c.zip |
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.dts | 14 |
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"; + }; }; |