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