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>;
59 memory-controller@2c00000 {
79 compatible = "ti,ina3221";
87 shunt-resistor-micro-ohms = <5>;
92 label = "VDD_CPU_GPU";
93 shunt-resistor-micro-ohms = <5>;
99 shunt-resistor-micro-ohms = <5>;
122 vqmmc-supply = <&vdd_1v8_ap>;
123 vmmc-supply = <&vdd_3v3_sys>;
127 nvidia,model = "NVIDIA Jetson TX2 NX HDA";
134 avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
135 avdd-usb-supply = <&vdd_3v3_sys>;
136 vclamp-usb-supply = <&vdd_1v8>;
137 vddio-hsic-supply = <&gnd>;
145 nvidia,function = "xusb";
150 nvidia,function = "xusb";
155 nvidia,function = "xusb";
166 nvidia,function = "xusb";
177 vbus-supply = <&vdd_5v0_sys>;
181 compatible = "gpio-usb-b-connector",
186 TEGRA186_MAIN_GPIO(L, 4)
188 id-gpios = <&pmic 0 GPIO_ACTIVE_HIGH>;
196 vbus-supply = <&vdd_5v0_sys>;
203 vbus-supply = <&vdd_5v0_sys>;
207 nvidia,usb2-companion = <1>;
208 vbus-supply = <&vdd_5v0_sys>;
217 phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
218 <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
219 <&{/padctl@3520000/pads/usb2/lanes/usb2-2}>,
220 <&{/padctl@3520000/pads/usb3/lanes/usb3-1}>;
221 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-1";
228 phy-names = "usb2-0";
242 /* module ID EEPROM */
244 compatible = "atmel,24c02";
248 vcc-supply = <&vdd_1v8>;
255 /* carrier board ID EEPROM */
257 compatible = "atmel,24c02";
261 vcc-supply = <&vdd_1v8>;
278 nvidia,invert-interrupt;
284 dvdd-pex-supply = <&vdd_pex>;
285 hvdd-pex-pll-supply = <&vdd_1v8>;
286 hvdd-pex-supply = <&vdd_1v8>;
287 vddio-pexctl-aud-supply = <&vdd_1v8>;
290 nvidia,num-lanes = <2>;
295 nvidia,num-lanes = <1>;
300 nvidia,num-lanes = <1>;
312 display-hub@15200000 {
324 avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
325 vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
327 nvidia,dpaux = <&dpaux>;
334 avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
335 vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
336 hdmi-supply = <&vdd_hdmi>;
338 nvidia,ddc-i2c-bus = <&ddc>;
339 nvidia,hpd-gpio = <&gpio TEGRA186_MAIN_GPIO(P, 1)
353 compatible = "pwm-fan";
354 pwms = <&pwm4 0 45334>;
356 cooling-levels = <0 64 128 255>;
357 #cooling-cells = <2>;
361 compatible = "gpio-keys";
365 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 0)
367 linux,input-type = <EV_KEY>;
368 linux,code = <KEY_POWER>;
369 debounce-interval = <10>;
370 wakeup-event-action = <EV_ACT_ASSERTED>;
376 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 1)
378 linux,input-type = <EV_KEY>;
379 linux,code = <KEY_VOLUMEUP>;
380 debounce-interval = <10>;
384 label = "Volume Down";
385 gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 2)
387 linux,input-type = <EV_KEY>;
388 linux,code = <KEY_VOLUMEDOWN>;
389 debounce-interval = <10>;
395 enable-method = "psci";
399 enable-method = "psci";
403 enable-method = "psci";
407 enable-method = "psci";
411 enable-method = "psci";
415 enable-method = "psci";
424 compatible = "maxim,max77620";
427 interrupt-parent = <&pmc>;
428 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
429 #interrupt-cells = <2>;
430 interrupt-controller;
435 pinctrl-names = "default";
436 pinctrl-0 = <&max77620_default>;
438 max77620_default: pinmux {
446 function = "fps-out";
447 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
452 function = "fps-out";
453 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
458 function = "fps-out";
459 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
464 function = "32k-out1";
465 drive-push-pull = <1>;
471 drive-push-pull = <0>;
477 drive-push-pull = <1>;
483 drive-push-pull = <1>;
489 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
490 maxim,shutdown-fps-time-period-us = <640>;
494 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
495 maxim,shutdown-fps-time-period-us = <640>;
499 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
500 maxim,shutdown-fps-time-period-us = <640>;
505 in-sd0-supply = <&vdd_5v0_sys>;
506 in-sd1-supply = <&vdd_5v0_sys>;
507 in-sd2-supply = <&vdd_5v0_sys>;
508 in-sd3-supply = <&vdd_5v0_sys>;
510 in-ldo0-1-supply = <&vdd_5v0_sys>;
511 in-ldo2-supply = <&vdd_5v0_sys>;
512 in-ldo3-5-supply = <&vdd_5v0_sys>;
513 in-ldo4-6-supply = <&vdd_1v8>;
514 in-ldo7-8-supply = <&avdd_dsi_csi>;
517 regulator-name = "VDD_DDR_1V1_PMIC";
518 regulator-min-microvolt = <1100000>;
519 regulator-max-microvolt = <1100000>;
525 regulator-name = "AVDD_DSI_CSI_1V2";
526 regulator-min-microvolt = <1200000>;
527 regulator-max-microvolt = <1200000>;
531 regulator-name = "VDD_1V8";
532 regulator-min-microvolt = <1800000>;
533 regulator-max-microvolt = <1800000>;
537 regulator-name = "VDD_3V3_SYS";
538 regulator-min-microvolt = <3300000>;
539 regulator-max-microvolt = <3300000>;
543 regulator-name = "VDD_1V8_AP_PLL";
544 regulator-min-microvolt = <1800000>;
545 regulator-max-microvolt = <1800000>;
549 regulator-name = "VDDIO_3V3_AOHV";
550 regulator-min-microvolt = <3300000>;
551 regulator-max-microvolt = <3300000>;
557 regulator-name = "VDDIO_SDMMC1_AP";
558 regulator-min-microvolt = <1800000>;
559 regulator-max-microvolt = <3300000>;
563 regulator-name = "VDD_RTC";
564 regulator-min-microvolt = <1000000>;
565 regulator-max-microvolt = <1000000>;
569 regulator-name = "VDDIO_SDMMC3_AP";
570 regulator-min-microvolt = <2800000>;
571 regulator-max-microvolt = <2800000>;
574 vdd_hdmi_1v05: ldo7 {
575 regulator-name = "VDD_HDMI_1V05";
576 regulator-min-microvolt = <1050000>;
577 regulator-max-microvolt = <1050000>;
581 regulator-name = "VDD_PEX_1V05";
582 regulator-min-microvolt = <1050000>;
583 regulator-max-microvolt = <1050000>;
591 compatible = "arm,psci-1.0";
597 compatible = "regulator-fixed";
598 regulator-name = "GND";
599 regulator-min-microvolt = <0>;
600 regulator-max-microvolt = <0>;
605 vdd_5v0_sys: regulator-vdd-5v0-sys {
606 compatible = "regulator-fixed";
607 regulator-name = "VDD_5V0_SYS";
608 regulator-min-microvolt = <5000000>;
609 regulator-max-microvolt = <5000000>;
614 vdd_1v8_ap: regulator-vdd-1v8-ap {
615 compatible = "regulator-fixed";
616 regulator-name = "VDD_1V8_AP";
617 regulator-min-microvolt = <1800000>;
618 regulator-max-microvolt = <1800000>;
620 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
623 vin-supply = <&vdd_1v8>;
626 vdd_hdmi: regulator-vdd-hdmi {
627 compatible = "regulator-fixed";
628 regulator-name = "VDD_5V0_HDMI_CON";
629 regulator-min-microvolt = <5000000>;
630 regulator-max-microvolt = <5000000>;
632 vin-supply = <&vdd_5v0_sys>;
638 polling-delay-passive = <500>;
642 cpu_trip_critical: critical {
643 temperature = <96500>;
649 temperature = <79000>;
654 cpu_trip_active: active {
655 temperature = <62000>;
660 cpu_trip_passive: passive {
661 temperature = <45000>;
669 cooling-device = <&fan 3 3>;
670 trip = <&cpu_trip_critical>;
674 cooling-device = <&fan 2 2>;
675 trip = <&cpu_trip_hot>;
679 cooling-device = <&fan 1 1>;
680 trip = <&cpu_trip_active>;
684 cooling-device = <&fan 0 0>;
685 trip = <&cpu_trip_passive>;
692 polling-delay-passive = <500>;
696 aux_alert0: critical {
697 temperature = <90000>;
706 polling-delay-passive = <500>;
710 gpu_alert0: critical {
711 temperature = <99000>;
722 dma-controller@2930000 {
726 interrupt-controller@2a40000 {
734 #address-cells = <1>;
740 xbar_admaif0_ep: endpoint {
741 remote-endpoint = <&admaif0_ep>;
748 xbar_admaif1_ep: endpoint {
749 remote-endpoint = <&admaif1_ep>;
756 xbar_admaif2_ep: endpoint {
757 remote-endpoint = <&admaif2_ep>;
764 xbar_admaif3_ep: endpoint {
765 remote-endpoint = <&admaif3_ep>;
772 xbar_admaif4_ep: endpoint {
773 remote-endpoint = <&admaif4_ep>;
780 xbar_admaif5_ep: endpoint {
781 remote-endpoint = <&admaif5_ep>;
788 xbar_admaif6_ep: endpoint {
789 remote-endpoint = <&admaif6_ep>;
796 xbar_admaif7_ep: endpoint {
797 remote-endpoint = <&admaif7_ep>;
804 xbar_admaif8_ep: endpoint {
805 remote-endpoint = <&admaif8_ep>;
812 xbar_admaif9_ep: endpoint {
813 remote-endpoint = <&admaif9_ep>;
820 xbar_admaif10_ep: endpoint {
821 remote-endpoint = <&admaif10_ep>;
828 xbar_admaif11_ep: endpoint {
829 remote-endpoint = <&admaif11_ep>;
836 xbar_admaif12_ep: endpoint {
837 remote-endpoint = <&admaif12_ep>;
844 xbar_admaif13_ep: endpoint {
845 remote-endpoint = <&admaif13_ep>;
852 xbar_admaif14_ep: endpoint {
853 remote-endpoint = <&admaif14_ep>;
860 xbar_admaif15_ep: endpoint {
861 remote-endpoint = <&admaif15_ep>;
868 xbar_admaif16_ep: endpoint {
869 remote-endpoint = <&admaif16_ep>;
876 xbar_admaif17_ep: endpoint {
877 remote-endpoint = <&admaif17_ep>;
884 xbar_admaif18_ep: endpoint {
885 remote-endpoint = <&admaif18_ep>;
892 xbar_admaif19_ep: endpoint {
893 remote-endpoint = <&admaif19_ep>;
897 xbar_i2s1_port: port@14 {
900 xbar_i2s1_ep: endpoint {
901 remote-endpoint = <&i2s1_cif_ep>;
905 xbar_i2s3_port: port@16 {
908 xbar_i2s3_ep: endpoint {
909 remote-endpoint = <&i2s3_cif_ep>;
913 xbar_dmic1_port: port@1a {
916 xbar_dmic1_ep: endpoint {
917 remote-endpoint = <&dmic1_cif_ep>;
921 xbar_dmic2_port: port@1b {
924 xbar_dmic2_ep: endpoint {
925 remote-endpoint = <&dmic2_cif_ep>;
934 #address-cells = <1>;
937 admaif0_port: port@0 {
940 admaif0_ep: endpoint {
941 remote-endpoint = <&xbar_admaif0_ep>;
945 admaif1_port: port@1 {
948 admaif1_ep: endpoint {
949 remote-endpoint = <&xbar_admaif1_ep>;
953 admaif2_port: port@2 {
956 admaif2_ep: endpoint {
957 remote-endpoint = <&xbar_admaif2_ep>;
961 admaif3_port: port@3 {
964 admaif3_ep: endpoint {
965 remote-endpoint = <&xbar_admaif3_ep>;
969 admaif4_port: port@4 {
972 admaif4_ep: endpoint {
973 remote-endpoint = <&xbar_admaif4_ep>;
977 admaif5_port: port@5 {
980 admaif5_ep: endpoint {
981 remote-endpoint = <&xbar_admaif5_ep>;
985 admaif6_port: port@6 {
988 admaif6_ep: endpoint {
989 remote-endpoint = <&xbar_admaif6_ep>;
993 admaif7_port: port@7 {
996 admaif7_ep: endpoint {
997 remote-endpoint = <&xbar_admaif7_ep>;
1001 admaif8_port: port@8 {
1004 admaif8_ep: endpoint {
1005 remote-endpoint = <&xbar_admaif8_ep>;
1009 admaif9_port: port@9 {
1012 admaif9_ep: endpoint {
1013 remote-endpoint = <&xbar_admaif9_ep>;
1017 admaif10_port: port@a {
1020 admaif10_ep: endpoint {
1021 remote-endpoint = <&xbar_admaif10_ep>;
1025 admaif11_port: port@b {
1028 admaif11_ep: endpoint {
1029 remote-endpoint = <&xbar_admaif11_ep>;
1033 admaif12_port: port@c {
1036 admaif12_ep: endpoint {
1037 remote-endpoint = <&xbar_admaif12_ep>;
1041 admaif13_port: port@d {
1044 admaif13_ep: endpoint {
1045 remote-endpoint = <&xbar_admaif13_ep>;
1049 admaif14_port: port@e {
1052 admaif14_ep: endpoint {
1053 remote-endpoint = <&xbar_admaif14_ep>;
1057 admaif15_port: port@f {
1060 admaif15_ep: endpoint {
1061 remote-endpoint = <&xbar_admaif15_ep>;
1065 admaif16_port: port@10 {
1068 admaif16_ep: endpoint {
1069 remote-endpoint = <&xbar_admaif16_ep>;
1073 admaif17_port: port@11 {
1076 admaif17_ep: endpoint {
1077 remote-endpoint = <&xbar_admaif17_ep>;
1081 admaif18_port: port@12 {
1084 admaif18_ep: endpoint {
1085 remote-endpoint = <&xbar_admaif18_ep>;
1089 admaif19_port: port@13 {
1092 admaif19_ep: endpoint {
1093 remote-endpoint = <&xbar_admaif19_ep>;
1103 #address-cells = <1>;
1109 i2s1_cif_ep: endpoint {
1110 remote-endpoint = <&xbar_i2s1_ep>;
1117 i2s1_dap_ep: endpoint {
1119 /* Placeholder for external Codec */
1129 #address-cells = <1>;
1135 i2s3_cif_ep: endpoint {
1136 remote-endpoint = <&xbar_i2s3_ep>;
1143 i2s3_dap_ep: endpoint {
1145 /* Placeholder for external Codec */
1155 #address-cells = <1>;
1161 dmic1_cif_ep: endpoint {
1162 remote-endpoint = <&xbar_dmic1_ep>;
1166 dmic1_port: port@1 {
1169 dmic1_dap_ep: endpoint {
1170 /* Place holder for external Codec */
1180 #address-cells = <1>;
1186 dmic2_cif_ep: endpoint {
1187 remote-endpoint = <&xbar_dmic2_ep>;
1191 dmic2_port: port@1 {
1194 dmic2_dap_ep: endpoint {
1195 /* Place holder for external Codec */
1204 compatible = "nvidia,tegra186-audio-graph-card";
1208 <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
1209 <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
1210 <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
1211 <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
1212 <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
1214 <&xbar_i2s1_port>, <&xbar_i2s3_port>,
1215 <&xbar_dmic1_port>, <&xbar_dmic2_port>,
1217 <&i2s1_port>, <&i2s3_port>,
1218 <&dmic1_port>, <&dmic2_port>;
1220 label = "NVIDIA Jetson TX2 NX APE";