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