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