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-io-supply = <&avdd_1v05>;
71 vdd-pll-supply = <&vdd_1v8>;
72 hdmi-supply = <&vdd_hdmi>;
74 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
75 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1)
77 nvidia,xbar-cfg = <0 1 2 3 4>;
82 vdd-supply = <&vdd_gpu>;
97 clock-frequency = <100000>;
100 compatible = "atmel,24c02";
110 compatible = "atmel,24c02";
120 hdmi_ddc: i2c@7000c700 {
122 clock-frequency = <100000>;
127 clock-frequency = <400000>;
130 compatible = "maxim,max77620";
132 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
134 #interrupt-cells = <2>;
135 interrupt-controller;
140 pinctrl-names = "default";
141 pinctrl-0 = <&max77620_default>;
143 max77620_default: pinmux {
151 function = "fps-out";
152 drive-push-pull = <1>;
153 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
154 maxim,active-fps-power-up-slot = <0>;
155 maxim,active-fps-power-down-slot = <7>;
160 function = "fps-out";
161 drive-open-drain = <1>;
162 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
163 maxim,active-fps-power-up-slot = <0>;
164 maxim,active-fps-power-down-slot = <7>;
169 function = "fps-out";
170 drive-open-drain = <1>;
171 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
172 maxim,active-fps-power-up-slot = <4>;
173 maxim,active-fps-power-down-slot = <3>;
178 function = "32k-out1";
182 pins = "gpio5", "gpio6", "gpio7";
184 drive-push-pull = <1>;
190 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
191 maxim,suspend-fps-time-period-us = <5120>;
195 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
196 maxim,suspend-fps-time-period-us = <5120>;
200 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
205 in-ldo0-1-supply = <&vdd_pre>;
206 in-ldo2-supply = <&vdd_3v3_sys>;
207 in-ldo3-5-supply = <&vdd_1v8>;
208 in-ldo4-6-supply = <&vdd_5v0_sys>;
209 in-ldo7-8-supply = <&vdd_pre>;
210 in-sd0-supply = <&vdd_5v0_sys>;
211 in-sd1-supply = <&vdd_5v0_sys>;
212 in-sd2-supply = <&vdd_5v0_sys>;
213 in-sd3-supply = <&vdd_5v0_sys>;
216 regulator-name = "VDD_SOC";
217 regulator-min-microvolt = <1000000>;
218 regulator-max-microvolt = <1170000>;
219 regulator-enable-ramp-delay = <146>;
220 regulator-disable-ramp-delay = <4080>;
221 regulator-ramp-delay = <27500>;
222 regulator-ramp-delay-scale = <300>;
226 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
227 maxim,active-fps-power-up-slot = <1>;
228 maxim,active-fps-power-down-slot = <6>;
232 regulator-name = "VDD_DDR_1V1_PMIC";
233 regulator-min-microvolt = <1150000>;
234 regulator-max-microvolt = <1150000>;
235 regulator-enable-ramp-delay = <176>;
236 regulator-disable-ramp-delay = <145800>;
237 regulator-ramp-delay = <27500>;
238 regulator-ramp-delay-scale = <300>;
242 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
243 maxim,active-fps-power-up-slot = <5>;
244 maxim,active-fps-power-down-slot = <2>;
248 regulator-name = "VDD_PRE_REG_1V35";
249 regulator-min-microvolt = <1350000>;
250 regulator-max-microvolt = <1350000>;
251 regulator-enable-ramp-delay = <176>;
252 regulator-disable-ramp-delay = <32000>;
253 regulator-ramp-delay = <27500>;
254 regulator-ramp-delay-scale = <350>;
258 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
259 maxim,active-fps-power-up-slot = <2>;
260 maxim,active-fps-power-down-slot = <5>;
264 regulator-name = "VDD_1V8";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
267 regulator-enable-ramp-delay = <242>;
268 regulator-disable-ramp-delay = <118000>;
269 regulator-ramp-delay = <27500>;
270 regulator-ramp-delay-scale = <360>;
274 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
275 maxim,active-fps-power-up-slot = <3>;
276 maxim,active-fps-power-down-slot = <4>;
280 regulator-name = "AVDD_SYS_1V2";
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
283 regulator-enable-ramp-delay = <26>;
284 regulator-disable-ramp-delay = <626>;
285 regulator-ramp-delay = <100000>;
286 regulator-ramp-delay-scale = <200>;
290 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
291 maxim,active-fps-power-up-slot = <0>;
292 maxim,active-fps-power-down-slot = <7>;
296 regulator-name = "VDD_PEX_1V05";
297 regulator-min-microvolt = <1050000>;
298 regulator-max-microvolt = <1050000>;
299 regulator-enable-ramp-delay = <22>;
300 regulator-disable-ramp-delay = <650>;
301 regulator-ramp-delay = <100000>;
302 regulator-ramp-delay-scale = <200>;
304 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
305 maxim,active-fps-power-up-slot = <0>;
306 maxim,active-fps-power-down-slot = <7>;
310 regulator-name = "VDDIO_SDMMC";
311 regulator-min-microvolt = <1800000>;
312 regulator-max-microvolt = <3300000>;
313 regulator-enable-ramp-delay = <62>;
314 regulator-disable-ramp-delay = <650>;
315 regulator-ramp-delay = <100000>;
316 regulator-ramp-delay-scale = <200>;
318 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
319 maxim,active-fps-power-up-slot = <0>;
320 maxim,active-fps-power-down-slot = <7>;
328 regulator-name = "VDD_RTC";
329 regulator-min-microvolt = <850000>;
330 regulator-max-microvolt = <1100000>;
331 regulator-enable-ramp-delay = <22>;
332 regulator-disable-ramp-delay = <610>;
333 regulator-ramp-delay = <100000>;
334 regulator-ramp-delay-scale = <200>;
335 regulator-disable-active-discharge;
339 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
340 maxim,active-fps-power-up-slot = <1>;
341 maxim,active-fps-power-down-slot = <6>;
352 avdd_1v05_pll: ldo7 {
353 regulator-name = "AVDD_1V05_PLL";
354 regulator-min-microvolt = <1050000>;
355 regulator-max-microvolt = <1050000>;
356 regulator-enable-ramp-delay = <24>;
357 regulator-disable-ramp-delay = <2768>;
358 regulator-ramp-delay = <100000>;
359 regulator-ramp-delay-scale = <200>;
361 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
362 maxim,active-fps-power-up-slot = <3>;
363 maxim,active-fps-power-down-slot = <4>;
367 regulator-name = "AVDD_SATA_HDMI_DP_1V05";
368 regulator-min-microvolt = <1050000>;
369 regulator-max-microvolt = <1050000>;
370 regulator-enable-ramp-delay = <22>;
371 regulator-disable-ramp-delay = <1160>;
372 regulator-ramp-delay = <100000>;
373 regulator-ramp-delay-scale = <200>;
375 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
376 maxim,active-fps-power-up-slot = <6>;
377 maxim,active-fps-power-down-slot = <1>;
384 nvidia,invert-interrupt;
388 nvidia,model = "jetson-nano-hda";
394 phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>,
395 <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>,
396 <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>,
397 <&{/padctl@7009f000/pads/pcie/lanes/pcie-6}>;
398 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0";
400 avdd-usb-supply = <&vdd_3v3_sys>;
401 dvddio-pex-supply = <&vdd_pex_1v05>;
402 hvddio-pex-supply = <&vdd_1v8>;
403 /* these really belong to the XUSB pad controller */
404 avdd-pll-utmip-supply = <&vdd_1v8>;
405 avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
406 dvdd-usb-ss-pll-supply = <&vdd_pex_1v05>;
407 hvdd-usb-ss-pll-e-supply = <&vdd_1v8>;
415 avdd-pll-utmip-supply = <&vdd_1v8>;
416 avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
417 dvdd-pex-pll-supply = <&vdd_pex_1v05>;
418 hvdd-pex-pll-e-supply = <&vdd_1v8>;
426 nvidia,function = "xusb";
431 nvidia,function = "xusb";
436 nvidia,function = "xusb";
447 nvidia,function = "pcie-x1";
452 nvidia,function = "pcie-x4";
457 nvidia,function = "pcie-x4";
462 nvidia,function = "pcie-x4";
467 nvidia,function = "pcie-x4";
472 nvidia,function = "usb3-ss";
477 nvidia,function = "usb3-ss";
502 nvidia,usb2-companion = <1>;
503 vbus-supply = <&vdd_hub_3v3>;
512 cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
514 vqmmc-supply = <&vddio_sdmmc>;
515 vmmc-supply = <&vdd_3v3_sd>;
519 compatible = "simple-bus";
520 #address-cells = <1>;
524 compatible = "fixed-clock";
527 clock-frequency = <32768>;
533 enable-method = "psci";
537 enable-method = "psci";
541 enable-method = "psci";
545 enable-method = "psci";
556 compatible = "gpio-keys";
560 gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
561 linux,input-type = <EV_KEY>;
562 linux,code = <KEY_POWER>;
563 debounce-interval = <30>;
564 wakeup-event-action = <EV_ACT_ASSERTED>;
569 label = "Force Recovery";
570 gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
571 linux,input-type = <EV_KEY>;
572 linux,code = <BTN_1>;
573 debounce-interval = <30>;
578 compatible = "arm,psci-1.0";
583 compatible = "simple-bus";
584 #address-cells = <1>;
587 vdd_5v0_sys: regulator@0 {
588 compatible = "regulator-fixed";
591 regulator-name = "VDD_5V0_SYS";
592 regulator-min-microvolt = <5000000>;
593 regulator-max-microvolt = <5000000>;
598 vdd_3v3_sys: regulator@1 {
599 compatible = "regulator-fixed";
601 regulator-name = "VDD_3V3_SYS";
602 regulator-min-microvolt = <3300000>;
603 regulator-max-microvolt = <3300000>;
604 regulator-enable-ramp-delay = <240>;
605 regulator-disable-ramp-delay = <11340>;
609 gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
612 vin-supply = <&vdd_5v0_sys>;
615 vdd_3v3_sd: regulator@2 {
616 compatible = "regulator-fixed";
619 regulator-name = "VDD_3V3_SD";
620 regulator-min-microvolt = <3300000>;
621 regulator-max-microvolt = <3300000>;
623 gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
626 vin-supply = <&vdd_3v3_sys>;
629 vdd_hdmi: regulator@3 {
630 compatible = "regulator-fixed";
633 regulator-name = "VDD_HDMI_5V0";
634 regulator-min-microvolt = <5000000>;
635 regulator-max-microvolt = <5000000>;
637 vin-supply = <&vdd_5v0_sys>;
640 vdd_hub_3v3: regulator@4 {
641 compatible = "regulator-fixed";
644 regulator-name = "VDD_HUB_3V3";
645 regulator-min-microvolt = <3300000>;
646 regulator-max-microvolt = <3300000>;
648 gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
651 vin-supply = <&vdd_5v0_sys>;
654 vdd_cpu: regulator@5 {
655 compatible = "regulator-fixed";
658 regulator-name = "VDD_CPU";
659 regulator-min-microvolt = <5000000>;
660 regulator-max-microvolt = <5000000>;
664 gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
667 vin-supply = <&vdd_5v0_sys>;
670 vdd_gpu: regulator@6 {
671 compatible = "pwm-regulator";
673 pwms = <&pwm 1 4880>;
674 regulator-name = "VDD_GPU";
675 regulator-min-microvolt = <710000>;
676 regulator-max-microvolt = <1320000>;
677 regulator-ramp-delay = <80>;
678 regulator-enable-ramp-delay = <2000>;
679 regulator-settling-time-us = <160>;
680 enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
681 vin-supply = <&vdd_5v0_sys>;