1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/mfd/max77620.h>
8 #include "tegra186.dtsi"
11 model = "NVIDIA Jetson TX2 NX Developer Kit";
12 compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186";
15 ethernet0 = "/ethernet@2490000";
17 i2c1 = "/i2c@3160000";
18 i2c2 = "/i2c@c240000";
19 i2c3 = "/i2c@3180000";
20 i2c4 = "/i2c@3190000";
21 i2c5 = "/i2c@31c0000";
22 i2c6 = "/i2c@c250000";
23 i2c7 = "/i2c@31e0000";
24 mmc0 = "/mmc@3460000";
29 bootargs = "earlycon console=ttyS0,115200n8";
30 stdout-path = "serial0:115200n8";
34 device_type = "memory";
35 reg = <0x0 0x80000000 0x0 0x70000000>;
41 phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>;
43 phy-mode = "rgmii-id";
50 compatible = "ethernet-phy-ieee802.3-c22";
52 interrupt-parent = <&gpio_aon>;
53 interrupts = <TEGRA186_AON_GPIO(AA, 7) IRQ_TYPE_LEVEL_LOW>;
75 i2s1_cif_ep: endpoint {
76 remote-endpoint = <&xbar_i2s1_ep>;
83 i2s1_dap_ep: endpoint {
85 /* Placeholder for external Codec */
101 i2s3_cif_ep: endpoint {
102 remote-endpoint = <&xbar_i2s3_ep>;
109 i2s3_dap_ep: endpoint {
111 /* Placeholder for external Codec */
121 #address-cells = <1>;
127 dmic1_cif_ep: endpoint {
128 remote-endpoint = <&xbar_dmic1_ep>;
135 dmic1_dap_ep: endpoint {
136 /* Place holder for external Codec */
146 #address-cells = <1>;
152 dmic2_cif_ep: endpoint {
153 remote-endpoint = <&xbar_dmic2_ep>;
160 dmic2_dap_ep: endpoint {
161 /* Place holder for external Codec */
171 #address-cells = <1>;
174 admaif0_port: port@0 {
177 admaif0_ep: endpoint {
178 remote-endpoint = <&xbar_admaif0_ep>;
182 admaif1_port: port@1 {
185 admaif1_ep: endpoint {
186 remote-endpoint = <&xbar_admaif1_ep>;
190 admaif2_port: port@2 {
193 admaif2_ep: endpoint {
194 remote-endpoint = <&xbar_admaif2_ep>;
198 admaif3_port: port@3 {
201 admaif3_ep: endpoint {
202 remote-endpoint = <&xbar_admaif3_ep>;
206 admaif4_port: port@4 {
209 admaif4_ep: endpoint {
210 remote-endpoint = <&xbar_admaif4_ep>;
214 admaif5_port: port@5 {
217 admaif5_ep: endpoint {
218 remote-endpoint = <&xbar_admaif5_ep>;
222 admaif6_port: port@6 {
225 admaif6_ep: endpoint {
226 remote-endpoint = <&xbar_admaif6_ep>;
230 admaif7_port: port@7 {
233 admaif7_ep: endpoint {
234 remote-endpoint = <&xbar_admaif7_ep>;
238 admaif8_port: port@8 {
241 admaif8_ep: endpoint {
242 remote-endpoint = <&xbar_admaif8_ep>;
246 admaif9_port: port@9 {
249 admaif9_ep: endpoint {
250 remote-endpoint = <&xbar_admaif9_ep>;
254 admaif10_port: port@a {
257 admaif10_ep: endpoint {
258 remote-endpoint = <&xbar_admaif10_ep>;
262 admaif11_port: port@b {
265 admaif11_ep: endpoint {
266 remote-endpoint = <&xbar_admaif11_ep>;
270 admaif12_port: port@c {
273 admaif12_ep: endpoint {
274 remote-endpoint = <&xbar_admaif12_ep>;
278 admaif13_port: port@d {
281 admaif13_ep: endpoint {
282 remote-endpoint = <&xbar_admaif13_ep>;
286 admaif14_port: port@e {
289 admaif14_ep: endpoint {
290 remote-endpoint = <&xbar_admaif14_ep>;
294 admaif15_port: port@f {
297 admaif15_ep: endpoint {
298 remote-endpoint = <&xbar_admaif15_ep>;
302 admaif16_port: port@10 {
305 admaif16_ep: endpoint {
306 remote-endpoint = <&xbar_admaif16_ep>;
310 admaif17_port: port@11 {
313 admaif17_ep: endpoint {
314 remote-endpoint = <&xbar_admaif17_ep>;
318 admaif18_port: port@12 {
321 admaif18_ep: endpoint {
322 remote-endpoint = <&xbar_admaif18_ep>;
326 admaif19_port: port@13 {
329 admaif19_ep: endpoint {
330 remote-endpoint = <&xbar_admaif19_ep>;
337 #address-cells = <1>;
343 xbar_admaif0_ep: endpoint {
344 remote-endpoint = <&admaif0_ep>;
351 xbar_admaif1_ep: endpoint {
352 remote-endpoint = <&admaif1_ep>;
359 xbar_admaif2_ep: endpoint {
360 remote-endpoint = <&admaif2_ep>;
367 xbar_admaif3_ep: endpoint {
368 remote-endpoint = <&admaif3_ep>;
375 xbar_admaif4_ep: endpoint {
376 remote-endpoint = <&admaif4_ep>;
383 xbar_admaif5_ep: endpoint {
384 remote-endpoint = <&admaif5_ep>;
391 xbar_admaif6_ep: endpoint {
392 remote-endpoint = <&admaif6_ep>;
399 xbar_admaif7_ep: endpoint {
400 remote-endpoint = <&admaif7_ep>;
407 xbar_admaif8_ep: endpoint {
408 remote-endpoint = <&admaif8_ep>;
415 xbar_admaif9_ep: endpoint {
416 remote-endpoint = <&admaif9_ep>;
423 xbar_admaif10_ep: endpoint {
424 remote-endpoint = <&admaif10_ep>;
431 xbar_admaif11_ep: endpoint {
432 remote-endpoint = <&admaif11_ep>;
439 xbar_admaif12_ep: endpoint {
440 remote-endpoint = <&admaif12_ep>;
447 xbar_admaif13_ep: endpoint {
448 remote-endpoint = <&admaif13_ep>;
455 xbar_admaif14_ep: endpoint {
456 remote-endpoint = <&admaif14_ep>;
463 xbar_admaif15_ep: endpoint {
464 remote-endpoint = <&admaif15_ep>;
471 xbar_admaif16_ep: endpoint {
472 remote-endpoint = <&admaif16_ep>;
479 xbar_admaif17_ep: endpoint {
480 remote-endpoint = <&admaif17_ep>;
487 xbar_admaif18_ep: endpoint {
488 remote-endpoint = <&admaif18_ep>;
495 xbar_admaif19_ep: endpoint {
496 remote-endpoint = <&admaif19_ep>;
500 xbar_i2s1_port: port@14 {
503 xbar_i2s1_ep: endpoint {
504 remote-endpoint = <&i2s1_cif_ep>;
508 xbar_i2s3_port: port@16 {
511 xbar_i2s3_ep: endpoint {
512 remote-endpoint = <&i2s3_cif_ep>;
516 xbar_dmic1_port: port@1a {
519 xbar_dmic1_ep: endpoint {
520 remote-endpoint = <&dmic1_cif_ep>;
524 xbar_dmic2_port: port@1b {
527 xbar_dmic2_ep: endpoint {
528 remote-endpoint = <&dmic2_cif_ep>;
534 dma-controller@2930000 {
538 interrupt-controller@2a40000 {
543 memory-controller@2c00000 {
563 compatible = "ti,ina3221";
565 #address-cells = <1>;
571 shunt-resistor-micro-ohms = <5>;
576 label = "VDD_CPU_GPU";
577 shunt-resistor-micro-ohms = <5>;
583 shunt-resistor-micro-ohms = <5>;
606 vqmmc-supply = <&vdd_1v8_ap>;
607 vmmc-supply = <&vdd_3v3_sys>;
611 nvidia,model = "NVIDIA Jetson TX2 NX HDA";
618 avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
619 avdd-usb-supply = <&vdd_3v3_sys>;
620 vclamp-usb-supply = <&vdd_1v8>;
621 vddio-hsic-supply = <&gnd>;
629 nvidia,function = "xusb";
634 nvidia,function = "xusb";
639 nvidia,function = "xusb";
650 nvidia,function = "xusb";
661 vbus-supply = <&vdd_5v0_sys>;
665 compatible = "gpio-usb-b-connector",
670 TEGRA186_MAIN_GPIO(L, 4)
672 id-gpios = <&pmic 0 GPIO_ACTIVE_HIGH>;
680 vbus-supply = <&vdd_5v0_sys>;
687 vbus-supply = <&vdd_5v0_sys>;
691 nvidia,usb2-companion = <1>;
692 vbus-supply = <&vdd_5v0_sys>;
701 phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
702 <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
703 <&{/padctl@3520000/pads/usb2/lanes/usb2-2}>,
704 <&{/padctl@3520000/pads/usb3/lanes/usb3-1}>;
705 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-1";
712 phy-names = "usb2-0";
726 /* module ID EEPROM */
728 compatible = "atmel,24c02";
732 vcc-supply = <&vdd_1v8>;
739 /* carrier board ID EEPROM */
741 compatible = "atmel,24c02";
745 vcc-supply = <&vdd_1v8>;
762 nvidia,invert-interrupt;
768 dvdd-pex-supply = <&vdd_pex>;
769 hvdd-pex-pll-supply = <&vdd_1v8>;
770 hvdd-pex-supply = <&vdd_1v8>;
771 vddio-pexctl-aud-supply = <&vdd_1v8>;
774 nvidia,num-lanes = <2>;
779 nvidia,num-lanes = <1>;
784 nvidia,num-lanes = <1>;
796 display-hub@15200000 {
808 avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
809 vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
811 nvidia,dpaux = <&dpaux>;
818 avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
819 vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
820 hdmi-supply = <&vdd_hdmi>;
822 nvidia,ddc-i2c-bus = <&ddc>;
823 nvidia,hpd-gpio = <&gpio TEGRA186_MAIN_GPIO(P, 1)
841 compatible = "maxim,max77620";
844 interrupt-parent = <&pmc>;
845 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
846 #interrupt-cells = <2>;
847 interrupt-controller;
852 pinctrl-names = "default";
853 pinctrl-0 = <&max77620_default>;
857 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
858 maxim,shutdown-fps-time-period-us = <640>;
862 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
863 maxim,shutdown-fps-time-period-us = <640>;
867 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
868 maxim,shutdown-fps-time-period-us = <640>;
872 max77620_default: pinmux {
880 function = "fps-out";
881 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
886 function = "fps-out";
887 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
892 function = "fps-out";
893 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
898 function = "32k-out1";
899 drive-push-pull = <1>;
905 drive-push-pull = <0>;
911 drive-push-pull = <1>;
917 drive-push-pull = <1>;
922 in-sd0-supply = <&vdd_5v0_sys>;
923 in-sd1-supply = <&vdd_5v0_sys>;
924 in-sd2-supply = <&vdd_5v0_sys>;
925 in-sd3-supply = <&vdd_5v0_sys>;
927 in-ldo0-1-supply = <&vdd_5v0_sys>;
928 in-ldo2-supply = <&vdd_5v0_sys>;
929 in-ldo3-5-supply = <&vdd_5v0_sys>;
930 in-ldo4-6-supply = <&vdd_1v8>;
931 in-ldo7-8-supply = <&avdd_dsi_csi>;
934 regulator-name = "VDD_DDR_1V1_PMIC";
935 regulator-min-microvolt = <1100000>;
936 regulator-max-microvolt = <1100000>;
942 regulator-name = "AVDD_DSI_CSI_1V2";
943 regulator-min-microvolt = <1200000>;
944 regulator-max-microvolt = <1200000>;
948 regulator-name = "VDD_1V8";
949 regulator-min-microvolt = <1800000>;
950 regulator-max-microvolt = <1800000>;
954 regulator-name = "VDD_3V3_SYS";
955 regulator-min-microvolt = <3300000>;
956 regulator-max-microvolt = <3300000>;
960 regulator-name = "VDD_1V8_AP_PLL";
961 regulator-min-microvolt = <1800000>;
962 regulator-max-microvolt = <1800000>;
966 regulator-name = "VDDIO_3V3_AOHV";
967 regulator-min-microvolt = <3300000>;
968 regulator-max-microvolt = <3300000>;
974 regulator-name = "VDDIO_SDMMC1_AP";
975 regulator-min-microvolt = <1800000>;
976 regulator-max-microvolt = <3300000>;
980 regulator-name = "VDD_RTC";
981 regulator-min-microvolt = <1000000>;
982 regulator-max-microvolt = <1000000>;
986 regulator-name = "VDDIO_SDMMC3_AP";
987 regulator-min-microvolt = <2800000>;
988 regulator-max-microvolt = <2800000>;
991 vdd_hdmi_1v05: ldo7 {
992 regulator-name = "VDD_HDMI_1V05";
993 regulator-min-microvolt = <1050000>;
994 regulator-max-microvolt = <1050000>;
998 regulator-name = "VDD_PEX_1V05";
999 regulator-min-microvolt = <1050000>;
1000 regulator-max-microvolt = <1050000>;
1009 enable-method = "psci";
1013 enable-method = "psci";
1017 enable-method = "psci";
1021 enable-method = "psci";
1025 enable-method = "psci";
1029 enable-method = "psci";
1034 compatible = "gpio-keys";
1038 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 0)
1040 linux,input-type = <EV_KEY>;
1041 linux,code = <KEY_POWER>;
1042 debounce-interval = <10>;
1043 wakeup-event-action = <EV_ACT_ASSERTED>;
1048 label = "Volume Down";
1049 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 2)
1051 linux,input-type = <EV_KEY>;
1052 linux,code = <KEY_VOLUMEDOWN>;
1053 debounce-interval = <10>;
1057 label = "Volume Up";
1058 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 1)
1060 linux,input-type = <EV_KEY>;
1061 linux,code = <KEY_VOLUMEUP>;
1062 debounce-interval = <10>;
1067 compatible = "arm,psci-1.0";
1073 compatible = "pwm-fan";
1074 pwms = <&pwm4 0 45334>;
1076 cooling-levels = <0 64 128 255>;
1077 #cooling-cells = <2>;
1080 gnd: regulator-gnd {
1081 compatible = "regulator-fixed";
1082 regulator-name = "GND";
1083 regulator-min-microvolt = <0>;
1084 regulator-max-microvolt = <0>;
1085 regulator-always-on;
1089 vdd_5v0_sys: regulator-vdd-5v0-sys {
1090 compatible = "regulator-fixed";
1091 regulator-name = "VDD_5V0_SYS";
1092 regulator-min-microvolt = <5000000>;
1093 regulator-max-microvolt = <5000000>;
1094 regulator-always-on;
1098 vdd_1v8_ap: regulator-vdd-1v8-ap {
1099 compatible = "regulator-fixed";
1100 regulator-name = "VDD_1V8_AP";
1101 regulator-min-microvolt = <1800000>;
1102 regulator-max-microvolt = <1800000>;
1104 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1107 vin-supply = <&vdd_1v8>;
1110 vdd_hdmi: regulator-vdd-hdmi {
1111 compatible = "regulator-fixed";
1112 regulator-name = "VDD_5V0_HDMI_CON";
1113 regulator-min-microvolt = <5000000>;
1114 regulator-max-microvolt = <5000000>;
1116 vin-supply = <&vdd_5v0_sys>;
1120 compatible = "nvidia,tegra186-audio-graph-card";
1124 <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
1125 <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
1126 <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
1127 <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
1128 <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
1130 <&xbar_i2s1_port>, <&xbar_i2s3_port>,
1131 <&xbar_dmic1_port>, <&xbar_dmic2_port>,
1133 <&i2s1_port>, <&i2s3_port>,
1134 <&dmic1_port>, <&dmic2_port>;
1136 label = "NVIDIA Jetson TX2 NX APE";
1141 polling-delay = <0>;
1142 polling-delay-passive = <500>;
1146 cpu_trip_critical: critical {
1147 temperature = <96500>;
1153 temperature = <79000>;
1154 hysteresis = <2000>;
1158 cpu_trip_active: active {
1159 temperature = <62000>;
1160 hysteresis = <2000>;
1164 cpu_trip_passive: passive {
1165 temperature = <45000>;
1166 hysteresis = <2000>;
1173 cooling-device = <&fan 3 3>;
1174 trip = <&cpu_trip_critical>;
1178 cooling-device = <&fan 2 2>;
1179 trip = <&cpu_trip_hot>;
1183 cooling-device = <&fan 1 1>;
1184 trip = <&cpu_trip_active>;
1188 cooling-device = <&fan 0 0>;
1189 trip = <&cpu_trip_passive>;
1195 polling-delay = <0>;
1196 polling-delay-passive = <500>;
1200 aux_alert0: critical {
1201 temperature = <90000>;
1209 polling-delay = <0>;
1210 polling-delay-passive = <500>;
1214 gpu_alert0: critical {
1215 temperature = <99000>;