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 = <>;
122 vqmmc-supply = <&vdd_1v8_ap>;
123 vmmc-supply = <&vdd_3v3_sys>;
127 nvidia,model = "jetson-tx2-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@1 {
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@2 {
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@3 {
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 gpu_alert0: critical {
697 temperature = <99000>;
706 polling-delay-passive = <500>;
710 aux_alert0: critical {
711 temperature = <90000>;