diff options
author | Filip Matijević <filip.matijevic.pz@gmail.com> | 2016-03-13 01:06:20 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-04-12 23:32:02 +0200 |
commit | 83faf920659386608cc63a7206cd91dba31cd443 (patch) | |
tree | 1dcfc947904b301cfde1ac5d28c3d93c545734e2 /arch/arm/boot/dts/omap3-n950.dts | |
parent | ARM: dts: N9/N950: Add support for 1GHz CPU clock (diff) | |
download | linux-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.dts | 14 |
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>; +}; |