1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 #include "tegra30.dtsi"
5 * Toradex Apalis T30 Module Device Tree
6 * Compatible for Revisions 1GB: V1.1A, V1.1B; 1GB IT: V1.1A, V1.1B;
11 reg = <0x80000000 0x40000000>;
16 avdd-pexa-supply = <&vdd2_reg>;
17 avdd-pexb-supply = <&vdd2_reg>;
18 avdd-pex-pll-supply = <&vdd2_reg>;
19 avdd-plle-supply = <&ldo6_reg>;
20 hvdd-pex-supply = <®_module_3v3>;
21 vddio-pex-ctl-supply = <®_module_3v3>;
22 vdd-pexa-supply = <&vdd2_reg>;
23 vdd-pexb-supply = <&vdd2_reg>;
25 /* Apalis type specific */
27 nvidia,num-lanes = <4>;
32 nvidia,num-lanes = <1>;
35 /* I210/I211 Gigabit Ethernet Controller (on-module) */
38 nvidia,num-lanes = <1>;
42 local-mac-address = [00 00 00 00 00 00];
49 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
51 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
52 pll-supply = <®_1v8_avdd_hdmi_pll>;
53 vdd-supply = <®_3v3_avdd_hdmi>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&state_default>;
61 state_default: pinmux {
62 /* Analogue Audio (On-module) */
64 nvidia,pins = "clk1_out_pw4";
65 nvidia,function = "extperiph1";
66 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
67 nvidia,tristate = <TEGRA_PIN_DISABLE>;
68 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
71 nvidia,pins = "dap3_fs_pp0",
75 nvidia,function = "i2s2";
76 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
77 nvidia,tristate = <TEGRA_PIN_DISABLE>;
83 nvidia,function = "rsvd4";
84 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
85 nvidia,tristate = <TEGRA_PIN_DISABLE>;
86 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
91 nvidia,pins = "uart3_rts_n_pc0";
92 nvidia,function = "pwm0";
93 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
94 nvidia,tristate = <TEGRA_PIN_DISABLE>;
95 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
97 /* BKL1_PWM_EN#, disable TPS65911 PMIC PWM backlight */
99 nvidia,pins = "uart3_cts_n_pa1";
100 nvidia,function = "rsvd2";
101 nvidia,pull = <TEGRA_PIN_PULL_UP>;
102 nvidia,tristate = <TEGRA_PIN_DISABLE>;
103 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
106 /* Apalis CAN1 on SPI6 */
108 nvidia,pins = "spi2_cs0_n_px3",
112 nvidia,function = "spi6";
113 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
114 nvidia,tristate = <TEGRA_PIN_DISABLE>;
118 nvidia,pins = "spi2_cs1_n_pw2";
119 nvidia,function = "spi3";
120 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
121 nvidia,tristate = <TEGRA_PIN_DISABLE>;
122 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
125 /* Apalis CAN2 on SPI4 */
127 nvidia,pins = "gmi_a16_pj7",
131 nvidia,function = "spi4";
132 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133 nvidia,tristate = <TEGRA_PIN_DISABLE>;
134 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
138 nvidia,pins = "spi2_cs2_n_pw3";
139 nvidia,function = "spi3";
140 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
141 nvidia,tristate = <TEGRA_PIN_DISABLE>;
142 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145 /* Apalis Digital Audio */
147 nvidia,pins = "clk1_req_pee2";
148 nvidia,function = "hda";
149 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
150 nvidia,tristate = <TEGRA_PIN_DISABLE>;
153 nvidia,pins = "clk2_out_pw5";
154 nvidia,function = "extperiph2";
155 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
156 nvidia,tristate = <TEGRA_PIN_DISABLE>;
157 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
160 nvidia,pins = "dap1_fs_pn0",
164 nvidia,function = "hda";
165 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
166 nvidia,tristate = <TEGRA_PIN_DISABLE>;
171 nvidia,pins = "kb_col0_pq0",
179 nvidia,function = "kbc";
180 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
181 nvidia,tristate = <TEGRA_PIN_DISABLE>;
182 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
184 /* Multiplexed and therefore disabled */
187 nvidia,function = "rsvd3";
188 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
189 nvidia,tristate = <TEGRA_PIN_ENABLE>;
190 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
195 nvidia,pins = "hdmi_cec_pee3";
196 nvidia,function = "cec";
197 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
198 nvidia,tristate = <TEGRA_PIN_DISABLE>;
199 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
200 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
203 nvidia,pins = "hdmi_int_pn7";
204 nvidia,function = "hdmi";
205 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
206 nvidia,tristate = <TEGRA_PIN_ENABLE>;
207 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
212 nvidia,pins = "gen1_i2c_scl_pc4",
214 nvidia,function = "i2c1";
215 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
216 nvidia,tristate = <TEGRA_PIN_DISABLE>;
217 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
218 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
221 /* Apalis I2C2 (DDC) */
223 nvidia,pins = "ddc_scl_pv4",
225 nvidia,function = "i2c4";
226 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
227 nvidia,tristate = <TEGRA_PIN_DISABLE>;
228 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
231 /* Apalis I2C3 (CAM) */
233 nvidia,pins = "cam_i2c_scl_pbb1",
235 nvidia,function = "i2c3";
236 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
237 nvidia,tristate = <TEGRA_PIN_DISABLE>;
238 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
239 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
244 nvidia,pins = "lcd_d0_pe0",
272 nvidia,function = "displaya";
273 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
274 nvidia,tristate = <TEGRA_PIN_DISABLE>;
275 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
280 nvidia,pins = "sdmmc3_clk_pa6";
281 nvidia,function = "sdmmc3";
282 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
283 nvidia,tristate = <TEGRA_PIN_DISABLE>;
286 nvidia,pins = "sdmmc3_cmd_pa7",
295 nvidia,function = "sdmmc3";
296 nvidia,pull = <TEGRA_PIN_PULL_UP>;
297 nvidia,tristate = <TEGRA_PIN_DISABLE>;
299 /* Apalis MMC1_CD# */
302 nvidia,function = "rsvd2";
303 nvidia,pull = <TEGRA_PIN_PULL_UP>;
304 nvidia,tristate = <TEGRA_PIN_DISABLE>;
305 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
308 /* Apalis Parallel Camera */
310 nvidia,pins = "cam_mclk_pcc0";
311 nvidia,function = "vi_alt3";
312 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
313 nvidia,tristate = <TEGRA_PIN_DISABLE>;
314 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
317 nvidia,pins = "vi_d0_pt4",
332 nvidia,function = "vi";
333 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
334 nvidia,tristate = <TEGRA_PIN_DISABLE>;
335 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
337 /* Multiplexed and therefore disabled */
339 nvidia,pins = "kb_col2_pq2",
343 nvidia,function = "rsvd4";
344 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
345 nvidia,tristate = <TEGRA_PIN_ENABLE>;
346 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
349 nvidia,pins = "kb_row0_pr0",
353 nvidia,function = "rsvd3";
354 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
355 nvidia,tristate = <TEGRA_PIN_ENABLE>;
356 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
359 nvidia,pins = "kb_row5_pr5",
362 nvidia,function = "kbc";
363 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
364 nvidia,tristate = <TEGRA_PIN_ENABLE>;
365 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
368 * VI level-shifter direction
369 * (pull-down => default direction input)
372 nvidia,pins = "vi_mclk_pt1";
373 nvidia,function = "vi_alt3";
374 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
375 nvidia,tristate = <TEGRA_PIN_ENABLE>;
376 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
382 nvidia,function = "pwm3";
383 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
384 nvidia,tristate = <TEGRA_PIN_DISABLE>;
390 nvidia,function = "pwm2";
391 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
392 nvidia,tristate = <TEGRA_PIN_DISABLE>;
398 nvidia,function = "pwm1";
399 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
400 nvidia,tristate = <TEGRA_PIN_DISABLE>;
406 nvidia,function = "pwm0";
407 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
408 nvidia,tristate = <TEGRA_PIN_DISABLE>;
411 /* Apalis RESET_MOCI# */
413 nvidia,pins = "gmi_rst_n_pi4";
414 nvidia,function = "gmi";
415 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
416 nvidia,tristate = <TEGRA_PIN_DISABLE>;
419 /* Apalis SATA1_ACT# */
420 pex-l0-prsnt-n-pdd0 {
421 nvidia,pins = "pex_l0_prsnt_n_pdd0";
422 nvidia,function = "rsvd3";
423 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
424 nvidia,tristate = <TEGRA_PIN_DISABLE>;
425 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
430 nvidia,pins = "sdmmc1_clk_pz0";
431 nvidia,function = "sdmmc1";
432 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
433 nvidia,tristate = <TEGRA_PIN_DISABLE>;
436 nvidia,pins = "sdmmc1_cmd_pz1",
441 nvidia,function = "sdmmc1";
442 nvidia,pull = <TEGRA_PIN_PULL_UP>;
443 nvidia,tristate = <TEGRA_PIN_DISABLE>;
447 nvidia,pins = "clk2_req_pcc5";
448 nvidia,function = "rsvd2";
449 nvidia,pull = <TEGRA_PIN_PULL_UP>;
450 nvidia,tristate = <TEGRA_PIN_DISABLE>;
451 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
456 nvidia,pins = "spdif_out_pk5",
458 nvidia,function = "spdif";
459 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
460 nvidia,tristate = <TEGRA_PIN_DISABLE>;
461 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
466 nvidia,pins = "spi1_sck_px5",
470 nvidia,function = "spi1";
471 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
472 nvidia,tristate = <TEGRA_PIN_DISABLE>;
477 nvidia,pins = "lcd_sck_pz4",
481 nvidia,function = "spi5";
482 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
483 nvidia,tristate = <TEGRA_PIN_DISABLE>;
487 * Apalis TS (Low-speed type specific)
488 * pins may be used as GPIOs
491 nvidia,pins = "kb_col5_pq5";
492 nvidia,function = "rsvd4";
493 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
494 nvidia,tristate = <TEGRA_PIN_DISABLE>;
495 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
498 nvidia,pins = "kb_col6_pq6",
502 nvidia,function = "kbc";
503 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
504 nvidia,tristate = <TEGRA_PIN_DISABLE>;
505 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
510 nvidia,pins = "ulpi_data0_po1",
518 nvidia,function = "uarta";
519 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
520 nvidia,tristate = <TEGRA_PIN_DISABLE>;
525 nvidia,pins = "ulpi_clk_py0",
529 nvidia,function = "uartd";
530 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
531 nvidia,tristate = <TEGRA_PIN_DISABLE>;
536 nvidia,pins = "uart2_rxd_pc3",
538 nvidia,function = "uartb";
539 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
540 nvidia,tristate = <TEGRA_PIN_DISABLE>;
545 nvidia,pins = "uart3_rxd_pw7",
547 nvidia,function = "uartc";
548 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
549 nvidia,tristate = <TEGRA_PIN_DISABLE>;
554 nvidia,pins = "pex_l0_rst_n_pdd1";
555 nvidia,function = "rsvd3";
556 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
557 nvidia,tristate = <TEGRA_PIN_DISABLE>;
558 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
561 /* Apalis USBH_OC# */
562 pex-l0-clkreq-n-pdd2 {
563 nvidia,pins = "pex_l0_clkreq_n_pdd2";
564 nvidia,function = "rsvd3";
565 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
566 nvidia,tristate = <TEGRA_PIN_DISABLE>;
567 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
570 /* Apalis USBO1_EN */
572 nvidia,pins = "gen2_i2c_scl_pt5";
573 nvidia,function = "rsvd4";
574 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
575 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
576 nvidia,tristate = <TEGRA_PIN_DISABLE>;
579 /* Apalis USBO1_OC# */
581 nvidia,pins = "gen2_i2c_sda_pt6";
582 nvidia,function = "rsvd4";
583 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
584 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
585 nvidia,tristate = <TEGRA_PIN_DISABLE>;
586 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
589 /* Apalis VGA1 not supported and therefore disabled */
591 nvidia,pins = "crt_hsync_pv6",
593 nvidia,function = "rsvd2";
594 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
595 nvidia,tristate = <TEGRA_PIN_ENABLE>;
596 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
599 /* Apalis WAKE1_MICO */
602 nvidia,function = "rsvd1";
603 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
604 nvidia,tristate = <TEGRA_PIN_DISABLE>;
605 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
608 /* eMMC (On-module) */
610 nvidia,pins = "sdmmc4_clk_pcc4",
613 nvidia,function = "sdmmc4";
614 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
615 nvidia,tristate = <TEGRA_PIN_DISABLE>;
616 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
619 nvidia,pins = "sdmmc4_dat0_paa0",
627 nvidia,function = "sdmmc4";
628 nvidia,pull = <TEGRA_PIN_PULL_UP>;
629 nvidia,tristate = <TEGRA_PIN_DISABLE>;
630 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
635 nvidia,pins = "uart2_cts_n_pj5";
636 nvidia,function = "gmi";
637 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
638 nvidia,tristate = <TEGRA_PIN_DISABLE>;
639 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
642 /* LAN i210/i211 DEV_OFF_N, PE_RST_N (On-module) */
643 pex-l2-prsnt-n-pdd7 {
644 nvidia,pins = "pex_l2_prsnt_n_pdd7",
646 nvidia,function = "pcie";
647 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
648 nvidia,tristate = <TEGRA_PIN_DISABLE>;
649 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
651 /* LAN i210/i211 PE_WAKE_N, SDP3 (On-module) */
653 nvidia,pins = "pex_wake_n_pdd3",
654 "pex_l2_clkreq_n_pcc7";
655 nvidia,function = "pcie";
656 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
657 nvidia,tristate = <TEGRA_PIN_DISABLE>;
658 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
660 /* LAN i210/i211 SMB_ALERT_N (On-module) */
662 nvidia,pins = "sys_clk_req_pz5";
663 nvidia,function = "rsvd2";
664 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
665 nvidia,tristate = <TEGRA_PIN_DISABLE>;
666 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
669 /* LVDS Transceiver Configuration */
671 nvidia,pins = "pbb0",
675 nvidia,function = "rsvd2";
676 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
677 nvidia,tristate = <TEGRA_PIN_DISABLE>;
678 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
681 nvidia,pins = "pbb3",
685 nvidia,function = "displayb";
686 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
687 nvidia,tristate = <TEGRA_PIN_DISABLE>;
688 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
691 /* Not connected and therefore disabled */
693 nvidia,pins = "clk3_out_pee0",
700 nvidia,function = "rsvd2";
701 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
702 nvidia,tristate = <TEGRA_PIN_ENABLE>;
703 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
706 nvidia,pins = "dap2_fs_pa2",
713 "pex_l1_clkreq_n_pdd6",
714 "pex_l1_prsnt_n_pdd4",
716 nvidia,function = "rsvd3";
717 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
718 nvidia,tristate = <TEGRA_PIN_ENABLE>;
719 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
722 nvidia,pins = "gmi_ad0_pg0",
750 nvidia,function = "rsvd4";
751 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
752 nvidia,tristate = <TEGRA_PIN_ENABLE>;
753 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
756 nvidia,pins = "gmi_cs0_n_pj0",
759 nvidia,function = "rsvd1";
760 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
761 nvidia,tristate = <TEGRA_PIN_ENABLE>;
762 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
765 nvidia,pins = "gmi_cs6_n_pi3";
766 nvidia,function = "sata";
767 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
768 nvidia,tristate = <TEGRA_PIN_ENABLE>;
769 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
772 nvidia,pins = "gmi_cs7_n_pi6";
773 nvidia,function = "gmi_alt";
774 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
775 nvidia,tristate = <TEGRA_PIN_ENABLE>;
776 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
779 nvidia,pins = "lcd_pwr0_pb2",
782 nvidia,function = "hdcp";
783 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
784 nvidia,tristate = <TEGRA_PIN_ENABLE>;
785 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
788 nvidia,pins = "uart2_rts_n_pj6";
789 nvidia,function = "gmi";
790 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
791 nvidia,tristate = <TEGRA_PIN_ENABLE>;
792 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
795 /* Power I2C (On-module) */
797 nvidia,pins = "pwr_i2c_scl_pz6",
799 nvidia,function = "i2cpwr";
800 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
801 nvidia,tristate = <TEGRA_PIN_DISABLE>;
802 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
803 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
807 * THERMD_ALERT#, unlatched I2C address pin of LM95245
808 * temperature sensor therefore requires disabling for
812 nvidia,pins = "lcd_dc1_pd2";
813 nvidia,function = "rsvd3";
814 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
815 nvidia,tristate = <TEGRA_PIN_ENABLE>;
816 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
819 /* TOUCH_PEN_INT# (On-module) */
822 nvidia,function = "rsvd1";
823 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
824 nvidia,tristate = <TEGRA_PIN_DISABLE>;
825 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
831 compatible = "nvidia,tegra30-hsuart";
835 compatible = "nvidia,tegra30-hsuart";
839 compatible = "nvidia,tegra30-hsuart";
842 hdmi_ddc: i2c@7000c700 {
843 clock-frequency = <10000>;
847 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
848 * touch screen controller
852 clock-frequency = <100000>;
854 /* SGTL5000 audio codec */
856 compatible = "fsl,sgtl5000";
858 #sound-dai-cells = <0>;
859 VDDA-supply = <®_module_3v3_audio>;
860 VDDD-supply = <®_1v8_vio>;
861 VDDIO-supply = <®_module_3v3>;
862 clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
866 compatible = "ti,tps65911";
869 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
870 #interrupt-cells = <2>;
871 interrupt-controller;
873 ti,system-power-controller;
878 vcc1-supply = <®_module_3v3>;
879 vcc2-supply = <®_module_3v3>;
880 vcc3-supply = <®_1v8_vio>;
881 vcc4-supply = <®_module_3v3>;
882 vcc5-supply = <®_module_3v3>;
883 vcc6-supply = <®_1v8_vio>;
884 vcc7-supply = <®_5v0_charge_pump>;
885 vccio-supply = <®_module_3v3>;
889 regulator-name = "+V1.35_VDDIO_DDR";
890 regulator-min-microvolt = <1350000>;
891 regulator-max-microvolt = <1350000>;
896 regulator-name = "+V1.05";
897 regulator-min-microvolt = <1050000>;
898 regulator-max-microvolt = <1050000>;
901 vddctrl_reg: vddctrl {
902 regulator-name = "+V1.0_VDD_CPU";
903 regulator-min-microvolt = <1150000>;
904 regulator-max-microvolt = <1150000>;
909 regulator-name = "+V1.8";
910 regulator-min-microvolt = <1800000>;
911 regulator-max-microvolt = <1800000>;
916 * 1.8 volt +VDDIO_SDMMC3 in case EN_+3.3_SDMMC3
919 vddio_sdmmc_1v8_reg: ldo1 {
920 regulator-name = "+VDDIO_SDMMC3_1V8";
921 regulator-min-microvolt = <1800000>;
922 regulator-max-microvolt = <1800000>;
927 * EN_+V3.3 switching via FET:
928 * +V3.3_AUDIO_AVDD_S, +V3.3
929 * see also +V3.3 fixed supply
932 regulator-name = "EN_+V3.3";
933 regulator-min-microvolt = <3300000>;
934 regulator-max-microvolt = <3300000>;
939 regulator-name = "+V1.2_CSI";
940 regulator-min-microvolt = <1200000>;
941 regulator-max-microvolt = <1200000>;
945 regulator-name = "+V1.2_VDD_RTC";
946 regulator-min-microvolt = <1200000>;
947 regulator-max-microvolt = <1200000>;
953 * only required for (unsupported) analog RGB
956 regulator-name = "+V2.8_AVDD_VDAC";
957 regulator-min-microvolt = <2800000>;
958 regulator-max-microvolt = <2800000>;
963 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
964 * but LDO6 can't set voltage in 50mV
968 regulator-name = "+V1.05_AVDD_PLLE";
969 regulator-min-microvolt = <1100000>;
970 regulator-max-microvolt = <1100000>;
974 regulator-name = "+V1.2_AVDD_PLL";
975 regulator-min-microvolt = <1200000>;
976 regulator-max-microvolt = <1200000>;
981 regulator-name = "+V1.0_VDD_DDR_HS";
982 regulator-min-microvolt = <1000000>;
983 regulator-max-microvolt = <1000000>;
989 /* STMPE811 touch screen controller */
991 compatible = "st,stmpe811";
993 irq-gpio = <&gpio TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>;
994 interrupt-controller;
998 /* 3.25 MHz ADC clock speed */
1002 /* internal ADC reference */
1004 /* ADC converstion time: 80 clocks */
1005 st,sample-time = <4>;
1008 compatible = "st,stmpe-ts";
1009 /* 8 sample average control */
1011 /* 7 length fractional part in z */
1012 st,fraction-z = <7>;
1014 * 50 mA typical 80 mA max touchscreen drivers
1015 * current limit value
1018 /* 1 ms panel driver settling time */
1020 /* 5 ms touch detect interrupt delay */
1021 st,touch-det-delay = <5>;
1025 compatible = "st,stmpe-adc";
1026 /* forbid to use ADC channels 3-0 (touch) */
1027 st,norequest-mask = <0x0F>;
1032 * LM95245 temperature sensor
1033 * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN
1036 compatible = "national,lm95245";
1040 /* SW: +V1.2_VDD_CORE */
1042 compatible = "ti,tps62362";
1045 regulator-name = "tps62362-vout";
1046 regulator-min-microvolt = <900000>;
1047 regulator-max-microvolt = <1400000>;
1049 regulator-always-on;
1051 /* VSEL1: EN_CORE_DVFS_N low for DVFS */
1059 spi-max-frequency = <10000000>;
1062 compatible = "microchip,mcp2515";
1065 interrupt-parent = <&gpio>;
1066 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
1067 spi-max-frequency = <10000000>;
1074 spi-max-frequency = <10000000>;
1077 compatible = "microchip,mcp2515";
1080 interrupt-parent = <&gpio>;
1081 interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_FALLING>;
1082 spi-max-frequency = <10000000>;
1087 nvidia,invert-interrupt;
1088 nvidia,suspend-mode = <1>;
1089 nvidia,cpu-pwr-good-time = <5000>;
1090 nvidia,cpu-pwr-off-time = <5000>;
1091 nvidia,core-pwr-good-time = <3845 3845>;
1092 nvidia,core-pwr-off-time = <0>;
1093 nvidia,core-power-req-active-high;
1094 nvidia,sys-clock-req-active-high;
1096 /* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */
1098 nvidia,i2c-controller-id = <4>;
1099 nvidia,bus-addr = <0x2d>;
1100 nvidia,reg-addr = <0x3f>;
1101 nvidia,reg-data = <0x1>;
1120 vmmc-supply = <®_module_3v3>; /* VCC */
1121 vqmmc-supply = <®_1v8_vio>; /* VCCQ */
1126 compatible = "fixed-clock";
1128 clock-frequency = <32768>;
1132 compatible = "fixed-clock";
1134 clock-frequency = <16000000>;
1137 reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
1138 compatible = "regulator-fixed";
1139 regulator-name = "+V1.8_AVDD_HDMI_PLL";
1140 regulator-min-microvolt = <1800000>;
1141 regulator-max-microvolt = <1800000>;
1143 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1144 vin-supply = <®_1v8_vio>;
1147 reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
1148 compatible = "regulator-fixed";
1149 regulator-name = "+V3.3_AVDD_HDMI";
1150 regulator-min-microvolt = <3300000>;
1151 regulator-max-microvolt = <3300000>;
1153 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1154 vin-supply = <®_module_3v3>;
1157 reg_5v0_charge_pump: regulator-5v0-charge-pump {
1158 compatible = "regulator-fixed";
1159 regulator-name = "+V5.0";
1160 regulator-min-microvolt = <5000000>;
1161 regulator-max-microvolt = <5000000>;
1162 regulator-always-on;
1165 reg_module_3v3: regulator-module-3v3 {
1166 compatible = "regulator-fixed";
1167 regulator-name = "+V3.3";
1168 regulator-min-microvolt = <3300000>;
1169 regulator-max-microvolt = <3300000>;
1170 regulator-always-on;
1173 reg_module_3v3_audio: regulator-module-3v3-audio {
1174 compatible = "regulator-fixed";
1175 regulator-name = "+V3.3_AUDIO_AVDD_S";
1176 regulator-min-microvolt = <3300000>;
1177 regulator-max-microvolt = <3300000>;
1178 regulator-always-on;
1182 compatible = "toradex,tegra-audio-sgtl5000-apalis_t30",
1183 "nvidia,tegra-audio-sgtl5000";
1184 nvidia,model = "Toradex Apalis T30";
1185 nvidia,audio-routing =
1186 "Headphone Jack", "HP_OUT",
1187 "LINE_IN", "Line In Jack",
1188 "MIC_IN", "Mic Jack";
1189 nvidia,i2s-controller = <&tegra_i2s2>;
1190 nvidia,audio-codec = <&sgtl5000>;
1191 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1192 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1193 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1194 clock-names = "pll_a", "pll_a_out0", "mclk";
1196 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1197 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1199 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1200 <&tegra_car TEGRA30_CLK_EXTERN1>;