]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - arch/arm64/boot/dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
7a92c931af2cc50eaafc0882fd13ee8eb3e3db00
[sojka/nv-tegra/linux-3.10.git] / arch / arm64 / boot / dts / tegra210-jetson-cv-base-p2597-2180-a00.dts
1 /*
2  * arch/arm64/boot/dts/tegra210-jetson-cv-base-p2597-2180-a00.dts
3  *
4  * Copyright (c) 2015, 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 /dts-v1/;
18
19 /memreserve/ 0x80000000 0x00020000;
20
21 #include "tegra210-common.dtsi"
22 #include "tegra210-platforms/tegra210-audio.dtsi"
23 #include "tegra210-platforms/tegra210-jetson-cv-power-tree-p2597-2180-a00.dtsi"
24 #include "tegra210-platforms/tegra210-jetson-cv-pinmux-p2597-2180-a00.dtsi"
25 #include "tegra210-platforms/tegra210-jetson-cv-sdmmc-drv-p2597-2180-a00.dtsi"
26 #include "tegra210-platforms/tegra210-jetson-cv-prods.dtsi"
27 #include "tegra210-platforms/tegra210-comms-p2530-0930.dtsi"
28 #include "tegra210-platforms/tegra210-jetson-cv-camera-e3326-a00.dtsi"
29 #include "tegra210-platforms/tegra210-pwm-fan-p2530-0930.dtsi"
30 #include "panel-a-wuxga-8-0.dtsi"
31 #include "panel-s-edp-uhdtv-15-6.dtsi"
32 #include "tegra210-platforms/tegra210-ers-hdmi-e2190-1100-a00.dtsi"
33 #include "tegra210-platforms/tegra210-sdhci.dtsi"
34 #include "tegra210-platforms/tegra210-p2180-common.dtsi"
35 #include "tegra210-platforms/tegra210-thermal-fan-est-p2530-0930.dtsi"
36 #include "tegra210-platforms/tegra210-jetson-cv-keys-p2597-2180-a00.dtsi"
37 #include <dt-bindings/iio/meter/ina3221x.h>
38 #include "tegra210-platforms/tegra210-foster-e-extcon-p2530-0930-e01.dtsi"
39 #include "tegra210-platforms/tegra210-jetson-cv-emc-p2180-1000-a00.dtsi"
40 #include "tegra210-platforms/tegra210-edp.dtsi"
41 #include "tegra210-platforms/tegra210-sysedp.dtsi"
42 #include "tegra210-platforms/tegra210-thermal-nct72-p2530.dtsi"
43 #include "tegra210-platforms/tegra210-thermal-Tboard-Tdiode.dtsi"
44 #include "tegra210-platforms/tegra210-jetson-cv-powermon-p2180-1000-a00.dtsi"
45 #include "tegra210-plugin-manager/tegra210-jetson-cv-p2180-1000-a03-plugin-manager.dtsi"
46 #include "tegra210-platforms/tegra210-jetson-cpufreq.dtsi"
47
48
49 / {
50         model = "jetson_cv";
51         compatible = "nvidia,jetson-cv", "nvidia,tegra210";
52         nvidia,dtsfilename = __FILE__;
53
54         nvidia,boardids = "2597:2180:A0";
55         nvidia,proc-boardid = "2597:2180:A0";
56         nvidia,pmu-boardid = "2597:2180:A0";
57         #address-cells = <2>;
58         #size-cells = <2>;
59
60         chosen {
61                 board-has-eeprom;
62         };
63
64         pmc@7000e400 {
65                 nvidia,invert-interrupt;
66         };
67
68         memory@80000000 {
69                 device_type = "memory";
70                 reg = < 0x0 0x80000000 0x0 0x80000000 >;
71         };
72
73         sdhci@700b0600 { /* SDMMC4 for EMMC */
74                 uhs-mask = <0x0>;
75                 built-in;
76                 power-off-rail;
77                 status = "okay";
78         };
79
80         sdhci@700b0400 { /* SDMMC3 for EMMC */
81                 tap-delay = <1>;
82                 trim-delay = <3>;
83                 nvidia,is-ddr-tap-delay;
84                 nvidia,ddr-tap-delay = <0>;
85                 mmc-ocr-mask = <0>;
86                 power-off-rail;
87                 max-clk-limit = <200000000>;
88                 ddr-clk-limit = <48000000>;
89                 uhs-mask = <0x60>;
90                 bus-width = <4>;
91                 built-in;
92                 nvidia,is-emmc;
93                 calib-3v3-offsets = <0x007D>;
94                 calib-1v8-offsets = <0x7B7B>;
95                 compad-vref-3v3 = <0x7>;
96                 compad-vref-1v8 = <0x7>;
97                 pll_source = "pll_p";
98                 nvidia,en-io-trim-volt;
99                 nvidia,en-periodic-calib;
100                 status = "disabled";
101         };
102
103         sdhci@700b0200 { /* SDMMC2 for Wifi */
104                 uhs-mask = <0x8>;
105                 power-off-rail;
106                 nvidia,bcm-sdio-supress-kso-dump;
107                 status = "okay";
108         };
109
110         sdhci@700b0000 { /* SDMMC1 for SD card */
111                 uhs-mask = <0xc>;
112                 power-off-rail;
113                 nvidia,update-pinctrl-settings;
114                 pinctrl-names = "sdmmc_schmitt_enable", "sdmmc_schmitt_disable", "sdmmc_clk_schmitt_enable", "sdmmc_clk_schmitt_disable", "sdmmc_drv_code", "sdmmc_default_drv_code";
115                 pinctrl-0 = <&sdmmc1_schmitt_enable_state>;
116                 pinctrl-1 = <&sdmmc1_schmitt_disable_state>;
117                 pinctrl-2 = <&sdmmc1_clk_schmitt_enable_state>;
118                 pinctrl-3 = <&sdmmc1_clk_schmitt_disable_state>;
119                 pinctrl-4 = <&sdmmc1_drv_code_1_8V>;
120                 pinctrl-5 = <&sdmmc1_default_drv_code_3_3V>;
121                 nvidia,sd-device;
122                 wp-gpios = <&gpio TEGRA_GPIO_PZ4 0>;
123                 nvidia,sdmmc-pin-gpios = <
124                                 &gpio TEGRA_GPIO(M, 0) 0
125                                 &gpio TEGRA_GPIO(M, 1) 0
126                                 &gpio TEGRA_GPIO(M, 2) 0
127                                 &gpio TEGRA_GPIO(M, 3) 0
128                                 &gpio TEGRA_GPIO(M, 4) 0
129                                 &gpio TEGRA_GPIO(M, 5) 0
130                                 >;
131                 status = "okay";
132         };
133
134         adma@702e2000  {
135                 interrupts = <0 24 0x04
136                               0 25 0x04
137                               0 26 0x04
138                               0 27 0x04
139                               0 28 0x04
140                               0 29 0x04
141                               0 30 0x04
142                               0 31 0x04
143                               0 32 0x04
144                               0 33 0x04>;
145                 dma-channels = <10>;
146                 status = "okay";
147         };
148
149         ahub {
150                 i2s@702d1000 {
151                         pinctrl-names = "dap_active", "dap_inactive";
152                         pinctrl-0 = <>;
153                         pinctrl-1 = <>;
154                         regulator-supplies = "vdd-1v8-audio-hv", "vdd-1v8-audio-hv-bias";
155                         vdd-1v8-audio-hv-supply = <&max77620_sd3>;
156                         vdd-1v8-audio-hv-bias-supply = <&max77620_sd3>;
157                 };
158
159                 i2s@702d1300 {
160                         pinctrl-names = "dap_active", "dap_inactive";
161                         pinctrl-0 = <>;
162                         pinctrl-1 = <>;
163                         regulator-supplies = "vddio-dmic";
164                         vddio-dmic-supply = <&max77620_sd3>;
165                 };
166
167                 i2s@702d1100 {
168                         pinctrl-names = "dap_active", "dap_inactive";
169                         pinctrl-0 = <>;
170                         pinctrl-1 = <>;
171                         regulator-supplies = "vdd-1v8-spi-hv", "vdd-1v8-spi-hv-bias";
172                         vdd-1v8-spi-hv-supply = <&max77620_sd3>;
173                         vdd-1v8-spi-hv-bias-supply = <&max77620_sd3>;
174                         fsync-width = <0>;
175                 };
176         };
177
178         sata@70020000 {
179                 compatible = "nvidia,tegra210-ahci-sata";
180                 nvidia,enable-sata-port;
181                 status = "okay";
182         };
183
184         backlight {
185                 compatible = "pwm-backlight";
186                 status = "okay";
187                 panel-a-wuxga-8-0-bl {
188                         pwms = <&tegra_pwm 0 40161>;
189                 };
190                 panel-s-edp-uhdtv-15-6-bl {
191                         pwms = <&tegra_pwm 0 1000000>;
192                 };
193         };
194
195         pcie-controller {
196                 nvidia,wake-gpio = <&gpio TEGRA_GPIO(A, 2) 0>;
197                 nvidia,lane-map = <0x14>;
198                 dvdd-pex-pll-supply = <&max77620_ldo1>;
199                 l0-dvddio-pex-supply = <&max77620_ldo1>;
200                 l1-dvddio-pex-supply = <&max77620_ldo1>;
201                 l2-dvddio-pex-supply = <&max77620_ldo1>;
202                 l3-dvddio-pex-supply = <&max77620_ldo1>;
203                 l4-dvddio-pex-supply = <&max77620_ldo1>;
204                 l5-dvddio-pex-supply = <&max77620_ldo1>;
205                 l6-dvddio-pex-supply = <&max77620_ldo1>;
206                 hvdd-pex-pll-e-supply = <&max77620_sd3>;
207                 l0-hvddio-pex-supply = <&max77620_sd3>;
208                 l1-hvddio-pex-supply = <&max77620_sd3>;
209                 l2-hvddio-pex-supply = <&max77620_sd3>;
210                 l3-hvddio-pex-supply = <&max77620_sd3>;
211                 l4-hvddio-pex-supply = <&max77620_sd3>;
212                 l5-hvddio-pex-supply = <&max77620_sd3>;
213                 l6-hvddio-pex-supply = <&max77620_sd3>;
214                 vddio-pex-ctl-supply = <&max77620_sd3>;
215                 status = "okay";
216
217                 pci@1,0 {
218                         status = "okay";
219                 };
220
221                 pci@2,0 {
222                         status = "okay";
223                 };
224         };
225
226         host1x {
227                 /* tegradc.0 */
228                 dc@54200000 {
229                         status = "okay";
230                         nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
231                         nvidia,emc-clk-rate = <300000000>;
232                         nvidia,fb-bpp = <32>; /* bits per pixel */
233                         nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
234                 };
235
236                 /* tegradc.1 */
237                 dc@54240000 {
238                         status = "okay";
239                         nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
240                         nvidia,emc-clk-rate = <300000000>;
241                         nvidia,cmu-enable = <1>;
242                         nvidia,fb-bpp = <32>; /* bits per pixel */
243                         nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
244                 };
245
246                 dsi {
247                         nvidia,dsi-controller-vs = <DSI_VS_1>;
248                         status = "okay";
249                         panel-a-wuxga-8-0 {
250                                 status = "okay";
251                                 nvidia,dsi-dpd-pads = <DSIC_DPD_EN DSID_DPD_EN>;
252                                 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
253                                 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
254                                 disp-default-out {
255                                         nvidia,out-flags = <TEGRA_DC_OUT_CONTINUOUS_MODE>;
256                                 };
257                         };
258                 };
259
260                 sor {
261                         nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 6) 0>; /* PCC6 */
262                         panel-s-edp-uhdtv-15-6 {
263                                 nvidia,panel-bl-pwm-gpio = <&gpio TEGRA_GPIO(V, 0) 0>; /* PV0 */
264                                 nvidia,panel-rst-gpio = <&gpio TEGRA_GPIO(V, 2) 0>; /* PV2 */
265                         };
266                 };
267         };
268
269         serial@70006040 {
270                 status = "okay";
271         };
272
273         spi@7000da00 {
274                 status = "ok";
275         };
276
277         spi@7000d400 {
278                 status = "okay";
279         };
280
281         sound {
282                 compatible = "nvidia,tegra-audio-t210ref-mobile-rt565x";
283                 nvidia,model = "tegra-snd-t210ref-mobile-rt565x";
284                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;
285
286                 /* backup link when audio codec not connected */
287                 nvidia,dummy-codec-dai = <&spdif_dit3>;
288                 nvidia,dummy-codec-dai-name = "dit-hifi";
289
290                 nvidia,num-codec-link = <4>;
291
292                 nvidia,audio-routing =
293                         "x Headphone Jack",     "x HPO L Playback",
294                         "x Headphone Jack",     "x HPO R Playback",
295                         "x MICBIAS1",           "x Mic Jack",
296                         "x IN1P",               "x Mic Jack",
297                         "x Mic Det Power",      "x Mic Jack",
298                         "x Int Spk",            "x SPO Playback",
299                         "x DMIC L1",            "x Int Mic",
300                         "x DMIC L2",            "x Int Mic",
301                         "x DMIC R1",            "x Int Mic",
302                         "x DMIC R2",            "x Int Mic",
303                         "y Headphone",          "y OUT",
304                         "y IN",                 "y Mic",
305                         "l IN",                 "l OUT";
306
307                 nvidia,xbar = <&tegra_axbar>;
308
309                 nvidia,dai-link-1 {
310                         link-name = "rt565x-playback";
311                         cpu-dai = <&tegra_i2s1>;
312                         codec-dai = <&rt5659>;
313                         cpu-dai-name = "I2S1";
314                         codec-dai-name = "rt5659-aif1";
315                         format = "i2s";
316                         bitclock-slave;
317                         frame-slave;
318                         bitclock-noninversion;
319                         frame-noninversion;
320                         bit-format = "s16_le";
321                         bclk_ratio = <0>;
322                         srate = <48000>;
323                         num-channel = <2>;
324                         name-prefix = "x";
325                 };
326
327                 nvidia,dai-link-2 {
328                         link-name = "spdif-dit-1";
329                         cpu-dai = <&tegra_i2s2>;
330                         codec-dai = <&spdif_dit1>;
331                         cpu-dai-name = "I2S2";
332                         codec-dai-name = "dit-hifi";
333                         format = "dsp_a";
334                         bitclock-slave;
335                         frame-slave;
336                         bitclock-inversion;
337                         frame-inversion;
338                         bit-format = "s16_le";
339                         bclk_ratio = <4>;
340                         srate = <8000>;
341                         num-channel = <1>;
342                         name-prefix = "y";
343                 };
344
345                 nvidia,dai-link-3 {
346                         link-name = "spdif-dit-2";
347                         cpu-dai = <&tegra_dmic3>;
348                         codec-dai = <&spdif_dit2>;
349                         cpu-dai-name = "DMIC3";
350                         codec-dai-name = "dit-hifi";
351                         format = "i2s";
352                         bit-format = "s16_le";
353                         srate = <48000>;
354                         num-channel = <2>;
355                         name-prefix = "z";
356                 };
357
358                 nvidia,dai-link-4 {
359                         link-name = "spdif-dit-3";
360                         cpu-dai = <&tegra_i2s3>;
361                         codec-dai = <&spdif_dit3>;
362                         cpu-dai-name = "I2S3";
363                         codec-dai-name = "dit-hifi";
364                         format = "i2s";
365                         bitclock-slave;
366                         frame-slave;
367                         bitclock-noninversion;
368                         frame-noninversion;
369                         bit-format = "s16_le";
370                         bclk_ratio = <0>;
371                         srate = <48000>;
372                         num-channel = <2>;
373                         name-prefix = "l";
374                 };
375         };
376
377         adsp_audio {
378                 compr-ops = <1>;
379                 num-plugin = <5>;
380                 plugin-info-1 {
381                         plugin-name = "mp3-dec1";
382                         firmware-name = "nvmp3dec.elf";
383                         widget-name = "MP3-DEC1";
384                 };
385                 plugin-info-2 {
386                         plugin-name = "spkprot";
387                         firmware-name = "nvspkprot.elf";
388                         widget-name = "SPKPROT-SW";
389                 };
390                 plugin-info-3 {
391                         plugin-name = "src";
392                         firmware-name = "nvsrc.elf";
393                         widget-name = "SRC";
394                 };
395                 plugin-info-4 {
396                         plugin-name = "aac-dec1";
397                         firmware-name = "nvaacdec.elf";
398                         widget-name = "AAC-DEC1";
399                 };
400                 plugin-info-5 {
401                         plugin-name = "aec";
402                         firmware-name = "libnvaecfx.elf";
403                         widget-name = "AEC";
404                         param-type = <2>; /* SNDRV_CTL_ELEM_TYPE_INTEGER */
405                 };
406         };
407
408         extcon {
409                 extcon@0 {
410                         status = "disabled";
411                 };
412         };
413
414         udc@7d000000 {
415                 nvidia,port-otg;
416                 nvidia,charging-supported;
417                 #extcon-cells = <1>;
418                 status = "okay";
419         };
420
421         otg@7d000000 {
422                 #extcon-cells = <1>;
423                 status = "okay";
424         };
425
426         xusb_pad_ctl: xusb_padctl { /* Put common control config here */
427                 nvidia,ss_portmap = <0x21>;
428                 nvidia,lane_owner = <0xff56>; /* Use 0xF to disable lane assign */
429                 nvidia,lane-map = <0x14>;
430                 nvidia,enable-sata-port;
431                 status = "okay";
432         };
433
434         xusb@70090000 {
435                 /* nvidia,uses_external_pmic;
436                 /* nvidia,gpio_controls_muxed_ss_lanes; */
437                 nvidia,gpio_ss1_sata = <0>;
438                 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
439                 nvidia,portmap = <0x0e03>;
440                 nvidia,common_padctl = <&xusb_pad_ctl>;
441                 status = "okay";
442         };
443
444         xudc@700d0000 {
445                 nvidia,common_padctl = <&xusb_pad_ctl>;
446                 nvidia,portmap = <0x0108>;
447                 #extcon-cells = <1>;
448                 status = "disabled";
449         };
450
451         xotg {
452                 #extcon-cells = <1>;
453                 nvidia,common_padctl = <&xusb_pad_ctl>;
454                 status = "disabled";
455         };
456
457         gpu-dvfs-rework {
458                 status = "ok";
459         };
460
461         thermal-fan-est {
462                 compatible = "thermal-fan-est";
463                 active_trip_temps = <0 51000 61000 71000 82000
464                                 140000 150000 160000 170000 180000>;
465                 active_hysteresis = <0 15000 9000 9000 10000
466                                 0 0 0 0 0>;
467         };
468
469         pwm-fan {
470                 compatible = "pwm-fan";
471                 shared_data = <&pwm_fan_shared_data>;
472                 active_pwm = <0 80 120 160 255 255 255 255 255 255>;
473         };
474
475         pwm_fan_shared_data: pfsd {
476                 tach_gpio =  <TEGRA_GPIO(K, 7)>; /* TEGRA_GPIO_PK7 */
477         };
478
479         i2c@7000c000 {
480                 rt5659: rt5659.0-001b@1b {
481                         compatible = "realtek,rt5659";
482                         reg = <0x1b>;
483                 };
484         };
485
486         i2c@7000c400 {
487                 nvidia,clock-always-on;
488
489                 lp8557-backlight-a-wuxga-8-0@2c {
490                         status = "ok";
491                         disable-on-kernel-charging;
492                         compatible = "ti,lp8557";
493                         reg = <0x2c>;
494
495                         bl-name = "pwm-backlight"; /* Match liblights naming expectations */
496                         init-brt = /bits/ 8 <0xFF>; /* Max brightness */
497                         dev-ctrl = /bits/ 8 <0x80>; /* PWM, enable standby mode */
498                         pwm-period = <29334>;
499
500                         pwm-names = "lp8557";
501                         pwms = <&tegra_pwm 0 29334>;
502
503                         bl-measured = < 0 1 2 3 4 5 6 7
504                                         8 9 10 11 12 13 14 15
505                                         16 17 18 19 20 21 22 23
506                                         24 25 26 27 28 29 30 31
507                                         32 33 34 35 36 37 38 39
508                                         40 41 42 43 44 45 46 47
509                                         48 49 50 51 52 53 54 55
510                                         56 57 58 59 60 61 62 63
511                                         64 65 66 67 68 69 70 71
512                                         72 73 74 75 76 77 78 79
513                                         80 81 82 83 84 85 86 87
514                                         88 89 90 91 92 93 94 95
515                                         96 97 98 99 100 101 102 103
516                                         104 105 106 107 108 109 110 111
517                                         112 113 114 115 116 117 118 119
518                                         120 121 122 123 124 125 126 127
519                                         128 129 130 131 132 133 134 135
520                                         136 137 138 139 140 141 142 143
521                                         144 145 146 147 148 149 150 151
522                                         152 153 154 155 156 157 158 159
523                                         160 161 162 163 164 165 166 167
524                                         168 169 170 171 172 173 174 175
525                                         176 177 178 179 180 181 182 183
526                                         184 185 186 187 188 189 190 191
527                                         192 193 194 195 196 197 198 199
528                                         200 201 202 203 204 205 206 207
529                                         208 209 210 211 212 213 214 215
530                                         216 217 218 219 220 221 222 223
531                                         224 225 226 227 228 229 230 231
532                                         232 233 234 235 236 237 238 239
533                                         240 241 242 243 244 245 246 247
534                                         248 249 250 251 252 253 254 255 >;
535
536                         /* 20 mA max current */
537                         rom_11h {
538                                 rom-addr = /bits/ 8 <0x11>;
539                                 rom-val = /bits/ 8 <0x05>;
540                         };
541
542                         /* 3 LED string */
543                         rom_14h {
544                                 rom-addr = /bits/ 8 <0x14>;
545                                 rom-val = /bits/ 8 <0x87>;
546                         };
547
548                         /*Boost freq 1MHZ*/
549                         rom_13h {
550                                 rom-addr = /bits/ 8 <0x13>;
551                                 rom-val = /bits/ 8 <0x01>;
552                         };
553                 };
554
555                 tca9539_74: tca9539@74 {
556                         compatible = "ti,tca9539";
557                         gpio-controller;
558                         #gpio-cells = <2>;
559                         reg = <0x74>;
560                         interrupt-parent = <&gpio>;
561                         interrupts = <TEGRA_GPIO(L, 1) 0x0>;
562                         #interrupt-cells = <2>;
563                         interrupt-controller;
564                 };
565
566                 tca9539_77: tca9539@77 {
567                         compatible = "ti,tca9539";
568                         gpio-controller;
569                         #gpio-cells = <2>;
570                         reg = <0x77>;
571                         interrupt-parent = <&gpio>;
572                         interrupts = <TEGRA_GPIO(Z, 2) 0x0>;
573                         #interrupt-cells = <2>;
574                         interrupt-controller;
575                 };
576         };
577
578         i2c@546c0000 {
579                 bus-pullup-supply = <&max77620_sd3>;
580                 avdd_dsi_csi-supply = <&max77620_sd3>;
581         };
582
583         sysedp {
584                 compatible = "nvidia,tegra124-sysedp";
585                 nvidia,margin = <0>;
586                 nvidia,min_budget = <0>;
587                 nvidia,initial_budget = <40000>;
588         };
589
590         sysedp_reactive_capping@1 {
591                 compatible = "nvidia,tegra124-sysedp_reactive_capping";
592                 nvidia,max_capping_mw = <15000>;
593                 nvidia,step_alarm_mw = <1000>;
594                 nvidia,step_relax_mw = <500>;
595                 nvidia,relax_ms = <250>;
596                 nvidia,threshold_warning = "WARNING - SYSTEM Voltage Droop detected, please refer to the Jetson Power management application note";
597                 interrupt-parent = <&soctherm>;
598                 interrupts = <1 0x2002>;
599                 sysedpc {
600                         nvidia,name = "voltmon_oc1";
601                 };
602         };
603
604         sysedp_reactive_capping@3 {
605                 compatible = "nvidia,tegra124-sysedp_reactive_capping";
606                 nvidia,max_capping_mw = <15000>;
607                 nvidia,step_alarm_mw = <1000>;
608                 nvidia,step_relax_mw = <500>;
609                 nvidia,relax_ms = <250>;
610                 nvidia,threshold_warning = "WARNING - Battery Over Current Limit hit, please refer to the Jetson Power management application note";
611                 interrupt-parent = <&soctherm>;
612                 interrupts = <3 0x2002>;
613                 sysedpc {
614                         nvidia,name = "batmon_oc3";
615                 };
616         };
617
618         sysedp-dynamic-capping {
619                 compatible = "nvidia,tegra124-sysedp-dynamic-capping";
620                 nvidia,throttle_depth = <75>;
621                 nvidia,cap_method = <1>;
622         };
623
624         bcmdhd_wlan {
625                 edp-consumer-name = "primary-wifi";
626         };
627
628         cpu_edp {
629                 status = "okay";
630                 nvidia,edp_limit = <25000>;
631         };
632
633         gpu_edp {
634                 status = "okay";
635                 nvidia,edp_limit = <25000>;
636         };
637
638         soctherm@0x700E2000 {
639                 throttle@oc1 {
640                         device_type = "throttlectl";
641                         oc-alarm-id = <1>;
642                         priority = <50>;
643                         mode = "brief";
644                         intr;
645                         active_low;
646                         count_threshold = <100>;
647                         filter = <5100000>;
648                         throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
649                                         &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
650                 };
651                 throttle@oc3 {
652                         device_type = "throttlectl";
653                         oc-alarm-id = <3>;
654                         priority = <40>;
655                         mode = "brief";
656                         intr;
657                         active_low;
658                         count_threshold = <15>;
659                         filter = <5100000>;
660                         throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
661                                         &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
662                 };
663                 throttle_dev@cpu_medium {
664                         dividend = <63>;
665                         divisor = <255>;
666                         duration = <0>;
667                         step = <0>;
668                 };
669                 throttle_dev@gpu_medium {
670                         level = "medium_throttling";
671                 };
672         };
673
674         thermal-zones {
675                 CPU-therm {
676                         thermal-zone-params {
677                                 governor-name = "pid_thermal_gov";
678                                 max_err_temp = <9000>;
679                                 max_err_gain = <1000>;
680                                 gain_p = <1000>;
681                                 gain_d = <0>;
682                                 up_compensation = <20>;
683                                 down_compensation = <20>;
684                         };
685                         trips {
686                                 cpu_critical {
687                                         temperature = <102500>;
688                                         hysteresis = <0>;
689                                         type = "critical";
690                                         writable;
691                                 };
692                                 cpu_heavy {
693                                         temperature = <98500>;
694                                         hysteresis = <0>;
695                                         type = "hot";
696                                         writable;
697                                 };
698                                 cpu_throttle {
699                                         temperature = <89000>;
700                                         hysteresis = <0>;
701                                         type = "passive";
702                                         writable;
703                                 };
704                         };
705                         cooling-maps {
706                                 map0 {
707                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_critical}>;
708                                         cdev-type = "tegra-shutdown";
709                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
710                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
711                                 };
712                                 map1 {
713                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_heavy}>;
714                                         cdev-type = "tegra-heavy";
715                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
716                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
717                                 };
718                                 map2 {
719                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_throttle}>;
720                                         cdev-type = "cpu-balanced";
721                                         cooling-device = <&{/bthrot_cdev/cpu_balanced}
722                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
723                                 };
724                         };
725                 };
726                 GPU-therm {
727                         thermal-zone-params {
728                                 governor-name = "pid_thermal_gov";
729                                 max_err_temp = <9000>;
730                                 max_err_gain = <1000>;
731                                 gain_p = <1000>;
732                                 gain_d = <0>;
733                                 up_compensation = <20>;
734                                 down_compensation = <20>;
735                         };
736                         trips {
737                                 gpu_critical {
738                                         temperature = <103000>;
739                                         hysteresis = <0>;
740                                         type = "critical";
741                                         writable;
742                                 };
743                                 gpu_heavy {
744                                         temperature = <100000>;
745                                         hysteresis = <0>;
746                                         type = "hot";
747                                         writable;
748                                 };
749                                 gpu_throttle {
750                                         temperature = <90500>;
751                                         hysteresis = <0>;
752                                         type = "passive";
753                                         writable;
754                                 };
755                         };
756                         cooling-maps {
757                                 map0 {
758                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_critical}>;
759                                         cdev-type = "tegra-shutdown";
760                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
761                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
762                                 };
763                                 map1 {
764                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_heavy}>;
765                                         cdev-type = "tegra-heavy";
766                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
767                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
768                                 };
769                                 map2 {
770                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_throttle}>;
771                                         cdev-type = "gpu-balanced";
772                                         cooling-device = <&{/bthrot_cdev/gpu_balanced}
773                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
774                                 };
775                         };
776                 };
777                 LCPU-therm {
778                         thermal-zone-params {
779                                 governor-name = "pid_thermal_gov";
780                                 max_err_temp = <9000>;
781                                 max_err_gain = <1000>;
782                                 gain_p = <1000>;
783                                 gain_d = <0>;
784                                 up_compensation = <20>;
785                                 down_compensation = <20>;
786                         };
787                         trips {
788                                 lcpu_critical {
789                                         temperature = <103000>; /* must be same as GPU's critical temp */
790                                         hysteresis = <0>;
791                                         type = "critical";
792                                         writable;
793                                 };
794                                 lcpu_heavy {
795                                         temperature = <101500>;
796                                         hysteresis = <0>;
797                                         type = "hot";
798                                         writable;
799                                 };
800                                 lcpu_throttle {
801                                         temperature = <92000>;
802                                         hysteresis = <0>;
803                                         type = "passive";
804                                         writable;
805                                 };
806                         };
807                         cooling-maps {
808                                 map0 {
809                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_critical}>;
810                                         cdev-type = "tegra-shutdown";
811                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
812                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
813                                 };
814                                 map1 {
815                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_heavy}>;
816                                         cdev-type = "tegra-heavy";
817                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
818                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
819                                 };
820                                 map2 {
821                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_throttle}>;
822                                         cdev-type = "cpu-balanced";
823                                         cooling-device = <&{/bthrot_cdev/cpu_balanced}
824                                                 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
825                                 };
826                         };
827                 };
828                 PLL-therm {
829                         thermal-zone-params {
830                                 governor-name = "pid_thermal_gov";
831                                 max_err_temp = <9000>;
832                                 max_err_gain = <1000>;
833                                 gain_p = <1000>;
834                                 gain_d = <0>;
835                                 up_compensation = <20>;
836                                 down_compensation = <20>;
837                         };
838                 };
839
840                 Tboard_tegra {
841                         status = "okay";
842                 };
843                 Tdiode_tegra {
844                         status = "okay";
845                 };
846                 AO-therm {
847                         status = "okay";
848                 };
849         };
850
851         bcmdhd_wlan {
852                 country_code_map {
853                         CC1 {
854                                 iso_abbrev = "XV";
855                                 custom_locale = "XV";
856                                 custom_locale_rev = <997>;
857                         };
858                         CC2 {
859                                 iso_abbrev = "US";
860                                 custom_locale = "Q2";
861                                 custom_locale_rev = <998>;
862                         };
863                         CC3 {
864                                 iso_abbrev = "CA";
865                                 custom_locale = "Q2";
866                                 custom_locale_rev = <998>;
867                         };
868                         CC4 {
869                                 iso_abbrev = "AT";
870                                 custom_locale = "E0";
871                                 custom_locale_rev = <994>;
872                         };
873                         CC5 {
874                                 iso_abbrev = "BE";
875                                 custom_locale = "E0";
876                                 custom_locale_rev = <994>;
877                         };
878                         CC6 {
879                                 iso_abbrev = "BG";
880                                 custom_locale = "E0";
881                                 custom_locale_rev = <994>;
882                         };
883                         CC7 {
884                                 iso_abbrev = "HR";
885                                 custom_locale = "E0";
886                                 custom_locale_rev = <994>;
887                         };
888                         CC8 {
889                                 iso_abbrev = "CZ";
890                                 custom_locale = "E0";
891                                 custom_locale_rev = <994>;
892                         };
893                         CC9 {
894                                 iso_abbrev = "DK";
895                                 custom_locale = "E0";
896                                 custom_locale_rev = <994>;
897                         };
898                         CC10 {
899                                 iso_abbrev = "FR";
900                                 custom_locale = "E0";
901                                 custom_locale_rev = <994>;
902                         };
903                         CC11 {
904                                 iso_abbrev = "DE";
905                                 custom_locale = "E0";
906                                 custom_locale_rev = <994>;
907                         };
908                         CC12 {
909                                 iso_abbrev = "GR";
910                                 custom_locale = "E0";
911                                 custom_locale_rev = <994>;
912                         };
913                         CC13 {
914                                 iso_abbrev = "HU";
915                                 custom_locale = "E0";
916                                 custom_locale_rev = <994>;
917                         };
918                         CC14 {
919                                 iso_abbrev = "IT";
920                                 custom_locale = "E0";
921                                 custom_locale_rev = <994>;
922                         };
923                         CC15 {
924                                 iso_abbrev = "NL";
925                                 custom_locale = "E0";
926                                 custom_locale_rev = <994>;
927                         };
928                         CC16 {
929                                 iso_abbrev = "NO";
930                                 custom_locale = "E0";
931                                 custom_locale_rev = <994>;
932                         };
933                         CC17 {
934                                 iso_abbrev = "PL";
935                                 custom_locale = "E0";
936                                 custom_locale_rev = <994>;
937                         };
938                         CC18 {
939                                 iso_abbrev = "PT";
940                                 custom_locale = "E0";
941                                 custom_locale_rev = <994>;
942                         };
943                         CC19 {
944                                 iso_abbrev = "RO";
945                                 custom_locale = "E0";
946                                 custom_locale_rev = <994>;
947                         };
948                         CC20 {
949                                 iso_abbrev = "SK";
950                                 custom_locale = "E0";
951                                 custom_locale_rev = <994>;
952                         };
953                         CC21 {
954                                 iso_abbrev = "ES";
955                                 custom_locale = "E0";
956                                 custom_locale_rev = <994>;
957                         };
958                         CC22 {
959                                 iso_abbrev = "SE";
960                                 custom_locale = "E0";
961                                 custom_locale_rev = <994>;
962                         };
963                         CC23 {
964                                 iso_abbrev = "CH";
965                                 custom_locale = "E0";
966                                 custom_locale_rev = <994>;
967                         };
968                         CC24 {
969                                 iso_abbrev = "GB";
970                                 custom_locale = "E0";
971                                 custom_locale_rev = <994>;
972                         };
973                         CC25 {
974                                 iso_abbrev = "EU";
975                                 custom_locale = "E0";
976                                 custom_locale_rev = <994>;
977                         };
978                         CC26 {
979                                 iso_abbrev = "E0";
980                                 custom_locale = "E0";
981                                 custom_locale_rev = <994>;
982                         };
983                         CC27 {
984                                 iso_abbrev = "IN";
985                                 custom_locale = "Q2";
986                                 custom_locale_rev = <998>;
987                         };
988                 };
989         };
990
991         camera-pcl {
992                 profiles {
993                         ov5693-pcl@2_0036 {
994                                 use_of_node = "yes";
995                                 dev_name = "ov5693";
996                                 num = <1>;
997                                 vana-supply = <&en_vdd_cam_hv_2v8>;
998                                 vif-supply = <&en_vdd_cam>;
999                                 cam2-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
1000                                 reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>;
1001                         };
1002                 };
1003         };
1004
1005         serial@70006300 {
1006                 dma-names = "tx";
1007         };
1008
1009         i2c@7000c400 {
1010                 clock-frequency = <400000>;
1011         };
1012
1013         i2c@7000d000 {
1014                 clock-frequency = <1000000>;
1015         };
1016
1017         dfll-max77621@70110000 {
1018                 dfll-max77621-integration {
1019                         i2c-fs-rate = <1000000>;
1020                 };
1021
1022                 dfll-max77621-board-params {
1023                         sample-rate = <20000>;
1024                 };
1025         };
1026 };