Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
0004  */
0005 
0006 #include "omap3-gta04.dtsi"
0007 
0008 / {
0009         model = "Goldelico GTA04A3/Letux 2804";
0010 };
0011 
0012 &i2c2 {
0013 
0014         /* alternate accelerometer that might be installed on some GTA04A3 boards */
0015         lis302@1d {
0016                 compatible = "st,lis331dlh", "st,lis3lv02d";
0017                 reg = <0x1d>;
0018                 interrupt-parent = <&gpio3>;
0019                 interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
0020                 Vdd-supply = <&vaux2>;
0021                 Vdd_IO-supply = <&vaux2>;
0022 
0023                 st,click-single-x;
0024                 st,click-single-y;
0025                 st,click-single-z;
0026                 st,click-thresh-x = <8>;
0027                 st,click-thresh-y = <8>;
0028                 st,click-thresh-z = <10>;
0029                 st,click-click-time-limit = <9>;
0030                 st,click-latency = <50>;
0031                 st,irq1-click;
0032                 st,wakeup-x-lo;
0033                 st,wakeup-x-hi;
0034                 st,wakeup-y-lo;
0035                 st,wakeup-y-hi;
0036                 st,wakeup-z-lo;
0037                 st,wakeup-z-hi;
0038                 st,min-limit-x = <32>;
0039                 st,min-limit-y = <3>;
0040                 st,min-limit-z = <3>;
0041                 st,max-limit-x = <3>;
0042                 st,max-limit-y = <32>;
0043                 st,max-limit-z = <32>;
0044         };
0045 };