1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/gpio-keys.h>
5#include <dt-bindings/input/linux-event-codes.h>
6#include <dt-bindings/mfd/max77620.h>
7
8#include "tegra210.dtsi"
9
10/ {
11	model = "NVIDIA Jetson Nano Developer Kit";
12	compatible = "nvidia,p3450-0000", "nvidia,tegra210";
13
14	aliases {
15		ethernet = "/pcie@1003000/pci@2,0/ethernet@0,0";
16		rtc0 = "/i2c@7000d000/pmic@3c";
17		rtc1 = "/rtc@7000e000";
18		serial0 = &uarta;
19	};
20
21	chosen {
22		stdout-path = "serial0:115200n8";
23	};
24
25	memory@80000000 {
26		device_type = "memory";
27		reg = <0x0 0x80000000 0x1 0x0>;
28	};
29
30	pcie@1003000 {
31		status = "okay";
32
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>;
39
40		pci@1,0 {
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>;
47			status = "okay";
48		};
49
50		pci@2,0 {
51			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>;
52			phy-names = "pcie-0";
53			status = "okay";
54
55			ethernet@0,0 {
56				reg = <0x000000 0 0 0 0>;
57				local-mac-address = [ 00 00 00 00 00 00 ];
58			};
59		};
60	};
61
62	host1x@50000000 {
63		dpaux@54040000 {
64			status = "okay";
65		};
66
67		vi@54080000 {
68			status = "okay";
69
70			avdd-dsi-csi-supply = <&vdd_sys_1v2>;
71
72			csi@838 {
73				status = "okay";
74			};
75		};
76
77		sor@54540000 {
78			status = "okay";
79
80			avdd-io-hdmi-dp-supply = <&avdd_io_edp_1v05>;
81			vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
82
83			nvidia,xbar-cfg = <2 1 0 3 4>;
84			nvidia,dpaux = <&dpaux>;
85		};
86
87		sor@54580000 {
88			status = "okay";
89
90			avdd-io-hdmi-dp-supply = <&avdd_1v05>;
91			vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
92			hdmi-supply = <&vdd_hdmi>;
93
94			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
95			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1)
96					   GPIO_ACTIVE_LOW>;
97			nvidia,xbar-cfg = <0 1 2 3 4>;
98		};
99
100		dpaux@545c0000 {
101			status = "okay";
102		};
103
104		i2c@546c0000 {
105			status = "okay";
106		};
107	};
108
109	gpu@57000000 {
110		vdd-supply = <&vdd_gpu>;
111		status = "okay";
112	};
113
114	pinmux@700008d4 {
115		dvfs_pwm_active_state: dvfs_pwm_active {
116			dvfs_pwm_pbb1 {
117				nvidia,pins = "dvfs_pwm_pbb1";
118				nvidia,tristate = <TEGRA_PIN_DISABLE>;
119			};
120		};
121
122		dvfs_pwm_inactive_state: dvfs_pwm_inactive {
123			dvfs_pwm_pbb1 {
124				nvidia,pins = "dvfs_pwm_pbb1";
125				nvidia,tristate = <TEGRA_PIN_ENABLE>;
126			};
127		};
128	};
129
130	/* debug port */
131	serial@70006000 {
132		status = "okay";
133	};
134
135	pwm@7000a000 {
136		status = "okay";
137	};
138
139	i2c@7000c500 {
140		status = "okay";
141		clock-frequency = <100000>;
142
143		eeprom@50 {
144			compatible = "atmel,24c02";
145			reg = <0x50>;
146
147			vcc-supply = <&vdd_1v8>;
148			address-width = <8>;
149			pagesize = <8>;
150			size = <256>;
151			read-only;
152		};
153
154		eeprom@57 {
155			compatible = "atmel,24c02";
156			reg = <0x57>;
157
158			vcc-supply = <&vdd_1v8>;
159			address-width = <8>;
160			pagesize = <8>;
161			size = <256>;
162			read-only;
163		};
164	};
165
166	hdmi_ddc: i2c@7000c700 {
167		status = "okay";
168		clock-frequency = <100000>;
169	};
170
171	i2c@7000d000 {
172		status = "okay";
173		clock-frequency = <400000>;
174
175		pmic: pmic@3c {
176			compatible = "maxim,max77620";
177			reg = <0x3c>;
178			interrupt-parent = <&tegra_pmc>;
179			interrupts = <51 IRQ_TYPE_LEVEL_LOW>;
180
181			#interrupt-cells = <2>;
182			interrupt-controller;
183
184			#gpio-cells = <2>;
185			gpio-controller;
186
187			pinctrl-names = "default";
188			pinctrl-0 = <&max77620_default>;
189
190			max77620_default: pinmux {
191				gpio0 {
192					pins = "gpio0";
193					function = "gpio";
194				};
195
196				gpio1 {
197					pins = "gpio1";
198					function = "fps-out";
199					drive-push-pull = <1>;
200					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
201					maxim,active-fps-power-up-slot = <0>;
202					maxim,active-fps-power-down-slot = <7>;
203				};
204
205				gpio2 {
206					pins = "gpio2";
207					function = "fps-out";
208					drive-open-drain = <1>;
209					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
210					maxim,active-fps-power-up-slot = <0>;
211					maxim,active-fps-power-down-slot = <7>;
212				};
213
214				gpio3 {
215					pins = "gpio3";
216					function = "fps-out";
217					drive-open-drain = <1>;
218					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
219					maxim,active-fps-power-up-slot = <4>;
220					maxim,active-fps-power-down-slot = <3>;
221				};
222
223				gpio4 {
224					pins = "gpio4";
225					function = "32k-out1";
226				};
227
228				gpio5_6_7 {
229					pins = "gpio5", "gpio6", "gpio7";
230					function = "gpio";
231					drive-push-pull = <1>;
232				};
233			};
234
235			fps {
236				fps0 {
237					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
238					maxim,suspend-fps-time-period-us = <5120>;
239				};
240
241				fps1 {
242					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
243					maxim,suspend-fps-time-period-us = <5120>;
244				};
245
246				fps2 {
247					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
248				};
249			};
250
251			regulators {
252				in-ldo0-1-supply = <&vdd_pre>;
253				in-ldo2-supply = <&vdd_3v3_sys>;
254				in-ldo3-5-supply = <&vdd_1v8>;
255				in-ldo4-6-supply = <&vdd_5v0_sys>;
256				in-ldo7-8-supply = <&vdd_pre>;
257				in-sd0-supply = <&vdd_5v0_sys>;
258				in-sd1-supply = <&vdd_5v0_sys>;
259				in-sd2-supply = <&vdd_5v0_sys>;
260				in-sd3-supply = <&vdd_5v0_sys>;
261
262				vdd_soc: sd0 {
263					regulator-name = "VDD_SOC";
264					regulator-min-microvolt = <1000000>;
265					regulator-max-microvolt = <1170000>;
266					regulator-enable-ramp-delay = <146>;
267					regulator-disable-ramp-delay = <4080>;
268					regulator-ramp-delay = <27500>;
269					regulator-ramp-delay-scale = <300>;
270					regulator-always-on;
271					regulator-boot-on;
272
273					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
274					maxim,active-fps-power-up-slot = <1>;
275					maxim,active-fps-power-down-slot = <6>;
276				};
277
278				vdd_ddr: sd1 {
279					regulator-name = "VDD_DDR_1V1_PMIC";
280					regulator-min-microvolt = <1150000>;
281					regulator-max-microvolt = <1150000>;
282					regulator-enable-ramp-delay = <176>;
283					regulator-disable-ramp-delay = <145800>;
284					regulator-ramp-delay = <27500>;
285					regulator-ramp-delay-scale = <300>;
286					regulator-always-on;
287					regulator-boot-on;
288
289					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
290					maxim,active-fps-power-up-slot = <5>;
291					maxim,active-fps-power-down-slot = <2>;
292				};
293
294				vdd_pre: sd2 {
295					regulator-name = "VDD_PRE_REG_1V35";
296					regulator-min-microvolt = <1350000>;
297					regulator-max-microvolt = <1350000>;
298					regulator-enable-ramp-delay = <176>;
299					regulator-disable-ramp-delay = <32000>;
300					regulator-ramp-delay = <27500>;
301					regulator-ramp-delay-scale = <350>;
302					regulator-always-on;
303					regulator-boot-on;
304
305					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
306					maxim,active-fps-power-up-slot = <2>;
307					maxim,active-fps-power-down-slot = <5>;
308				};
309
310				vdd_1v8: sd3 {
311					regulator-name = "VDD_1V8";
312					regulator-min-microvolt = <1800000>;
313					regulator-max-microvolt = <1800000>;
314					regulator-enable-ramp-delay = <242>;
315					regulator-disable-ramp-delay = <118000>;
316					regulator-ramp-delay = <27500>;
317					regulator-ramp-delay-scale = <360>;
318					regulator-always-on;
319					regulator-boot-on;
320
321					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
322					maxim,active-fps-power-up-slot = <3>;
323					maxim,active-fps-power-down-slot = <4>;
324				};
325
326				vdd_sys_1v2: ldo0 {
327					regulator-name = "AVDD_SYS_1V2";
328					regulator-min-microvolt = <1200000>;
329					regulator-max-microvolt = <1200000>;
330					regulator-enable-ramp-delay = <26>;
331					regulator-disable-ramp-delay = <626>;
332					regulator-ramp-delay = <100000>;
333					regulator-ramp-delay-scale = <200>;
334					regulator-always-on;
335					regulator-boot-on;
336
337					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
338					maxim,active-fps-power-up-slot = <0>;
339					maxim,active-fps-power-down-slot = <7>;
340				};
341
342				vdd_pex_1v05: ldo1 {
343					regulator-name = "VDD_PEX_1V05";
344					regulator-min-microvolt = <1050000>;
345					regulator-max-microvolt = <1050000>;
346					regulator-enable-ramp-delay = <22>;
347					regulator-disable-ramp-delay = <650>;
348					regulator-ramp-delay = <100000>;
349					regulator-ramp-delay-scale = <200>;
350
351					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
352					maxim,active-fps-power-up-slot = <0>;
353					maxim,active-fps-power-down-slot = <7>;
354				};
355
356				vddio_sdmmc: ldo2 {
357					regulator-name = "VDDIO_SDMMC";
358					regulator-min-microvolt = <1800000>;
359					regulator-max-microvolt = <3300000>;
360					regulator-enable-ramp-delay = <62>;
361					regulator-disable-ramp-delay = <650>;
362					regulator-ramp-delay = <100000>;
363					regulator-ramp-delay-scale = <200>;
364
365					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
366					maxim,active-fps-power-up-slot = <0>;
367					maxim,active-fps-power-down-slot = <7>;
368				};
369
370				ldo3 {
371					status = "disabled";
372				};
373
374				vdd_rtc: ldo4 {
375					regulator-name = "VDD_RTC";
376					regulator-min-microvolt = <850000>;
377					regulator-max-microvolt = <1100000>;
378					regulator-enable-ramp-delay = <22>;
379					regulator-disable-ramp-delay = <610>;
380					regulator-ramp-delay = <100000>;
381					regulator-ramp-delay-scale = <200>;
382					regulator-disable-active-discharge;
383					regulator-always-on;
384					regulator-boot-on;
385
386					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
387					maxim,active-fps-power-up-slot = <1>;
388					maxim,active-fps-power-down-slot = <6>;
389				};
390
391				ldo5 {
392					status = "disabled";
393				};
394
395				ldo6 {
396					status = "disabled";
397				};
398
399				avdd_1v05_pll: ldo7 {
400					regulator-name = "AVDD_1V05_PLL";
401					regulator-min-microvolt = <1050000>;
402					regulator-max-microvolt = <1050000>;
403					regulator-enable-ramp-delay = <24>;
404					regulator-disable-ramp-delay = <2768>;
405					regulator-ramp-delay = <100000>;
406					regulator-ramp-delay-scale = <200>;
407
408					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
409					maxim,active-fps-power-up-slot = <3>;
410					maxim,active-fps-power-down-slot = <4>;
411				};
412
413				avdd_1v05: ldo8 {
414					regulator-name = "AVDD_SATA_HDMI_DP_1V05";
415					regulator-min-microvolt = <1050000>;
416					regulator-max-microvolt = <1050000>;
417					regulator-enable-ramp-delay = <22>;
418					regulator-disable-ramp-delay = <1160>;
419					regulator-ramp-delay = <100000>;
420					regulator-ramp-delay-scale = <200>;
421
422					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
423					maxim,active-fps-power-up-slot = <6>;
424					maxim,active-fps-power-down-slot = <1>;
425				};
426			};
427		};
428	};
429
430	pmc@7000e400 {
431		nvidia,invert-interrupt;
432		nvidia,suspend-mode = <0>;
433		nvidia,cpu-pwr-good-time = <0>;
434		nvidia,cpu-pwr-off-time = <0>;
435		nvidia,core-pwr-good-time = <4587 3876>;
436		nvidia,core-pwr-off-time = <39065>;
437		nvidia,core-power-req-active-high;
438		nvidia,sys-clock-req-active-high;
439	};
440
441	hda@70030000 {
442		nvidia,model = "jetson-nano-hda";
443
444		status = "okay";
445	};
446
447	usb@70090000 {
448		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>,
449		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>,
450		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>,
451		       <&{/padctl@7009f000/pads/pcie/lanes/pcie-6}>;
452		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0";
453
454		avdd-usb-supply = <&vdd_3v3_sys>;
455		dvddio-pex-supply = <&vdd_pex_1v05>;
456		hvddio-pex-supply = <&vdd_1v8>;
457		/* these really belong to the XUSB pad controller */
458		avdd-pll-utmip-supply = <&vdd_1v8>;
459		avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
460		dvdd-usb-ss-pll-supply = <&vdd_pex_1v05>;
461		hvdd-usb-ss-pll-e-supply = <&vdd_1v8>;
462
463		status = "okay";
464	};
465
466	padctl@7009f000 {
467		status = "okay";
468
469		avdd-pll-utmip-supply = <&vdd_1v8>;
470		avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
471		dvdd-pex-pll-supply = <&vdd_pex_1v05>;
472		hvdd-pex-pll-e-supply = <&vdd_1v8>;
473
474		pads {
475			usb2 {
476				status = "okay";
477
478				lanes {
479					micro_b: usb2-0 {
480						nvidia,function = "xusb";
481						status = "okay";
482					};
483
484					usb2-1 {
485						nvidia,function = "xusb";
486						status = "okay";
487					};
488
489					usb2-2 {
490						nvidia,function = "xusb";
491						status = "okay";
492					};
493				};
494			};
495
496			pcie {
497				status = "okay";
498
499				lanes {
500					pcie-0 {
501						nvidia,function = "pcie-x1";
502						status = "okay";
503					};
504
505					pcie-1 {
506						nvidia,function = "pcie-x4";
507						status = "okay";
508					};
509
510					pcie-2 {
511						nvidia,function = "pcie-x4";
512						status = "okay";
513					};
514
515					pcie-3 {
516						nvidia,function = "pcie-x4";
517						status = "okay";
518					};
519
520					pcie-4 {
521						nvidia,function = "pcie-x4";
522						status = "okay";
523					};
524
525					pcie-5 {
526						nvidia,function = "usb3-ss";
527						status = "okay";
528					};
529
530					pcie-6 {
531						nvidia,function = "usb3-ss";
532						status = "okay";
533					};
534				};
535			};
536		};
537
538		ports {
539			usb2-0 {
540				status = "okay";
541				mode = "peripheral";
542				usb-role-switch;
543
544				connector {
545					compatible = "gpio-usb-b-connector",
546						     "usb-b-connector";
547					label = "micro-USB";
548					type = "micro";
549					vbus-gpios = <&gpio TEGRA_GPIO(CC, 4)
550						      GPIO_ACTIVE_LOW>;
551				};
552			};
553
554			usb2-1 {
555				status = "okay";
556				mode = "host";
557			};
558
559			usb2-2 {
560				status = "okay";
561				mode = "host";
562			};
563
564			usb3-0 {
565				status = "okay";
566				nvidia,usb2-companion = <1>;
567				vbus-supply = <&vdd_hub_3v3>;
568			};
569		};
570	};
571
572	mmc@700b0000 {
573		status = "okay";
574		bus-width = <4>;
575
576		cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
577
578		vqmmc-supply = <&vddio_sdmmc>;
579		vmmc-supply = <&vdd_3v3_sd>;
580	};
581
582	mmc@700b0400 {
583		status = "okay";
584		bus-width = <4>;
585
586		vqmmc-supply = <&vdd_1v8>;
587		vmmc-supply = <&vdd_3v3_sys>;
588
589		non-removable;
590		cap-sdio-irq;
591		keep-power-in-suspend;
592		wakeup-source;
593	};
594
595	usb@700d0000 {
596		status = "okay";
597		phys = <&micro_b>;
598		phy-names = "usb2-0";
599		avddio-usb-supply = <&vdd_3v3_sys>;
600		hvdd-usb-supply = <&vdd_1v8>;
601	};
602
603	clock@70110000 {
604		status = "okay";
605
606		nvidia,cf = <6>;
607		nvidia,ci = <0>;
608		nvidia,cg = <2>;
609		nvidia,droop-ctrl = <0x00000f00>;
610		nvidia,force-mode = <1>;
611		nvidia,sample-rate = <25000>;
612
613		nvidia,pwm-min-microvolts = <708000>;
614		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
615		nvidia,pwm-to-pmic;
616		nvidia,pwm-tristate-microvolts = <1000000>;
617		nvidia,pwm-voltage-step-microvolts = <19200>;
618
619		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
620		pinctrl-0 = <&dvfs_pwm_active_state>;
621		pinctrl-1 = <&dvfs_pwm_inactive_state>;
622	};
623
624	clk32k_in: clock@0 {
625		compatible = "fixed-clock";
626		clock-frequency = <32768>;
627		#clock-cells = <0>;
628	};
629
630	cpus {
631		cpu@0 {
632			enable-method = "psci";
633		};
634
635		cpu@1 {
636			enable-method = "psci";
637		};
638
639		cpu@2 {
640			enable-method = "psci";
641		};
642
643		cpu@3 {
644			enable-method = "psci";
645		};
646
647		idle-states {
648			cpu-sleep {
649				status = "okay";
650			};
651		};
652	};
653
654	fan: fan {
655		compatible = "pwm-fan";
656		pwms = <&pwm 3 45334>;
657
658		cooling-levels = <0 64 128 255>;
659		#cooling-cells = <2>;
660	};
661
662	thermal-zones {
663		cpu {
664			trips {
665				cpu_trip_critical: critical {
666					temperature = <96500>;
667					hysteresis = <0>;
668					type = "critical";
669				};
670
671				cpu_trip_hot: hot {
672					temperature = <70000>;
673					hysteresis = <2000>;
674					type = "hot";
675				};
676
677				cpu_trip_active: active {
678					temperature = <50000>;
679					hysteresis = <2000>;
680					type = "active";
681				};
682
683				cpu_trip_passive: passive {
684					temperature = <30000>;
685					hysteresis = <2000>;
686					type = "passive";
687				};
688			};
689
690			cooling-maps {
691				cpu-critical {
692					cooling-device = <&fan 3 3>;
693					trip = <&cpu_trip_critical>;
694				};
695
696				cpu-hot {
697					cooling-device = <&fan 2 2>;
698					trip = <&cpu_trip_hot>;
699				};
700
701				cpu-active {
702					cooling-device = <&fan 1 1>;
703					trip = <&cpu_trip_active>;
704				};
705
706				cpu-passive {
707					cooling-device = <&fan 0 0>;
708					trip = <&cpu_trip_passive>;
709				};
710			};
711		};
712	};
713
714	gpio-keys {
715		compatible = "gpio-keys";
716
717		power {
718			label = "Power";
719			gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
720			linux,input-type = <EV_KEY>;
721			linux,code = <KEY_POWER>;
722			debounce-interval = <30>;
723			wakeup-event-action = <EV_ACT_ASSERTED>;
724			wakeup-source;
725		};
726
727		force-recovery {
728			label = "Force Recovery";
729			gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
730			linux,input-type = <EV_KEY>;
731			linux,code = <BTN_1>;
732			debounce-interval = <30>;
733		};
734	};
735
736	psci {
737		compatible = "arm,psci-1.0";
738		method = "smc";
739	};
740
741	vdd_5v0_sys: regulator@0 {
742		compatible = "regulator-fixed";
743
744		regulator-name = "VDD_5V0_SYS";
745		regulator-min-microvolt = <5000000>;
746		regulator-max-microvolt = <5000000>;
747		regulator-always-on;
748		regulator-boot-on;
749	};
750
751	vdd_3v3_sys: regulator@1 {
752		compatible = "regulator-fixed";
753
754		regulator-name = "VDD_3V3_SYS";
755		regulator-min-microvolt = <3300000>;
756		regulator-max-microvolt = <3300000>;
757		regulator-enable-ramp-delay = <240>;
758		regulator-disable-ramp-delay = <11340>;
759		regulator-always-on;
760		regulator-boot-on;
761
762		gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
763		enable-active-high;
764
765		vin-supply = <&vdd_5v0_sys>;
766	};
767
768	vdd_3v3_sd: regulator@2 {
769		compatible = "regulator-fixed";
770
771		regulator-name = "VDD_3V3_SD";
772		regulator-min-microvolt = <3300000>;
773		regulator-max-microvolt = <3300000>;
774
775		gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
776		enable-active-high;
777
778		vin-supply = <&vdd_3v3_sys>;
779	};
780
781	vdd_hdmi: regulator@3 {
782		compatible = "regulator-fixed";
783
784		regulator-name = "VDD_HDMI_5V0";
785		regulator-min-microvolt = <5000000>;
786		regulator-max-microvolt = <5000000>;
787
788		vin-supply = <&vdd_5v0_sys>;
789	};
790
791	vdd_hub_3v3: regulator@4 {
792		compatible = "regulator-fixed";
793
794		regulator-name = "VDD_HUB_3V3";
795		regulator-min-microvolt = <3300000>;
796		regulator-max-microvolt = <3300000>;
797
798		gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
799		enable-active-high;
800
801		vin-supply = <&vdd_5v0_sys>;
802	};
803
804	vdd_cpu: regulator@5 {
805		compatible = "regulator-fixed";
806
807		regulator-name = "VDD_CPU";
808		regulator-min-microvolt = <5000000>;
809		regulator-max-microvolt = <5000000>;
810		regulator-always-on;
811		regulator-boot-on;
812
813		gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
814		enable-active-high;
815
816		vin-supply = <&vdd_5v0_sys>;
817	};
818
819	vdd_gpu: regulator@6 {
820		compatible = "pwm-regulator";
821		pwms = <&pwm 1 4880>;
822
823		regulator-name = "VDD_GPU";
824		regulator-min-microvolt = <710000>;
825		regulator-max-microvolt = <1320000>;
826		regulator-ramp-delay = <80>;
827		regulator-enable-ramp-delay = <2000>;
828		regulator-settling-time-us = <160>;
829
830		enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
831		vin-supply = <&vdd_5v0_sys>;
832	};
833
834	avdd_io_edp_1v05: regulator@7 {
835		compatible = "regulator-fixed";
836
837		regulator-name = "AVDD_IO_EDP_1V05";
838		regulator-min-microvolt = <1050000>;
839		regulator-max-microvolt = <1050000>;
840
841		gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
842		enable-active-high;
843
844		vin-supply = <&avdd_1v05_pll>;
845	};
846};
847