1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
8 #include "tegra30.dtsi"
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
14 mmc0 = &sdmmc4; /* eMMC */
15 mmc1 = &sdmmc3; /* WiFi */
18 rtc1 = "/rtc@7000e000";
20 serial1 = &uartc; /* Bluetooth */
21 serial2 = &uartb; /* GPS */
25 * The decompressor and also some bootloaders rely on a
26 * pre-existing /chosen node to be available to insert the
27 * command line and merge other ATAGS info.
32 reg = <0x80000000 0x40000000>;
41 compatible = "shared-dma-pool";
42 alloc-ranges = <0x80000000 0x30000000>;
43 size = <0x10000000>; /* 256MiB */
49 compatible = "ramoops";
50 reg = <0xbfdf0000 0x10000>; /* 64kB */
51 console-size = <0x8000>; /* 32kB */
52 record-size = <0x400>; /* 1kB */
57 reg = <0xbfe00000 0x200000>;
68 lcd_output: endpoint {
69 remote-endpoint = <&lvds_encoder_input>;
80 gpios = <TEGRA_GPIO(DD, 7) GPIO_ACTIVE_HIGH>,
81 <TEGRA_GPIO(CC, 6) GPIO_ACTIVE_HIGH>,
82 <TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
86 init-low-power-mode-hog {
88 gpios = <TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&state_default>;
97 state_default: pinmux {
99 nvidia,pins = "clk_32k_out_pa0";
100 nvidia,function = "blink";
101 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
102 nvidia,tristate = <TEGRA_PIN_DISABLE>;
103 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
106 nvidia,pins = "uart3_cts_n_pa1",
108 nvidia,function = "uartc";
109 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
110 nvidia,tristate = <TEGRA_PIN_DISABLE>;
111 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
114 nvidia,pins = "dap2_fs_pa2",
118 nvidia,function = "i2s1";
119 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
120 nvidia,tristate = <TEGRA_PIN_DISABLE>;
121 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
124 nvidia,pins = "sdmmc3_clk_pa6";
125 nvidia,function = "sdmmc3";
126 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
127 nvidia,tristate = <TEGRA_PIN_DISABLE>;
128 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
131 nvidia,pins = "sdmmc3_cmd_pa7",
139 nvidia,function = "sdmmc3";
140 nvidia,pull = <TEGRA_PIN_PULL_UP>;
141 nvidia,tristate = <TEGRA_PIN_DISABLE>;
142 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145 nvidia,pins = "gmi_a17_pb0",
147 nvidia,function = "uartd";
148 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
149 nvidia,tristate = <TEGRA_PIN_DISABLE>;
150 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
153 nvidia,pins = "lcd_pwr0_pb2",
156 nvidia,function = "displaya";
157 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
158 nvidia,tristate = <TEGRA_PIN_DISABLE>;
159 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
162 nvidia,pins = "lcd_pclk_pb3",
196 nvidia,function = "displaya";
197 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
198 nvidia,tristate = <TEGRA_PIN_DISABLE>;
199 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
202 nvidia,pins = "uart3_rts_n_pc0",
204 nvidia,function = "uartc";
205 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
206 nvidia,tristate = <TEGRA_PIN_DISABLE>;
207 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
210 nvidia,pins = "uart2_txd_pc2",
212 nvidia,function = "uartb";
213 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
214 nvidia,tristate = <TEGRA_PIN_DISABLE>;
215 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
218 nvidia,pins = "uart2_rxd_pc3",
220 nvidia,function = "uartb";
221 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
222 nvidia,tristate = <TEGRA_PIN_DISABLE>;
223 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
226 nvidia,pins = "gen1_i2c_scl_pc4",
228 nvidia,function = "i2c1";
229 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
230 nvidia,tristate = <TEGRA_PIN_DISABLE>;
231 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
232 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
235 nvidia,pins = "gmi_wp_n_pc7",
239 nvidia,function = "rsvd1";
240 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
241 nvidia,tristate = <TEGRA_PIN_ENABLE>;
242 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
245 nvidia,pins = "gmi_ad12_ph4",
249 nvidia,function = "rsvd1";
250 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
251 nvidia,tristate = <TEGRA_PIN_ENABLE>;
252 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
255 nvidia,pins = "sdmmc3_dat5_pd0";
256 nvidia,function = "sdmmc3";
257 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
258 nvidia,tristate = <TEGRA_PIN_DISABLE>;
259 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
262 nvidia,pins = "gmi_ad0_pg0",
266 nvidia,function = "rsvd1";
267 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
268 nvidia,tristate = <TEGRA_PIN_DISABLE>;
269 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
272 nvidia,pins = "gmi_ad2_pg2",
276 nvidia,function = "rsvd1";
277 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
278 nvidia,tristate = <TEGRA_PIN_DISABLE>;
279 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
282 nvidia,pins = "gmi_ad4_pg4",
284 nvidia,function = "nand";
285 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
286 nvidia,tristate = <TEGRA_PIN_DISABLE>;
287 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
290 nvidia,pins = "gmi_ad8_ph0";
291 nvidia,function = "pwm0";
292 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
293 nvidia,tristate = <TEGRA_PIN_DISABLE>;
294 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
297 nvidia,pins = "gmi_ad9_ph1";
298 nvidia,function = "rsvd4";
299 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
300 nvidia,tristate = <TEGRA_PIN_DISABLE>;
301 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
304 nvidia,pins = "gmi_ad10_ph2";
305 nvidia,function = "pwm2";
306 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
307 nvidia,tristate = <TEGRA_PIN_ENABLE>;
308 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
311 nvidia,pins = "gmi_ad11_ph3";
312 nvidia,function = "pwm3";
313 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
314 nvidia,tristate = <TEGRA_PIN_DISABLE>;
315 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
318 nvidia,pins = "gmi_ad13_ph5",
322 nvidia,function = "rsvd1";
323 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
324 nvidia,tristate = <TEGRA_PIN_ENABLE>;
325 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
328 nvidia,pins = "gmi_ad15_ph7";
329 nvidia,function = "rsvd1";
330 nvidia,pull = <TEGRA_PIN_PULL_UP>;
331 nvidia,tristate = <TEGRA_PIN_DISABLE>;
332 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
335 nvidia,pins = "gmi_dqs_pi2",
338 nvidia,function = "rsvd1";
339 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
340 nvidia,tristate = <TEGRA_PIN_DISABLE>;
341 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
344 nvidia,pins = "gmi_rst_n_pi4";
345 nvidia,function = "nand";
346 nvidia,pull = <TEGRA_PIN_PULL_UP>;
347 nvidia,tristate = <TEGRA_PIN_DISABLE>;
348 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
351 nvidia,pins = "gmi_iordy_pi5";
352 nvidia,function = "rsvd1";
353 nvidia,pull = <TEGRA_PIN_PULL_UP>;
354 nvidia,tristate = <TEGRA_PIN_DISABLE>;
355 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
358 nvidia,pins = "gmi_cs7_n_pi6",
360 nvidia,function = "nand";
361 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
362 nvidia,tristate = <TEGRA_PIN_ENABLE>;
363 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
366 nvidia,pins = "gmi_a16_pj7",
368 nvidia,function = "uartd";
369 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
370 nvidia,tristate = <TEGRA_PIN_DISABLE>;
371 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
374 nvidia,pins = "spdif_out_pk5";
375 nvidia,function = "spdif";
376 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
377 nvidia,tristate = <TEGRA_PIN_DISABLE>;
378 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
381 nvidia,pins = "spdif_in_pk6";
382 nvidia,function = "spdif";
383 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
384 nvidia,tristate = <TEGRA_PIN_DISABLE>;
385 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
388 nvidia,pins = "dap1_fs_pn0",
392 nvidia,function = "i2s0";
393 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
394 nvidia,tristate = <TEGRA_PIN_DISABLE>;
395 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
398 nvidia,pins = "hdmi_int_pn7";
399 nvidia,function = "hdmi";
400 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
401 nvidia,tristate = <TEGRA_PIN_ENABLE>;
402 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
405 nvidia,pins = "ulpi_data7_po0";
406 nvidia,function = "uarta";
407 nvidia,pull = <TEGRA_PIN_PULL_UP>;
408 nvidia,tristate = <TEGRA_PIN_ENABLE>;
409 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
412 nvidia,pins = "ulpi_data3_po4";
413 nvidia,function = "ulpi";
414 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
415 nvidia,tristate = <TEGRA_PIN_DISABLE>;
416 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
419 nvidia,pins = "dap3_fs_pp0";
420 nvidia,function = "i2s2";
421 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
422 nvidia,tristate = <TEGRA_PIN_DISABLE>;
423 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
426 nvidia,pins = "dap4_fs_pp4",
430 nvidia,function = "i2s3";
431 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
432 nvidia,tristate = <TEGRA_PIN_DISABLE>;
433 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
436 nvidia,pins = "kb_col0_pq0",
439 nvidia,function = "kbc";
440 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
441 nvidia,tristate = <TEGRA_PIN_ENABLE>;
442 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
445 nvidia,pins = "kb_col2_pq2",
447 nvidia,function = "rsvd4";
448 nvidia,pull = <TEGRA_PIN_PULL_UP>;
449 nvidia,tristate = <TEGRA_PIN_ENABLE>;
450 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
453 nvidia,pins = "kb_col4_pq4",
460 nvidia,function = "kbc";
461 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
462 nvidia,tristate = <TEGRA_PIN_ENABLE>;
463 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
466 nvidia,pins = "kb_row0_pr0";
467 nvidia,function = "rsvd4";
468 nvidia,pull = <TEGRA_PIN_PULL_UP>;
469 nvidia,tristate = <TEGRA_PIN_DISABLE>;
470 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
473 nvidia,pins = "kb_row6_pr6",
477 nvidia,function = "kbc";
478 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
479 nvidia,tristate = <TEGRA_PIN_DISABLE>;
480 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
483 nvidia,pins = "kb_row11_ps3",
485 nvidia,function = "kbc";
486 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
487 nvidia,tristate = <TEGRA_PIN_DISABLE>;
488 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
491 nvidia,pins = "gen2_i2c_scl_pt5",
493 nvidia,function = "i2c2";
494 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
495 nvidia,tristate = <TEGRA_PIN_DISABLE>;
496 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
497 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
500 nvidia,pins = "sdmmc4_cmd_pt7",
509 nvidia,function = "sdmmc4";
510 nvidia,pull = <TEGRA_PIN_PULL_UP>;
511 nvidia,tristate = <TEGRA_PIN_DISABLE>;
512 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
517 nvidia,function = "rsvd4";
518 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
519 nvidia,tristate = <TEGRA_PIN_DISABLE>;
520 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
523 nvidia,pins = "jtag_rtck_pu7";
524 nvidia,function = "rtck";
525 nvidia,pull = <TEGRA_PIN_PULL_UP>;
526 nvidia,tristate = <TEGRA_PIN_DISABLE>;
527 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
531 nvidia,function = "rsvd1";
532 nvidia,pull = <TEGRA_PIN_PULL_UP>;
533 nvidia,tristate = <TEGRA_PIN_ENABLE>;
534 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
537 nvidia,pins = "ddc_scl_pv4",
539 nvidia,function = "i2c4";
540 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
541 nvidia,tristate = <TEGRA_PIN_DISABLE>;
542 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
545 nvidia,pins = "crt_hsync_pv6",
547 nvidia,function = "crt";
548 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
549 nvidia,tristate = <TEGRA_PIN_DISABLE>;
550 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
553 nvidia,pins = "spi2_cs1_n_pw2",
556 nvidia,function = "spi2";
557 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
558 nvidia,tristate = <TEGRA_PIN_DISABLE>;
559 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
562 nvidia,pins = "clk1_out_pw4";
563 nvidia,function = "extperiph1";
564 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
565 nvidia,tristate = <TEGRA_PIN_DISABLE>;
566 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
569 nvidia,pins = "clk2_out_pw5";
570 nvidia,function = "extperiph2";
571 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
572 nvidia,tristate = <TEGRA_PIN_DISABLE>;
573 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
576 nvidia,pins = "spi2_cs0_n_px3";
577 nvidia,function = "spi6";
578 nvidia,pull = <TEGRA_PIN_PULL_UP>;
579 nvidia,tristate = <TEGRA_PIN_DISABLE>;
580 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
583 nvidia,pins = "spi1_mosi_px4",
585 nvidia,function = "spi1";
586 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
587 nvidia,tristate = <TEGRA_PIN_DISABLE>;
588 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
591 nvidia,pins = "ulpi_clk_py0",
593 nvidia,function = "ulpi";
594 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
595 nvidia,tristate = <TEGRA_PIN_ENABLE>;
596 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
599 nvidia,pins = "sdmmc1_dat3_py4",
604 nvidia,function = "sdmmc1";
605 nvidia,pull = <TEGRA_PIN_PULL_UP>;
606 nvidia,tristate = <TEGRA_PIN_DISABLE>;
607 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
610 nvidia,pins = "sdmmc1_clk_pz0";
611 nvidia,function = "sdmmc1";
612 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
613 nvidia,tristate = <TEGRA_PIN_DISABLE>;
614 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
617 nvidia,pins = "lcd_wr_n_pz3";
618 nvidia,function = "displaya";
619 nvidia,pull = <TEGRA_PIN_PULL_UP>;
620 nvidia,tristate = <TEGRA_PIN_DISABLE>;
621 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
624 nvidia,pins = "sys_clk_req_pz5";
625 nvidia,function = "sysclk";
626 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
627 nvidia,tristate = <TEGRA_PIN_DISABLE>;
628 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
631 nvidia,pins = "pwr_i2c_scl_pz6",
633 nvidia,function = "i2cpwr";
634 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
635 nvidia,tristate = <TEGRA_PIN_DISABLE>;
636 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
637 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
640 nvidia,pins = "pbb0",
642 nvidia,function = "rsvd2";
643 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
644 nvidia,tristate = <TEGRA_PIN_DISABLE>;
645 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
648 nvidia,pins = "cam_i2c_scl_pbb1",
650 nvidia,function = "i2c3";
651 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
652 nvidia,tristate = <TEGRA_PIN_DISABLE>;
653 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
654 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
657 nvidia,pins = "pbb3";
658 nvidia,function = "vgp3";
659 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
660 nvidia,tristate = <TEGRA_PIN_DISABLE>;
661 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
664 nvidia,pins = "pbb4";
665 nvidia,function = "vgp4";
666 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
667 nvidia,tristate = <TEGRA_PIN_DISABLE>;
668 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
671 nvidia,pins = "pbb5";
672 nvidia,function = "vgp5";
673 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
674 nvidia,tristate = <TEGRA_PIN_DISABLE>;
675 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
678 nvidia,pins = "pbb6";
679 nvidia,function = "vgp6";
680 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
681 nvidia,tristate = <TEGRA_PIN_DISABLE>;
682 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
685 nvidia,pins = "pbb7",
687 nvidia,function = "i2s4";
688 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
689 nvidia,tristate = <TEGRA_PIN_DISABLE>;
690 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
693 nvidia,pins = "cam_mclk_pcc0";
694 nvidia,function = "vi_alt3";
695 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
696 nvidia,tristate = <TEGRA_PIN_DISABLE>;
697 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
700 nvidia,pins = "sdmmc4_rst_n_pcc3";
701 nvidia,function = "rsvd2";
702 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
703 nvidia,tristate = <TEGRA_PIN_DISABLE>;
704 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
707 nvidia,pins = "sdmmc4_clk_pcc4";
708 nvidia,function = "sdmmc4";
709 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
710 nvidia,tristate = <TEGRA_PIN_DISABLE>;
711 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
714 nvidia,pins = "clk2_req_pcc5";
715 nvidia,function = "dap";
716 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
717 nvidia,tristate = <TEGRA_PIN_DISABLE>;
718 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
721 nvidia,pins = "pex_l2_rst_n_pcc6",
722 "pex_l2_clkreq_n_pcc7";
723 nvidia,function = "pcie";
724 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
725 nvidia,tristate = <TEGRA_PIN_DISABLE>;
726 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
729 nvidia,pins = "pex_wake_n_pdd3",
730 "pex_l2_prsnt_n_pdd7";
731 nvidia,function = "pcie";
732 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
733 nvidia,tristate = <TEGRA_PIN_DISABLE>;
734 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
737 nvidia,pins = "clk3_out_pee0";
738 nvidia,function = "extperiph3";
739 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
740 nvidia,tristate = <TEGRA_PIN_DISABLE>;
741 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
744 nvidia,pins = "clk1_req_pee2";
745 nvidia,function = "dap";
746 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
747 nvidia,tristate = <TEGRA_PIN_ENABLE>;
748 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
751 nvidia,pins = "hdmi_cec_pee3";
752 nvidia,function = "cec";
753 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
754 nvidia,tristate = <TEGRA_PIN_DISABLE>;
755 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
756 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
760 nvidia,function = "owr";
761 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
762 nvidia,tristate = <TEGRA_PIN_DISABLE>;
763 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
766 nvidia,pins = "drive_dap1",
774 nvidia,high-speed-mode = <0>;
775 nvidia,schmitt = <TEGRA_PIN_ENABLE>;
776 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
777 nvidia,pull-down-strength = <31>;
778 nvidia,pull-up-strength = <31>;
779 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
780 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
783 nvidia,pins = "drive_sdio1",
785 nvidia,high-speed-mode = <0>;
786 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
787 nvidia,pull-down-strength = <46>;
788 nvidia,pull-up-strength = <42>;
789 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
790 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
793 nvidia,pins = "drive_gma",
797 nvidia,pull-down-strength = <9>;
798 nvidia,pull-up-strength = <9>;
799 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
800 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
805 uartb: serial@70006040 {
806 compatible = "nvidia,tegra30-hsuart";
810 uartc: serial@70006200 {
811 compatible = "nvidia,tegra30-hsuart";
814 nvidia,adjust-baud-rates = <0 9600 100>,
816 <1000000 4000000 136>;
818 /* Azurewave AW-NH665 BCM4330B1 */
820 compatible = "brcm,bcm4330-bt";
822 max-speed = <4000000>;
824 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
825 clock-names = "txco";
827 vbat-supply = <&vdd_3v3_sys>;
828 vddio-supply = <&vdd_1v8>;
830 device-wakeup-gpios = <&gpio TEGRA_GPIO(U, 1) GPIO_ACTIVE_HIGH>;
831 host-wakeup-gpios = <&gpio TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
832 shutdown-gpios = <&gpio TEGRA_GPIO(U, 0) GPIO_ACTIVE_HIGH>;
841 clock-frequency = <400000>;
845 compatible ="elan,ektf3624";
848 interrupt-parent = <&gpio>;
849 interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_LEVEL_LOW>;
851 reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
853 vcc33-supply = <&vcc_3v3_ts>;
854 vccio-supply = <&vcc_3v3_ts>;
856 touchscreen-size-x = <2112>;
857 touchscreen-size-y = <1280>;
858 touchscreen-swapped-x-y;
859 touchscreen-inverted-x;
864 clock-frequency = <100000>;
868 compatible = "asahi-kasei,ak8974";
871 interrupt-parent = <&gpio>;
872 interrupts = <TEGRA_GPIO(W, 0) IRQ_TYPE_EDGE_RISING>;
874 avdd-supply = <&vdd_3v3_sys>;
875 dvdd-supply = <&vdd_1v8>;
877 mount-matrix = "0", "-1", "0",
883 compatible = "dynaimage,al3010";
886 interrupt-parent = <&gpio>;
887 interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
889 vdd-supply = <&vdd_3v3_sys>;
893 compatible = "invensense,mpu6050";
896 interrupt-parent = <&gpio>;
897 interrupts = <TEGRA_GPIO(X, 1) IRQ_TYPE_EDGE_RISING>;
899 vdd-supply = <&vdd_3v3_sys>;
900 vddio-supply = <&vdd_1v8>;
902 mount-matrix = "0", "-1", "0",
909 clock-frequency = <100000>;
912 rt5640: audio-codec@1c {
913 compatible = "realtek,rt5640";
916 realtek,dmic1-data-pin = <1>;
919 nct72: temperature-sensor@4c {
920 compatible = "onnn,nct1008";
922 vcc-supply = <&vdd_3v3_sys>;
923 #thermal-sensor-cells = <1>;
927 compatible = "ti,bq27541";
929 power-supplies = <&power_supply>;
930 monitored-battery = <&battery_cell>;
933 power_supply: charger@6a {
934 compatible = "summit,smb347";
937 interrupt-parent = <&gpio>;
938 interrupts = <TEGRA_GPIO(V, 1) IRQ_TYPE_EDGE_BOTH>;
940 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
941 summit,enable-usb-charging;
943 monitored-battery = <&battery_cell>;
949 nvidia,invert-interrupt;
950 nvidia,suspend-mode = <1>;
951 nvidia,cpu-pwr-good-time = <2000>;
952 nvidia,cpu-pwr-off-time = <200>;
953 nvidia,core-pwr-good-time = <3845 3845>;
954 nvidia,core-pwr-off-time = <0>;
955 nvidia,core-power-req-active-high;
956 nvidia,sys-clock-req-active-high;
965 brcm_wifi_pwrseq: wifi-pwrseq {
966 compatible = "mmc-pwrseq-simple";
968 clocks = <&tegra_pmc TEGRA_PMC_CLK_BLINK>;
969 clock-names = "ext_clock";
971 reset-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_LOW>;
972 post-power-on-delay-ms = <300>;
973 power-off-delay-us = <300>;
976 sdmmc3: mmc@78000400 {
979 #address-cells = <1>;
982 assigned-clocks = <&tegra_car TEGRA30_CLK_SDMMC3>;
983 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_C>;
984 assigned-clock-rates = <50000000>;
986 max-frequency = <50000000>;
987 keep-power-in-suspend;
991 mmc-pwrseq = <&brcm_wifi_pwrseq>;
992 vmmc-supply = <&vdd_3v3_sys>;
993 vqmmc-supply = <&vdd_1v8>;
995 /* Azurewave AW-NH665 BCM4330 */
998 compatible = "brcm,bcm4329-fmac";
999 interrupt-parent = <&gpio>;
1000 interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_HIGH>;
1001 interrupt-names = "host-wake";
1005 sdmmc4: mmc@78000600 {
1008 vmmc-supply = <&vcore_emmc>;
1009 vqmmc-supply = <&vdd_1v8>;
1014 compatible = "nvidia,tegra30-udc";
1016 dr_mode = "peripheral";
1021 dr_mode = "peripheral";
1022 nvidia,hssync-start-delay = <0>;
1023 nvidia,xcvr-lsfslew = <2>;
1024 nvidia,xcvr-lsrslew = <2>;
1027 backlight: backlight {
1028 compatible = "pwm-backlight";
1030 power-supply = <&vdd_5v0_sys>;
1031 pwms = <&pwm 0 50000>;
1033 brightness-levels = <1 255>;
1034 num-interpolated-steps = <254>;
1035 default-brightness-level = <15>;
1038 battery_cell: battery-cell {
1039 compatible = "simple-battery";
1040 constant-charge-current-max-microamp = <1800000>;
1041 operating-range-celsius = <0 45>;
1044 /* PMIC has a built-in 32KHz oscillator which is used by PMC */
1045 clk32k_in: clock@0 {
1046 compatible = "fixed-clock";
1048 clock-frequency = <32768>;
1049 clock-output-names = "pmic-oscillator";
1054 cpu-supply = <&vdd_cpu>;
1055 operating-points-v2 = <&cpu0_opp_table>;
1056 #cooling-cells = <2>;
1060 cpu-supply = <&vdd_cpu>;
1061 operating-points-v2 = <&cpu0_opp_table>;
1065 cpu-supply = <&vdd_cpu>;
1066 operating-points-v2 = <&cpu0_opp_table>;
1070 cpu-supply = <&vdd_cpu>;
1071 operating-points-v2 = <&cpu0_opp_table>;
1077 * Nexus 7 supports two compatible panel models:
1079 * 1. hydis,hv070wx2-1e0
1080 * 2. chunghwa,claa070wp03xg
1082 * We want to use timing which is optimized for Nexus 7,
1083 * hence we need to customize the timing.
1085 compatible = "panel-lvds";
1087 power-supply = <&vdd_pnl>;
1088 backlight = <&backlight>;
1094 data-mapping = "jeida-24";
1097 panel_input: endpoint {
1098 remote-endpoint = <&lvds_encoder_output>;
1104 trusted-foundations {
1105 compatible = "tlm,trusted-foundations";
1106 tlm,version-major = <0x0>;
1107 tlm,version-minor = <0x0>;
1112 compatible = "gpio-keys";
1116 gpios = <&gpio TEGRA_GPIO(S, 6) GPIO_ACTIVE_LOW>;
1117 linux,input-type = <EV_SW>;
1118 linux,code = <SW_LID>;
1119 debounce-interval = <500>;
1120 wakeup-event-action = <EV_ACT_DEASSERTED>;
1126 gpios = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>;
1127 linux,code = <KEY_POWER>;
1128 debounce-interval = <10>;
1129 wakeup-event-action = <EV_ACT_ASSERTED>;
1134 label = "Volume Up";
1135 gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>;
1136 linux,code = <KEY_VOLUMEUP>;
1137 debounce-interval = <10>;
1138 wakeup-event-action = <EV_ACT_ASSERTED>;
1143 label = "Volume Down";
1144 gpios = <&gpio TEGRA_GPIO(Q, 3) GPIO_ACTIVE_LOW>;
1145 linux,code = <KEY_VOLUMEDOWN>;
1146 debounce-interval = <10>;
1147 wakeup-event-action = <EV_ACT_ASSERTED>;
1153 compatible = "ti,sn75lvds83", "lvds-encoder";
1155 powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
1156 power-supply = <&vdd_3v3_sys>;
1159 #address-cells = <1>;
1165 lvds_encoder_input: endpoint {
1166 remote-endpoint = <&lcd_output>;
1173 lvds_encoder_output: endpoint {
1174 remote-endpoint = <&panel_input>;
1180 vdd_5v0_sys: regulator@0 {
1181 compatible = "regulator-fixed";
1182 regulator-name = "vdd_5v0";
1183 regulator-min-microvolt = <5000000>;
1184 regulator-max-microvolt = <5000000>;
1185 regulator-always-on;
1189 vdd_3v3_sys: regulator@1 {
1190 compatible = "regulator-fixed";
1191 regulator-name = "vdd_3v3";
1192 regulator-min-microvolt = <3300000>;
1193 regulator-max-microvolt = <3300000>;
1194 regulator-always-on;
1196 vin-supply = <&vdd_5v0_sys>;
1199 vdd_pnl: regulator@2 {
1200 compatible = "regulator-fixed";
1201 regulator-name = "vdd_panel";
1202 regulator-min-microvolt = <3300000>;
1203 regulator-max-microvolt = <3300000>;
1204 regulator-enable-ramp-delay = <300000>;
1205 gpio = <&gpio TEGRA_GPIO(W, 1) GPIO_ACTIVE_HIGH>;
1207 vin-supply = <&vdd_3v3_sys>;
1210 vcc_3v3_ts: regulator@3 {
1211 compatible = "regulator-fixed";
1212 regulator-name = "ldo_s-1167_3v3";
1213 regulator-min-microvolt = <3300000>;
1214 regulator-max-microvolt = <3300000>;
1215 regulator-always-on;
1217 vin-supply = <&vdd_5v0_sys>;
1221 compatible = "nvidia,tegra-audio-rt5640-grouper",
1222 "nvidia,tegra-audio-rt5640";
1223 nvidia,model = "ASUS Google Nexus 7 ALC5642";
1225 nvidia,audio-routing =
1226 "Headphones", "HPOR",
1227 "Headphones", "HPOL",
1228 "Speakers", "SPORP",
1229 "Speakers", "SPORN",
1230 "Speakers", "SPOLP",
1231 "Speakers", "SPOLN",
1232 "DMIC1", "Mic Jack";
1234 nvidia,i2s-controller = <&tegra_i2s1>;
1235 nvidia,audio-codec = <&rt5640>;
1237 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
1239 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1240 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1241 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1242 clock-names = "pll_a", "pll_a_out0", "mclk";
1244 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1245 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1247 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1248 <&tegra_car TEGRA30_CLK_EXTERN1>;
1253 polling-delay-passive = <1000>; /* milliseconds */
1254 polling-delay = <0>; /* milliseconds */
1256 thermal-sensors = <&nct72 0>;
1260 polling-delay-passive = <1000>; /* milliseconds */
1261 polling-delay = <5000>; /* milliseconds */
1263 thermal-sensors = <&nct72 1>;
1267 /* throttle at 57C until temperature drops to 56.8C */
1268 temperature = <57000>;
1274 /* shut down at 60C */
1275 temperature = <60000>;
1276 hysteresis = <2000>;
1284 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;