Messages in this thread Patch in this message | | | From | Sebastian Reichel <> | Subject | [PATCH 6/8] ARM: dts: omap4-droid4: Add accelerometer | Date | Thu, 2 Mar 2017 02:08:58 +0100 |
| |
Signed-off-by: Sebastian Reichel <sre@kernel.org> --- arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts index 71e1769e9b0f..479cd5e5de83 100644 --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts @@ -206,4 +206,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"; + }; }; -- 2.11.0
| |