]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-platforms/tegra210-jetson-e-power-tree-p2530-0930-e03.dtsi
arm64: align dts file naming to match schematic
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-platforms / tegra210-jetson-e-power-tree-p2530-0930-e03.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  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #include "tegra210-jetson-e-pmic-p2530-0930-e03.dtsi"
19 #include "tegra210-jetson-e-power-fixed-p2530-0930-e03.dtsi"
20 #include "tegra210-ers-power-dvfs-e2174-1101-a00.dtsi"
21
22 / {
23
24         i2c@7000d000 {
25                 max77620@3c {
26                         regulators {
27                                 sd0 {
28                                         regulator-enable-ramp-delay = <146>;
29                                         regulator-disable-ramp-delay = <4080>;
30                                         regulator-ramp-delay = <27500>;
31                                         regulator-ramp-delay-scale = <300>;
32                                 };
33
34                                 sd1 {
35                                         regulator-enable-ramp-delay = <130>;
36                                         regulator-disable-ramp-delay = <145800>;
37                                         regulator-ramp-delay = <27500>;
38                                         regulator-ramp-delay-scale = <300>;
39                                 };
40
41                                 sd2 {
42                                         regulator-enable-ramp-delay = <176>;
43                                         regulator-disable-ramp-delay = <32000>;
44                                         regulator-ramp-delay = <27500>;
45                                         regulator-ramp-delay-scale = <350>;
46                                 };
47
48                                 sd3 {
49                                         regulator-enable-ramp-delay = <242>;
50                                         regulator-disable-ramp-delay = <118000>;
51                                         regulator-ramp-delay = <27500>;
52                                         regulator-ramp-delay-scale = <360>;
53                                 };
54
55                                 ldo0 {
56                                         regulator-enable-ramp-delay = <26>;
57                                         regulator-disable-ramp-delay = <626>;
58                                         regulator-ramp-delay = <100000>;
59                                         regulator-ramp-delay-scale = <200>;
60                                 };
61
62                                 ldo1 {
63                                         regulator-enable-ramp-delay = <22>;
64                                         regulator-disable-ramp-delay = <630>;
65                                         regulator-ramp-delay = <100000>;
66                                         regulator-ramp-delay-scale = <200>;
67                                 };
68
69                                 ldo2 {
70                                         regulator-enable-ramp-delay = <62>;
71                                         regulator-disable-ramp-delay = <650>;
72                                         regulator-ramp-delay = <100000>;
73                                         regulator-ramp-delay-scale = <200>;
74                                 };
75
76                                 ldo3 {
77                                         regulator-enable-ramp-delay = <50>;
78                                         regulator-disable-ramp-delay = <1110>;
79                                         regulator-ramp-delay = <100000>;
80                                         regulator-ramp-delay-scale = <200>;
81                                 };
82
83                                 ldo4 {
84                                         regulator-enable-ramp-delay = <22>;
85                                         regulator-disable-ramp-delay = <610>;
86                                         regulator-ramp-delay = <100000>;
87                                         regulator-ramp-delay-scale = <200>;
88                                         regulator-min-microvolt = <900000>;
89                                         regulator-max-microvolt = <900000>;
90                                 };
91
92                                 ldo5 {
93                                         regulator-enable-ramp-delay = <62>;
94                                         regulator-disable-ramp-delay = <640>;
95                                         regulator-ramp-delay = <100000>;
96                                         regulator-ramp-delay-scale = <200>;
97                                 };
98
99                                 ldo6 {
100                                         regulator-enable-ramp-delay = <36>;
101                                         regulator-disable-ramp-delay = <674>;
102                                         regulator-ramp-delay = <100000>;
103                                         regulator-ramp-delay-scale = <200>;
104                                 };
105
106                                 ldo7 {
107                                         regulator-enable-ramp-delay = <24>;
108                                         regulator-disable-ramp-delay = <2768>;
109                                         regulator-ramp-delay = <100000>;
110                                         regulator-ramp-delay-scale = <200>;
111                                 };
112
113                                 ldo8 {
114                                         regulator-enable-ramp-delay = <22>;
115                                         regulator-disable-ramp-delay = <1160>;
116                                         regulator-ramp-delay = <100000>;
117                                         regulator-ramp-delay-scale = <200>;
118                                 };
119                         };
120                 };
121         };
122
123         regulators {
124                 regulator@1 {
125                         regulator-enable-ramp-delay = <160>;
126                         regulator-disable-ramp-delay = <10000>;
127                 };
128
129                 regulator@2 {
130                         regulator-always-on;
131                         regulator-min-microvolt = <1200000>;
132                         regulator-max-microvolt = <1200000>;
133                         regulator-enable-ramp-delay = <240>;
134                         regulator-disable-ramp-delay = <11340>;
135                 };
136
137                 regulator@4 {
138                         regulator-enable-ramp-delay = <472>;
139                         regulator-disable-ramp-delay = <4880>;
140                 };
141
142                 regulator@6 {
143                         regulator-enable-ramp-delay = <3090>;
144                 };
145
146                 regulator@7 {
147                         regulator-enable-ramp-delay = <468>;
148                         regulator-disable-ramp-delay = <13000>;
149                 };
150
151                 vdd_disp_3v0: regulator@12 {
152                         compatible = "regulator-fixed-sync";
153                         reg = <12>;
154                         regulator-name = "vdd-disp-3v0";
155                         regulator-min-microvolt = <3000000>;
156                         regulator-max-microvolt = <3000000>;
157                         gpio = <&gpio TEGRA_GPIO(I, 3) 0>;
158                         regulator-always-on;
159                         enable-active-high;
160                         regulator-enable-ramp-delay = <232>;
161                 };
162
163                 vdd_fan: regulator@13 {
164                         compatible = "regulator-fixed-sync";
165                         reg = <13>;
166                         regulator-name = "vdd-fan";
167                         regulator-min-microvolt = <5000000>;
168                         regulator-max-microvolt = <5000000>;
169                         gpio = <&gpio TEGRA_GPIO(E, 4) 0>;
170                         regulator-always-on;
171                         enable-active-high;
172                         regulator-enable-ramp-delay = <284>;
173                         regulator-disable-ramp-delay = <6200>;
174                 };
175
176                 usb_vbus1: regulator@14 {
177                         compatible = "regulator-fixed-sync";
178                         reg = <14>;
179                         regulator-name = "usb-vbus1";
180                         regulator-min-microvolt = <5000000>;
181                         regulator-max-microvolt = <5000000>;
182                         gpio = <&gpio TEGRA_GPIO(CC, 4) 0>;
183                         enable-active-high;
184                         gpio-open-drain;
185                         vin-supply = <&vdd_3v3>;
186                 };
187
188                 usb_vbus3: regulator@15 {
189                         compatible = "regulator-fixed-sync";
190                         reg = <15>;
191                         regulator-name = "usb-vbus3";
192                         regulator-min-microvolt = <5000000>;
193                         regulator-max-microvolt = <5000000>;
194                         gpio = <&gpio TEGRA_GPIO(D, 4) 0>;
195                         enable-active-high;
196                         gpio-open-drain;
197                         vin-supply = <&vdd_3v3>;
198                 };
199         };
200         i2c@7000c000 {
201                 icm20628@68 {
202                         vlogic-supply = <&max77620_sd3>;
203                         vdd-supply = <&max77620_sd3>;
204                 };
205
206                 ak8963c@0c {
207                         vid-supply = <&max77620_sd3>;
208                         vdd-supply = <&vdd_3v3>;
209                 };
210
211                 jsa1127@39 {
212                         vdd-supply = <&vdd_3v3>;
213                 };
214         };
215
216         i2c@7000c500 {
217                 battery-charger@6b {
218                         status = "disabled";
219                 };
220         };
221
222         i2c@546c0000 {
223                 bus-pullup-supply = <&battery_reg>;
224         };
225
226         efuse@7000f800 {
227                 vpp_fuse-supply = <&max77620_sd3>;
228         };
229
230         host1x {
231                 /* tegradc.0 */
232                 dc@54200000 {
233                         avdd_dsi_csi-supply = <&max77620_gpio7>;
234                         avdd_lcd-supply = <&vdd_disp_3v0>;
235                         dvdd_lcd-supply = <&max77620_sd3>;
236                         vdd_lcd_bl_en-supply = <&lcd_bl_en>;
237                         vdd_lcd_bl-supply = <&vdd_3v3>;
238                 };
239
240                 /* tegradc.1 */
241                 dc@54240000 {
242                         avdd_hdmi-supply = <&max77620_ldo8>;    /* 1V05 */
243                         avdd_hdmi_pll-supply = <&max77620_sd3>; /* 1V8 */
244                         vdd_hdmi_5v0-supply = <&vdd_hdmi>;      /* 5V0 GPIO_PCC7 fixed reg */
245                 };
246
247                 vi {
248                         avdd_dsi_csi-supply = <&max77620_gpio7>;
249                 };
250         };
251
252         sound {
253                 ldoen-supply = <&vdd_sys_boost>;
254                 spkvdd-supply = <&vdd_sys_boost>;
255                 dbvdd-supply = <&vdd_sys_boost>;
256                 avdd-supply = <&vdd_sys_boost>;
257                 dmicvdd-supply = <&max77620_sd3>;
258         };
259
260         power-detect {
261                 pwrdet-sys-supply = <&max77620_sd3>;
262                 pwrdet-uart-supply = <&max77620_sd3>;
263                 pwrdet-audio-supply = <&max77620_sd3>;
264                 pwrdet-cam-supply = <&max77620_sd3>;
265                 pwrdet-pex-ctrl-supply = <&max77620_ldo1>;
266                 pwrdet-sdmmc1-supply = <&max77620_sd3>;
267                 pwrdet-sdmmc3-supply = <&max77620_ldo2>;
268                 pwrdet-sdmmc4-supply = <&max77620_sd3>;
269                 pwrdet-audio-hv-supply = <&max77620_sd3>;
270                 pwrdet-debug-supply = <&max77620_sd3>;
271                 pwrdet-dmic-supply = <&max77620_sd3>;
272                 pwrdet-gpio-supply = <&max77620_sd3>;
273                 pwrdet-spi-supply = <&max77620_sd3>;
274                 pwrdet-spi-hv-supply = <&max77620_sd3>;
275                 pwrdet-sdmmc2-supply = <&max77620_sd3>;
276                 pwrdet-dp-supply = <&max77620_sd3>;
277         };
278
279         udc@7d000000 {
280                 avdd_usb-supply = <&vdd_3v3>;
281                 avdd_pll_utmip-supply = <&max77620_sd3>;
282                 usb_bat_chg-supply = <&battery_charger>;
283         };
284
285         usb_cd@7009f000 {
286                 usb_bat_chg-supply = <&battery_charger>;
287         };
288
289         xusb@70090000 {
290                 usb_vbus0-supply = <&battery_reg>;
291                 usb_vbus1-supply = <&usb_vbus3>;
292                 usb_vbus2-supply = <&usb_vbus1>;
293                 usb_vbus3-supply = <&vdd_3v3>;
294                 hvdd_usb-supply = <&vdd_3v3>;
295                 avdd_pll_utmip-supply = <&max77620_sd3>;
296                 vddio_hsic-supply = <&max77620_ldo0>;
297                 avddio_usb-supply = <&max77620_ldo1>;
298                 dvdd_sata-supply = <&max77620_ldo8>;
299                 avddio_pll_uerefe-supply = <&max77620_ldo7>;
300         };
301
302         xudc@700d0000 {
303                 hvdd_usb-supply = <&vdd_3v3>;
304                 avdd_pll_utmip-supply = <&max77620_sd3>;
305                 avddio_usb-supply = <&max77620_ldo1>;
306                 avddio_pll_uerefe-supply = <&max77620_ldo7>;
307         };
308
309         xotg {
310                 usb_vbus-supply = <&battery_reg>;
311         };
312
313         otg@7d000000 {
314                 usb_vbus-supply = <&battery_reg>;
315         };
316
317         sdhci@700b0600 {
318                 vddio_sdmmc-supply = <&max77620_sd3>;
319                 vddio_sd_slot-supply = <&vdd_3v3>;
320         };
321
322         sdhci@700b0400 {
323                 vddio_sdmmc-supply = <&max77620_sd3>;
324                 vddio_sd_slot-supply = <&vdd_3v3>;
325         };
326
327         sdhci@700b0200 {
328                 vddio_sdmmc-supply = <&max77620_sd3>;
329                 vddio_sd_slot-supply = <&vdd_3v3>;
330         };
331
332         sdhci@700b0000 {
333                 vddio_sdmmc-supply = <&max77620_ldo2>;
334                 vddio_sd_slot-supply = <&en_vdd_sd>;
335         };
336
337         sata@70020000 {
338                 hvdd_sata-supply = <&max77620_sd3>;
339                 hvdd_pex_pll_e-supply = <&max77620_sd3>;
340                 l0_hvddio_sata-supply = <&max77620_sd3>;
341                 l0_dvddio_sata-supply = <&max77620_ldo8>;
342                 dvdd_sata_pll-supply = <&max77620_ldo8>;
343         };
344
345         bluedroid_pm {
346                 avdd-supply = <&battery_reg>;
347                 dvdd-supply = <&max77620_sd3>;
348         };
349
350         pwm-fan {
351                 vdd-fan-supply = <&vdd_fan>;
352         };
353 };