]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-cv-power-tree-p2597-2180-a00.dtsi
arm64: max77620: jetson-cv: update fps-time-period
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-jetson-cv-power-tree-p2597-2180-a00.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  */
15
16 #include <dt-bindings/padctrl/tegra210-pads.h>
17 #include "tegra210-jetson-common-power-tree-p2530-0930-e03.dtsi"
18
19 / {
20
21         i2c@7000d000 {
22                 max77620@3c {
23                         fps {
24                                 fps@0 {
25                                         maxim,fps-time-period = <1280>;
26                                 };
27
28                                 fps@1 {
29                                         maxim,fps-time-period = <1280>;
30                                 };
31                         };
32
33                         regulators {
34                                 ldo2 {
35                                         regulator-name = "vddio-sdmmc1";
36                                 };
37                         };
38                 };
39         };
40
41         regulators {
42                 compatible = "simple-bus";
43                 device_type = "fixed-regulators";
44                 #address-cells = <1>;
45                 #size-cells = <0>;
46
47                 max77620_gpio7: regulator@2 {
48                         regulator-min-microvolt = <1050000>;
49                         regulator-max-microvolt = <1050000>;
50                         vin-supply = <&max77620_ldo7>;
51                 };
52
53                 en_vdd_sd: regulator@4 {
54                         gpio = <&gpio TEGRA_GPIO(Z, 3) 0>;
55                 };
56
57                 en_vdd_cam: regulator@5 {
58                         gpio = <&tca9539_77 9 0>;
59                         vin-supply = <&max77620_sd3>;
60                         enable-active-high;
61                 };
62
63                 vdd_hdmi: regulator@7 {
64                         gpio = <&tca9539_74 12 1>;
65                         vin-supply = <&vdd_3v3>;
66                 };
67
68                 vdd_fan: regulator@13 {
69                         gpio = <&tca9539_74 4 0>;
70                 };
71
72                 en_vdd_ts_1v8: regulator@201 {
73                         compatible = "regulator-fixed-sync";
74                         reg = <201>;
75                         regulator-name = "en-vdd-ts-1v8";
76                         regulator-min-microvolt = <1800000>;
77                         regulator-max-microvolt = <1800000>;
78                         gpio = <&tca9539_74 1 1>;
79                         enable-active-high;
80                 };
81
82                 en_vdd_ts_hv_3v3: regulator@202 {
83                         compatible = "regulator-fixed-sync";
84                         reg = <202>;
85                         regulator-name = "en-vdd-ts-hv-3v3";
86                         regulator-min-microvolt = <3300000>;
87                         regulator-max-microvolt = <3300000>;
88                         gpio = <&tca9539_74 2 1>;
89                         enable-active-high;
90                 };
91
92                 en_avdd_disp_3v3: regulator@203 {
93                         compatible = "regulator-fixed-sync";
94                         reg = <203>;
95                         regulator-name = "en-vdd-disp-3v3";
96                         regulator-min-microvolt = <3300000>;
97                         regulator-max-microvolt = <3300000>;
98                         regulator-boot-on;
99                         gpio = <&tca9539_74 3 1>;
100                         enable-active-high;
101                 };
102
103
104                 en_mdm_pwr_3v7: regulator@204 {
105                         compatible = "regulator-fixed-sync";
106                         reg = <204>;
107                         regulator-name = "en-mdm-pwr-3v7";
108                         regulator-min-microvol = <3700000>;
109                         regulator-max-microvol = <3700000>;
110                         gpio = <&tca9539_74 7 1>;
111                         enable-active-high;
112                 };
113
114                 en_dvdd_disp_1v8: regulator@205 {
115                         compatible = "regulator-fixed-sync";
116                         reg = <205>;
117                         regulator-name = "en-vdd-disp-1v8";
118                         regulator-min-microvolt = <1800000>;
119                         regulator-max-microvolt = <1800000>;
120                         regulator-boot-on;
121                         gpio = <&tca9539_74 9 1>;
122                         enable-active-high;
123                 };
124
125                 en_vdd_cam_hv_2v8: regulator@206 {
126                         compatible = "regulator-fixed-sync";
127                         reg = <206>;
128                         regulator-name = "en-vdd-cam-hv-2v8";
129                         regulator-min-microvol = <2800000>;
130                         regulator-max-microvol = <2800000>;
131                         gpio = <&tca9539_74 13 1>;
132                         enable-active-high;
133                 };
134
135                 en_vdd_eth_5v0: regulator@207 {
136                         compatible = "regulator-fixed-sync";
137                         reg = <207>;
138                         regulator-name = "rtl-5v0";
139                         regulator-min-microvol = <5000000>;
140                         regulator-max-microvol = <5000000>;
141                         gpio = <&gpio TEGRA_GPIO(H, 1) 0>;
142                         enable-active-high;
143                 };
144
145                 en_usb_vbus2: regulator@208 {
146                         compatible = "regulator-fixed-sync";
147                         reg = <208>;
148                         regulator-name = "en-usb-vbus2";
149                         regulator-min-microvol = <5000000>;
150                         regulator-max-microvol = <5000000>;
151                         gpio = <&gpio TEGRA_GPIO(CC, 5) 0>;
152                         enable-active-high;
153                 };
154
155                 en_vdd_cam_1v2: regulator@209 {
156                         compatible = "regulator-fixed-sync";
157                         reg = <209>;
158                         regulator-name = "en-vdd-cam-1v2";
159                         regulator-min-microvol = <1200000>;
160                         regulator-max-microvol = <1200000>;
161                         vin-supply = <&vdd_3v3>;
162                         gpio = <&tca9539_77 3 1>;
163                         enable-active-high;
164                 };
165
166                 en_vdd_vcm_2v8: regulator@210 {
167                         compatible = "regulator-fixed-sync";
168                         reg = <210>;
169                         regulator-name = "en-vdd-vcm-2v8";
170                         regulator-min-microvol = <2800000>;
171                         regulator-max-microvol = <2800000>;
172                         vin-supply = <&vdd_3v3>;
173                         gpio = <&gpio TEGRA_GPIO(S, 4) 0>;
174                         enable-active-high;
175                 };
176         };
177
178         host1x {
179                 dc@54200000 {
180                         avdd_dsi_csi-supply = <&max77620_ldo0>;
181                         avdd_lcd-supply = <&en_avdd_disp_3v3>;
182                         dvdd_lcd-supply = <&en_dvdd_disp_1v8>;
183                         vdd_lcd_bl_en-supply = <&lcd_bl_en>;
184                         vdd_lcd_bl-supply = <&vdd_3v3>;
185
186                         /* eDP */
187                         vdd_ds_1v8-supply  = <&en_dvdd_disp_1v8>;
188                         avdd_io_edp-supply = <&max77620_gpio7>;
189                 };
190
191                 vi {
192                         avdd_dsi_csi-supply = <&max77620_ldo0>;
193                 };
194         };
195
196         pwm-fan {
197                 vdd-fan-supply = <&vdd_fan>;
198         };
199
200         otg@7d000000 {
201                 usb_vbus-supply = <&usb_vbus1>;
202         };
203
204         xusb@70090000 {
205                 usb_vbus1-supply = <&en_vdd_eth_5v0>;
206                 usb_vbus2-supply = <&en_usb_vbus2>;
207         };
208
209         spi@7000da00 {
210                 spi-touch19x12@0 {
211                         avdd-supply = <&en_vdd_ts_hv_3v3>;
212                         dvdd-supply = <&en_vdd_ts_1v8>;
213                 };
214         };
215
216         pmc-iopower {
217                 iopower-sys-supply = <&max77620_sd3>;
218                 iopower-uart-supply = <&max77620_sd3>;
219                 iopower-audio-supply = <&max77620_sd3>;
220                 iopower-cam-supply = <&max77620_sd3>;
221                 iopower-pex-ctrl-supply = <&max77620_sd3>;
222                 iopower-sdmmc1-supply = <&max77620_ldo2>;
223                 iopower-sdmmc3-supply = <&max77620_sd3>;
224                 iopower-sdmmc4-supply = <&max77620_sd3>;
225                 iopower-audio-hv-supply = <&max77620_sd3>;
226                 iopower-debug-supply = <&max77620_sd3>;
227                 iopower-dmic-supply = <&max77620_sd3>;
228                 iopower-gpio-supply = <&max77620_sd3>;
229                 iopower-spi-supply = <&max77620_sd3>;
230                 iopower-spi-hv-supply = <&max77620_sd3>;
231                 iopower-sdmmc2-supply = <&max77620_sd3>;
232                 iopower-dp-supply = <&max77620_sd3>;
233         };
234
235         pmc@7000e400 {
236                 io-pad-defaults {
237                         audio-hv {
238                                 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
239                         };
240
241                         spi-hv {
242                                 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
243                         };
244
245                         gpio {
246                                 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
247                         };
248                         sdmmc3 {
249                                 nvidia,io-pad-init-voltage = <IO_PAD_VOLTAGE_1_8V>;
250                         };
251                 };
252         };
253
254         i2c@546c0000 {
255                 tca6408_21: tca6408@21 {
256                         vcc-supply = <&en_vdd_cam>;
257                 };
258         };
259
260         i2c@7000c000 {
261                 icm20628@68 {
262                         vdd-supply = <&vdd_3v3>;
263                         vlogic-supply = <&vdd_3v3>;
264                 };
265
266                 ak8963@0d {
267                         vdd-supply = <&vdd_3v3>;
268                         vid-supply = <&vdd_3v3>;
269                 };
270
271                 bmp280@77 {
272                         vddio-supply = <&vdd_3v3>;
273                         vdd-supply = <&vdd_3v3>;
274                 };
275
276                 cm32180@48 {
277                         vdd-supply = <&vdd_3v3>;
278                 };
279
280                 iqs263@44 {
281                         vddhi-supply = <&vdd_3v3>;
282                 };
283         };
284 };