]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-super-module-e2614.dtsi
1cd6c0a966da203db3d338730ec3d481ca6c502b
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-jetson-cv-super-module-e2614.dtsi
1 /*
2  * Jetson-CV Super Module peripherals
3  *
4  * Copyright (c) 2015-2016, NVIDIA CORPORATION.  All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  *
15  */
16
17 / {
18         i2c@7000c000 {
19                 nvidia,clock-always-on;
20
21                 tca6416_20: tca6416@20 {
22                         compatible = "ti,tca6416";
23                         gpio-controller;
24                         #gpio-cells = <2>;
25                         reg = <0x20>;
26                         interrupt-parent = <&gpio>;
27                         interrupts = <TEGRA_GPIO(X, 0) 0x0>;
28                         #interrupt-cells = <2>;
29                         interrupt-controller;
30                         gpio-init-names = "default";
31                         gpio-init-0 = <&tca6416_20_default>;
32                         status = "disabled";
33                         tca6416_20_default: default {
34                                 gpio-output-low = <1>;
35                         };
36                 };
37
38                 icm20628_68: icm20628@68 {
39                         compatible = "invensense,mpu6xxx";
40                         reg = <0x68>;
41                         interrupt-parent = <&gpio>;
42                         interrupts = <TEGRA_GPIO(X, 2) 0x01>;
43                         accelerometer_matrix    = [01 00 00 00 01 00 00 00 01];
44                         gyroscope_matrix        = [01 00 00 00 01 00 00 00 01];
45                         status = "disabled";
46                 };
47
48                 ak8963_0d: ak8963@0d {
49                         compatible = "ak,ak89xx";
50                         reg = <0x0d>;
51                         magnetic_field_matrix = [01 00 00 00 01 00 00 00 01];
52                         magnetic_field_delay_us_min = <16666>;
53                         status = "disabled";
54                 };
55
56                 bmp280_77: bmp280@77 {
57                         compatible = "bmp,bmpX80";
58                         reg = <0x77>;
59                         pressure_delay_us_min = <16666>;
60                         pressure_disable = <1>;
61                         status = "disabled";
62                 };
63
64                 cm32180_48: cm32180@48 {
65                         compatible = "capella,cm32180";
66                         reg = <0x48>;
67                         gpio_irq = <&gpio TEGRA_GPIO(X, 3) GPIO_ACTIVE_LOW>;
68                         light_uncalibrated_lo = <1>;
69                         light_calibrated_lo = <150>;
70                         light_uncalibrated_hi = <95000>;
71                         light_calibrated_hi = <1750000>;
72                         status = "disabled";
73                 };
74
75                 iqs263@44 {
76                         status = "disabled";
77                 };
78
79                 i2cmux_70: i2cmux@70 {
80                         compatible = "nxp,pca9546";
81                         reg = <0x70>;
82                         #address-cells = <1>;
83                         #size-cells = <0>;
84                         vcc-supply = <&vdd_3v3>;
85                         status = "disabled";
86                         i2c@0 {
87                                 reg = <0>;
88                                 i2c-mux,deselect-on-exit;
89                                 #address-cells = <1>;
90                                 #size-cells = <0>;
91                         };
92                         i2c@1 {
93                                 reg = <1>;
94                                 i2c-mux,deselect-on-exit;
95                                 #address-cells = <1>;
96                                 #size-cells = <0>;
97                         };
98                         i2c@2 {
99                                 reg = <2>;
100                                 i2c-mux,deselect-on-exit;
101                                 #address-cells = <1>;
102                                 #size-cells = <0>;
103                         };
104                         i2c@3 {
105                                 reg = <3>;
106                                 i2c-mux,deselect-on-exit;
107                                 #address-cells = <1>;
108                                 #size-cells = <0>;
109                                 rt5658_b00: rt5659.10-001a@1a {
110                                         compatible = "realtek,rt5658";
111                                         reg = <0x1a>;
112                                         status = "disabled";
113                                         /* gpio for jack detection */
114                                         gpios = <&gpio TEGRA_GPIO(E , 6) GPIO_ACTIVE_HIGH>;
115
116                                         /* refer include/sound/rt5659.h for the values to be used */
117                                         realtek,jd-src = <1>; /* RT5659_JD3 */
118                                         realtek,dmic1-data-pin = <2>; /* RT5659_DMIC1_DATA_GPIO5 */
119                                 };
120                         };
121                 };
122
123                 rt5658_a00: rt5659.0-001a@1a {
124                         compatible = "realtek,rt5658";
125                         reg = <0x1a>;
126                         status = "disabled";
127                         gpios = <&gpio TEGRA_GPIO(E , 6) GPIO_ACTIVE_HIGH>;
128
129                         realtek,jd-src = <1>; /* RT5659_JD3 */
130                         realtek,dmic1-data-pin = <2>; /* RT5659_DMIC1_DATA_GPIO5 */
131                 };
132         };
133
134         spi@7000d600 {
135                 status = "disabled";
136         };
137 };