1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/input.h>
5 #include "tegra124.dtsi"
8 model = "NVIDIA Tegra124 Venice2";
9 compatible = "nvidia,venice2", "nvidia,tegra124";
12 rtc0 = "/i2c@7000d000/pmic@40";
13 rtc1 = "/rtc@7000e000";
18 stdout-path = "serial0:115200n8";
22 reg = <0x0 0x80000000 0x0 0x80000000>;
29 vdd-supply = <&vdd_3v3_hdmi>;
30 pll-supply = <&vdd_hdmi_pll>;
31 hdmi-supply = <&vdd_5v0_hdmi>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
41 nvidia,dpaux = <&dpaux>;
42 nvidia,panel = <&panel>;
46 vdd-supply = <&vdd_3v3_panel>;
53 * Node left disabled on purpose - the bootloader will enable
54 * it after having set the VPR up
56 vdd-supply = <&vdd_gpu>;
59 pinmux: pinmux@70000868 {
60 pinctrl-names = "boot";
61 pinctrl-0 = <&pinmux_boot>;
65 nvidia,pins = "dap_mclk1_pw4";
66 nvidia,function = "extperiph1";
67 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
68 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
69 nvidia,tristate = <TEGRA_PIN_DISABLE>;
72 nvidia,pins = "dap1_din_pn1";
73 nvidia,function = "i2s0";
74 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
75 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
76 nvidia,tristate = <TEGRA_PIN_ENABLE>;
79 nvidia,pins = "dap1_dout_pn2",
82 nvidia,function = "i2s0";
83 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
84 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
85 nvidia,tristate = <TEGRA_PIN_ENABLE>;
88 nvidia,pins = "dap2_din_pa4";
89 nvidia,function = "i2s1";
90 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
91 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
92 nvidia,tristate = <TEGRA_PIN_DISABLE>;
95 nvidia,pins = "dap2_dout_pa5",
98 nvidia,function = "i2s1";
99 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
100 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
101 nvidia,tristate = <TEGRA_PIN_DISABLE>;
104 nvidia,pins = "dvfs_pwm_px0",
106 nvidia,function = "cldvfs";
107 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
108 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
109 nvidia,tristate = <TEGRA_PIN_DISABLE>;
112 nvidia,pins = "ulpi_clk_py0",
115 nvidia,function = "spi1";
116 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
117 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
118 nvidia,tristate = <TEGRA_PIN_DISABLE>;
121 nvidia,pins = "ulpi_dir_py1";
122 nvidia,function = "spi1";
123 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
124 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
125 nvidia,tristate = <TEGRA_PIN_DISABLE>;
128 nvidia,pins = "cam_i2c_scl_pbb1",
130 nvidia,function = "i2c3";
131 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
132 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133 nvidia,tristate = <TEGRA_PIN_DISABLE>;
134 nvidia,lock = <TEGRA_PIN_DISABLE>;
135 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
138 nvidia,pins = "gen2_i2c_scl_pt5",
140 nvidia,function = "i2c2";
141 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
142 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
143 nvidia,tristate = <TEGRA_PIN_DISABLE>;
144 nvidia,lock = <TEGRA_PIN_DISABLE>;
145 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
152 nvidia,function = "spi4";
153 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
154 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
155 nvidia,tristate = <TEGRA_PIN_DISABLE>;
159 nvidia,function = "spi4";
160 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
161 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
162 nvidia,tristate = <TEGRA_PIN_DISABLE>;
166 nvidia,function = "pwm1";
167 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
168 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
169 nvidia,tristate = <TEGRA_PIN_DISABLE>;
175 nvidia,function = "soc";
176 nvidia,pull = <TEGRA_PIN_PULL_UP>;
177 nvidia,tristate = <TEGRA_PIN_DISABLE>;
178 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
181 nvidia,pins = "sdmmc1_clk_pz0";
182 nvidia,function = "sdmmc1";
183 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
184 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
185 nvidia,tristate = <TEGRA_PIN_DISABLE>;
188 nvidia,pins = "sdmmc1_cmd_pz1",
193 nvidia,function = "sdmmc1";
194 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
195 nvidia,pull = <TEGRA_PIN_PULL_UP>;
196 nvidia,tristate = <TEGRA_PIN_DISABLE>;
199 nvidia,pins = "sdmmc3_clk_pa6";
200 nvidia,function = "sdmmc3";
201 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
202 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
203 nvidia,tristate = <TEGRA_PIN_DISABLE>;
206 nvidia,pins = "sdmmc3_cmd_pa7",
211 "sdmmc3_clk_lb_out_pee4",
212 "sdmmc3_clk_lb_in_pee5";
213 nvidia,function = "sdmmc3";
214 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
215 nvidia,pull = <TEGRA_PIN_PULL_UP>;
216 nvidia,tristate = <TEGRA_PIN_DISABLE>;
219 nvidia,pins = "sdmmc4_clk_pcc4";
220 nvidia,function = "sdmmc4";
221 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
222 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
223 nvidia,tristate = <TEGRA_PIN_DISABLE>;
226 nvidia,pins = "sdmmc4_cmd_pt7",
235 nvidia,function = "sdmmc4";
236 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
237 nvidia,pull = <TEGRA_PIN_PULL_UP>;
238 nvidia,tristate = <TEGRA_PIN_DISABLE>;
241 nvidia,pins = "pwr_i2c_scl_pz6",
243 nvidia,function = "i2cpwr";
244 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
245 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
246 nvidia,tristate = <TEGRA_PIN_DISABLE>;
247 nvidia,lock = <TEGRA_PIN_DISABLE>;
248 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
251 nvidia,pins = "jtag_rtck";
252 nvidia,function = "rtck";
253 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
254 nvidia,pull = <TEGRA_PIN_PULL_UP>;
255 nvidia,tristate = <TEGRA_PIN_DISABLE>;
258 nvidia,pins = "clk_32k_in";
259 nvidia,function = "clk";
260 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
261 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
262 nvidia,tristate = <TEGRA_PIN_DISABLE>;
265 nvidia,pins = "core_pwr_req";
266 nvidia,function = "pwron";
267 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
268 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
269 nvidia,tristate = <TEGRA_PIN_DISABLE>;
272 nvidia,pins = "cpu_pwr_req";
273 nvidia,function = "cpu";
274 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
275 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
276 nvidia,tristate = <TEGRA_PIN_DISABLE>;
279 nvidia,pins = "pwr_int_n";
280 nvidia,function = "pmi";
281 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
282 nvidia,pull = <TEGRA_PIN_PULL_UP>;
283 nvidia,tristate = <TEGRA_PIN_DISABLE>;
286 nvidia,pins = "reset_out_n";
287 nvidia,function = "reset_out_n";
288 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
289 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
290 nvidia,tristate = <TEGRA_PIN_DISABLE>;
293 nvidia,pins = "clk3_out_pee0";
294 nvidia,function = "extperiph3";
295 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
296 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
297 nvidia,tristate = <TEGRA_PIN_DISABLE>;
300 nvidia,pins = "dap4_din_pp5";
301 nvidia,function = "i2s3";
302 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
303 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
304 nvidia,tristate = <TEGRA_PIN_ENABLE>;
307 nvidia,pins = "dap4_dout_pp6",
310 nvidia,function = "i2s3";
311 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
312 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
313 nvidia,tristate = <TEGRA_PIN_ENABLE>;
316 nvidia,pins = "gen1_i2c_sda_pc5",
318 nvidia,function = "i2c1";
319 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
320 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
321 nvidia,tristate = <TEGRA_PIN_DISABLE>;
322 nvidia,lock = <TEGRA_PIN_DISABLE>;
323 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
326 nvidia,pins = "uart2_cts_n_pj5";
327 nvidia,function = "uartb";
328 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
329 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
330 nvidia,tristate = <TEGRA_PIN_DISABLE>;
333 nvidia,pins = "uart2_rts_n_pj6";
334 nvidia,function = "uartb";
335 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
336 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
337 nvidia,tristate = <TEGRA_PIN_DISABLE>;
340 nvidia,pins = "uart2_rxd_pc3";
341 nvidia,function = "irda";
342 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
343 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
344 nvidia,tristate = <TEGRA_PIN_DISABLE>;
347 nvidia,pins = "uart2_txd_pc2";
348 nvidia,function = "irda";
349 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
350 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
351 nvidia,tristate = <TEGRA_PIN_DISABLE>;
354 nvidia,pins = "uart3_cts_n_pa1",
356 nvidia,function = "uartc";
357 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
358 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
359 nvidia,tristate = <TEGRA_PIN_DISABLE>;
362 nvidia,pins = "uart3_rts_n_pc0",
364 nvidia,function = "uartc";
365 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
366 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
367 nvidia,tristate = <TEGRA_PIN_DISABLE>;
370 nvidia,pins = "hdmi_cec_pee3";
371 nvidia,function = "cec";
372 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
373 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
374 nvidia,tristate = <TEGRA_PIN_DISABLE>;
375 nvidia,lock = <TEGRA_PIN_DISABLE>;
376 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
379 nvidia,pins = "hdmi_int_pn7";
380 nvidia,function = "rsvd1";
381 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
382 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
383 nvidia,tristate = <TEGRA_PIN_DISABLE>;
386 nvidia,pins = "ddc_scl_pv4",
388 nvidia,function = "i2c4";
389 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
390 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
391 nvidia,tristate = <TEGRA_PIN_DISABLE>;
392 nvidia,lock = <TEGRA_PIN_DISABLE>;
393 nvidia,rcv-sel = <TEGRA_PIN_ENABLE>;
398 nvidia,function = "uartd";
399 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
400 nvidia,tristate = <TEGRA_PIN_DISABLE>;
401 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
406 nvidia,function = "uartd";
407 nvidia,pull = <TEGRA_PIN_PULL_UP>;
408 nvidia,tristate = <TEGRA_PIN_DISABLE>;
409 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
413 nvidia,function = "pwm0";
414 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
415 nvidia,tristate = <TEGRA_PIN_DISABLE>;
416 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
419 nvidia,pins = "kb_row10_ps2";
420 nvidia,function = "uarta";
421 nvidia,pull = <TEGRA_PIN_PULL_UP>;
422 nvidia,tristate = <TEGRA_PIN_DISABLE>;
423 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
426 nvidia,pins = "kb_row9_ps1";
427 nvidia,function = "uarta";
428 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
429 nvidia,tristate = <TEGRA_PIN_DISABLE>;
430 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
433 nvidia,pins = "kb_row6_pr6";
434 nvidia,function = "displaya_alt";
435 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
436 nvidia,tristate = <TEGRA_PIN_DISABLE>;
437 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
440 nvidia,pins = "usb_vbus_en0_pn4",
442 nvidia,function = "usb";
443 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
444 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
445 nvidia,tristate = <TEGRA_PIN_DISABLE>;
446 nvidia,lock = <TEGRA_PIN_DISABLE>;
447 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
450 nvidia,pins = "drive_sdio1";
451 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
452 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
453 nvidia,pull-down-strength = <32>;
454 nvidia,pull-up-strength = <42>;
455 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
456 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
459 nvidia,pins = "drive_sdio3";
460 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
461 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
462 nvidia,pull-down-strength = <20>;
463 nvidia,pull-up-strength = <36>;
464 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
465 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
468 nvidia,pins = "drive_gma";
469 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
470 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
471 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
472 nvidia,pull-down-strength = <1>;
473 nvidia,pull-up-strength = <2>;
474 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
475 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
476 nvidia,drive-type = <1>;
479 nvidia,pins = "gpio_x3_aud_px3";
480 nvidia,function = "gmi";
481 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
482 nvidia,tristate = <TEGRA_PIN_ENABLE>;
483 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
487 nvidia,function = "gmi";
488 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
489 nvidia,tristate = <TEGRA_PIN_DISABLE>;
490 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
494 nvidia,function = "gmi";
495 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
496 nvidia,tristate = <TEGRA_PIN_DISABLE>;
497 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
500 nvidia,pins = "gpio_w3_aud_pw3";
501 nvidia,function = "spi6";
502 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
503 nvidia,tristate = <TEGRA_PIN_ENABLE>;
504 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
508 nvidia,function = "gmi";
509 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
510 nvidia,tristate = <TEGRA_PIN_ENABLE>;
511 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
515 nvidia,function = "gmi";
516 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
517 nvidia,tristate = <TEGRA_PIN_ENABLE>;
518 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
522 nvidia,function = "gmi";
523 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
524 nvidia,tristate = <TEGRA_PIN_DISABLE>;
525 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
529 nvidia,function = "gmi";
530 nvidia,pull = <TEGRA_PIN_PULL_UP>;
531 nvidia,tristate = <TEGRA_PIN_DISABLE>;
532 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
536 nvidia,function = "gmi";
537 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
538 nvidia,tristate = <TEGRA_PIN_DISABLE>;
539 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
542 nvidia,pins = "kb_col0_pq0";
543 nvidia,function = "rsvd4";
544 nvidia,pull = <TEGRA_PIN_PULL_UP>;
545 nvidia,tristate = <TEGRA_PIN_DISABLE>;
546 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
549 nvidia,pins = "kb_row4_pr4";
550 nvidia,function = "rsvd3";
551 nvidia,pull = <TEGRA_PIN_PULL_UP>;
552 nvidia,tristate = <TEGRA_PIN_DISABLE>;
553 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
556 nvidia,pins = "kb_row0_pr0";
557 nvidia,function = "rsvd4";
558 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
559 nvidia,tristate = <TEGRA_PIN_DISABLE>;
560 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
564 nvidia,function = "gmi";
565 nvidia,pull = <TEGRA_PIN_PULL_UP>;
566 nvidia,tristate = <TEGRA_PIN_ENABLE>;
567 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
571 nvidia,function = "gmi";
572 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
573 nvidia,tristate = <TEGRA_PIN_DISABLE>;
574 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
577 nvidia,pins = "gpio_x7_aud_px7";
578 nvidia,function = "rsvd4";
579 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
580 nvidia,tristate = <TEGRA_PIN_DISABLE>;
581 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
584 nvidia,pins = "clk2_req_pcc5";
585 nvidia,function = "dap";
586 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
587 nvidia,tristate = <TEGRA_PIN_DISABLE>;
588 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
591 nvidia,pins = "ulpi_data1_po2";
592 nvidia,function = "spi3";
593 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
594 nvidia,tristate = <TEGRA_PIN_DISABLE>;
595 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
610 clock-frequency = <100000>;
612 acodec: audio-codec@10 {
613 compatible = "maxim,max98090";
615 interrupt-parent = <&gpio>;
616 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
622 clock-frequency = <100000>;
625 compatible = "atmel,maxtouch";
627 interrupt-parent = <&gpio>;
628 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
629 linux,gpio-keymap = <0 0 0 BTN_LEFT>;
635 clock-frequency = <100000>;
638 hdmi_ddc: i2c@7000c700 {
640 clock-frequency = <100000>;
645 clock-frequency = <400000>;
648 compatible = "ams,as3722";
650 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
652 ams,system-power-controller;
654 #interrupt-cells = <2>;
655 interrupt-controller;
660 pinctrl-names = "default";
661 pinctrl-0 = <&as3722_default>;
663 as3722_default: pinmux {
671 pins = "gpio1", "gpio2", "gpio4", "gpio7";
677 pins = "gpio3", "gpio6";
683 function = "clk32k-out";
688 vsup-sd2-supply = <&vdd_5v0_sys>;
689 vsup-sd3-supply = <&vdd_5v0_sys>;
690 vsup-sd4-supply = <&vdd_5v0_sys>;
691 vsup-sd5-supply = <&vdd_5v0_sys>;
692 vin-ldo0-supply = <&vdd_1v35_lp0>;
693 vin-ldo1-6-supply = <&vdd_3v3_run>;
694 vin-ldo2-5-7-supply = <&vddio_1v8>;
695 vin-ldo3-4-supply = <&vdd_3v3_sys>;
696 vin-ldo9-10-supply = <&vdd_5v0_sys>;
697 vin-ldo11-supply = <&vdd_3v3_run>;
700 regulator-name = "+VDD_CPU_AP";
701 regulator-min-microvolt = <700000>;
702 regulator-max-microvolt = <1400000>;
703 regulator-min-microamp = <3500000>;
704 regulator-max-microamp = <3500000>;
707 ams,ext-control = <2>;
711 regulator-name = "+VDD_CORE";
712 regulator-min-microvolt = <700000>;
713 regulator-max-microvolt = <1350000>;
714 regulator-min-microamp = <2500000>;
715 regulator-max-microamp = <2500000>;
718 ams,ext-control = <1>;
722 regulator-name = "+1.35V_LP0(sd2)";
723 regulator-min-microvolt = <1350000>;
724 regulator-max-microvolt = <1350000>;
730 regulator-name = "+1.35V_LP0(sd3)";
731 regulator-min-microvolt = <1350000>;
732 regulator-max-microvolt = <1350000>;
738 regulator-name = "+1.05V_RUN";
739 regulator-min-microvolt = <1050000>;
740 regulator-max-microvolt = <1050000>;
744 regulator-name = "+1.8V_VDDIO";
745 regulator-min-microvolt = <1800000>;
746 regulator-max-microvolt = <1800000>;
752 regulator-name = "+VDD_GPU_AP";
753 regulator-min-microvolt = <650000>;
754 regulator-max-microvolt = <1200000>;
755 regulator-min-microamp = <3500000>;
756 regulator-max-microamp = <3500000>;
761 avdd_1v05_run: ldo0 {
762 regulator-name = "+1.05V_RUN_AVDD";
763 regulator-min-microvolt = <1050000>;
764 regulator-max-microvolt = <1050000>;
767 ams,ext-control = <1>;
771 regulator-name = "+1.8V_RUN_CAM";
772 regulator-min-microvolt = <1800000>;
773 regulator-max-microvolt = <1800000>;
777 regulator-name = "+1.2V_GEN_AVDD";
778 regulator-min-microvolt = <1200000>;
779 regulator-max-microvolt = <1200000>;
785 regulator-name = "+1.00V_LP0_VDD_RTC";
786 regulator-min-microvolt = <1000000>;
787 regulator-max-microvolt = <1000000>;
794 regulator-name = "+3.3V_RUN_CAM";
795 regulator-min-microvolt = <2800000>;
796 regulator-max-microvolt = <2800000>;
800 regulator-name = "+1.2V_RUN_CAM_FRONT";
801 regulator-min-microvolt = <1200000>;
802 regulator-max-microvolt = <1200000>;
806 regulator-name = "+VDDIO_SDMMC3";
807 regulator-min-microvolt = <1800000>;
808 regulator-max-microvolt = <3300000>;
812 regulator-name = "+1.05V_RUN_CAM_REAR";
813 regulator-min-microvolt = <1050000>;
814 regulator-max-microvolt = <1050000>;
818 regulator-name = "+2.8V_RUN_TOUCH";
819 regulator-min-microvolt = <2800000>;
820 regulator-max-microvolt = <2800000>;
824 regulator-name = "+2.8V_RUN_CAM_AF";
825 regulator-min-microvolt = <2800000>;
826 regulator-max-microvolt = <2800000>;
830 regulator-name = "+1.8V_RUN_VPP_FUSE";
831 regulator-min-microvolt = <1800000>;
832 regulator-max-microvolt = <1800000>;
842 compatible = "google,cros-ec-spi";
843 spi-max-frequency = <4000000>;
844 interrupt-parent = <&gpio>;
845 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
848 google,cros-ec-spi-msg-delay = <2000>;
851 compatible = "google,cros-ec-i2c-tunnel";
852 #address-cells = <1>;
855 google,remote-bus = <0>;
858 compatible = "ti,bq24735";
860 interrupt-parent = <&gpio>;
861 interrupts = <TEGRA_GPIO(J, 0)
863 ti,ac-detect-gpios = <&gpio
868 battery: sbs-battery@b {
869 compatible = "sbs,sbs-battery";
871 sbs,i2c-retry-count = <2>;
872 sbs,poll-retry-count = <1>;
880 spi-max-frequency = <25000000>;
882 compatible = "winbond,w25q32dw";
884 spi-max-frequency = <20000000>;
889 nvidia,invert-interrupt;
890 nvidia,suspend-mode = <1>;
891 nvidia,cpu-pwr-good-time = <500>;
892 nvidia,cpu-pwr-off-time = <300>;
893 nvidia,core-pwr-good-time = <641 3845>;
894 nvidia,core-pwr-off-time = <61036>;
895 nvidia,core-power-req-active-high;
896 nvidia,sys-clock-req-active-high;
904 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
905 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
906 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
907 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
908 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
909 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
911 avddio-pex-supply = <&vdd_1v05_run>;
912 dvddio-pex-supply = <&vdd_1v05_run>;
913 avdd-usb-supply = <&vdd_3v3_lp0>;
914 avdd-pll-utmip-supply = <&vddio_1v8>;
915 avdd-pll-erefe-supply = <&avdd_1v05_run>;
916 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
917 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
918 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
930 nvidia,function = "xusb";
935 nvidia,function = "xusb";
940 nvidia,function = "xusb";
951 nvidia,function = "usb3-ss";
956 nvidia,function = "usb3-ss";
968 vbus-supply = <&vdd_usb1_vbus>;
975 vbus-supply = <&vdd_run_cam>;
982 vbus-supply = <&vdd_usb3_vbus>;
986 nvidia,usb2-companion = <0>;
991 nvidia,usb2-companion = <2>;
998 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
999 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1000 wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1003 vqmmc-supply = <&vddio_sdmmc3>;
1024 vbus-supply = <&vdd_usb1_vbus>;
1033 vbus-supply = <&vdd_run_cam>;
1042 vbus-supply = <&vdd_usb3_vbus>;
1045 backlight: backlight {
1046 compatible = "pwm-backlight";
1048 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1049 power-supply = <&vdd_led>;
1050 pwms = <&pwm 1 1000000>;
1052 brightness-levels = <0 4 8 16 32 64 128 255>;
1053 default-brightness-level = <6>;
1057 compatible = "simple-bus";
1058 #address-cells = <1>;
1061 clk32k_in: clock@0 {
1062 compatible = "fixed-clock";
1065 clock-frequency = <32768>;
1070 compatible = "gpio-keys";
1074 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
1075 linux,code = <KEY_POWER>;
1076 debounce-interval = <10>;
1082 compatible = "lg,lp129qe", "simple-panel";
1084 backlight = <&backlight>;
1085 ddc-i2c-bus = <&dpaux>;
1089 compatible = "simple-bus";
1090 #address-cells = <1>;
1093 vdd_mux: regulator@0 {
1094 compatible = "regulator-fixed";
1096 regulator-name = "+VDD_MUX";
1097 regulator-min-microvolt = <12000000>;
1098 regulator-max-microvolt = <12000000>;
1099 regulator-always-on;
1103 vdd_5v0_sys: regulator@1 {
1104 compatible = "regulator-fixed";
1106 regulator-name = "+5V_SYS";
1107 regulator-min-microvolt = <5000000>;
1108 regulator-max-microvolt = <5000000>;
1109 regulator-always-on;
1111 vin-supply = <&vdd_mux>;
1114 vdd_3v3_sys: regulator@2 {
1115 compatible = "regulator-fixed";
1117 regulator-name = "+3.3V_SYS";
1118 regulator-min-microvolt = <3300000>;
1119 regulator-max-microvolt = <3300000>;
1120 regulator-always-on;
1122 vin-supply = <&vdd_mux>;
1125 vdd_3v3_run: regulator@3 {
1126 compatible = "regulator-fixed";
1128 regulator-name = "+3.3V_RUN";
1129 regulator-min-microvolt = <3300000>;
1130 regulator-max-microvolt = <3300000>;
1131 regulator-always-on;
1133 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1135 vin-supply = <&vdd_3v3_sys>;
1138 vdd_3v3_hdmi: regulator@4 {
1139 compatible = "regulator-fixed";
1141 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1142 regulator-min-microvolt = <3300000>;
1143 regulator-max-microvolt = <3300000>;
1144 vin-supply = <&vdd_3v3_run>;
1147 vdd_led: regulator@5 {
1148 compatible = "regulator-fixed";
1150 regulator-name = "+VDD_LED";
1151 regulator-min-microvolt = <3300000>;
1152 regulator-max-microvolt = <3300000>;
1153 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
1155 vin-supply = <&vdd_mux>;
1158 vdd_5v0_ts: regulator@6 {
1159 compatible = "regulator-fixed";
1161 regulator-name = "+5V_VDD_TS_SW";
1162 regulator-min-microvolt = <5000000>;
1163 regulator-max-microvolt = <5000000>;
1165 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
1167 vin-supply = <&vdd_5v0_sys>;
1170 vdd_usb1_vbus: regulator@7 {
1171 compatible = "regulator-fixed";
1173 regulator-name = "+5V_USB_HS";
1174 regulator-min-microvolt = <5000000>;
1175 regulator-max-microvolt = <5000000>;
1176 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1179 vin-supply = <&vdd_5v0_sys>;
1182 vdd_usb3_vbus: regulator@8 {
1183 compatible = "regulator-fixed";
1185 regulator-name = "+5V_USB_SS";
1186 regulator-min-microvolt = <5000000>;
1187 regulator-max-microvolt = <5000000>;
1188 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1191 vin-supply = <&vdd_5v0_sys>;
1194 vdd_3v3_panel: regulator@9 {
1195 compatible = "regulator-fixed";
1197 regulator-name = "+3.3V_PANEL";
1198 regulator-min-microvolt = <3300000>;
1199 regulator-max-microvolt = <3300000>;
1200 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
1202 vin-supply = <&vdd_3v3_run>;
1205 vdd_3v3_lp0: regulator@10 {
1206 compatible = "regulator-fixed";
1208 regulator-name = "+3.3V_LP0";
1209 regulator-min-microvolt = <3300000>;
1210 regulator-max-microvolt = <3300000>;
1212 * TODO: find a way to wire this up with the USB EHCI
1213 * controllers so that it can be enabled on demand.
1215 regulator-always-on;
1216 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1218 vin-supply = <&vdd_3v3_sys>;
1221 vdd_hdmi_pll: regulator@11 {
1222 compatible = "regulator-fixed";
1224 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1225 regulator-min-microvolt = <1050000>;
1226 regulator-max-microvolt = <1050000>;
1227 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
1228 vin-supply = <&vdd_1v05_run>;
1231 vdd_5v0_hdmi: regulator@12 {
1232 compatible = "regulator-fixed";
1234 regulator-name = "+5V_HDMI_CON";
1235 regulator-min-microvolt = <5000000>;
1236 regulator-max-microvolt = <5000000>;
1237 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
1239 vin-supply = <&vdd_5v0_sys>;
1244 compatible = "nvidia,tegra-audio-max98090-venice2",
1245 "nvidia,tegra-audio-max98090";
1246 nvidia,model = "NVIDIA Tegra Venice2";
1248 nvidia,audio-routing =
1249 "Headphones", "HPR",
1250 "Headphones", "HPL",
1253 "Mic Jack", "MICBIAS",
1256 nvidia,i2s-controller = <&tegra_i2s1>;
1257 nvidia,audio-codec = <&acodec>;
1259 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
1260 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1261 <&tegra_car TEGRA124_CLK_EXTERN1>;
1262 clock-names = "pll_a", "pll_a_out0", "mclk";
1266 #include "cros-ec-keyboard.dtsi"