arm64: tegra210: fix DT for node xusb_padctl
[linux-3.10.git] / arch / arm64 / boot / dts / tegra210-vcm31-e2379-common.dtsi
1 /*
2  * arch/arm64/boot/dts/tegra210-vcm31-e2379-common.dtsi
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  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18  *
19  */
20
21 /dts-v1/;
22
23 /memreserve/ 0x80000000 0x00020000;
24
25 #include "tegra210-common.dtsi"
26 #include "tegra210-platforms/tegra210-sdhci.dtsi"
27 #include "tegra210-platforms/tegra210-edp.dtsi"
28 #include "tegra210-platforms/tegra210-sysedp.dtsi"
29 #include "tegra210-platforms/tegra210-audio.dtsi"
30 #include "tegra210-platforms/tegra210-vcm31-gpio-e2379.dtsi"
31 #include "tegra210-platforms/tegra210-vcm31-pinmux-e2379.dtsi"
32 #include "tegra210-platforms/tegra210-pinmux-drive-sdmmc-common.dtsi"
33 #include "tegra210-platforms/tegra210-vcm31-power-tree-e2379.dtsi"
34 #include "tegra210-platforms/tegra210-ers-hdmi-e2190-1100-a00.dtsi"
35 #include "tegra210-platforms/tegra210-vcm31t210-emc.dtsi"
36 #include "tegra210-platforms/tegra210-ers-clk-init.dtsi"
37
38 #include <dt-bindings/iio/meter/ina3221x.h>
39 #include <dt-bindings/sound/tegra-asoc-alt.h>
40
41 / {
42         model = "foster_e";
43         compatible = "nvidia,foster-e", "nvidia,tegra210";
44         nvidia,dtsfilename = __FILE__;
45         nvidia,fastboot-usb-pid = <0x7100>;
46         nvidia,boardids = "2580:0631:A0";
47         nvidia,proc-boardid = "2580:0631:A0";
48         nvidia,pmu-boardid = "2580:0631:A0";
49
50         firmware {
51                 android {
52                         compatible = "android,firmware";
53                         hardware = "foster_e";
54                 };
55         };
56
57         spi@7000d400 {
58         earSmart: earSmart-codec@0 {
59                 adnc,gpiob-gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
60           };
61         };
62
63         spi@7000d600 {
64                 status = "okay";
65                 spi@0 {
66                         compatible = "spidev";
67                         reg = <0>;
68                         spi-max-frequency = <13000000>;
69                 };
70                 spi@1 {
71                         compatible = "spidev";
72                         reg = <1>;
73                         spi-max-frequency = <13000000>;
74                 };
75         };
76
77         spi@7000d800 {
78                 compatible = "nvidia,tegra210-spi-slave";
79                 status = "okay";
80                 spi@0 {
81                         compatible = "spidev";
82                         reg = <0>;
83                         spi-max-frequency = <13000000>;
84                 };
85         };
86
87         spi@7000da00 {
88                 status = "okay";
89                 spi@0 {
90                         compatible = "spidev";
91                         reg = <0>;
92                         spi-max-frequency = <13000000>;
93                 };
94         };
95
96         spi@70410000 {
97                 status = "okay";
98                 spi@0 {
99                         compatible = "spidev";
100                         reg = <1>;
101                         spi-max-frequency = <133000000>;
102
103                         controller-data {
104                                 nvidia,x1-len-limit = <16>;
105                                 nvidia,x1-bus-speed = <133000000>; /* In Mhz */
106                                 nvidia,x1-dymmy-cycle = <0>;
107                                 nvidia,x4-bus-speed = <133000000>;
108                                 nvidia,x4-dymmy-cycle = <8>;
109                                 nvidia,ifddr-div2-sdr = <1>;
110                                 nvidia,x4-is-ddr=<1>;
111                         };
112                 };
113
114                 spiflash@1 {
115                         #address-cells = <1>;
116                         #size-cells = <1>;
117                         compatible = "s25fl512s";
118                         reg = <0>;
119                         spi-max-frequency = <133000000>;
120                         partition@0 {
121                                 label = "Bootloader";
122                                 reg = <0x00000000 0x4000000>;
123                         };
124                         controller-data {
125                                 nvidia,x1-len-limit = <16>;
126                                 nvidia,x1-bus-speed = <133000000>; /* In Mhz */
127                                 nvidia,x1-dymmy-cycle = <0>;
128                                 nvidia,x4-bus-speed = <133000000>;
129                                 nvidia,x4-dymmy-cycle = <8>;
130                                 nvidia,ifddr-div2-sdr = <1>;
131                                 nvidia,x4-is-ddr=<1>;
132                         };
133                 };
134         };
135
136         sdhci@700b0600 { /* SDMMC4 for EMMC */
137                 uhs-mask = <0x40>;
138                 built-in;
139                 pll_source = "pll_p", "pll_c4_out2";
140                 power-off-rail;
141                 status = "okay";
142         };
143
144         sdhci@700b0400 {
145                 status = "disabled";
146         };
147
148         sdhci@700b0200 {
149                 status = "disabled";
150         };
151
152         sdhci@700b0000 {
153                 status = "disabled";
154         };
155
156         pcie-controller {
157                 nvidia,wake-gpio = <&gpio TEGRA_GPIO(A, 2) 0>;
158                 nvidia,lane-map = <0x12>;
159                 dvdd-pex-pll-supply = <&max77620_ldo1>;
160                 l0-dvddio-pex-supply = <&max77620_ldo1>;
161                 l1-dvddio-pex-supply = <&max77620_ldo1>;
162                 l2-dvddio-pex-supply = <&max77620_ldo1>;
163                 l3-dvddio-pex-supply = <&max77620_ldo1>;
164                 l4-dvddio-pex-supply = <&max77620_ldo1>;
165                 l5-dvddio-pex-supply = <&max77620_ldo1>;
166                 l6-dvddio-pex-supply = <&max77620_ldo1>;
167                 hvdd-pex-pll-e-supply = <&max77620_sd3>;
168                 l0-hvddio-pex-supply = <&max77620_sd3>;
169                 l1-hvddio-pex-supply = <&max77620_sd3>;
170                 l2-hvddio-pex-supply = <&max77620_sd3>;
171                 l3-hvddio-pex-supply = <&max77620_sd3>;
172                 l4-hvddio-pex-supply = <&max77620_sd3>;
173                 l5-hvddio-pex-supply = <&max77620_sd3>;
174                 l6-hvddio-pex-supply = <&max77620_sd3>;
175                 vddio-pex-ctl-supply = <&max77620_sd3>;
176                 pci@1,0 {
177                         status = "okay";
178                 };
179
180                 pci@2,0 {
181                         status = "okay";
182                 };
183         };
184
185         tegra-aotag {
186                 status = "disabled";
187         };
188
189         serial@70006040 {
190                 compatible = "nvidia,tegra210-uart", "nvidia,tegra114-hsuart";
191                 console-port;
192                 sqa-automation-port;
193                 status = "okay";
194         };
195
196         serial@70006000 {
197                 status = "disabled";
198         };
199
200         chosen {
201         };
202
203         pmc@7000e400 {
204                 nvidia,invert-interrupt;
205         };
206
207         host1x {
208                 status = "okay";
209                 /* tegradc.0 */
210                 dc@54200000 {
211                         status = "okay";
212                         nvidia,dc-flags = <TEGRA_DC_FLAG_ENABLED>;
213                         nvidia,emc-clk-rate = <300000000>;
214                         nvidia,fb-bpp = <32>; /* bits per pixel */
215                         nvidia,fb-flags = <TEGRA_FB_FLIP_ON_PROBE>;
216                 };
217         };
218
219         memory@80000000 {
220                 device_type = "memory";
221                 reg = < 0x0 0x80000000 0x0 0x80000000 >;
222         };
223
224         adma@702e2000  {
225                 interrupts = <0 24 0x04
226                         0 25 0x04
227                         0 26 0x04
228                         0 27 0x04
229                         0 28 0x04
230                         0 29 0x04
231                         0 30 0x04
232                         0 31 0x04
233                         0 32 0x04
234                         0 33 0x04>;
235                 dma-channels = <10>;
236                 status = "okay";
237         };
238
239         wifi-antenna-tuning {
240                 status = "disabled";
241         };
242
243         soctherm@0x700E2000 {
244                 throttle@oc1 {
245                         status = "disabled";
246                         device_type = "throttlectl";
247                         oc-alarm-id = <1>;
248                         priority = <50>;
249                         mode = "brief";
250                         intr;
251                         active_low;
252                         count_threshold = <100>;
253                         filter = <5100000>;
254                         throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
255                         &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
256                 };
257                 throttle@oc3 {
258                         status = "disabled";
259                         device_type = "throttlectl";
260                         oc-alarm-id = <3>;
261                         priority = <50>;
262                         mode = "brief";
263                         intr;
264                         active_low;
265                         count_threshold = <15>;
266                         filter = <5100000>;
267                         throttle_dev = <&{/soctherm@0x700E2000/throttle_dev@cpu_medium}
268                         &{/soctherm@0x700E2000/throttle_dev@gpu_medium}>;
269                 };
270                 throttle_dev@cpu_medium {
271                         dividend = <63>;
272                         divisor = <255>;
273                         duration = <0>;
274                         step = <0>;
275                 };
276                 throttle_dev@gpu_medium {
277                         level = "medium_throttling";
278                 };
279         };
280
281         thermal-zones {
282                 CPU-therm {
283                         thermal-zone-params {
284                                 governor-name = "pid_thermal_gov";
285                                 max_err_temp = <9000>;
286                                 max_err_gain = <1000>;
287                                 gain_p = <1000>;
288                                 gain_d = <0>;
289                                 up_compensation = <20>;
290                                 down_compensation = <20>;
291                         };
292                         trips {
293                                 cpu_critical {
294                                         temperature = <102500>;
295                                         hysteresis = <0>;
296                                         type = "critical";
297                                         writable;
298                                 };
299                                 cpu_heavy {
300                                         temperature = <98500>;
301                                         hysteresis = <0>;
302                                         type = "hot";
303                                         writable;
304                                 };
305                                 cpu_throttle {
306                                         temperature = <89000>;
307                                         hysteresis = <0>;
308                                         type = "passive";
309                                         writable;
310                                 };
311                         };
312                         cooling-maps {
313                                 map0 {
314                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_critical}>;
315                                         cdev-type = "tegra-shutdown";
316                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
317                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
318                                 };
319                                 map1 {
320                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_heavy}>;
321                                         cdev-type = "tegra-heavy";
322                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
323                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
324                                 };
325                                 map2 {
326                                         trip = <&{/thermal-zones/CPU-therm/trips/cpu_throttle}>;
327                                         cdev-type = "cpu-balanced";
328                                         cooling-device = <&{/bthrot_cdev/cpu_balanced}
329                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
330                                 };
331                         };
332                 };
333                 GPU-therm {
334                         thermal-zone-params {
335                                 governor-name = "pid_thermal_gov";
336                                 max_err_temp = <9000>;
337                                 max_err_gain = <1000>;
338                                 gain_p = <1000>;
339                                 gain_d = <0>;
340                                 up_compensation = <20>;
341                                 down_compensation = <20>;
342                         };
343                         trips {
344                                 gpu_critical {
345                                         temperature = <103000>;
346                                         hysteresis = <0>;
347                                         type = "critical";
348                                         writable;
349                                 };
350                                 gpu_heavy {
351                                         temperature = <100000>;
352                                         hysteresis = <0>;
353                                         type = "hot";
354                                         writable;
355                                 };
356                                 gpu_throttle {
357                                         temperature = <90500>;
358                                         hysteresis = <0>;
359                                         type = "passive";
360                                         writable;
361                                 };
362                         };
363                         cooling-maps {
364                                 map0 {
365                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_critical}>;
366                                         cdev-type = "tegra-shutdown";
367                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
368                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
369                                 };
370                                 map1 {
371                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_heavy}>;
372                                         cdev-type = "tegra-heavy";
373                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
374                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
375                                 };
376                                 map2 {
377                                         trip = <&{/thermal-zones/GPU-therm/trips/gpu_throttle}>;
378                                         cdev-type = "gpu-balanced";
379                                         cooling-device = <&{/bthrot_cdev/gpu_balanced}
380                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
381                                 };
382                         };
383                 };
384
385                 LCPU-therm {
386                         thermal-zone-params {
387                                 governor-name = "pid_thermal_gov";
388                                 max_err_temp = <9000>;
389                                 max_err_gain = <1000>;
390                                 gain_p = <1000>;
391                                 gain_d = <0>;
392                                 up_compensation = <20>;
393                                 down_compensation = <20>;
394                         };
395                         trips {
396                                 lcpu_critical {
397                                         temperature = <103000>; /* must be same as GPU's critical temp */
398                                         hysteresis = <0>;
399                                         type = "critical";
400                                         writable;
401                                 };
402                                 lcpu_heavy {
403                                         temperature = <101500>;
404                                         hysteresis = <0>;
405                                         type = "hot";
406                                         writable;
407                                 };
408                                 lcpu_throttle {
409                                         temperature = <92000>;
410                                         hysteresis = <0>;
411                                         type = "passive";
412                                         writable;
413                                 };
414                         };
415                         cooling-maps {
416                                 map0 {
417                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_critical}>;
418                                         cdev-type = "tegra-shutdown";
419                                         cooling-device = <&{/soctherm@0x700E2000/throttle@critical}
420                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
421                                 };
422                                 map1 {
423                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_heavy}>;
424                                         cdev-type = "tegra-heavy";
425                                         cooling-device = <&{/soctherm@0x700E2000/throttle@heavy}
426                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
427                                 };
428                                 map2 {
429                                         trip = <&{/thermal-zones/LCPU-therm/trips/lcpu_throttle}>;
430                                         cdev-type = "cpu-balanced";
431                                         cooling-device = <&{/bthrot_cdev/cpu_balanced}
432                                         THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
433                                 };
434                         };
435                 };
436
437                 PLL-therm {
438                         thermal-zone-params {
439                                 governor-name = "pid_thermal_gov";
440                                 max_err_temp = <9000>;
441                                 max_err_gain = <1000>;
442                                 gain_p = <1000>;
443                                 gain_d = <0>;
444                                 up_compensation = <20>;
445                                 down_compensation = <20>;
446                         };
447                 };
448
449                 Charger-Die {
450                         status = "okay";
451                 };
452
453                 Tboard_tegra {
454                         status = "okay";
455                 };
456                 Tdiode_tegra {
457                         status = "okay";
458                 };
459         };
460
461         ahub {
462                 i2s@702d1100 {
463                         pinctrl-names = "dap_active", "dap_inactive";
464                         pinctrl-0 = <>;
465                         pinctrl-1 = <>;
466                         regulator-supplies = "vdd-1v8-spi-hv", "vdd-1v8-spi-hv-bias";
467                         vdd-1v8-spi-hv-supply = <&max77620_sd3>;
468                         vdd-1v8-spi-hv-bias-supply = <&max77620_sd3>;
469                         fsync-width = <0>;
470                 };
471                 /* enable I2S4_CYA bit to select i2s4b pin */
472                 i2s@702d1300 {
473                         enable-cya;
474                 };
475         };
476
477         sound {
478                 compatible = "nvidia,tegra-audio-t210ref-mobile-foster";
479                 nvidia,model = "tegra-snd-t210ref-mobile-es755";
480                 nvidia,num-codec-link = <1>;
481
482                 nvidia,audio-routing =
483                         "y Headphone",  "y OUT",
484                         "y IN",         "y Mic";
485
486                 nvidia,xbar = <&tegra_axbar>;
487
488                 nvidia,dai-link-1 {
489                         link-name = "spdif-dit-1";
490                         cpu-dai = <&tegra_i2s2>;
491                         codec-dai = <&spdif_dit1>;
492                         cpu-dai-name = "I2S2";
493                         codec-dai-name = "dit-hifi";
494                         format = "dsp_a";
495                         bitclock-slave;
496                         frame-slave;
497                         bitclock-inversion;
498                         frame-inversion;
499                         bit-format = "s16_le";
500                         bclk_ratio = <4>;
501                         srate = <8000>;
502                         num-channel = <1>;
503                         name-prefix = "y";
504                 };
505         };
506
507         i2c@7000c400 {
508                 ad1937z: ad193x.1-0007@07 {
509                         compatible = "ad,ad1937";
510                         reg = <0x07>;
511                         status = "okay";
512                 };
513         };
514
515         i2c@7000c500 {
516                 ad1937x: ad193x.2-0007@07 {
517                         compatible = "ad,ad1937";
518                         reg = <0x07>;
519                         status = "okay";
520                 };
521                 ad1937y: ad193x.2-0004@04 {
522                         compatible = "ad,ad1937";
523                         reg = <0x04>;
524                         status = "okay";
525                 };
526         };
527
528         sound_ref {
529                 compatible = "nvidia,tegra-audio-t210ref";
530                 nvidia,model = "tegra-snd-t210ref";
531                 nvidia,num-codec-link = <3>;
532                 nvidia,num-amx = <2>;
533                 nvidia,num-adx = <2>;
534                 nvidia,amx-slot-size = <32 32>;
535                 nvidia,adx-slot-size = <32 32>;
536                 nvidia,addr-max9485 = <112>;
537                 nvidia,amx-slot-map = <
538                         /* jack 0 */
539                         TDM_SLOT_MAP(0, 0, 0)
540                         TDM_SLOT_MAP(0, 0, 0)
541                         TDM_SLOT_MAP(0, 1, 0)
542                         TDM_SLOT_MAP(0, 1, 1)
543                         TDM_SLOT_MAP(0, 0, 0)
544                         TDM_SLOT_MAP(0, 0, 0)
545                         TDM_SLOT_MAP(0, 2, 0)
546                         TDM_SLOT_MAP(0, 2, 1)
547                         /* jack 1 */
548                         TDM_SLOT_MAP(0, 0, 0)
549                         TDM_SLOT_MAP(0, 0, 0)
550                         TDM_SLOT_MAP(1, 1, 0)
551                         TDM_SLOT_MAP(1, 1, 1)
552                         TDM_SLOT_MAP(0, 0, 0)
553                         TDM_SLOT_MAP(0, 0, 0)
554                         TDM_SLOT_MAP(1, 2, 0)
555                         TDM_SLOT_MAP(1, 2, 1)
556                         /* jack 2 */
557                         TDM_SLOT_MAP(0, 0, 0)
558                         TDM_SLOT_MAP(0, 0, 0)
559                         TDM_SLOT_MAP(2, 1, 0)
560                         TDM_SLOT_MAP(2, 1, 1)
561                         TDM_SLOT_MAP(0, 0, 0)
562                         TDM_SLOT_MAP(0, 0, 0)
563                         TDM_SLOT_MAP(2, 2, 0)
564                         TDM_SLOT_MAP(2, 2, 1)
565                         /* jack 3 */
566                         TDM_SLOT_MAP(0, 0, 0)
567                         TDM_SLOT_MAP(0, 0, 0)
568                         TDM_SLOT_MAP(3, 1, 0)
569                         TDM_SLOT_MAP(3, 1, 1)
570                         TDM_SLOT_MAP(0, 0, 0)
571                         TDM_SLOT_MAP(0, 0, 0)
572                         TDM_SLOT_MAP(3, 2, 0)
573                         TDM_SLOT_MAP(3, 2, 1)>;
574                 nvidia,adx-slot-map = <
575                         /* jack 0 */
576                         TDM_SLOT_MAP(0, 0, 0)
577                         TDM_SLOT_MAP(0, 0, 0)
578                         TDM_SLOT_MAP(0, 1, 0)
579                         TDM_SLOT_MAP(0, 1, 1)
580                         TDM_SLOT_MAP(0, 0, 0)
581                         TDM_SLOT_MAP(0, 0, 0)
582                         TDM_SLOT_MAP(0, 2, 0)
583                         TDM_SLOT_MAP(0, 2, 1)
584                         /* jack 1 */
585                         TDM_SLOT_MAP(0, 0, 0)
586                         TDM_SLOT_MAP(0, 0, 0)
587                         TDM_SLOT_MAP(1, 1, 0)
588                         TDM_SLOT_MAP(1, 1, 1)
589                         TDM_SLOT_MAP(0, 0, 0)
590                         TDM_SLOT_MAP(0, 0, 0)
591                         TDM_SLOT_MAP(1, 2, 0)
592                         TDM_SLOT_MAP(1, 2, 1)
593                         /* jack 2 */
594                         TDM_SLOT_MAP(0, 0, 0)
595                         TDM_SLOT_MAP(0, 0, 0)
596                         TDM_SLOT_MAP(2, 1, 0)
597                         TDM_SLOT_MAP(2, 1, 1)
598                         TDM_SLOT_MAP(0, 0, 0)
599                         TDM_SLOT_MAP(0, 0, 0)
600                         TDM_SLOT_MAP(2, 2, 0)
601                         TDM_SLOT_MAP(2, 2, 1)
602                         /* jack 3 */
603                         TDM_SLOT_MAP(0, 0, 0)
604                         TDM_SLOT_MAP(0, 0, 0)
605                         TDM_SLOT_MAP(3, 1, 0)
606                         TDM_SLOT_MAP(3, 1, 1)
607                         TDM_SLOT_MAP(0, 0, 0)
608                         TDM_SLOT_MAP(0, 0, 0)
609                         TDM_SLOT_MAP(3, 2, 0)
610                         TDM_SLOT_MAP(3, 2, 1)>;
611
612                 nvidia,audio-routing =
613                         "Headphone-x",  "x DAC1OUT",
614                         "Headphone-x",  "x DAC2OUT",
615                         "Headphone-x",  "x DAC3OUT",
616                         "Headphone-x",  "x DAC4OUT",
617                         "x ADC1IN",     "LineIn-x",
618                         "x ADC2IN",     "LineIn-x",
619
620                         "Headphone-y",  "y DAC1OUT",
621                         "Headphone-y",  "y DAC2OUT",
622                         "Headphone-y",  "y DAC3OUT",
623                         "Headphone-y",  "y DAC4OUT",
624                         "y ADC1IN",     "LineIn-y",
625                         "y ADC2IN",     "LineIn-y",
626
627                         "Headphone-z",  "z DAC1OUT",
628                         "Headphone-z",  "z DAC2OUT",
629                         "Headphone-z",  "z DAC3OUT",
630                         "Headphone-z",  "z DAC4OUT",
631                         "z ADC1IN",     "LineIn-z";
632
633                 nvidia,xbar = <&tegra_axbar>;
634
635                 nvidia,dai-link-1 {
636                         link-name = "ad-playback-z";
637                         cpu-dai = <&tegra_i2s4>;
638                         codec-dai = <&ad1937z>;
639                         cpu-dai-name = "I2S4";
640                         codec-dai-name = "ad193x-hifi";
641                         tx-mask = <0xFF>;
642                         rx-mask = <0xFF>;
643                         format = "dsp_a";
644                         bitclock-slave;
645                         frame-slave;
646                         bitclock-noninversion;
647                         frame-noninversion;
648                         bit-format = "s32_le";
649                         bclk_ratio = <1>;
650                         srate = <48000>;
651                         num-channel = <8>;
652                         name-prefix = "z";
653                 };
654                 nvidia,dai-link-2 {
655                         link-name = "ad-playback-x";
656                         cpu-dai = <&tegra_i2s3>;
657                         codec-dai = <&ad1937x>;
658                         cpu-dai-name = "I2S3";
659                         codec-dai-name = "ad193x-hifi";
660                         tx-mask = <0xFF>;
661                         rx-mask = <0xFF>;
662                         format = "dsp_a";
663                         bitclock-slave;
664                         frame-slave;
665                         bitclock-noninversion;
666                         frame-noninversion;
667                         bit-format = "s32_le";
668                         bclk_ratio = <1>;
669                         srate = <48000>;
670                         num-channel = <8>;
671                         name-prefix = "x";
672                 };
673                 nvidia,dai-link-3 {
674                         link-name = "ad-playback-y";
675                         cpu-dai = <&tegra_i2s5>;
676                         codec-dai = <&ad1937y>;
677                         cpu-dai-name = "I2S5";
678                         codec-dai-name = "ad193x-hifi";
679                         tx-mask = <0xFF>;
680                         rx-mask = <0xFF>;
681                         format = "dsp_a";
682                         bitclock-slave;
683                         frame-slave;
684                         bitclock-noninversion;
685                         frame-noninversion;
686                         bit-format = "s32_le";
687                         bclk_ratio = <1>;
688                         srate = <48000>;
689                         num-channel = <8>;
690                         name-prefix = "y";
691                 };
692         };
693
694         adsp_audio {
695                 compr-ops = <0>;
696                 num-plugin = <2>;
697                 plugin-info-1 {
698                         plugin-name = "reverb";
699                         firmware-name = "libnvreverbfx.elf";
700                         widget-name = "REVERB";
701                         param-type = <2>; /* SNDRV_CTL_ELEM_TYPE_INTEGER */
702                 };
703                 plugin-info-2 {
704                         plugin-name = "wire";
705                         firmware-name = "libnvwirefx.elf";
706                         widget-name = "WIRE";
707                 };
708         };
709
710         extcon {
711                 extcon@0 {
712                         status = "disabled";
713                 };
714         };
715
716         xusb_pad_ctl: xusb_padctl {
717                 nvidia,ss_portmap = <0x0277>;
718                 nvidia,lane_owner = <0x43FF>; /* Use 0xF to disable lane assign */
719                 nvidia,otg_portmap = <0x0100>;
720                 status = "okay";
721         };
722
723         xusb@70090000 {
724                 /* nvidia,uses_external_pmic;
725                 /* nvidia,gpio_controls_muxed_ss_lanes; */
726                 nvidia,gpio_ss1_sata = <0>;
727                 nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
728                 nvidia,portmap = <0x0E0C>;
729                 nvidia,common_padctl = <&xusb_pad_ctl>;
730                 status = "okay";
731         };
732
733         xudc@700d0000 {
734                 nvidia,common_padctl = <&xusb_pad_ctl>;
735                 nvidia,portmap = <0x0108>;
736                 #extcon-cells = <1>;
737                 status = "okay";
738                 dt-override-status-odm-data = <0x01000000 0x01000000>;
739         };
740
741         xotg {
742                 nvidia,common_padctl = <&xusb_pad_ctl>;
743                 #extcon-cells = <1>;
744                 status = "okay";
745                 dt-override-status-odm-data = <0x01000000 0x01000000>;
746         };
747
748         gpu-dvfs-rework {
749                 status = "disabled";
750         };
751
752         pwm-leds {
753                 compatible = "pwm-leds";
754                 lightbar {
755                         label = "led_lightbar";
756                         pwms = <&tegra_pwm 0 10000000>;
757                         gpios = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>;
758                         max-brightness = <255>;
759                         default-brightness = <255>;
760                         linux,default-trigger = "default-on";
761                 };
762         };
763
764         cpu_edp {
765                 status = "okay";
766                 nvidia,edp_limit = <25000>;
767         };
768
769         gpu_edp {
770                 status = "okay";
771                 nvidia,edp_limit = <25000>;
772         };
773
774         sysedp_reactive_capping@3 {
775                 compatible = "nvidia,tegra124-sysedp_reactive_capping";
776                 nvidia,max_capping_mw = <15000>;
777                 nvidia,step_alarm_mw = <1000>;
778                 nvidia,step_relax_mw = <500>;
779                 nvidia,relax_ms = <250>;
780                 interrupt-parent = <&soctherm>;
781                 interrupts = <3 0x2002>;
782                 sysedpc {
783                         nvidia,name = "batmon_oc3";
784                 };
785         };
786
787         sysedp {
788                 compatible = "nvidia,tegra124-sysedp";
789                 nvidia,margin = <0>;
790                 nvidia,min_budget = <0>;
791                 nvidia,initial_budget = <40000>;
792         };
793
794         sysedp-dynamic-capping {
795                 compatible = "nvidia,tegra124-sysedp-dynamic-capping";
796                 nvidia,throttle_depth = <75>;
797                 nvidia,cap_method = <1>;
798         };
799
800         isc-mgr.0 {
801                 compatible = "nvidia,isc-mgr";
802                 i2c-bus = <2>;
803                 csi-port = <0>;
804                 pwdn-gpios = < &gpio TEGRA_GPIO(Y, 5) GPIO_ACTIVE_HIGH  /* GMSL_IN1_PDN */
805                         &gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;       /* CSI_TV1_EN */
806                 /* default-power-on; */
807                 interrupt-parent = <&gpio>;
808                 interrupts = <TEGRA_GPIO(V, 2) 2>; /* gpio PS3 : falling edge sensitive */
809                 status = "okay";
810         };
811
812         isc-mgr.1 {
813                 compatible = "nvidia,isc-mgr";
814                 i2c-bus = <0>;
815                 csi-port = <2>;
816                 pwdn-gpios = < &gpio TEGRA_GPIO(Y, 2) GPIO_ACTIVE_HIGH  /* GMSL_IN2_PDN */
817                         &gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH         /* CSI_TV2_EN */
818                         &gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_HIGH>;       /* CSI_TV3_EN */
819                 /* default-power-on; */
820                 interrupt-parent = <&gpio>;
821                 interrupts = <TEGRA_GPIO(X, 5) 2>; /* gpio PS3 : falling edge sensitive */
822                 status = "okay";
823         };
824
825         isc-mgr.2 {
826                 compatible = "nvidia,isc-mgr";
827                 i2c-bus = <1>;
828                 csi-port = <4>;
829                 pwdn-gpios = < &gpio TEGRA_GPIO(Z, 0) GPIO_ACTIVE_HIGH  /* GMSL_IN3_PDN */
830                         &gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;       /* CSI_TV4_EN */
831                 /* default-power-on; */
832                 interrupt-parent = <&gpio>;
833                 interrupts = <TEGRA_GPIO(Y, 0) 2>; /* gpio PS3 : falling edge sensitive */
834                 status = "okay";
835         };
836 };