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 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>;
42 vdd-hdmi-dp-pll-supply = <&vdd_3v3_run>;
44 nvidia,dpaux = <&dpaux>;
45 nvidia,panel = <&panel>;
49 vdd-supply = <&vdd_3v3_panel>;
56 * Node left disabled on purpose - the bootloader will enable
57 * it after having set the VPR up
59 vdd-supply = <&vdd_gpu>;
62 pinmux: pinmux@70000868 {
63 pinctrl-names = "boot";
64 pinctrl-0 = <&pinmux_boot>;
68 nvidia,pins = "dap_mclk1_pw4";
69 nvidia,function = "extperiph1";
70 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
71 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
72 nvidia,tristate = <TEGRA_PIN_DISABLE>;
75 nvidia,pins = "dap1_din_pn1";
76 nvidia,function = "i2s0";
77 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
78 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
79 nvidia,tristate = <TEGRA_PIN_ENABLE>;
82 nvidia,pins = "dap1_dout_pn2",
85 nvidia,function = "i2s0";
86 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
87 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
88 nvidia,tristate = <TEGRA_PIN_ENABLE>;
91 nvidia,pins = "dap2_din_pa4";
92 nvidia,function = "i2s1";
93 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
94 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
95 nvidia,tristate = <TEGRA_PIN_DISABLE>;
98 nvidia,pins = "dap2_dout_pa5",
101 nvidia,function = "i2s1";
102 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
103 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
104 nvidia,tristate = <TEGRA_PIN_DISABLE>;
107 nvidia,pins = "dvfs_pwm_px0",
109 nvidia,function = "cldvfs";
110 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
111 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
112 nvidia,tristate = <TEGRA_PIN_DISABLE>;
115 nvidia,pins = "ulpi_clk_py0",
118 nvidia,function = "spi1";
119 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
120 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
121 nvidia,tristate = <TEGRA_PIN_DISABLE>;
124 nvidia,pins = "ulpi_dir_py1";
125 nvidia,function = "spi1";
126 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
127 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
128 nvidia,tristate = <TEGRA_PIN_DISABLE>;
131 nvidia,pins = "cam_i2c_scl_pbb1",
133 nvidia,function = "i2c3";
134 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
135 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
136 nvidia,tristate = <TEGRA_PIN_DISABLE>;
137 nvidia,lock = <TEGRA_PIN_DISABLE>;
138 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
141 nvidia,pins = "gen2_i2c_scl_pt5",
143 nvidia,function = "i2c2";
144 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
146 nvidia,tristate = <TEGRA_PIN_DISABLE>;
147 nvidia,lock = <TEGRA_PIN_DISABLE>;
148 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
155 nvidia,function = "spi4";
156 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
157 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
158 nvidia,tristate = <TEGRA_PIN_DISABLE>;
162 nvidia,function = "spi4";
163 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
164 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
165 nvidia,tristate = <TEGRA_PIN_DISABLE>;
169 nvidia,function = "pwm1";
170 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
171 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
172 nvidia,tristate = <TEGRA_PIN_DISABLE>;
178 nvidia,function = "soc";
179 nvidia,pull = <TEGRA_PIN_PULL_UP>;
180 nvidia,tristate = <TEGRA_PIN_DISABLE>;
181 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
184 nvidia,pins = "sdmmc1_clk_pz0";
185 nvidia,function = "sdmmc1";
186 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
187 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
188 nvidia,tristate = <TEGRA_PIN_DISABLE>;
191 nvidia,pins = "sdmmc1_cmd_pz1",
196 nvidia,function = "sdmmc1";
197 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
198 nvidia,pull = <TEGRA_PIN_PULL_UP>;
199 nvidia,tristate = <TEGRA_PIN_DISABLE>;
202 nvidia,pins = "sdmmc3_clk_pa6";
203 nvidia,function = "sdmmc3";
204 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
205 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
206 nvidia,tristate = <TEGRA_PIN_DISABLE>;
209 nvidia,pins = "sdmmc3_cmd_pa7",
214 "sdmmc3_clk_lb_out_pee4",
215 "sdmmc3_clk_lb_in_pee5";
216 nvidia,function = "sdmmc3";
217 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
218 nvidia,pull = <TEGRA_PIN_PULL_UP>;
219 nvidia,tristate = <TEGRA_PIN_DISABLE>;
222 nvidia,pins = "sdmmc4_clk_pcc4";
223 nvidia,function = "sdmmc4";
224 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
225 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
226 nvidia,tristate = <TEGRA_PIN_DISABLE>;
229 nvidia,pins = "sdmmc4_cmd_pt7",
238 nvidia,function = "sdmmc4";
239 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
240 nvidia,pull = <TEGRA_PIN_PULL_UP>;
241 nvidia,tristate = <TEGRA_PIN_DISABLE>;
244 nvidia,pins = "pwr_i2c_scl_pz6",
246 nvidia,function = "i2cpwr";
247 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
248 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
249 nvidia,tristate = <TEGRA_PIN_DISABLE>;
250 nvidia,lock = <TEGRA_PIN_DISABLE>;
251 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
254 nvidia,pins = "jtag_rtck";
255 nvidia,function = "rtck";
256 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
257 nvidia,pull = <TEGRA_PIN_PULL_UP>;
258 nvidia,tristate = <TEGRA_PIN_DISABLE>;
261 nvidia,pins = "clk_32k_in";
262 nvidia,function = "clk";
263 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
264 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
265 nvidia,tristate = <TEGRA_PIN_DISABLE>;
268 nvidia,pins = "core_pwr_req";
269 nvidia,function = "pwron";
270 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
271 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
272 nvidia,tristate = <TEGRA_PIN_DISABLE>;
275 nvidia,pins = "cpu_pwr_req";
276 nvidia,function = "cpu";
277 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
278 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
279 nvidia,tristate = <TEGRA_PIN_DISABLE>;
282 nvidia,pins = "pwr_int_n";
283 nvidia,function = "pmi";
284 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
285 nvidia,pull = <TEGRA_PIN_PULL_UP>;
286 nvidia,tristate = <TEGRA_PIN_DISABLE>;
289 nvidia,pins = "reset_out_n";
290 nvidia,function = "reset_out_n";
291 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
292 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
293 nvidia,tristate = <TEGRA_PIN_DISABLE>;
296 nvidia,pins = "clk3_out_pee0";
297 nvidia,function = "extperiph3";
298 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
299 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
300 nvidia,tristate = <TEGRA_PIN_DISABLE>;
303 nvidia,pins = "dap4_din_pp5";
304 nvidia,function = "i2s3";
305 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
306 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
307 nvidia,tristate = <TEGRA_PIN_ENABLE>;
310 nvidia,pins = "dap4_dout_pp6",
313 nvidia,function = "i2s3";
314 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
315 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
316 nvidia,tristate = <TEGRA_PIN_ENABLE>;
319 nvidia,pins = "gen1_i2c_sda_pc5",
321 nvidia,function = "i2c1";
322 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
323 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
324 nvidia,tristate = <TEGRA_PIN_DISABLE>;
325 nvidia,lock = <TEGRA_PIN_DISABLE>;
326 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
329 nvidia,pins = "uart2_cts_n_pj5";
330 nvidia,function = "uartb";
331 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
332 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
333 nvidia,tristate = <TEGRA_PIN_DISABLE>;
336 nvidia,pins = "uart2_rts_n_pj6";
337 nvidia,function = "uartb";
338 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
339 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
340 nvidia,tristate = <TEGRA_PIN_DISABLE>;
343 nvidia,pins = "uart2_rxd_pc3";
344 nvidia,function = "irda";
345 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
346 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
347 nvidia,tristate = <TEGRA_PIN_DISABLE>;
350 nvidia,pins = "uart2_txd_pc2";
351 nvidia,function = "irda";
352 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
353 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
354 nvidia,tristate = <TEGRA_PIN_DISABLE>;
357 nvidia,pins = "uart3_cts_n_pa1",
359 nvidia,function = "uartc";
360 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
361 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
362 nvidia,tristate = <TEGRA_PIN_DISABLE>;
365 nvidia,pins = "uart3_rts_n_pc0",
367 nvidia,function = "uartc";
368 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
369 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
370 nvidia,tristate = <TEGRA_PIN_DISABLE>;
373 nvidia,pins = "hdmi_cec_pee3";
374 nvidia,function = "cec";
375 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
376 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
377 nvidia,tristate = <TEGRA_PIN_DISABLE>;
378 nvidia,lock = <TEGRA_PIN_DISABLE>;
379 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
382 nvidia,pins = "hdmi_int_pn7";
383 nvidia,function = "rsvd1";
384 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
385 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
386 nvidia,tristate = <TEGRA_PIN_DISABLE>;
389 nvidia,pins = "ddc_scl_pv4",
391 nvidia,function = "i2c4";
392 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
393 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
394 nvidia,tristate = <TEGRA_PIN_DISABLE>;
395 nvidia,lock = <TEGRA_PIN_DISABLE>;
396 nvidia,rcv-sel = <TEGRA_PIN_ENABLE>;
401 nvidia,function = "uartd";
402 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
403 nvidia,tristate = <TEGRA_PIN_DISABLE>;
404 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
409 nvidia,function = "uartd";
410 nvidia,pull = <TEGRA_PIN_PULL_UP>;
411 nvidia,tristate = <TEGRA_PIN_DISABLE>;
412 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
416 nvidia,function = "pwm0";
417 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
418 nvidia,tristate = <TEGRA_PIN_DISABLE>;
419 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
422 nvidia,pins = "kb_row10_ps2";
423 nvidia,function = "uarta";
424 nvidia,pull = <TEGRA_PIN_PULL_UP>;
425 nvidia,tristate = <TEGRA_PIN_DISABLE>;
426 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
429 nvidia,pins = "kb_row9_ps1";
430 nvidia,function = "uarta";
431 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
432 nvidia,tristate = <TEGRA_PIN_DISABLE>;
433 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
436 nvidia,pins = "kb_row6_pr6";
437 nvidia,function = "displaya_alt";
438 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
439 nvidia,tristate = <TEGRA_PIN_DISABLE>;
440 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
443 nvidia,pins = "usb_vbus_en0_pn4",
445 nvidia,function = "usb";
446 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
447 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
448 nvidia,tristate = <TEGRA_PIN_DISABLE>;
449 nvidia,lock = <TEGRA_PIN_DISABLE>;
450 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
453 nvidia,pins = "drive_sdio1";
454 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
455 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
456 nvidia,pull-down-strength = <32>;
457 nvidia,pull-up-strength = <42>;
458 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
459 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
462 nvidia,pins = "drive_sdio3";
463 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
464 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
465 nvidia,pull-down-strength = <20>;
466 nvidia,pull-up-strength = <36>;
467 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
468 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
471 nvidia,pins = "drive_gma";
472 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
473 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
474 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
475 nvidia,pull-down-strength = <1>;
476 nvidia,pull-up-strength = <2>;
477 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
478 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
479 nvidia,drive-type = <1>;
482 nvidia,pins = "gpio_x3_aud_px3";
483 nvidia,function = "gmi";
484 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
485 nvidia,tristate = <TEGRA_PIN_ENABLE>;
486 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
490 nvidia,function = "gmi";
491 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
492 nvidia,tristate = <TEGRA_PIN_DISABLE>;
493 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
497 nvidia,function = "gmi";
498 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
499 nvidia,tristate = <TEGRA_PIN_DISABLE>;
500 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
503 nvidia,pins = "gpio_w3_aud_pw3";
504 nvidia,function = "spi6";
505 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
506 nvidia,tristate = <TEGRA_PIN_ENABLE>;
507 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
511 nvidia,function = "gmi";
512 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
513 nvidia,tristate = <TEGRA_PIN_ENABLE>;
514 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
518 nvidia,function = "gmi";
519 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
520 nvidia,tristate = <TEGRA_PIN_ENABLE>;
521 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
525 nvidia,function = "gmi";
526 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
527 nvidia,tristate = <TEGRA_PIN_DISABLE>;
528 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
532 nvidia,function = "gmi";
533 nvidia,pull = <TEGRA_PIN_PULL_UP>;
534 nvidia,tristate = <TEGRA_PIN_DISABLE>;
535 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
539 nvidia,function = "gmi";
540 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
541 nvidia,tristate = <TEGRA_PIN_DISABLE>;
542 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
545 nvidia,pins = "kb_col0_pq0";
546 nvidia,function = "rsvd4";
547 nvidia,pull = <TEGRA_PIN_PULL_UP>;
548 nvidia,tristate = <TEGRA_PIN_DISABLE>;
549 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
552 nvidia,pins = "kb_row4_pr4";
553 nvidia,function = "rsvd3";
554 nvidia,pull = <TEGRA_PIN_PULL_UP>;
555 nvidia,tristate = <TEGRA_PIN_DISABLE>;
556 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
559 nvidia,pins = "kb_row0_pr0";
560 nvidia,function = "rsvd4";
561 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
562 nvidia,tristate = <TEGRA_PIN_DISABLE>;
563 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
567 nvidia,function = "gmi";
568 nvidia,pull = <TEGRA_PIN_PULL_UP>;
569 nvidia,tristate = <TEGRA_PIN_ENABLE>;
570 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
574 nvidia,function = "gmi";
575 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
576 nvidia,tristate = <TEGRA_PIN_DISABLE>;
577 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
580 nvidia,pins = "gpio_x7_aud_px7";
581 nvidia,function = "rsvd4";
582 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
583 nvidia,tristate = <TEGRA_PIN_DISABLE>;
584 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
587 nvidia,pins = "clk2_req_pcc5";
588 nvidia,function = "dap";
589 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
590 nvidia,tristate = <TEGRA_PIN_DISABLE>;
591 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
594 nvidia,pins = "ulpi_data1_po2";
595 nvidia,function = "spi3";
596 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
597 nvidia,tristate = <TEGRA_PIN_DISABLE>;
598 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
613 clock-frequency = <100000>;
615 acodec: audio-codec@10 {
616 compatible = "maxim,max98090";
618 interrupt-parent = <&gpio>;
619 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
625 clock-frequency = <100000>;
628 compatible = "atmel,maxtouch";
630 interrupt-parent = <&gpio>;
631 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
632 linux,gpio-keymap = <0 0 0 BTN_LEFT>;
638 clock-frequency = <100000>;
641 hdmi_ddc: i2c@7000c700 {
643 clock-frequency = <100000>;
648 clock-frequency = <400000>;
651 compatible = "ams,as3722";
653 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
655 ams,system-power-controller;
657 #interrupt-cells = <2>;
658 interrupt-controller;
663 pinctrl-names = "default";
664 pinctrl-0 = <&as3722_default>;
666 as3722_default: pinmux {
674 pins = "gpio1", "gpio2", "gpio4", "gpio7";
680 pins = "gpio3", "gpio6";
686 function = "clk32k-out";
691 vsup-sd2-supply = <&vdd_5v0_sys>;
692 vsup-sd3-supply = <&vdd_5v0_sys>;
693 vsup-sd4-supply = <&vdd_5v0_sys>;
694 vsup-sd5-supply = <&vdd_5v0_sys>;
695 vin-ldo0-supply = <&vdd_1v35_lp0>;
696 vin-ldo1-6-supply = <&vdd_3v3_run>;
697 vin-ldo2-5-7-supply = <&vddio_1v8>;
698 vin-ldo3-4-supply = <&vdd_3v3_sys>;
699 vin-ldo9-10-supply = <&vdd_5v0_sys>;
700 vin-ldo11-supply = <&vdd_3v3_run>;
703 regulator-name = "+VDD_CPU_AP";
704 regulator-min-microvolt = <700000>;
705 regulator-max-microvolt = <1400000>;
706 regulator-min-microamp = <3500000>;
707 regulator-max-microamp = <3500000>;
710 ams,ext-control = <2>;
714 regulator-name = "+VDD_CORE";
715 regulator-min-microvolt = <700000>;
716 regulator-max-microvolt = <1350000>;
717 regulator-min-microamp = <2500000>;
718 regulator-max-microamp = <2500000>;
721 ams,ext-control = <1>;
725 regulator-name = "+1.35V_LP0(sd2)";
726 regulator-min-microvolt = <1350000>;
727 regulator-max-microvolt = <1350000>;
733 regulator-name = "+1.35V_LP0(sd3)";
734 regulator-min-microvolt = <1350000>;
735 regulator-max-microvolt = <1350000>;
741 regulator-name = "+1.05V_RUN";
742 regulator-min-microvolt = <1050000>;
743 regulator-max-microvolt = <1050000>;
747 regulator-name = "+1.8V_VDDIO";
748 regulator-min-microvolt = <1800000>;
749 regulator-max-microvolt = <1800000>;
755 regulator-name = "+VDD_GPU_AP";
756 regulator-min-microvolt = <650000>;
757 regulator-max-microvolt = <1200000>;
758 regulator-min-microamp = <3500000>;
759 regulator-max-microamp = <3500000>;
764 avdd_1v05_run: ldo0 {
765 regulator-name = "+1.05V_RUN_AVDD";
766 regulator-min-microvolt = <1050000>;
767 regulator-max-microvolt = <1050000>;
770 ams,ext-control = <1>;
774 regulator-name = "+1.8V_RUN_CAM";
775 regulator-min-microvolt = <1800000>;
776 regulator-max-microvolt = <1800000>;
780 regulator-name = "+1.2V_GEN_AVDD";
781 regulator-min-microvolt = <1200000>;
782 regulator-max-microvolt = <1200000>;
788 regulator-name = "+1.00V_LP0_VDD_RTC";
789 regulator-min-microvolt = <1000000>;
790 regulator-max-microvolt = <1000000>;
797 regulator-name = "+3.3V_RUN_CAM";
798 regulator-min-microvolt = <2800000>;
799 regulator-max-microvolt = <2800000>;
803 regulator-name = "+1.2V_RUN_CAM_FRONT";
804 regulator-min-microvolt = <1200000>;
805 regulator-max-microvolt = <1200000>;
809 regulator-name = "+VDDIO_SDMMC3";
810 regulator-min-microvolt = <1800000>;
811 regulator-max-microvolt = <3300000>;
815 regulator-name = "+1.05V_RUN_CAM_REAR";
816 regulator-min-microvolt = <1050000>;
817 regulator-max-microvolt = <1050000>;
821 regulator-name = "+2.8V_RUN_TOUCH";
822 regulator-min-microvolt = <2800000>;
823 regulator-max-microvolt = <2800000>;
827 regulator-name = "+2.8V_RUN_CAM_AF";
828 regulator-min-microvolt = <2800000>;
829 regulator-max-microvolt = <2800000>;
833 regulator-name = "+1.8V_RUN_VPP_FUSE";
834 regulator-min-microvolt = <1800000>;
835 regulator-max-microvolt = <1800000>;
845 compatible = "google,cros-ec-spi";
846 spi-max-frequency = <4000000>;
847 interrupt-parent = <&gpio>;
848 interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
851 google,cros-ec-spi-msg-delay = <2000>;
854 compatible = "google,cros-ec-i2c-tunnel";
855 #address-cells = <1>;
858 google,remote-bus = <0>;
861 compatible = "ti,bq24735";
863 interrupt-parent = <&gpio>;
864 interrupts = <TEGRA_GPIO(J, 0)
866 ti,ac-detect-gpios = <&gpio
871 battery: sbs-battery@b {
872 compatible = "sbs,sbs-battery";
874 sbs,i2c-retry-count = <2>;
875 sbs,poll-retry-count = <1>;
883 spi-max-frequency = <25000000>;
885 compatible = "winbond,w25q32dw", "jedec,spi-nor";
887 spi-max-frequency = <20000000>;
892 nvidia,invert-interrupt;
893 nvidia,suspend-mode = <1>;
894 nvidia,cpu-pwr-good-time = <500>;
895 nvidia,cpu-pwr-off-time = <300>;
896 nvidia,core-pwr-good-time = <641 3845>;
897 nvidia,core-pwr-off-time = <61036>;
898 nvidia,core-power-req-active-high;
899 nvidia,sys-clock-req-active-high;
907 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
908 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
909 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
910 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
911 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
912 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
914 avddio-pex-supply = <&vdd_1v05_run>;
915 dvddio-pex-supply = <&vdd_1v05_run>;
916 avdd-usb-supply = <&vdd_3v3_lp0>;
917 avdd-pll-utmip-supply = <&vddio_1v8>;
918 avdd-pll-erefe-supply = <&avdd_1v05_run>;
919 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
920 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
921 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
927 avdd-pll-utmip-supply = <&vddio_1v8>;
928 avdd-pll-erefe-supply = <&avdd_1v05_run>;
929 avdd-pex-pll-supply = <&vdd_1v05_run>;
930 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
938 nvidia,function = "xusb";
943 nvidia,function = "xusb";
948 nvidia,function = "xusb";
959 nvidia,function = "usb3-ss";
964 nvidia,function = "usb3-ss";
976 vbus-supply = <&vdd_usb1_vbus>;
983 vbus-supply = <&vdd_run_cam>;
990 vbus-supply = <&vdd_usb3_vbus>;
994 nvidia,usb2-companion = <0>;
999 nvidia,usb2-companion = <2>;
1006 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
1007 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1008 wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1011 vqmmc-supply = <&vddio_sdmmc3>;
1032 vbus-supply = <&vdd_usb1_vbus>;
1041 vbus-supply = <&vdd_run_cam>;
1050 vbus-supply = <&vdd_usb3_vbus>;
1053 backlight: backlight {
1054 compatible = "pwm-backlight";
1056 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1057 power-supply = <&vdd_led>;
1058 pwms = <&pwm 1 1000000>;
1060 brightness-levels = <0 4 8 16 32 64 128 255>;
1061 default-brightness-level = <6>;
1064 clk32k_in: clock@0 {
1065 compatible = "fixed-clock";
1066 clock-frequency = <32768>;
1071 compatible = "gpio-keys";
1075 gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
1076 linux,code = <KEY_POWER>;
1077 debounce-interval = <10>;
1083 compatible = "lg,lp129qe";
1084 power-supply = <&vdd_3v3_panel>;
1085 backlight = <&backlight>;
1086 ddc-i2c-bus = <&dpaux>;
1089 vdd_mux: regulator@0 {
1090 compatible = "regulator-fixed";
1091 regulator-name = "+VDD_MUX";
1092 regulator-min-microvolt = <12000000>;
1093 regulator-max-microvolt = <12000000>;
1094 regulator-always-on;
1098 vdd_5v0_sys: regulator@1 {
1099 compatible = "regulator-fixed";
1100 regulator-name = "+5V_SYS";
1101 regulator-min-microvolt = <5000000>;
1102 regulator-max-microvolt = <5000000>;
1103 regulator-always-on;
1105 vin-supply = <&vdd_mux>;
1108 vdd_3v3_sys: regulator@2 {
1109 compatible = "regulator-fixed";
1110 regulator-name = "+3.3V_SYS";
1111 regulator-min-microvolt = <3300000>;
1112 regulator-max-microvolt = <3300000>;
1113 regulator-always-on;
1115 vin-supply = <&vdd_mux>;
1118 vdd_3v3_run: regulator@3 {
1119 compatible = "regulator-fixed";
1120 regulator-name = "+3.3V_RUN";
1121 regulator-min-microvolt = <3300000>;
1122 regulator-max-microvolt = <3300000>;
1123 regulator-always-on;
1125 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1127 vin-supply = <&vdd_3v3_sys>;
1130 vdd_3v3_hdmi: regulator@4 {
1131 compatible = "regulator-fixed";
1132 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1133 regulator-min-microvolt = <3300000>;
1134 regulator-max-microvolt = <3300000>;
1135 vin-supply = <&vdd_3v3_run>;
1138 vdd_led: regulator@5 {
1139 compatible = "regulator-fixed";
1140 regulator-name = "+VDD_LED";
1141 regulator-min-microvolt = <3300000>;
1142 regulator-max-microvolt = <3300000>;
1143 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
1145 vin-supply = <&vdd_mux>;
1148 vdd_5v0_ts: regulator@6 {
1149 compatible = "regulator-fixed";
1150 regulator-name = "+5V_VDD_TS_SW";
1151 regulator-min-microvolt = <5000000>;
1152 regulator-max-microvolt = <5000000>;
1154 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
1156 vin-supply = <&vdd_5v0_sys>;
1159 vdd_usb1_vbus: regulator@7 {
1160 compatible = "regulator-fixed";
1161 regulator-name = "+5V_USB_HS";
1162 regulator-min-microvolt = <5000000>;
1163 regulator-max-microvolt = <5000000>;
1164 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1167 vin-supply = <&vdd_5v0_sys>;
1170 vdd_usb3_vbus: regulator@8 {
1171 compatible = "regulator-fixed";
1172 regulator-name = "+5V_USB_SS";
1173 regulator-min-microvolt = <5000000>;
1174 regulator-max-microvolt = <5000000>;
1175 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1178 vin-supply = <&vdd_5v0_sys>;
1181 vdd_3v3_panel: regulator@9 {
1182 compatible = "regulator-fixed";
1183 regulator-name = "+3.3V_PANEL";
1184 regulator-min-microvolt = <3300000>;
1185 regulator-max-microvolt = <3300000>;
1186 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
1188 vin-supply = <&vdd_3v3_run>;
1191 vdd_3v3_lp0: regulator@10 {
1192 compatible = "regulator-fixed";
1193 regulator-name = "+3.3V_LP0";
1194 regulator-min-microvolt = <3300000>;
1195 regulator-max-microvolt = <3300000>;
1197 * TODO: find a way to wire this up with the USB EHCI
1198 * controllers so that it can be enabled on demand.
1200 regulator-always-on;
1201 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1203 vin-supply = <&vdd_3v3_sys>;
1206 vdd_hdmi_pll: regulator@11 {
1207 compatible = "regulator-fixed";
1208 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1209 regulator-min-microvolt = <1050000>;
1210 regulator-max-microvolt = <1050000>;
1211 gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
1212 vin-supply = <&vdd_1v05_run>;
1215 vdd_5v0_hdmi: regulator@12 {
1216 compatible = "regulator-fixed";
1217 regulator-name = "+5V_HDMI_CON";
1218 regulator-min-microvolt = <5000000>;
1219 regulator-max-microvolt = <5000000>;
1220 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
1222 vin-supply = <&vdd_5v0_sys>;
1226 compatible = "nvidia,tegra-audio-max98090-venice2",
1227 "nvidia,tegra-audio-max98090";
1228 nvidia,model = "NVIDIA Tegra Venice2";
1230 nvidia,audio-routing =
1231 "Headphones", "HPR",
1232 "Headphones", "HPL",
1235 "Mic Jack", "MICBIAS",
1238 nvidia,i2s-controller = <&tegra_i2s1>;
1239 nvidia,audio-codec = <&acodec>;
1241 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
1242 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1243 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1244 clock-names = "pll_a", "pll_a_out0", "mclk";
1246 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
1247 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1249 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1250 <&tegra_car TEGRA124_CLK_EXTERN1>;
1254 #include "cros-ec-keyboard.dtsi"