1 // SPDX-License-Identifier: GPL-2.0
2 #include "tegra30.dtsi"
5 * Toradex Apalis T30 Module Device Tree
6 * Compatible for Revisions 1GB: V1.0A; 2GB: V1.0B, V1.0C, V1.0E
10 reg = <0x80000000 0x40000000>;
15 avdd-pexa-supply = <&vdd2_reg>;
16 avdd-pexb-supply = <&vdd2_reg>;
17 avdd-pex-pll-supply = <&vdd2_reg>;
18 avdd-plle-supply = <&ldo6_reg>;
19 hvdd-pex-supply = <®_module_3v3>;
20 vddio-pex-ctl-supply = <®_module_3v3>;
21 vdd-pexa-supply = <&vdd2_reg>;
22 vdd-pexb-supply = <&vdd2_reg>;
24 /* Apalis type specific */
26 nvidia,num-lanes = <4>;
31 nvidia,num-lanes = <1>;
34 /* I210/I211 Gigabit Ethernet Controller (on-module) */
37 nvidia,num-lanes = <1>;
41 local-mac-address = [00 00 00 00 00 00];
48 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
50 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
51 pll-supply = <®_1v8_avdd_hdmi_pll>;
52 vdd-supply = <®_3v3_avdd_hdmi>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&state_default>;
60 state_default: pinmux {
61 /* Analogue Audio (On-module) */
63 nvidia,pins = "clk1_out_pw4";
64 nvidia,function = "extperiph1";
65 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
66 nvidia,tristate = <TEGRA_PIN_DISABLE>;
67 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
70 nvidia,pins = "dap3_fs_pp0",
74 nvidia,function = "i2s2";
75 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
76 nvidia,tristate = <TEGRA_PIN_DISABLE>;
82 nvidia,function = "rsvd4";
83 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
84 nvidia,tristate = <TEGRA_PIN_DISABLE>;
85 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
90 nvidia,pins = "uart3_rts_n_pc0";
91 nvidia,function = "pwm0";
92 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
93 nvidia,tristate = <TEGRA_PIN_DISABLE>;
94 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
96 /* BKL1_PWM_EN#, disable TPS65911 PMIC PWM backlight */
98 nvidia,pins = "uart3_cts_n_pa1";
99 nvidia,function = "rsvd2";
100 nvidia,pull = <TEGRA_PIN_PULL_UP>;
101 nvidia,tristate = <TEGRA_PIN_DISABLE>;
102 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
105 /* Apalis CAN1 on SPI6 */
107 nvidia,pins = "spi2_cs0_n_px3",
111 nvidia,function = "spi6";
112 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
113 nvidia,tristate = <TEGRA_PIN_DISABLE>;
117 nvidia,pins = "spi2_cs1_n_pw2";
118 nvidia,function = "spi3";
119 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
120 nvidia,tristate = <TEGRA_PIN_DISABLE>;
121 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
124 /* Apalis CAN2 on SPI4 */
126 nvidia,pins = "gmi_a16_pj7",
130 nvidia,function = "spi4";
131 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
132 nvidia,tristate = <TEGRA_PIN_DISABLE>;
133 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
137 nvidia,pins = "spi2_cs2_n_pw3";
138 nvidia,function = "spi3";
139 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
140 nvidia,tristate = <TEGRA_PIN_DISABLE>;
141 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
144 /* Apalis Digital Audio */
146 nvidia,pins = "clk1_req_pee2";
147 nvidia,function = "hda";
148 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
149 nvidia,tristate = <TEGRA_PIN_DISABLE>;
152 nvidia,pins = "clk2_out_pw5";
153 nvidia,function = "extperiph2";
154 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
155 nvidia,tristate = <TEGRA_PIN_DISABLE>;
156 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
159 nvidia,pins = "dap1_fs_pn0",
163 nvidia,function = "hda";
164 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
165 nvidia,tristate = <TEGRA_PIN_DISABLE>;
170 nvidia,pins = "kb_col0_pq0",
178 nvidia,function = "kbc";
179 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
180 nvidia,tristate = <TEGRA_PIN_DISABLE>;
181 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
183 /* Multiplexed and therefore disabled */
186 nvidia,function = "rsvd3";
187 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
188 nvidia,tristate = <TEGRA_PIN_ENABLE>;
189 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
194 nvidia,pins = "hdmi_cec_pee3";
195 nvidia,function = "cec";
196 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
197 nvidia,tristate = <TEGRA_PIN_DISABLE>;
198 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
199 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
202 nvidia,pins = "hdmi_int_pn7";
203 nvidia,function = "hdmi";
204 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
205 nvidia,tristate = <TEGRA_PIN_ENABLE>;
206 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
211 nvidia,pins = "gen1_i2c_scl_pc4",
213 nvidia,function = "i2c1";
214 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
215 nvidia,tristate = <TEGRA_PIN_DISABLE>;
216 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
217 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
220 /* Apalis I2C2 (DDC) */
222 nvidia,pins = "ddc_scl_pv4",
224 nvidia,function = "i2c4";
225 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
226 nvidia,tristate = <TEGRA_PIN_DISABLE>;
227 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
230 /* Apalis I2C3 (CAM) */
232 nvidia,pins = "cam_i2c_scl_pbb1",
234 nvidia,function = "i2c3";
235 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
236 nvidia,tristate = <TEGRA_PIN_DISABLE>;
237 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
238 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
243 nvidia,pins = "lcd_d0_pe0",
271 nvidia,function = "displaya";
272 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
273 nvidia,tristate = <TEGRA_PIN_DISABLE>;
274 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
279 nvidia,pins = "sdmmc3_clk_pa6";
280 nvidia,function = "sdmmc3";
281 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
282 nvidia,tristate = <TEGRA_PIN_DISABLE>;
285 nvidia,pins = "sdmmc3_cmd_pa7",
294 nvidia,function = "sdmmc3";
295 nvidia,pull = <TEGRA_PIN_PULL_UP>;
296 nvidia,tristate = <TEGRA_PIN_DISABLE>;
298 /* Apalis MMC1_CD# */
301 nvidia,function = "rsvd2";
302 nvidia,pull = <TEGRA_PIN_PULL_UP>;
303 nvidia,tristate = <TEGRA_PIN_DISABLE>;
304 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
307 /* Apalis Parallel Camera */
309 nvidia,pins = "cam_mclk_pcc0";
310 nvidia,function = "vi_alt3";
311 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
312 nvidia,tristate = <TEGRA_PIN_DISABLE>;
313 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
316 nvidia,pins = "vi_d0_pt4",
331 nvidia,function = "vi";
332 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
333 nvidia,tristate = <TEGRA_PIN_DISABLE>;
334 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
336 /* Multiplexed and therefore disabled */
338 nvidia,pins = "kb_col2_pq2",
342 nvidia,function = "rsvd4";
343 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
344 nvidia,tristate = <TEGRA_PIN_ENABLE>;
345 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
348 nvidia,pins = "kb_row0_pr0",
352 nvidia,function = "rsvd3";
353 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
354 nvidia,tristate = <TEGRA_PIN_ENABLE>;
355 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
358 nvidia,pins = "kb_row5_pr5",
361 nvidia,function = "kbc";
362 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
363 nvidia,tristate = <TEGRA_PIN_ENABLE>;
364 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
367 * VI level-shifter direction
368 * (pull-down => default direction input)
371 nvidia,pins = "vi_mclk_pt1";
372 nvidia,function = "vi_alt3";
373 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
374 nvidia,tristate = <TEGRA_PIN_ENABLE>;
375 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
381 nvidia,function = "pwm3";
382 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
383 nvidia,tristate = <TEGRA_PIN_DISABLE>;
389 nvidia,function = "pwm2";
390 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
391 nvidia,tristate = <TEGRA_PIN_DISABLE>;
397 nvidia,function = "pwm1";
398 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
399 nvidia,tristate = <TEGRA_PIN_DISABLE>;
405 nvidia,function = "pwm0";
406 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
407 nvidia,tristate = <TEGRA_PIN_DISABLE>;
410 /* Apalis RESET_MOCI# */
412 nvidia,pins = "gmi_rst_n_pi4";
413 nvidia,function = "gmi";
414 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
415 nvidia,tristate = <TEGRA_PIN_DISABLE>;
418 /* Apalis SATA1_ACT# */
419 pex-l0-prsnt-n-pdd0 {
420 nvidia,pins = "pex_l0_prsnt_n_pdd0";
421 nvidia,function = "rsvd3";
422 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
423 nvidia,tristate = <TEGRA_PIN_DISABLE>;
424 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
429 nvidia,pins = "sdmmc1_clk_pz0";
430 nvidia,function = "sdmmc1";
431 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
432 nvidia,tristate = <TEGRA_PIN_DISABLE>;
435 nvidia,pins = "sdmmc1_cmd_pz1",
440 nvidia,function = "sdmmc1";
441 nvidia,pull = <TEGRA_PIN_PULL_UP>;
442 nvidia,tristate = <TEGRA_PIN_DISABLE>;
446 nvidia,pins = "clk2_req_pcc5";
447 nvidia,function = "rsvd2";
448 nvidia,pull = <TEGRA_PIN_PULL_UP>;
449 nvidia,tristate = <TEGRA_PIN_DISABLE>;
450 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
455 nvidia,pins = "spdif_out_pk5",
457 nvidia,function = "spdif";
458 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
459 nvidia,tristate = <TEGRA_PIN_DISABLE>;
460 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
465 nvidia,pins = "spi1_sck_px5",
469 nvidia,function = "spi1";
470 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
471 nvidia,tristate = <TEGRA_PIN_DISABLE>;
476 nvidia,pins = "lcd_sck_pz4",
480 nvidia,function = "spi5";
481 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
482 nvidia,tristate = <TEGRA_PIN_DISABLE>;
486 * Apalis TS (Low-speed type specific)
487 * pins may be used as GPIOs
490 nvidia,pins = "kb_col5_pq5";
491 nvidia,function = "rsvd4";
492 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
493 nvidia,tristate = <TEGRA_PIN_DISABLE>;
494 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
497 nvidia,pins = "kb_col6_pq6",
501 nvidia,function = "kbc";
502 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
503 nvidia,tristate = <TEGRA_PIN_DISABLE>;
504 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
509 nvidia,pins = "ulpi_data0_po1",
517 nvidia,function = "uarta";
518 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
519 nvidia,tristate = <TEGRA_PIN_DISABLE>;
524 nvidia,pins = "ulpi_clk_py0",
528 nvidia,function = "uartd";
529 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
530 nvidia,tristate = <TEGRA_PIN_DISABLE>;
535 nvidia,pins = "uart2_rxd_pc3",
537 nvidia,function = "uartb";
538 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
539 nvidia,tristate = <TEGRA_PIN_DISABLE>;
544 nvidia,pins = "uart3_rxd_pw7",
546 nvidia,function = "uartc";
547 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
548 nvidia,tristate = <TEGRA_PIN_DISABLE>;
553 nvidia,pins = "pex_l0_rst_n_pdd1";
554 nvidia,function = "rsvd3";
555 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
556 nvidia,tristate = <TEGRA_PIN_DISABLE>;
557 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
560 /* Apalis USBH_OC# */
561 pex-l0-clkreq-n-pdd2 {
562 nvidia,pins = "pex_l0_clkreq_n_pdd2";
563 nvidia,function = "rsvd3";
564 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
565 nvidia,tristate = <TEGRA_PIN_DISABLE>;
566 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
569 /* Apalis USBO1_EN */
571 nvidia,pins = "gen2_i2c_scl_pt5";
572 nvidia,function = "rsvd4";
573 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
574 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
575 nvidia,tristate = <TEGRA_PIN_DISABLE>;
578 /* Apalis USBO1_OC# */
580 nvidia,pins = "gen2_i2c_sda_pt6";
581 nvidia,function = "rsvd4";
582 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
583 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
584 nvidia,tristate = <TEGRA_PIN_DISABLE>;
585 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
588 /* Apalis VGA1 not supported and therefore disabled */
590 nvidia,pins = "crt_hsync_pv6",
592 nvidia,function = "rsvd2";
593 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
594 nvidia,tristate = <TEGRA_PIN_ENABLE>;
595 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
598 /* Apalis WAKE1_MICO */
601 nvidia,function = "rsvd1";
602 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
603 nvidia,tristate = <TEGRA_PIN_DISABLE>;
604 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
607 /* eMMC (On-module) */
609 nvidia,pins = "sdmmc4_clk_pcc4",
612 nvidia,function = "sdmmc4";
613 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
614 nvidia,tristate = <TEGRA_PIN_DISABLE>;
615 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
618 nvidia,pins = "sdmmc4_dat0_paa0",
626 nvidia,function = "sdmmc4";
627 nvidia,pull = <TEGRA_PIN_PULL_UP>;
628 nvidia,tristate = <TEGRA_PIN_DISABLE>;
629 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
632 /* LAN i210/i211 DEV_OFF_N, PE_RST_N (On-module) */
633 pex-l2-prsnt-n-pdd7 {
634 nvidia,pins = "pex_l2_prsnt_n_pdd7",
636 nvidia,function = "pcie";
637 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
638 nvidia,tristate = <TEGRA_PIN_DISABLE>;
639 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
641 /* LAN i210/i211 PE_WAKE_N, SDP3 (On-module) */
643 nvidia,pins = "pex_wake_n_pdd3",
644 "pex_l2_clkreq_n_pcc7";
645 nvidia,function = "pcie";
646 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
647 nvidia,tristate = <TEGRA_PIN_DISABLE>;
648 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
650 /* LAN i210/i211 SMB_ALERT_N (On-module) */
652 nvidia,pins = "sys_clk_req_pz5";
653 nvidia,function = "rsvd2";
654 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
655 nvidia,tristate = <TEGRA_PIN_DISABLE>;
656 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
659 /* LVDS Transceiver Configuration */
661 nvidia,pins = "pbb0",
665 nvidia,function = "rsvd2";
666 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
667 nvidia,tristate = <TEGRA_PIN_DISABLE>;
668 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
671 nvidia,pins = "pbb3",
675 nvidia,function = "displayb";
676 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
677 nvidia,tristate = <TEGRA_PIN_DISABLE>;
678 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
681 /* Not connected and therefore disabled */
683 nvidia,pins = "clk3_out_pee0",
690 nvidia,function = "rsvd2";
691 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
692 nvidia,tristate = <TEGRA_PIN_ENABLE>;
693 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
696 nvidia,pins = "dap2_fs_pa2",
703 "pex_l1_clkreq_n_pdd6",
704 "pex_l1_prsnt_n_pdd4",
706 nvidia,function = "rsvd3";
707 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
708 nvidia,tristate = <TEGRA_PIN_ENABLE>;
709 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
712 nvidia,pins = "gmi_ad0_pg0",
740 nvidia,function = "rsvd4";
741 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
742 nvidia,tristate = <TEGRA_PIN_ENABLE>;
743 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
746 nvidia,pins = "gmi_cs0_n_pj0",
749 nvidia,function = "rsvd1";
750 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
751 nvidia,tristate = <TEGRA_PIN_ENABLE>;
752 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
755 nvidia,pins = "gmi_cs6_n_pi3";
756 nvidia,function = "sata";
757 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
758 nvidia,tristate = <TEGRA_PIN_ENABLE>;
759 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
762 nvidia,pins = "gmi_cs7_n_pi6";
763 nvidia,function = "gmi_alt";
764 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
765 nvidia,tristate = <TEGRA_PIN_ENABLE>;
766 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
769 nvidia,pins = "lcd_pwr0_pb2",
772 nvidia,function = "hdcp";
773 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
774 nvidia,tristate = <TEGRA_PIN_ENABLE>;
775 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
778 nvidia,pins = "uart2_cts_n_pj5",
780 nvidia,function = "gmi";
781 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
782 nvidia,tristate = <TEGRA_PIN_ENABLE>;
783 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
786 /* Power I2C (On-module) */
788 nvidia,pins = "pwr_i2c_scl_pz6",
790 nvidia,function = "i2cpwr";
791 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
792 nvidia,tristate = <TEGRA_PIN_DISABLE>;
793 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
794 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
798 * THERMD_ALERT#, unlatched I2C address pin of LM95245
799 * temperature sensor therefore requires disabling for
803 nvidia,pins = "lcd_dc1_pd2";
804 nvidia,function = "rsvd3";
805 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
806 nvidia,tristate = <TEGRA_PIN_ENABLE>;
807 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
810 /* TOUCH_PEN_INT# (On-module) */
813 nvidia,function = "rsvd1";
814 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
815 nvidia,tristate = <TEGRA_PIN_DISABLE>;
816 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
822 compatible = "nvidia,tegra30-hsuart";
826 compatible = "nvidia,tegra30-hsuart";
830 compatible = "nvidia,tegra30-hsuart";
833 hdmi_ddc: i2c@7000c700 {
834 clock-frequency = <10000>;
838 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
839 * touch screen controller
843 clock-frequency = <100000>;
845 /* SGTL5000 audio codec */
847 compatible = "fsl,sgtl5000";
849 #sound-dai-cells = <0>;
850 VDDA-supply = <®_module_3v3_audio>;
851 VDDD-supply = <®_1v8_vio>;
852 VDDIO-supply = <®_module_3v3>;
853 clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
857 compatible = "ti,tps65911";
860 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
861 #interrupt-cells = <2>;
862 interrupt-controller;
864 ti,system-power-controller;
869 vcc1-supply = <®_module_3v3>;
870 vcc2-supply = <®_module_3v3>;
871 vcc3-supply = <®_1v8_vio>;
872 vcc4-supply = <®_module_3v3>;
873 vcc5-supply = <®_module_3v3>;
874 vcc6-supply = <®_1v8_vio>;
875 vcc7-supply = <®_5v0_charge_pump>;
876 vccio-supply = <®_module_3v3>;
880 regulator-name = "+V1.35_VDDIO_DDR";
881 regulator-min-microvolt = <1350000>;
882 regulator-max-microvolt = <1350000>;
887 regulator-name = "+V1.05";
888 regulator-min-microvolt = <1050000>;
889 regulator-max-microvolt = <1050000>;
892 vddctrl_reg: vddctrl {
893 regulator-name = "+V1.0_VDD_CPU";
894 regulator-min-microvolt = <1150000>;
895 regulator-max-microvolt = <1150000>;
900 regulator-name = "+V1.8";
901 regulator-min-microvolt = <1800000>;
902 regulator-max-microvolt = <1800000>;
909 * EN_+V3.3 switching via FET:
910 * +V3.3_AUDIO_AVDD_S, +V3.3
911 * see also +V3.3 fixed supply
914 regulator-name = "EN_+V3.3";
915 regulator-min-microvolt = <3300000>;
916 regulator-max-microvolt = <3300000>;
921 regulator-name = "+V1.2_CSI";
922 regulator-min-microvolt = <1200000>;
923 regulator-max-microvolt = <1200000>;
927 regulator-name = "+V1.2_VDD_RTC";
928 regulator-min-microvolt = <1200000>;
929 regulator-max-microvolt = <1200000>;
935 * only required for (unsupported) analog RGB
938 regulator-name = "+V2.8_AVDD_VDAC";
939 regulator-min-microvolt = <2800000>;
940 regulator-max-microvolt = <2800000>;
945 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
946 * but LDO6 can't set voltage in 50mV
950 regulator-name = "+V1.05_AVDD_PLLE";
951 regulator-min-microvolt = <1100000>;
952 regulator-max-microvolt = <1100000>;
956 regulator-name = "+V1.2_AVDD_PLL";
957 regulator-min-microvolt = <1200000>;
958 regulator-max-microvolt = <1200000>;
963 regulator-name = "+V1.0_VDD_DDR_HS";
964 regulator-min-microvolt = <1000000>;
965 regulator-max-microvolt = <1000000>;
971 /* STMPE811 touch screen controller */
973 compatible = "st,stmpe811";
975 irq-gpio = <&gpio TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>;
976 interrupt-controller;
980 /* 3.25 MHz ADC clock speed */
984 /* internal ADC reference */
986 /* ADC converstion time: 80 clocks */
987 st,sample-time = <4>;
990 compatible = "st,stmpe-ts";
991 /* 8 sample average control */
993 /* 7 length fractional part in z */
996 * 50 mA typical 80 mA max touchscreen drivers
997 * current limit value
1000 /* 1 ms panel driver settling time */
1002 /* 5 ms touch detect interrupt delay */
1003 st,touch-det-delay = <5>;
1007 compatible = "st,stmpe-adc";
1008 /* forbid to use ADC channels 3-0 (touch) */
1009 st,norequest-mask = <0x0F>;
1014 * LM95245 temperature sensor
1015 * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN
1018 compatible = "national,lm95245";
1022 /* SW: +V1.2_VDD_CORE */
1024 compatible = "ti,tps62362";
1027 regulator-name = "tps62362-vout";
1028 regulator-min-microvolt = <900000>;
1029 regulator-max-microvolt = <1400000>;
1031 regulator-always-on;
1033 /* VSEL1: EN_CORE_DVFS_N low for DVFS */
1041 spi-max-frequency = <10000000>;
1044 compatible = "microchip,mcp2515";
1047 interrupt-parent = <&gpio>;
1048 interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
1049 spi-max-frequency = <10000000>;
1056 spi-max-frequency = <10000000>;
1059 compatible = "microchip,mcp2515";
1062 interrupt-parent = <&gpio>;
1063 interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_FALLING>;
1064 spi-max-frequency = <10000000>;
1069 nvidia,invert-interrupt;
1070 nvidia,suspend-mode = <1>;
1071 nvidia,cpu-pwr-good-time = <5000>;
1072 nvidia,cpu-pwr-off-time = <5000>;
1073 nvidia,core-pwr-good-time = <3845 3845>;
1074 nvidia,core-pwr-off-time = <0>;
1075 nvidia,core-power-req-active-high;
1076 nvidia,sys-clock-req-active-high;
1078 /* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */
1080 nvidia,i2c-controller-id = <4>;
1081 nvidia,bus-addr = <0x2d>;
1082 nvidia,reg-addr = <0x3f>;
1083 nvidia,reg-data = <0x1>;
1102 vmmc-supply = <®_module_3v3>; /* VCC */
1103 vqmmc-supply = <®_1v8_vio>; /* VCCQ */
1108 compatible = "fixed-clock";
1110 clock-frequency = <32768>;
1114 compatible = "fixed-clock";
1116 clock-frequency = <16000000>;
1119 reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
1120 compatible = "regulator-fixed";
1121 regulator-name = "+V1.8_AVDD_HDMI_PLL";
1122 regulator-min-microvolt = <1800000>;
1123 regulator-max-microvolt = <1800000>;
1125 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1126 vin-supply = <®_1v8_vio>;
1129 reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
1130 compatible = "regulator-fixed";
1131 regulator-name = "+V3.3_AVDD_HDMI";
1132 regulator-min-microvolt = <3300000>;
1133 regulator-max-microvolt = <3300000>;
1135 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1136 vin-supply = <®_module_3v3>;
1139 reg_5v0_charge_pump: regulator-5v0-charge-pump {
1140 compatible = "regulator-fixed";
1141 regulator-name = "+V5.0";
1142 regulator-min-microvolt = <5000000>;
1143 regulator-max-microvolt = <5000000>;
1144 regulator-always-on;
1147 reg_module_3v3: regulator-module-3v3 {
1148 compatible = "regulator-fixed";
1149 regulator-name = "+V3.3";
1150 regulator-min-microvolt = <3300000>;
1151 regulator-max-microvolt = <3300000>;
1152 regulator-always-on;
1155 reg_module_3v3_audio: regulator-module-3v3-audio {
1156 compatible = "regulator-fixed";
1157 regulator-name = "+V3.3_AUDIO_AVDD_S";
1158 regulator-min-microvolt = <3300000>;
1159 regulator-max-microvolt = <3300000>;
1160 regulator-always-on;
1164 compatible = "toradex,tegra-audio-sgtl5000-apalis_t30",
1165 "nvidia,tegra-audio-sgtl5000";
1166 nvidia,model = "Toradex Apalis T30";
1167 nvidia,audio-routing =
1168 "Headphone Jack", "HP_OUT",
1169 "LINE_IN", "Line In Jack",
1170 "MIC_IN", "Mic Jack";
1171 nvidia,i2s-controller = <&tegra_i2s2>;
1172 nvidia,audio-codec = <&sgtl5000>;
1173 clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1174 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1175 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1176 clock-names = "pll_a", "pll_a_out0", "mclk";
1178 assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1179 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1181 assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1182 <&tegra_car TEGRA30_CLK_EXTERN1>;