1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/mfd/max77620.h>
8 #include "tegra210.dtsi"
11 model = "NVIDIA Jetson Nano Developer Kit";
12 compatible = "nvidia,p3450-0000", "nvidia,tegra210";
15 ethernet = "/pcie@1003000/pci@2,0/ethernet@0,0";
16 rtc0 = "/i2c@7000d000/pmic@3c";
17 rtc1 = "/rtc@7000e000";
22 stdout-path = "serial0:115200n8";
26 device_type = "memory";
27 reg = <0x0 0x80000000 0x1 0x0>;
33 avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
34 hvddio-pex-supply = <&vdd_1v8>;
35 dvddio-pex-supply = <&vdd_pex_1v05>;
36 dvdd-pex-pll-supply = <&vdd_pex_1v05>;
37 hvdd-pex-pll-e-supply = <&vdd_1v8>;
38 vddio-pex-ctl-supply = <&vdd_1v8>;
41 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>,
42 <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>,
43 <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>,
44 <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
45 phy-names = "pcie-0", "pcie-1", "pcie-2", "pcie-3";
46 nvidia,num-lanes = <4>;
51 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>;
56 reg = <0x000000 0 0 0 0>;
57 local-mac-address = [ 00 00 00 00 00 00 ];
70 avdd-dsi-csi-supply = <&vdd_sys_1v2>;
80 avdd-io-hdmi-dp-supply = <&avdd_io_edp_1v05>;
81 vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
83 nvidia,xbar-cfg = <2 1 0 3 4>;
84 nvidia,dpaux = <&dpaux>;
90 avdd-io-hdmi-dp-supply = <&avdd_1v05>;
91 vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
92 hdmi-supply = <&vdd_hdmi>;
94 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
95 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1)
97 nvidia,xbar-cfg = <0 1 2 3 4>;
110 vdd-supply = <&vdd_gpu>;
115 dvfs_pwm_active_state: dvfs_pwm_active {
117 nvidia,pins = "dvfs_pwm_pbb1";
118 nvidia,tristate = <TEGRA_PIN_DISABLE>;
122 dvfs_pwm_inactive_state: dvfs_pwm_inactive {
124 nvidia,pins = "dvfs_pwm_pbb1";
125 nvidia,tristate = <TEGRA_PIN_ENABLE>;
141 clock-frequency = <100000>;
144 compatible = "atmel,24c02";
148 vcc-supply = <&vdd_1v8>;
156 compatible = "atmel,24c02";
160 vcc-supply = <&vdd_1v8>;
168 hdmi_ddc: i2c@7000c700 {
170 clock-frequency = <100000>;
175 clock-frequency = <400000>;
178 compatible = "maxim,max77620";
180 interrupt-parent = <&tegra_pmc>;
181 interrupts = <51 IRQ_TYPE_LEVEL_LOW>;
183 #interrupt-cells = <2>;
184 interrupt-controller;
189 pinctrl-names = "default";
190 pinctrl-0 = <&max77620_default>;
192 max77620_default: pinmux {
200 function = "fps-out";
201 drive-push-pull = <1>;
202 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
203 maxim,active-fps-power-up-slot = <0>;
204 maxim,active-fps-power-down-slot = <7>;
209 function = "fps-out";
210 drive-open-drain = <1>;
211 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
212 maxim,active-fps-power-up-slot = <0>;
213 maxim,active-fps-power-down-slot = <7>;
218 function = "fps-out";
219 drive-open-drain = <1>;
220 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
221 maxim,active-fps-power-up-slot = <4>;
222 maxim,active-fps-power-down-slot = <3>;
227 function = "32k-out1";
231 pins = "gpio5", "gpio6", "gpio7";
233 drive-push-pull = <1>;
239 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
240 maxim,suspend-fps-time-period-us = <5120>;
244 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
245 maxim,suspend-fps-time-period-us = <5120>;
249 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
254 in-ldo0-1-supply = <&vdd_pre>;
255 in-ldo2-supply = <&vdd_3v3_sys>;
256 in-ldo3-5-supply = <&vdd_1v8>;
257 in-ldo4-6-supply = <&vdd_5v0_sys>;
258 in-ldo7-8-supply = <&vdd_pre>;
259 in-sd0-supply = <&vdd_5v0_sys>;
260 in-sd1-supply = <&vdd_5v0_sys>;
261 in-sd2-supply = <&vdd_5v0_sys>;
262 in-sd3-supply = <&vdd_5v0_sys>;
265 regulator-name = "VDD_SOC";
266 regulator-min-microvolt = <1000000>;
267 regulator-max-microvolt = <1170000>;
268 regulator-enable-ramp-delay = <146>;
269 regulator-disable-ramp-delay = <4080>;
270 regulator-ramp-delay = <27500>;
271 regulator-ramp-delay-scale = <300>;
275 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
276 maxim,active-fps-power-up-slot = <1>;
277 maxim,active-fps-power-down-slot = <6>;
281 regulator-name = "VDD_DDR_1V1_PMIC";
282 regulator-min-microvolt = <1150000>;
283 regulator-max-microvolt = <1150000>;
284 regulator-enable-ramp-delay = <176>;
285 regulator-disable-ramp-delay = <145800>;
286 regulator-ramp-delay = <27500>;
287 regulator-ramp-delay-scale = <300>;
291 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
292 maxim,active-fps-power-up-slot = <5>;
293 maxim,active-fps-power-down-slot = <2>;
297 regulator-name = "VDD_PRE_REG_1V35";
298 regulator-min-microvolt = <1350000>;
299 regulator-max-microvolt = <1350000>;
300 regulator-enable-ramp-delay = <176>;
301 regulator-disable-ramp-delay = <32000>;
302 regulator-ramp-delay = <27500>;
303 regulator-ramp-delay-scale = <350>;
307 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
308 maxim,active-fps-power-up-slot = <2>;
309 maxim,active-fps-power-down-slot = <5>;
313 regulator-name = "VDD_1V8";
314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <1800000>;
316 regulator-enable-ramp-delay = <242>;
317 regulator-disable-ramp-delay = <118000>;
318 regulator-ramp-delay = <27500>;
319 regulator-ramp-delay-scale = <360>;
323 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
324 maxim,active-fps-power-up-slot = <3>;
325 maxim,active-fps-power-down-slot = <4>;
329 regulator-name = "AVDD_SYS_1V2";
330 regulator-min-microvolt = <1200000>;
331 regulator-max-microvolt = <1200000>;
332 regulator-enable-ramp-delay = <26>;
333 regulator-disable-ramp-delay = <626>;
334 regulator-ramp-delay = <100000>;
335 regulator-ramp-delay-scale = <200>;
339 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
340 maxim,active-fps-power-up-slot = <0>;
341 maxim,active-fps-power-down-slot = <7>;
345 regulator-name = "VDD_PEX_1V05";
346 regulator-min-microvolt = <1050000>;
347 regulator-max-microvolt = <1050000>;
348 regulator-enable-ramp-delay = <22>;
349 regulator-disable-ramp-delay = <650>;
350 regulator-ramp-delay = <100000>;
351 regulator-ramp-delay-scale = <200>;
353 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
354 maxim,active-fps-power-up-slot = <0>;
355 maxim,active-fps-power-down-slot = <7>;
359 regulator-name = "VDDIO_SDMMC";
360 regulator-min-microvolt = <1800000>;
361 regulator-max-microvolt = <3300000>;
362 regulator-enable-ramp-delay = <62>;
363 regulator-disable-ramp-delay = <650>;
364 regulator-ramp-delay = <100000>;
365 regulator-ramp-delay-scale = <200>;
367 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
368 maxim,active-fps-power-up-slot = <0>;
369 maxim,active-fps-power-down-slot = <7>;
377 regulator-name = "VDD_RTC";
378 regulator-min-microvolt = <850000>;
379 regulator-max-microvolt = <1100000>;
380 regulator-enable-ramp-delay = <22>;
381 regulator-disable-ramp-delay = <610>;
382 regulator-ramp-delay = <100000>;
383 regulator-ramp-delay-scale = <200>;
384 regulator-disable-active-discharge;
388 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
389 maxim,active-fps-power-up-slot = <1>;
390 maxim,active-fps-power-down-slot = <6>;
401 avdd_1v05_pll: ldo7 {
402 regulator-name = "AVDD_1V05_PLL";
403 regulator-min-microvolt = <1050000>;
404 regulator-max-microvolt = <1050000>;
405 regulator-enable-ramp-delay = <24>;
406 regulator-disable-ramp-delay = <2768>;
407 regulator-ramp-delay = <100000>;
408 regulator-ramp-delay-scale = <200>;
410 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
411 maxim,active-fps-power-up-slot = <3>;
412 maxim,active-fps-power-down-slot = <4>;
416 regulator-name = "AVDD_SATA_HDMI_DP_1V05";
417 regulator-min-microvolt = <1050000>;
418 regulator-max-microvolt = <1050000>;
419 regulator-enable-ramp-delay = <22>;
420 regulator-disable-ramp-delay = <1160>;
421 regulator-ramp-delay = <100000>;
422 regulator-ramp-delay-scale = <200>;
424 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
425 maxim,active-fps-power-up-slot = <6>;
426 maxim,active-fps-power-down-slot = <1>;
433 nvidia,invert-interrupt;
434 nvidia,suspend-mode = <0>;
435 nvidia,cpu-pwr-good-time = <0>;
436 nvidia,cpu-pwr-off-time = <0>;
437 nvidia,core-pwr-good-time = <4587 3876>;
438 nvidia,core-pwr-off-time = <39065>;
439 nvidia,core-power-req-active-high;
440 nvidia,sys-clock-req-active-high;
444 nvidia,model = "jetson-nano-hda";
450 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>,
451 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>,
452 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>,
453 <&{/padctl@7009f000/pads/pcie/lanes/pcie-6}>;
454 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0";
456 avdd-usb-supply = <&vdd_3v3_sys>;
457 dvddio-pex-supply = <&vdd_pex_1v05>;
458 hvddio-pex-supply = <&vdd_1v8>;
459 /* these really belong to the XUSB pad controller */
460 avdd-pll-utmip-supply = <&vdd_1v8>;
461 avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
462 dvdd-usb-ss-pll-supply = <&vdd_pex_1v05>;
463 hvdd-usb-ss-pll-e-supply = <&vdd_1v8>;
471 avdd-pll-utmip-supply = <&vdd_1v8>;
472 avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
473 dvdd-pex-pll-supply = <&vdd_pex_1v05>;
474 hvdd-pex-pll-e-supply = <&vdd_1v8>;
482 nvidia,function = "xusb";
487 nvidia,function = "xusb";
492 nvidia,function = "xusb";
503 nvidia,function = "pcie-x1";
508 nvidia,function = "pcie-x4";
513 nvidia,function = "pcie-x4";
518 nvidia,function = "pcie-x4";
523 nvidia,function = "pcie-x4";
528 nvidia,function = "usb3-ss";
533 nvidia,function = "usb3-ss";
546 vbus-supply = <&vdd_5v0_usb>;
549 compatible = "gpio-usb-b-connector",
553 vbus-gpios = <&gpio TEGRA_GPIO(CC, 4)
570 nvidia,usb2-companion = <1>;
571 vbus-supply = <&vdd_hub_3v3>;
580 cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
583 vqmmc-supply = <&vddio_sdmmc>;
584 vmmc-supply = <&vdd_3v3_sd>;
591 vqmmc-supply = <&vdd_1v8>;
592 vmmc-supply = <&vdd_3v3_sys>;
596 keep-power-in-suspend;
603 phy-names = "usb2-0";
604 avddio-usb-supply = <&vdd_3v3_sys>;
605 hvdd-usb-supply = <&vdd_1v8>;
614 nvidia,droop-ctrl = <0x00000f00>;
615 nvidia,force-mode = <1>;
616 nvidia,sample-rate = <25000>;
618 nvidia,pwm-min-microvolts = <708000>;
619 nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
621 nvidia,pwm-tristate-microvolts = <1000000>;
622 nvidia,pwm-voltage-step-microvolts = <19200>;
624 pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
625 pinctrl-0 = <&dvfs_pwm_active_state>;
626 pinctrl-1 = <&dvfs_pwm_inactive_state>;
632 dma-controller@702e2000 {
636 interrupt-controller@702f9000 {
642 compatible = "fixed-clock";
643 clock-frequency = <32768>;
649 enable-method = "psci";
653 enable-method = "psci";
657 enable-method = "psci";
661 enable-method = "psci";
672 compatible = "pwm-fan";
673 pwms = <&pwm 3 45334>;
675 cooling-levels = <0 64 128 255>;
676 #cooling-cells = <2>;
682 cpu_trip_critical: critical {
683 temperature = <96500>;
689 temperature = <70000>;
694 cpu_trip_active: active {
695 temperature = <50000>;
700 cpu_trip_passive: passive {
701 temperature = <30000>;
709 cooling-device = <&fan 3 3>;
710 trip = <&cpu_trip_critical>;
714 cooling-device = <&fan 2 2>;
715 trip = <&cpu_trip_hot>;
719 cooling-device = <&fan 1 1>;
720 trip = <&cpu_trip_active>;
724 cooling-device = <&fan 0 0>;
725 trip = <&cpu_trip_passive>;
732 compatible = "gpio-keys";
736 gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
737 linux,input-type = <EV_KEY>;
738 linux,code = <KEY_POWER>;
739 debounce-interval = <30>;
740 wakeup-event-action = <EV_ACT_ASSERTED>;
745 label = "Force Recovery";
746 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
747 linux,input-type = <EV_KEY>;
748 linux,code = <BTN_1>;
749 debounce-interval = <30>;
754 compatible = "arm,psci-1.0";
758 vdd_5v0_sys: regulator@0 {
759 compatible = "regulator-fixed";
761 regulator-name = "VDD_5V0_SYS";
762 regulator-min-microvolt = <5000000>;
763 regulator-max-microvolt = <5000000>;
768 vdd_3v3_sys: regulator@1 {
769 compatible = "regulator-fixed";
771 regulator-name = "VDD_3V3_SYS";
772 regulator-min-microvolt = <3300000>;
773 regulator-max-microvolt = <3300000>;
774 regulator-enable-ramp-delay = <240>;
775 regulator-disable-ramp-delay = <11340>;
779 gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
782 vin-supply = <&vdd_5v0_sys>;
785 vdd_3v3_sd: regulator@2 {
786 compatible = "regulator-fixed";
788 regulator-name = "VDD_3V3_SD";
789 regulator-min-microvolt = <3300000>;
790 regulator-max-microvolt = <3300000>;
792 gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
795 vin-supply = <&vdd_3v3_sys>;
798 vdd_hdmi: regulator@3 {
799 compatible = "regulator-fixed";
801 regulator-name = "VDD_HDMI_5V0";
802 regulator-min-microvolt = <5000000>;
803 regulator-max-microvolt = <5000000>;
805 vin-supply = <&vdd_5v0_sys>;
808 vdd_hub_3v3: regulator@4 {
809 compatible = "regulator-fixed";
811 regulator-name = "VDD_HUB_3V3";
812 regulator-min-microvolt = <3300000>;
813 regulator-max-microvolt = <3300000>;
815 gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
818 vin-supply = <&vdd_5v0_sys>;
821 vdd_cpu: regulator@5 {
822 compatible = "regulator-fixed";
824 regulator-name = "VDD_CPU";
825 regulator-min-microvolt = <5000000>;
826 regulator-max-microvolt = <5000000>;
830 gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
833 vin-supply = <&vdd_5v0_sys>;
836 vdd_gpu: regulator@6 {
837 compatible = "pwm-regulator";
838 pwms = <&pwm 1 8000>;
840 regulator-name = "VDD_GPU";
841 regulator-min-microvolt = <710000>;
842 regulator-max-microvolt = <1320000>;
843 regulator-ramp-delay = <80>;
844 regulator-enable-ramp-delay = <2000>;
845 regulator-settling-time-us = <160>;
847 enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
848 vin-supply = <&vdd_5v0_sys>;
851 avdd_io_edp_1v05: regulator@7 {
852 compatible = "regulator-fixed";
854 regulator-name = "AVDD_IO_EDP_1V05";
855 regulator-min-microvolt = <1050000>;
856 regulator-max-microvolt = <1050000>;
858 gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
861 vin-supply = <&avdd_1v05_pll>;
864 vdd_5v0_usb: regulator@8 {
865 compatible = "regulator-fixed";
867 regulator-name = "VDD_5V_USB";
868 regulator-min-microvolt = <50000000>;
869 regulator-max-microvolt = <50000000>;
871 vin-supply = <&vdd_5v0_sys>;