]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-platforms/tegra210-loki-e-sensor-p2530-0032-e00.dtsi
4e4b2eb33726c0eafa46eca609a98742dd78eea5
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-loki-e-sensor-p2530-0032-e00.dtsi
1 /*
2  * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
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 as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17  */
18
19 #include <dt-bindings/gpio/tegra-gpio.h>
20
21 / {
22         i2c@7000c000 {
23                 icm20628@68 {
24                         compatible = "invensense,mpu6xxx";
25                         reg = <0x68>;
26                         interrupt-parent = <&gpio>;
27                         interrupts = <TEGRA_GPIO(X, 2) 0x00>;
28                         accelerometer_matrix = [ff 00 00 00 01 00 00 00 ff];
29                         gyroscope_matrix = [ff 00 00 00 01 00 00 00 ff];
30                 };
31
32                 ak8963c@0c {
33                         compatible = "ak,ak89xx";
34                         reg = <0x0c>;
35                         magnetic_field_matrix = [01 00 00 00 ff 00 00 00 ff];
36                         magnetic_field_delay_us_min = <16666>;
37                 };
38
39                 jsa1127@39 {
40                         compatible = "solteamopto,jsa1127";
41                         reg = <0x39>;
42                         light_hwm_maxrange_ival = <212000>;
43                         light_hwm_resolution_ival = <6>;
44                         light_hwm_resolution_fval = <610000>;
45                         light_hyb_maxrange_ival = <63>;
46                         light_hyb_maxrange_fval = <0>;
47                         light_hyb_resolution_ival = <6>;
48                         light_hyb_resolution_fval = <850000>;
49                         light_hyb_interval = <5000>;
50                 };
51         };
52
53 };