Commit | Line | Data |
---|---|---|
4cf64060 MB |
1 | /* |
2 | * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | #include "omap3-gta04.dtsi" | |
10 | ||
11 | / { | |
12 | model = "Goldelico GTA04A3"; | |
13 | }; | |
14 | ||
15 | &i2c2 { | |
16 | ||
17 | /* alternate accelerometer that might be installed on some GTA04A3 boards */ | |
18 | lis302@1d { | |
19 | compatible = "st,lis331dlh", "st,lis3lv02d"; | |
20 | reg = <0x1d>; | |
21 | interrupt-parent = <&gpio3>; | |
22 | interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; | |
23 | Vdd-supply = <&vaux2>; | |
24 | Vdd_IO-supply = <&vaux2>; | |
25 | ||
26 | st,click-single-x; | |
27 | st,click-single-y; | |
28 | st,click-single-z; | |
29 | st,click-thresh-x = <8>; | |
30 | st,click-thresh-y = <8>; | |
31 | st,click-thresh-z = <10>; | |
32 | st,click-click-time-limit = <9>; | |
33 | st,click-latency = <50>; | |
34 | st,irq1-click; | |
35 | st,wakeup-x-lo; | |
36 | st,wakeup-x-hi; | |
37 | st,wakeup-y-lo; | |
38 | st,wakeup-y-hi; | |
39 | st,wakeup-z-lo; | |
40 | st,wakeup-z-hi; | |
41 | st,min-limit-x = <32>; | |
42 | st,min-limit-y = <3>; | |
43 | st,min-limit-z = <3>; | |
44 | st,max-limit-x = <3>; | |
45 | st,max-limit-y = <32>; | |
46 | st,max-limit-z = <32>; | |
47 | }; | |
48 | }; |