summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-n950.dts
diff options
context:
space:
mode:
authorFilip Matijević <filip.matijevic.pz@gmail.com>2016-03-13 01:06:20 +0100
committerTony Lindgren <tony@atomide.com>2016-04-12 23:32:02 +0200
commit83faf920659386608cc63a7206cd91dba31cd443 (patch)
tree1dcfc947904b301cfde1ac5d28c3d93c545734e2 /arch/arm/boot/dts/omap3-n950.dts
parentARM: dts: N9/N950: Add support for 1GHz CPU clock (diff)
downloadlinux-83faf920659386608cc63a7206cd91dba31cd443.tar.xz
linux-83faf920659386608cc63a7206cd91dba31cd443.zip
ARM: dts: N9/N950: Add support for accelerometer
Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-n950.dts')
-rw-r--r--arch/arm/boot/dts/omap3-n950.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts
index 67041305a0f1..646601a3ebd8 100644
--- a/arch/arm/boot/dts/omap3-n950.dts
+++ b/arch/arm/boot/dts/omap3-n950.dts
@@ -171,3 +171,17 @@
MATRIX_KEY(0x07, 0x07, KEY_R)
>;
};
+
+&lis302 {
+ st,axis-x = <(-2)>; /* LIS3_INV_DEV_Y */
+ st,axis-y = <(-1)>; /* LIS3_INV_DEV_X */
+ st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
+
+ st,min-limit-x = <(-32)>;
+ st,min-limit-y = <3>;
+ st,min-limit-z = <3>;
+
+ st,max-limit-x = <(-3)>;
+ st,max-limit-y = <32>;
+ st,max-limit-z = <32>;
+};