]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-platforms/tegra210-t18x-interposer-fixed-e3301-1000-a00-00.dtsi
gpu: nvgpu: recycle the cmdbuf instead of freeing after job done
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-t18x-interposer-fixed-e3301-1000-a00-00.dtsi
1 /*
2  * Copyright (c) 2014, 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@7000c400 {
23                tca9539_74: tca9539@74 {
24                         compatible = "ti,tca9539";
25                         gpio-controller;
26                         #gpio-cells = <2>;
27                         reg = <0x74>;
28                         interrupt-parent = <&gpio>;
29                         interrupts = <TEGRA_GPIO(L, 1) 0x0>;
30                         #interrupt-cells = <2>;
31                         interrupt-controller;
32                 };
33
34                 tca9539_77: tca9539@77 {
35                         compatible = "ti,tca9539";
36                         gpio-controller;
37                         #gpio-cells = <2>;
38                         reg = <0x77>;
39                         interrupt-parent = <&gpio>;
40                         interrupts = <TEGRA_GPIO(Z, 2) 0x0>;
41                         #interrupt-cells = <2>;
42                         interrupt-controller;
43                 };
44         };
45
46         regulators {
47                 compatible = "simple-bus";
48                 device_type = "fixed-regulators";
49                 #address-cells = <1>;
50                 #size-cells = <0>;
51
52                 battery_reg: regulator@0 {
53                         compatible = "regulator-fixed";
54                         reg = <0>;
55                         regulator-name = "vdd-ac-bat";
56                         regulator-min-microvolt = <5000000>;
57                         regulator-max-microvolt = <5000000>;
58                         regulator-always-on;
59                 };
60
61                 vdd_3v3: regulator@1 {
62                         compatible = "regulator-fixed-sync";
63                         reg = <1>;
64                         regulator-name = "vdd-3v3";
65                         regulator-min-microvolt = <3300000>;
66                         regulator-max-microvolt = <3300000>;
67                         regulator-always-on;
68                         gpio = <&max77620 3 0>;
69                         enable-active-high;
70                         consumers {
71                                 c1 {
72                                         regulator-consumer-supply = "avdd_usb";
73                                         regulator-consumer-device = "tegra-ehci.0";
74                                 };
75                                 c2 {
76                                         regulator-consumer-supply = "avdd_usb";
77                                         regulator-consumer-device = "tegra-ehci.1";
78                                 };
79                                 c3 {
80                                         regulator-consumer-supply = "avdd_usb";
81                                         regulator-consumer-device = "tegra-ehci.2";
82                                 };
83                                 c5 {
84                                         regulator-consumer-supply = "vdd";
85                                         regulator-consumer-device = "1-004d";
86                                 };
87                         };
88                 };
89
90                 max77620_gpio7: regulator@2 {
91                         compatible = "regulator-fixed-sync";
92                         reg = <2>;
93                         regulator-name = "max77620-gpio7";
94                         regulator-min-microvolt = <1050000>;
95                         regulator-max-microvolt = <1050000>;
96                         vin-supply = <&max77620_ldo7>;
97                         regulator-boot-on;
98                         gpio = <&max77620 7 0>;
99                         enable-active-high;
100                 };
101
102                 lcd_bl_en: regulator@3 {
103                         compatible = "regulator-fixed-sync";
104                         reg = <3>;
105                         regulator-name = "lcd-bl-en";
106                         regulator-min-microvolt = <1800000>;
107                         regulator-max-microvolt = <1800000>;
108                         regulator-boot-on;
109                         gpio = <&gpio TEGRA_GPIO(V, 1) 0>;
110                         enable-active-high;
111                 };
112
113                 en_vdd_sd: regulator@4 {
114                         compatible = "regulator-fixed-sync";
115                         reg = <4>;
116                         regulator-name = "en-vdd-sd";
117                         regulator-min-microvolt = <3300000>;
118                         regulator-max-microvolt = <3300000>;
119                         gpio = <&gpio TEGRA_GPIO(Z, 3) 0>;
120                         enable-active-high;
121                         vin-supply = <&vdd_3v3>;
122                 };
123
124                 en_vdd_cam: regulator@5 {
125                         compatible = "regulator-fixed-sync";
126                         reg = <5>;
127                         regulator-name = "en-vdd-cam";
128                         regulator-min-microvolt = <1800000>;
129                         regulator-max-microvolt = <1800000>;
130                         gpio = <&tca9539_77 9 1>;
131                         enable-active-high;
132                         consumers {
133                                 c1 {
134                                         regulator-consumer-supply = "vif";
135                                 };
136                         };
137                 };
138
139                 vdd_sys_boost: regulator@6 {
140                         compatible = "regulator-fixed-sync";
141                         reg = <6>;
142                         regulator-name = "vdd-sys-boost";
143                         regulator-min-microvolt = <5000000>;
144                         regulator-max-microvolt = <5000000>;
145                         regulator-always-on;
146                         gpio = <&max77620 1 0>;
147                         enable-active-high;
148                 };
149
150                 vdd_hdmi: regulator@7 {
151                         compatible = "regulator-fixed-sync";
152                         reg = <7>;
153                         regulator-name = "vdd-hdmi";
154                         regulator-min-microvolt = <5000000>;
155                         regulator-max-microvolt = <5000000>;
156                         gpio = <&tca9539_74 12 1>;
157                         vin-supply = <&vdd_3v3>;
158                         enable-active-high;
159                 };
160
161                 en_vdd_cpu_fixed: regulator@8 {
162                         compatible = "regulator-fixed";
163                         reg = <8>;
164                         regulator-name = "vdd-cpu-fixed";
165                         regulator-min-microvolt = <1000000>;
166                         regulator-max-microvolt = <1000000>;
167                 };
168
169                 vdd_aux_3v3: regulator@9 {
170                         compatible = "regulator-fixed-sync";
171                         reg = <9>;
172                         regulator-name = "aux-3v3";
173                         regulator-min-microvolt = <3300000>;
174                         regulator-max-microvolt = <3300000>;
175                 };
176
177                 vdd_snsr_pm: regulator@10 {
178                         compatible = "regulator-fixed-sync";
179                         reg = <10>;
180                         regulator-name = "snsr_pm";
181                         enable-active-high;
182                         regulator-min-microvolt = <3300000>;
183                         regulator-max-microvolt = <3300000>;
184                 };
185
186                 vdd_usb_5v0: regulator@11 {
187                         compatible = "regulator-fixed-sync";
188                         reg = <11>;
189                         status = "disabled";
190                         regulator-name = "vdd-usb-5v0";
191                         regulator-min-microvolt = <5000000>;
192                         regulator-max-microvolt = <5000000>;
193                         vin-supply = <&vdd_3v3>;
194                         regulator-always-on;
195                         enable-active-high;
196                         consumers {
197                                 c0 {
198                                         regulator-consumer-supply = "usb_vbus";
199                                         regulator-consumer-device = "tegra-ehci.1";
200                                 };
201                                 c1 {
202                                         regulator-consumer-supply = "usb_vbus";
203                                         regulator-consumer-device = "tegra-ehci.2";
204                                 };
205                         };
206                 };
207                 vdd_disp_3v0: regulator@12 {
208                         compatible = "regulator-fixed-sync";
209                         reg = <12>;
210                         regulator-name = "vdd-disp-3v0";
211                         regulator-min-microvolt = <3000000>;
212                         regulator-max-microvolt = <3000000>;
213                         gpio = <&gpio TEGRA_GPIO(I, 3) 0>;
214                         regulator-boot-on;
215                         enable-active-high;
216                         regulator-enable-ramp-delay = <232>;
217                 };
218
219                 vdd_fan: regulator@13 {
220                         compatible = "regulator-fixed-sync";
221                         reg = <13>;
222                         regulator-name = "vdd-fan";
223                         regulator-min-microvolt = <5000000>;
224                         regulator-max-microvolt = <5000000>;
225                         gpio = <&tca9539_74 4 0>;
226                         regulator-enable-ramp-delay = <284>;
227                         regulator-disable-ramp-delay = <6200>;
228                 };
229
230                 usb_vbus1: regulator@14 {
231                         compatible = "regulator-fixed-sync";
232                         reg = <14>;
233                         regulator-name = "usb-vbus1";
234                         regulator-min-microvolt = <5000000>;
235                         regulator-max-microvolt = <5000000>;
236                         gpio = <&gpio TEGRA_GPIO(CC, 4) 0>;
237                         enable-active-high;
238                         gpio-open-drain;
239                         vin-supply = <&vdd_3v3>;
240                 };
241
242                 usb_vbus3: regulator@15 {
243                         compatible = "regulator-fixed-sync";
244                         reg = <15>;
245                         regulator-name = "usb-vbus3";
246                         regulator-min-microvolt = <5000000>;
247                         regulator-max-microvolt = <5000000>;
248                         gpio = <&gpio TEGRA_GPIO(D, 4) 0>;
249                         enable-active-high;
250                         gpio-open-drain;
251                         vin-supply = <&vdd_3v3>;
252                 };
253                 vdd_cdc_1v2_aud: regulator@101 {
254                         compatible = "regulator-fixed-sync";
255                         reg = <101>;
256                         status = "disabled";
257                         regulator-name = "vdd_cdc_1v2_aud";
258                         regulator-min-microvolt = <1200000>;
259                         regulator-max-microvolt = <1200000>;
260                         enable-active-high;
261                         startup-delay-us = <250000>;
262                 };
263                 en_vdd_ts_1v8: regulator@201 {
264                         compatible = "regulator-fixed-sync";
265                         reg = <201>;
266                         regulator-name = "en-vdd-ts-1v8";
267                         regulator-min-microvolt = <1800000>;
268                         regulator-max-microvolt = <1800000>;
269                         gpio = <&tca9539_74 1 1>;
270                         enable-active-high;
271                 };
272
273                 en_vdd_ts_hv_3v3: regulator@202 {
274                         compatible = "regulator-fixed-sync";
275                         reg = <202>;
276                         regulator-name = "en-vdd-ts-hv-3v3";
277                         regulator-min-microvolt = <3300000>;
278                         regulator-max-microvolt = <3300000>;
279                         gpio = <&tca9539_74 2 1>;
280                         enable-active-high;
281                 };
282
283                 en_avdd_disp_3v3: regulator@203 {
284                         compatible = "regulator-fixed-sync";
285                         reg = <203>;
286                         regulator-name = "en-vdd-disp-3v3";
287                         regulator-min-microvolt = <3300000>;
288                         regulator-max-microvolt = <3300000>;
289                         gpio = <&tca9539_74 3 1>;
290                         enable-active-high;
291                 };
292
293
294                 en_mdm_pwr_3v7: regulator@204 {
295                         compatible = "regulator-fixed-sync";
296                         reg = <204>;
297                         regulator-name = "en-mdm-pwr-3v7";
298                         regulator-min-microvol = <3700000>;
299                         regulator-max-microvol = <3700000>;
300                         gpio = <&tca9539_74 7 1>;
301                         enable-active-high;
302                 };
303
304                 en_dvdd_disp_1v8: regulator@205 {
305                         compatible = "regulator-fixed-sync";
306                         reg = <205>;
307                         regulator-name = "en-vdd-disp-1v8";
308                         regulator-min-microvolt = <1800000>;
309                         regulator-max-microvolt = <1800000>;
310                         gpio = <&tca9539_74 9 1>;
311                         enable-active-high;
312                 };
313
314                 en_vdd_cam_hv_2v8: regulator@206 {
315                         compatible = "regulator-fixed-sync";
316                         reg = <206>;
317                         regulator-name = "en-vdd-cam-hv-2v8";
318                         regulator-min-microvol = <2800000>;
319                         regulator-max-microvol = <2800000>;
320                         gpio = <&tca9539_74 13 1>;
321                         enable-active-high;
322                 };
323
324                 en_vdd_eth_5v0: regulator@207 {
325                         compatible = "regulator-fixed-sync";
326                         reg = <207>;
327                         regulator-name = "rtl-5v0";
328                         regulator-min-microvol = <5000000>;
329                         regulator-max-microvol = <5000000>;
330                         gpio = <&gpio TEGRA_GPIO(H, 1) 0>;
331                         enable-active-high;
332                 };
333
334                 en_usb_vbus2: regulator@208 {
335                         compatible = "regulator-fixed-sync";
336                         reg = <208>;
337                         regulator-name = "en-usb-vbus2";
338                         regulator-min-microvol = <5000000>;
339                         regulator-max-microvol = <5000000>;
340                         gpio = <&gpio TEGRA_GPIO(CC, 5) 0>;
341                         enable-active-high;
342                 };
343
344                 en_vdd_cam_1v2: regulator@209 {
345                         compatible = "regulator-fixed-sync";
346                         reg = <209>;
347                         regulator-name = "en-vdd-cam-1v2";
348                         regulator-min-microvol = <1200000>;
349                         regulator-max-microvol = <1200000>;
350                         vin-supply = <&vdd_3v3>;
351                         gpio = <&tca9539_77 3 1>;
352                         enable-active-high;
353                 };
354         };
355 };