Lines Matching +full:tegra124 +full:- +full:cec
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>;
71 pinctrl-names = "boot";
72 pinctrl-0 = <&pinmux_boot>;
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>;
382 nvidia,function = "cec";
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>;
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>;
861 google,cros-ec-spi-msg-delay = <2000>;
863 i2c-tunnel {
864 compatible = "google,cros-ec-i2c-tunnel";
865 #address-cells = <1>;
866 #size-cells = <0>;
868 google,remote-bus = <0>;
873 interrupt-parent = <&gpio>;
876 ti,ac-detect-gpios = <&gpio
881 battery: sbs-battery@b {
882 compatible = "sbs,sbs-battery";
884 sbs,i2c-retry-count = <2>;
885 sbs,poll-retry-count = <1>;
893 spi-max-frequency = <25000000>;
896 compatible = "winbond,w25q32dw", "jedec,spi-nor";
898 spi-max-frequency = <20000000>;
903 nvidia,invert-interrupt;
904 nvidia,suspend-mode = <1>;
905 nvidia,cpu-pwr-good-time = <500>;
906 nvidia,cpu-pwr-off-time = <300>;
907 nvidia,core-pwr-good-time = <641 3845>;
908 nvidia,core-pwr-off-time = <61036>;
909 nvidia,core-power-req-active-high;
910 nvidia,sys-clock-req-active-high;
918 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
919 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
920 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
921 <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
922 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
923 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
925 avddio-pex-supply = <&vdd_1v05_run>;
926 dvddio-pex-supply = <&vdd_1v05_run>;
927 avdd-usb-supply = <&vdd_3v3_lp0>;
928 avdd-pll-utmip-supply = <&vddio_1v8>;
929 avdd-pll-erefe-supply = <&avdd_1v05_run>;
930 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
931 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
932 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
938 avdd-pll-utmip-supply = <&vddio_1v8>;
939 avdd-pll-erefe-supply = <&avdd_1v05_run>;
940 avdd-pex-pll-supply = <&vdd_1v05_run>;
941 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
948 usb2-0 {
953 usb2-1 {
958 usb2-2 {
969 pcie-0 {
970 nvidia,function = "usb3-ss";
974 pcie-1 {
975 nvidia,function = "usb3-ss";
983 usb2-0 {
986 usb-role-switch;
987 vbus-supply = <&vdd_usb1_vbus>;
990 usb2-1 {
994 vbus-supply = <&vdd_run_cam>;
997 usb2-2 {
1001 vbus-supply = <&vdd_usb3_vbus>;
1004 usb3-0 {
1005 nvidia,usb2-companion = <0>;
1009 usb3-1 {
1010 nvidia,usb2-companion = <2>;
1017 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
1018 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1019 wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1021 bus-width = <4>;
1022 vqmmc-supply = <&vddio_sdmmc3>;
1027 bus-width = <8>;
1028 non-removable;
1041 usb-phy@7d000000 {
1043 vbus-supply = <&vdd_usb1_vbus>;
1050 usb-phy@7d004000 {
1052 vbus-supply = <&vdd_run_cam>;
1059 usb-phy@7d008000 {
1061 vbus-supply = <&vdd_usb3_vbus>;
1065 compatible = "pwm-backlight";
1067 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1068 power-supply = <&vdd_led>;
1071 brightness-levels = <0 4 8 16 32 64 128 255>;
1072 default-brightness-level = <6>;
1075 clk32k_in: clock-32k {
1076 compatible = "fixed-clock";
1077 clock-frequency = <32768>;
1078 #clock-cells = <0>;
1081 gpio-keys {
1082 compatible = "gpio-keys";
1084 key-power {
1088 debounce-interval = <10>;
1089 wakeup-source;
1093 vdd_mux: regulator-mux {
1094 compatible = "regulator-fixed";
1095 regulator-name = "+VDD_MUX";
1096 regulator-min-microvolt = <12000000>;
1097 regulator-max-microvolt = <12000000>;
1098 regulator-always-on;
1099 regulator-boot-on;
1102 vdd_5v0_sys: regulator-5v0sys {
1103 compatible = "regulator-fixed";
1104 regulator-name = "+5V_SYS";
1105 regulator-min-microvolt = <5000000>;
1106 regulator-max-microvolt = <5000000>;
1107 regulator-always-on;
1108 regulator-boot-on;
1109 vin-supply = <&vdd_mux>;
1112 vdd_3v3_sys: regulator-3v3sys {
1113 compatible = "regulator-fixed";
1114 regulator-name = "+3.3V_SYS";
1115 regulator-min-microvolt = <3300000>;
1116 regulator-max-microvolt = <3300000>;
1117 regulator-always-on;
1118 regulator-boot-on;
1119 vin-supply = <&vdd_mux>;
1122 vdd_3v3_run: regulator-3v3run {
1123 compatible = "regulator-fixed";
1124 regulator-name = "+3.3V_RUN";
1125 regulator-min-microvolt = <3300000>;
1126 regulator-max-microvolt = <3300000>;
1127 regulator-always-on;
1128 regulator-boot-on;
1130 enable-active-high;
1131 vin-supply = <&vdd_3v3_sys>;
1134 vdd_3v3_hdmi: regulator-hdmi {
1135 compatible = "regulator-fixed";
1136 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1137 regulator-min-microvolt = <3300000>;
1138 regulator-max-microvolt = <3300000>;
1139 vin-supply = <&vdd_3v3_run>;
1142 vdd_led: regulator-led {
1143 compatible = "regulator-fixed";
1144 regulator-name = "+VDD_LED";
1145 regulator-min-microvolt = <3300000>;
1146 regulator-max-microvolt = <3300000>;
1148 enable-active-high;
1149 vin-supply = <&vdd_mux>;
1152 vdd_5v0_ts: regulator-ts {
1153 compatible = "regulator-fixed";
1154 regulator-name = "+5V_VDD_TS_SW";
1155 regulator-min-microvolt = <5000000>;
1156 regulator-max-microvolt = <5000000>;
1157 regulator-boot-on;
1159 enable-active-high;
1160 vin-supply = <&vdd_5v0_sys>;
1163 vdd_usb1_vbus: regulator-usb1 {
1164 compatible = "regulator-fixed";
1165 regulator-name = "+5V_USB_HS";
1166 regulator-min-microvolt = <5000000>;
1167 regulator-max-microvolt = <5000000>;
1169 enable-active-high;
1170 gpio-open-drain;
1171 vin-supply = <&vdd_5v0_sys>;
1174 vdd_usb3_vbus: regulator-usb3 {
1175 compatible = "regulator-fixed";
1176 regulator-name = "+5V_USB_SS";
1177 regulator-min-microvolt = <5000000>;
1178 regulator-max-microvolt = <5000000>;
1180 enable-active-high;
1181 gpio-open-drain;
1182 vin-supply = <&vdd_5v0_sys>;
1185 vdd_3v3_panel: regulator-panel {
1186 compatible = "regulator-fixed";
1187 regulator-name = "+3.3V_PANEL";
1188 regulator-min-microvolt = <3300000>;
1189 regulator-max-microvolt = <3300000>;
1191 enable-active-high;
1192 vin-supply = <&vdd_3v3_run>;
1195 vdd_3v3_lp0: regulator-lp0 {
1196 compatible = "regulator-fixed";
1197 regulator-name = "+3.3V_LP0";
1198 regulator-min-microvolt = <3300000>;
1199 regulator-max-microvolt = <3300000>;
1204 regulator-always-on;
1206 enable-active-high;
1207 vin-supply = <&vdd_3v3_sys>;
1210 vdd_hdmi_pll: regulator-hdmipll {
1211 compatible = "regulator-fixed";
1212 regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1213 regulator-min-microvolt = <1050000>;
1214 regulator-max-microvolt = <1050000>;
1216 vin-supply = <&vdd_1v05_run>;
1219 vdd_5v0_hdmi: regulator-hdmicon {
1220 compatible = "regulator-fixed";
1221 regulator-name = "+5V_HDMI_CON";
1222 regulator-min-microvolt = <5000000>;
1223 regulator-max-microvolt = <5000000>;
1225 enable-active-high;
1226 vin-supply = <&vdd_5v0_sys>;
1230 compatible = "nvidia,tegra-audio-max98090-venice2",
1231 "nvidia,tegra-audio-max98090";
1234 nvidia,audio-routing =
1242 nvidia,i2s-controller = <&tegra_i2s1>;
1243 nvidia,audio-codec = <&acodec>;
1248 clock-names = "pll_a", "pll_a_out0", "mclk";
1250 assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
1253 assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1258 #include "../cros-ec-keyboard.dtsi"