Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
| 3 | * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com> |
| 4 | */ |
| 5 | |
| 6 | #include "omap3-gta04.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "Goldelico GTA04A3/Letux 2804"; |
| 10 | }; |
| 11 | |
| 12 | &i2c2 { |
| 13 | |
| 14 | /* alternate accelerometer that might be installed on some GTA04A3 boards */ |
| 15 | lis302@1d { |
| 16 | compatible = "st,lis331dlh", "st,lis3lv02d"; |
| 17 | reg = <0x1d>; |
| 18 | interrupt-parent = <&gpio3>; |
| 19 | interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; |
| 20 | Vdd-supply = <&vaux2>; |
| 21 | Vdd_IO-supply = <&vaux2>; |
| 22 | |
| 23 | st,click-single-x; |
| 24 | st,click-single-y; |
| 25 | st,click-single-z; |
| 26 | st,click-thresh-x = <8>; |
| 27 | st,click-thresh-y = <8>; |
| 28 | st,click-thresh-z = <10>; |
| 29 | st,click-click-time-limit = <9>; |
| 30 | st,click-latency = <50>; |
| 31 | st,irq1-click; |
| 32 | st,wakeup-x-lo; |
| 33 | st,wakeup-x-hi; |
| 34 | st,wakeup-y-lo; |
| 35 | st,wakeup-y-hi; |
| 36 | st,wakeup-z-lo; |
| 37 | st,wakeup-z-hi; |
| 38 | st,min-limit-x = <32>; |
| 39 | st,min-limit-y = <3>; |
| 40 | st,min-limit-z = <3>; |
| 41 | st,max-limit-x = <3>; |
| 42 | st,max-limit-y = <32>; |
| 43 | st,max-limit-z = <32>; |
| 44 | }; |
| 45 | }; |