ARM: shmobile: kzm9g-reference dts: Add adxl345 accelerometer node
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 6 Jan 2015 19:42:07 +0000 (20:42 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:30:38 +0000 (06:30 +0900)
commit4bd1dd503aa2a6cfeb18a48d1da01662dd5124e1
treeb5b03e014dea41f29c1aec97319711b87d00e698
parent56b7271c9dbf029d288e4fbcae72e405e56ae856
ARM: shmobile: kzm9g-reference dts: Add adxl345 accelerometer node

Add a DT node for the ADXL345 three-axis digital accelerometer sensor,
which is connected to i2c0.

As trivial i2c devices are matched against the first compatible entry
only, compatibility is declared with "adi,adxl34x" only for now.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
The device needs an interrupt to operate properly. Specify the two
interrupts used on the board.

While at it rename the DT node to accelerometer@1d to describe the
device's function instead of its model.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts