1 // SPDX-License-Identifier: GPL-2.0
2 #include "tegra186.dtsi"
4 #include <dt-bindings/mfd/max77620.h>
7 model = "NVIDIA Jetson TX2";
8 compatible = "nvidia,p3310", "nvidia,tegra186";
11 ethernet0 = "/ethernet@2490000";
13 i2c1 = "/i2c@3160000";
14 i2c2 = "/i2c@c240000";
15 i2c3 = "/i2c@3180000";
16 i2c4 = "/i2c@3190000";
17 i2c5 = "/i2c@31c0000";
18 i2c6 = "/i2c@c250000";
19 i2c7 = "/i2c@31e0000";
20 mmc0 = "/mmc@3460000";
21 mmc1 = "/mmc@3400000";
26 bootargs = "earlycon console=ttyS0,115200n8 fw_devlink=on";
27 stdout-path = "serial0:115200n8";
31 device_type = "memory";
32 reg = <0x0 0x80000000 0x2 0x00000000>;
38 phy-reset-gpios = <&gpio TEGRA186_MAIN_GPIO(M, 4)
48 compatible = "ethernet-phy-ieee802.3-c22";
50 interrupt-parent = <&gpio>;
51 interrupts = <TEGRA186_MAIN_GPIO(M, 5)
59 memory-controller@2c00000 {
71 compatible = "ti,ina3221";
78 label = "VDD_SYS_GPU";
79 shunt-resistor-micro-ohms = <10000>;
84 label = "VDD_SYS_SOC";
85 shunt-resistor-micro-ohms = <10000>;
90 label = "VDD_3V8_WIFI";
91 shunt-resistor-micro-ohms = <10000>;
96 compatible = "ti,ina3221";
104 shunt-resistor-micro-ohms = <5000>;
109 label = "VDD_SYS_CPU";
110 shunt-resistor-micro-ohms = <10000>;
115 label = "VDD_5V0_DDR";
116 shunt-resistor-micro-ohms = <10000>;
137 /* SDMMC1 (SD/MMC) */
139 cd-gpios = <&gpio TEGRA186_MAIN_GPIO(P, 5) GPIO_ACTIVE_LOW>;
140 wp-gpios = <&gpio TEGRA186_MAIN_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
142 vqmmc-supply = <&vddio_sdmmc1>;
148 vqmmc-supply = <&vddio_sdmmc3>;
157 vqmmc-supply = <&vdd_1v8_ap>;
158 vmmc-supply = <&vdd_3v3_sys>;
172 /* module ID EEPROM */
174 compatible = "atmel,24c02";
178 vcc-supply = <&vdd_1v8>;
191 nvidia,invert-interrupt;
199 compatible = "maxim,max77620";
202 interrupt-parent = <&pmc>;
203 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
204 #interrupt-cells = <2>;
205 interrupt-controller;
210 pinctrl-names = "default";
211 pinctrl-0 = <&max77620_default>;
215 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
216 maxim,shutdown-fps-time-period-us = <640>;
220 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
221 maxim,shutdown-fps-time-period-us = <640>;
225 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
226 maxim,shutdown-fps-time-period-us = <640>;
230 max77620_default: pinmux {
238 function = "fps-out";
239 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
244 function = "fps-out";
245 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
250 function = "fps-out";
251 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
256 function = "32k-out1";
257 drive-push-pull = <1>;
263 drive-push-pull = <0>;
269 drive-push-pull = <1>;
275 drive-push-pull = <0>;
280 in-sd0-supply = <&vdd_5v0_sys>;
281 in-sd1-supply = <&vdd_5v0_sys>;
282 in-sd2-supply = <&vdd_5v0_sys>;
283 in-sd3-supply = <&vdd_5v0_sys>;
285 in-ldo0-1-supply = <&vdd_5v0_sys>;
286 in-ldo2-supply = <&vdd_5v0_sys>;
287 in-ldo3-5-supply = <&vdd_5v0_sys>;
288 in-ldo4-6-supply = <&vdd_1v8>;
289 in-ldo7-8-supply = <&avdd_dsi_csi>;
292 regulator-name = "VDD_DDR_1V1_PMIC";
293 regulator-min-microvolt = <1100000>;
294 regulator-max-microvolt = <1100000>;
300 regulator-name = "AVDD_DSI_CSI_1V2";
301 regulator-min-microvolt = <1200000>;
302 regulator-max-microvolt = <1200000>;
306 regulator-name = "VDD_1V8";
307 regulator-min-microvolt = <1800000>;
308 regulator-max-microvolt = <1800000>;
312 regulator-name = "VDD_3V3_SYS";
313 regulator-min-microvolt = <3300000>;
314 regulator-max-microvolt = <3300000>;
318 regulator-name = "VDD_1V8_AP_PLL";
319 regulator-min-microvolt = <1800000>;
320 regulator-max-microvolt = <1800000>;
324 regulator-name = "VDDIO_3V3_AOHV";
325 regulator-min-microvolt = <3300000>;
326 regulator-max-microvolt = <3300000>;
332 regulator-name = "VDDIO_SDMMC1_AP";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <3300000>;
338 regulator-name = "VDD_RTC";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
344 regulator-name = "VDDIO_SDMMC3_AP";
345 regulator-min-microvolt = <2800000>;
346 regulator-max-microvolt = <2800000>;
349 vdd_hdmi_1v05: ldo7 {
350 regulator-name = "VDD_HDMI_1V05";
351 regulator-min-microvolt = <1050000>;
352 regulator-max-microvolt = <1050000>;
356 regulator-name = "VDD_PEX_1V05";
357 regulator-min-microvolt = <1050000>;
358 regulator-max-microvolt = <1050000>;
367 enable-method = "psci";
371 enable-method = "psci";
375 enable-method = "psci";
379 enable-method = "psci";
383 enable-method = "psci";
387 enable-method = "psci";
392 compatible = "arm,psci-1.0";
398 compatible = "regulator-fixed";
399 regulator-name = "GND";
400 regulator-min-microvolt = <0>;
401 regulator-max-microvolt = <0>;
406 vdd_5v0_sys: regulator-vdd-5v0-sys {
407 compatible = "regulator-fixed";
408 regulator-name = "VDD_5V0_SYS";
409 regulator-min-microvolt = <5000000>;
410 regulator-max-microvolt = <5000000>;
415 vdd_1v8_ap: regulator-vdd-1v8-ap {
416 compatible = "regulator-fixed";
417 regulator-name = "VDD_1V8_AP";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
421 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
424 vin-supply = <&vdd_1v8>;