summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-nomadik-nhk15.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-07-28 02:11:36 +0200
committerOlof Johansson <olof@lixom.net>2015-08-11 15:29:59 +0200
commit4f2f1f76dc8c5cb6528d7451de6eacdbf8fb0cbf (patch)
treebb1f30ed91414ef040d8f1684f7628c1e491cf01 /arch/arm/boot/dts/ste-nomadik-nhk15.dts
parentARM: nomadik: move l2x0 setup to device tree (diff)
downloadlinux-4f2f1f76dc8c5cb6528d7451de6eacdbf8fb0cbf.tar.xz
linux-4f2f1f76dc8c5cb6528d7451de6eacdbf8fb0cbf.zip
ARM: nomadik: push accelerometer down to boards
The two Nomadik variants have the accelerometer mounted on different I2C lines. Push the definition down to the top-level board DTS files to get things right. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-nhk15.dts')
-rw-r--r--arch/arm/boot/dts/ste-nomadik-nhk15.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
index 9d888b0e75af..4a21c6492dbb 100644
--- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts
+++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts
@@ -83,6 +83,11 @@
};
i2c0 {
+ lis3lv02dl@1d {
+ /* Accelerometer */
+ compatible = "st,lis3lv02dl-accel";
+ reg = <0x1d>;
+ };
stmpe0: stmpe2401@43 {
compatible = "st,stmpe2401";
reg = <0x43>;