summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-n9.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-n9.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-n9.dts')
-rw-r--r--arch/arm/boot/dts/omap3-n9.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts
index 5c67429a4da7..b9e58c536afd 100644
--- a/arch/arm/boot/dts/omap3-n9.dts
+++ b/arch/arm/boot/dts/omap3-n9.dts
@@ -57,3 +57,17 @@
&modem {
compatible = "nokia,n9-modem";
};
+
+&lis302 {
+ st,axis-x = <1>; /* LIS3_DEV_X */
+ st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
+ st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
+
+ st,min-limit-x = <(-46)>;
+ st,min-limit-y = <3>;
+ st,min-limit-z = <3>;
+
+ st,max-limit-x = <(-3)>;
+ st,max-limit-y = <46>;
+ st,max-limit-z = <46>;
+};