Lines Matching +full:tegra124 +full:- +full:pinmux

1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "tegra124.dtsi"
8 model = "NVIDIA Tegra124 Venice2";
9 compatible = "nvidia,venice2", "nvidia,tegra124";
18 stdout-path = "serial0:115200n8";
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>;
34 nvidia,hpd-gpio =
41 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>;
42 vdd-hdmi-dp-pll-supply = <&vdd_3v3_run>;
49 vdd-supply = <&vdd_3v3_panel>;
52 aux-bus {
55 power-supply = <&vdd_3v3_panel>;
64 * Node left disabled on purpose - the bootloader will enable
67 vdd-supply = <&vdd_gpu>;
70 pinmux: pinmux@70000868 { label
71 pinctrl-names = "boot";
72 pinctrl-0 = <&pinmux_boot>;
74 pinmux_boot: pinmux {
78 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
85 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
94 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
101 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
110 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
118 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
127 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
134 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
142 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
146 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
152 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
156 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
164 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
171 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
178 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
189 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
194 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
205 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
212 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
225 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
232 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
247 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
255 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
259 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
264 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
271 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
278 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
285 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
292 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
299 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
306 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
313 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
322 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
330 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
334 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
339 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
346 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
353 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
360 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
368 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
376 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
383 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
387 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
392 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
400 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
404 nvidia,rcv-sel = <TEGRA_PIN_ENABLE>;
412 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
420 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
427 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
434 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
441 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
448 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
454 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
458 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
462 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
464 nvidia,pull-down-strength = <32>;
465 nvidia,pull-up-strength = <42>;
466 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
467 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
471 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
473 nvidia,pull-down-strength = <20>;
474 nvidia,pull-up-strength = <36>;
475 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
476 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
480 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
482 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
483 nvidia,pull-down-strength = <1>;
484 nvidia,pull-up-strength = <2>;
485 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
486 nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
487 nvidia,drive-type = <1>;
494 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
501 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
508 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
515 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
522 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
529 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
536 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
543 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
550 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
557 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
564 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
571 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
578 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
585 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
592 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
599 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
606 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
612 /delete-property/ dmas;
613 /delete-property/ dma-names;
623 clock-frequency = <100000>;
625 acodec: audio-codec@10 {
628 interrupt-parent = <&gpio>;
635 clock-frequency = <100000>;
640 interrupt-parent = <&gpio>;
642 linux,gpio-keymap = <0 0 0 BTN_LEFT>;
648 clock-frequency = <100000>;
653 clock-frequency = <100000>;
658 clock-frequency = <400000>;
665 ams,system-power-controller;
667 #interrupt-cells = <2>;
668 interrupt-controller;
670 gpio-controller;
671 #gpio-cells = <2>;
673 pinctrl-names = "default";
674 pinctrl-0 = <&as3722_default>;
676 as3722_default: pinmux {
680 bias-pull-down;
686 bias-pull-up;
691 bias-high-impedance;
696 function = "clk32k-out";
701 vsup-sd2-supply = <&vdd_5v0_sys>;
702 vsup-sd3-supply = <&vdd_5v0_sys>;
703 vsup-sd4-supply = <&vdd_5v0_sys>;
704 vsup-sd5-supply = <&vdd_5v0_sys>;
705 vin-ldo0-supply = <&vdd_1v35_lp0>;
706 vin-ldo1-6-supply = <&vdd_3v3_run>;
707 vin-ldo2-5-7-supply = <&vddio_1v8>;
708 vin-ldo3-4-supply = <&vdd_3v3_sys>;
709 vin-ldo9-10-supply = <&vdd_5v0_sys>;
710 vin-ldo11-supply = <&vdd_3v3_run>;
713 regulator-name = "+VDD_CPU_AP";
714 regulator-min-microvolt = <700000>;
715 regulator-max-microvolt = <1400000>;
716 regulator-min-microamp = <3500000>;
717 regulator-max-microamp = <3500000>;
718 regulator-always-on;
719 regulator-boot-on;
720 ams,ext-control = <2>;
724 regulator-name = "+VDD_CORE";
725 regulator-min-microvolt = <700000>;
726 regulator-max-microvolt = <1350000>;
727 regulator-min-microamp = <2500000>;
728 regulator-max-microamp = <2500000>;
729 regulator-always-on;
730 regulator-boot-on;
731 ams,ext-control = <1>;
735 regulator-name = "+1.35V_LP0(sd2)";
736 regulator-min-microvolt = <1350000>;
737 regulator-max-microvolt = <1350000>;
738 regulator-always-on;
739 regulator-boot-on;
743 regulator-name = "+1.35V_LP0(sd3)";
744 regulator-min-microvolt = <1350000>;
745 regulator-max-microvolt = <1350000>;
746 regulator-always-on;
747 regulator-boot-on;
751 regulator-name = "+1.05V_RUN";
752 regulator-min-microvolt = <1050000>;
753 regulator-max-microvolt = <1050000>;
757 regulator-name = "+1.8V_VDDIO";
758 regulator-min-microvolt = <1800000>;
759 regulator-max-microvolt = <1800000>;
760 regulator-boot-on;
761 regulator-always-on;
765 regulator-name = "+VDD_GPU_AP";
766 regulator-min-microvolt = <650000>;
767 regulator-max-microvolt = <1200000>;
768 regulator-min-microamp = <3500000>;
769 regulator-max-microamp = <3500000>;
770 regulator-boot-on;
771 regulator-always-on;
775 regulator-name = "+1.05V_RUN_AVDD";
776 regulator-min-microvolt = <1050000>;
777 regulator-max-microvolt = <1050000>;
778 regulator-boot-on;
779 regulator-always-on;
780 ams,ext-control = <1>;
784 regulator-name = "+1.8V_RUN_CAM";
785 regulator-min-microvolt = <1800000>;
786 regulator-max-microvolt = <1800000>;
790 regulator-name = "+1.2V_GEN_AVDD";
791 regulator-min-microvolt = <1200000>;
792 regulator-max-microvolt = <1200000>;
793 regulator-boot-on;
794 regulator-always-on;
798 regulator-name = "+1.00V_LP0_VDD_RTC";
799 regulator-min-microvolt = <1000000>;
800 regulator-max-microvolt = <1000000>;
801 regulator-boot-on;
802 regulator-always-on;
803 ams,enable-tracking;
807 regulator-name = "+3.3V_RUN_CAM";
808 regulator-min-microvolt = <2800000>;
809 regulator-max-microvolt = <2800000>;
813 regulator-name = "+1.2V_RUN_CAM_FRONT";
814 regulator-min-microvolt = <1200000>;
815 regulator-max-microvolt = <1200000>;
819 regulator-name = "+VDDIO_SDMMC3";
820 regulator-min-microvolt = <1800000>;
821 regulator-max-microvolt = <3300000>;
825 regulator-name = "+1.05V_RUN_CAM_REAR";
826 regulator-min-microvolt = <1050000>;
827 regulator-max-microvolt = <1050000>;
831 regulator-name = "+2.8V_RUN_TOUCH";
832 regulator-min-microvolt = <2800000>;
833 regulator-max-microvolt = <2800000>;
837 regulator-name = "+2.8V_RUN_CAM_AF";
838 regulator-min-microvolt = <2800000>;
839 regulator-max-microvolt = <2800000>;
843 regulator-name = "+1.8V_RUN_VPP_FUSE";
844 regulator-min-microvolt = <1800000>;
845 regulator-max-microvolt = <1800000>;
854 cros_ec: cros-ec@0 {
855 compatible = "google,cros-ec-spi";
856 spi-max-frequency = <4000000>;
857 interrupt-parent = <&gpio>;
860 wakeup-source;
862 google,cros-ec-spi-msg-delay = <2000>;
864 i2c-tunnel {
865 compatible = "google,cros-ec-i2c-tunnel";
866 #address-cells = <1>;
867 #size-cells = <0>;
869 google,remote-bus = <0>;
874 interrupt-parent = <&gpio>;
877 ti,ac-detect-gpios = <&gpio
882 battery: sbs-battery@b {
883 compatible = "sbs,sbs-battery";
885 sbs,i2c-retry-count = <2>;
886 sbs,poll-retry-count = <1>;
894 spi-max-frequency = <25000000>;
897 compatible = "winbond,w25q32dw", "jedec,spi-nor";
899 spi-max-frequency = <20000000>;
904 nvidia,invert-interrupt;
905 nvidia,suspend-mode = <1>;
906 nvidia,cpu-pwr-good-time = <500>;
907 nvidia,cpu-pwr-off-time = <300>;
908 nvidia,core-pwr-good-time = <641 3845>;
909 nvidia,core-pwr-off-time = <61036>;
910 nvidia,core-power-req-active-high;
911 nvidia,sys-clock-req-active-high;
919 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
920 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
921 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
922 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
923 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
924 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
926 avddio-pex-supply = <&vdd_1v05_run>;
927 dvddio-pex-supply = <&vdd_1v05_run>;
928 avdd-usb-supply = <&vdd_3v3_lp0>;
929 avdd-pll-utmip-supply = <&vddio_1v8>;
930 avdd-pll-erefe-supply = <&avdd_1v05_run>;
931 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
932 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
933 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
939 avdd-pll-utmip-supply = <&vddio_1v8>;
940 avdd-pll-erefe-supply = <&avdd_1v05_run>;
941 avdd-pex-pll-supply = <&vdd_1v05_run>;
942 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
949 usb2-0 {
954 usb2-1 {
959 usb2-2 {
970 pcie-0 {
971 nvidia,function = "usb3-ss";
975 pcie-1 {
976 nvidia,function = "usb3-ss";
984 usb2-0 {
987 usb-role-switch;
988 vbus-supply = <&vdd_usb1_vbus>;
991 usb2-1 {
995 vbus-supply = <&vdd_run_cam>;
998 usb2-2 {
1002 vbus-supply = <&vdd_usb3_vbus>;
1005 usb3-0 {
1006 nvidia,usb2-companion = <0>;
1010 usb3-1 {
1011 nvidia,usb2-companion = <2>;
1018 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
1019 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1020 wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1022 bus-width = <4>;
1023 vqmmc-supply = <&vddio_sdmmc3>;
1028 bus-width = <8>;
1029 non-removable;
1042 usb-phy@7d000000 {
1044 vbus-supply = <&vdd_usb1_vbus>;
1051 usb-phy@7d004000 {
1053 vbus-supply = <&vdd_run_cam>;
1060 usb-phy@7d008000 {
1062 vbus-supply = <&vdd_usb3_vbus>;
1066 compatible = "pwm-backlight";
1068 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1069 power-supply = <&vdd_led>;
1072 brightness-levels = <0 4 8 16 32 64 128 255>;
1073 default-brightness-level = <6>;
1076 clk32k_in: clock-32k {
1077 compatible = "fixed-clock";
1078 clock-frequency = <32768>;
1079 #clock-cells = <0>;
1082 gpio-keys {
1083 compatible = "gpio-keys";
1085 key-power {
1089 debounce-interval = <10>;
1090 wakeup-source;
1094 vdd_mux: regulator-mux {
1095 compatible = "regulator-fixed";
1096 regulator-name = "+VDD_MUX";
1097 regulator-min-microvolt = <12000000>;
1098 regulator-max-microvolt = <12000000>;
1099 regulator-always-on;
1100 regulator-boot-on;
1103 vdd_5v0_sys: regulator-5v0sys {
1104 compatible = "regulator-fixed";
1105 regulator-name = "+5V_SYS";
1106 regulator-min-microvolt = <5000000>;
1107 regulator-max-microvolt = <5000000>;
1108 regulator-always-on;
1109 regulator-boot-on;
1110 vin-supply = <&vdd_mux>;
1113 vdd_3v3_sys: regulator-3v3sys {
1114 compatible = "regulator-fixed";
1115 regulator-name = "+3.3V_SYS";
1116 regulator-min-microvolt = <3300000>;
1117 regulator-max-microvolt = <3300000>;
1118 regulator-always-on;
1119 regulator-boot-on;
1120 vin-supply = <&vdd_mux>;
1123 vdd_3v3_run: regulator-3v3run {
1124 compatible = "regulator-fixed";
1125 regulator-name = "+3.3V_RUN";
1126 regulator-min-microvolt = <3300000>;
1127 regulator-max-microvolt = <3300000>;
1128 regulator-always-on;
1129 regulator-boot-on;
1131 enable-active-high;
1132 vin-supply = <&vdd_3v3_sys>;
1135 vdd_3v3_hdmi: regulator-hdmi {
1136 compatible = "regulator-fixed";
1137 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1138 regulator-min-microvolt = <3300000>;
1139 regulator-max-microvolt = <3300000>;
1140 vin-supply = <&vdd_3v3_run>;
1143 vdd_led: regulator-led {
1144 compatible = "regulator-fixed";
1145 regulator-name = "+VDD_LED";
1146 regulator-min-microvolt = <3300000>;
1147 regulator-max-microvolt = <3300000>;
1149 enable-active-high;
1150 vin-supply = <&vdd_mux>;
1153 vdd_5v0_ts: regulator-ts {
1154 compatible = "regulator-fixed";
1155 regulator-name = "+5V_VDD_TS_SW";
1156 regulator-min-microvolt = <5000000>;
1157 regulator-max-microvolt = <5000000>;
1158 regulator-boot-on;
1160 enable-active-high;
1161 vin-supply = <&vdd_5v0_sys>;
1164 vdd_usb1_vbus: regulator-usb1 {
1165 compatible = "regulator-fixed";
1166 regulator-name = "+5V_USB_HS";
1167 regulator-min-microvolt = <5000000>;
1168 regulator-max-microvolt = <5000000>;
1170 enable-active-high;
1171 gpio-open-drain;
1172 vin-supply = <&vdd_5v0_sys>;
1175 vdd_usb3_vbus: regulator-usb3 {
1176 compatible = "regulator-fixed";
1177 regulator-name = "+5V_USB_SS";
1178 regulator-min-microvolt = <5000000>;
1179 regulator-max-microvolt = <5000000>;
1181 enable-active-high;
1182 gpio-open-drain;
1183 vin-supply = <&vdd_5v0_sys>;
1186 vdd_3v3_panel: regulator-panel {
1187 compatible = "regulator-fixed";
1188 regulator-name = "+3.3V_PANEL";
1189 regulator-min-microvolt = <3300000>;
1190 regulator-max-microvolt = <3300000>;
1192 enable-active-high;
1193 vin-supply = <&vdd_3v3_run>;
1196 vdd_3v3_lp0: regulator-lp0 {
1197 compatible = "regulator-fixed";
1198 regulator-name = "+3.3V_LP0";
1199 regulator-min-microvolt = <3300000>;
1200 regulator-max-microvolt = <3300000>;
1205 regulator-always-on;
1207 enable-active-high;
1208 vin-supply = <&vdd_3v3_sys>;
1211 vdd_hdmi_pll: regulator-hdmipll {
1212 compatible = "regulator-fixed";
1213 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1214 regulator-min-microvolt = <1050000>;
1215 regulator-max-microvolt = <1050000>;
1217 vin-supply = <&vdd_1v05_run>;
1220 vdd_5v0_hdmi: regulator-hdmicon {
1221 compatible = "regulator-fixed";
1222 regulator-name = "+5V_HDMI_CON";
1223 regulator-min-microvolt = <5000000>;
1224 regulator-max-microvolt = <5000000>;
1226 enable-active-high;
1227 vin-supply = <&vdd_5v0_sys>;
1231 compatible = "nvidia,tegra-audio-max98090-venice2",
1232 "nvidia,tegra-audio-max98090";
1235 nvidia,audio-routing =
1243 nvidia,i2s-controller = <&tegra_i2s1>;
1244 nvidia,audio-codec = <&acodec>;
1249 clock-names = "pll_a", "pll_a_out0", "mclk";
1251 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
1254 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1259 #include "../cros-ec-keyboard.dtsi"