xref: /linux/arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts (revision e752ab11dcb48353727ea26eefd740155e028865)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/linux-event-codes.h>
5#include <dt-bindings/input/gpio-keys.h>
6#include <dt-bindings/mfd/max77620.h>
7
8#include "tegra186.dtsi"
9
10/ {
11	model = "NVIDIA Jetson TX2 NX Developer Kit";
12	compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186";
13
14	aliases {
15		ethernet0 = "/ethernet@2490000";
16		i2c0 = "/bpmp/i2c";
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";
25		serial0 = &uarta;
26	};
27
28	chosen {
29		bootargs = "earlycon console=ttyS0,115200n8";
30		stdout-path = "serial0:115200n8";
31	};
32
33	memory@80000000 {
34		device_type = "memory";
35		reg = <0x0 0x80000000 0x0 0x70000000>;
36	};
37
38	ethernet@2490000 {
39		status = "okay";
40
41		phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>;
42		phy-handle = <&phy>;
43		phy-mode = "rgmii-id";
44
45		mdio {
46			#address-cells = <1>;
47			#size-cells = <0>;
48
49			phy: ethernet-phy@0 {
50				compatible = "ethernet-phy-ieee802.3-c22";
51				reg = <0x0>;
52				interrupt-parent = <&gpio_aon>;
53				interrupts = <TEGRA186_AON_GPIO(AA, 7) IRQ_TYPE_LEVEL_LOW>;
54				#phy-cells = <0>;
55			};
56		};
57	};
58
59	aconnect@2900000 {
60		status = "okay";
61
62		ahub@2900800 {
63			status = "okay";
64
65			i2s@2901000 {
66				status = "okay";
67
68				ports {
69					#address-cells = <1>;
70					#size-cells = <0>;
71
72					port@0 {
73						reg = <0>;
74
75						i2s1_cif_ep: endpoint {
76							remote-endpoint = <&xbar_i2s1_ep>;
77						};
78					};
79
80					i2s1_port: port@1 {
81						reg = <1>;
82
83						i2s1_dap_ep: endpoint {
84							dai-format = "i2s";
85							/* Placeholder for external Codec */
86						};
87					};
88				};
89			};
90
91			i2s@2901200 {
92				status = "okay";
93
94				ports {
95					#address-cells = <1>;
96					#size-cells = <0>;
97
98					port@0 {
99						reg = <0>;
100
101						i2s3_cif_ep: endpoint {
102							remote-endpoint = <&xbar_i2s3_ep>;
103						};
104					};
105
106					i2s3_port: port@1 {
107						reg = <1>;
108
109						i2s3_dap_ep: endpoint {
110							dai-format = "i2s";
111							/* Placeholder for external Codec */
112						};
113					};
114				};
115			};
116
117			dmic@2904000 {
118				status = "okay";
119
120				ports {
121					#address-cells = <1>;
122					#size-cells = <0>;
123
124					port@0 {
125						reg = <0>;
126
127						dmic1_cif_ep: endpoint {
128							remote-endpoint = <&xbar_dmic1_ep>;
129						};
130					};
131
132					dmic1_port: port@1 {
133						reg = <1>;
134
135						dmic1_dap_ep: endpoint {
136							/* Place holder for external Codec */
137						};
138					};
139				};
140			};
141
142			dmic@2904100 {
143				status = "okay";
144
145				ports {
146					#address-cells = <1>;
147					#size-cells = <0>;
148
149					port@0 {
150						reg = <0>;
151
152						dmic2_cif_ep: endpoint {
153							remote-endpoint = <&xbar_dmic2_ep>;
154						};
155					};
156
157					dmic2_port: port@1 {
158						reg = <1>;
159
160						dmic2_dap_ep: endpoint {
161							/* Place holder for external Codec */
162						};
163					};
164				};
165			};
166
167			admaif@290f000 {
168				status = "okay";
169
170				ports {
171					#address-cells = <1>;
172					#size-cells = <0>;
173
174					admaif0_port: port@0 {
175						reg = <0x0>;
176
177						admaif0_ep: endpoint {
178							remote-endpoint = <&xbar_admaif0_ep>;
179						};
180					};
181
182					admaif1_port: port@1 {
183						reg = <0x1>;
184
185						admaif1_ep: endpoint {
186							remote-endpoint = <&xbar_admaif1_ep>;
187						};
188					};
189
190					admaif2_port: port@2 {
191						reg = <0x2>;
192
193						admaif2_ep: endpoint {
194							remote-endpoint = <&xbar_admaif2_ep>;
195						};
196					};
197
198					admaif3_port: port@3 {
199						reg = <0x3>;
200
201						admaif3_ep: endpoint {
202							remote-endpoint = <&xbar_admaif3_ep>;
203						};
204					};
205
206					admaif4_port: port@4 {
207						reg = <0x4>;
208
209						admaif4_ep: endpoint {
210							remote-endpoint = <&xbar_admaif4_ep>;
211						};
212					};
213
214					admaif5_port: port@5 {
215						reg = <0x5>;
216
217						admaif5_ep: endpoint {
218							remote-endpoint = <&xbar_admaif5_ep>;
219						};
220					};
221
222					admaif6_port: port@6 {
223						reg = <0x6>;
224
225						admaif6_ep: endpoint {
226							remote-endpoint = <&xbar_admaif6_ep>;
227						};
228					};
229
230					admaif7_port: port@7 {
231						reg = <0x7>;
232
233						admaif7_ep: endpoint {
234							remote-endpoint = <&xbar_admaif7_ep>;
235						};
236					};
237
238					admaif8_port: port@8 {
239						reg = <0x8>;
240
241						admaif8_ep: endpoint {
242							remote-endpoint = <&xbar_admaif8_ep>;
243						};
244					};
245
246					admaif9_port: port@9 {
247						reg = <0x9>;
248
249						admaif9_ep: endpoint {
250							remote-endpoint = <&xbar_admaif9_ep>;
251						};
252					};
253
254					admaif10_port: port@a {
255						reg = <0xa>;
256
257						admaif10_ep: endpoint {
258							remote-endpoint = <&xbar_admaif10_ep>;
259						};
260					};
261
262					admaif11_port: port@b {
263						reg = <0xb>;
264
265						admaif11_ep: endpoint {
266							remote-endpoint = <&xbar_admaif11_ep>;
267						};
268					};
269
270					admaif12_port: port@c {
271						reg = <0xc>;
272
273						admaif12_ep: endpoint {
274							remote-endpoint = <&xbar_admaif12_ep>;
275						};
276					};
277
278					admaif13_port: port@d {
279						reg = <0xd>;
280
281						admaif13_ep: endpoint {
282							remote-endpoint = <&xbar_admaif13_ep>;
283						};
284					};
285
286					admaif14_port: port@e {
287						reg = <0xe>;
288
289						admaif14_ep: endpoint {
290							remote-endpoint = <&xbar_admaif14_ep>;
291						};
292					};
293
294					admaif15_port: port@f {
295						reg = <0xf>;
296
297						admaif15_ep: endpoint {
298							remote-endpoint = <&xbar_admaif15_ep>;
299						};
300					};
301
302					admaif16_port: port@10 {
303						reg = <0x10>;
304
305						admaif16_ep: endpoint {
306							remote-endpoint = <&xbar_admaif16_ep>;
307						};
308					};
309
310					admaif17_port: port@11 {
311						reg = <0x11>;
312
313						admaif17_ep: endpoint {
314							remote-endpoint = <&xbar_admaif17_ep>;
315						};
316					};
317
318					admaif18_port: port@12 {
319						reg = <0x12>;
320
321						admaif18_ep: endpoint {
322							remote-endpoint = <&xbar_admaif18_ep>;
323						};
324					};
325
326					admaif19_port: port@13 {
327						reg = <0x13>;
328
329						admaif19_ep: endpoint {
330							remote-endpoint = <&xbar_admaif19_ep>;
331						};
332					};
333				};
334			};
335
336			ports {
337				#address-cells = <1>;
338				#size-cells = <0>;
339
340				port@0 {
341					reg = <0x0>;
342
343					xbar_admaif0_ep: endpoint {
344						remote-endpoint = <&admaif0_ep>;
345					};
346				};
347
348				port@1 {
349					reg = <0x1>;
350
351					xbar_admaif1_ep: endpoint {
352						remote-endpoint = <&admaif1_ep>;
353					};
354				};
355
356				port@2 {
357					reg = <0x2>;
358
359					xbar_admaif2_ep: endpoint {
360						remote-endpoint = <&admaif2_ep>;
361					};
362				};
363
364				port@3 {
365					reg = <0x3>;
366
367					xbar_admaif3_ep: endpoint {
368						remote-endpoint = <&admaif3_ep>;
369					};
370				};
371
372				port@4 {
373					reg = <0x4>;
374
375					xbar_admaif4_ep: endpoint {
376						remote-endpoint = <&admaif4_ep>;
377					};
378				};
379
380				port@5 {
381					reg = <0x5>;
382
383					xbar_admaif5_ep: endpoint {
384						remote-endpoint = <&admaif5_ep>;
385					};
386				};
387
388				port@6 {
389					reg = <0x6>;
390
391					xbar_admaif6_ep: endpoint {
392						remote-endpoint = <&admaif6_ep>;
393					};
394				};
395
396				port@7 {
397					reg = <0x7>;
398
399					xbar_admaif7_ep: endpoint {
400						remote-endpoint = <&admaif7_ep>;
401					};
402				};
403
404				port@8 {
405					reg = <0x8>;
406
407					xbar_admaif8_ep: endpoint {
408						remote-endpoint = <&admaif8_ep>;
409					};
410				};
411
412				port@9 {
413					reg = <0x9>;
414
415					xbar_admaif9_ep: endpoint {
416						remote-endpoint = <&admaif9_ep>;
417					};
418				};
419
420				port@a {
421					reg = <0xa>;
422
423					xbar_admaif10_ep: endpoint {
424						remote-endpoint = <&admaif10_ep>;
425					};
426				};
427
428				port@b {
429					reg = <0xb>;
430
431					xbar_admaif11_ep: endpoint {
432						remote-endpoint = <&admaif11_ep>;
433					};
434				};
435
436				port@c {
437					reg = <0xc>;
438
439					xbar_admaif12_ep: endpoint {
440						remote-endpoint = <&admaif12_ep>;
441					};
442				};
443
444				port@d {
445					reg = <0xd>;
446
447					xbar_admaif13_ep: endpoint {
448						remote-endpoint = <&admaif13_ep>;
449					};
450				};
451
452				port@e {
453					reg = <0xe>;
454
455					xbar_admaif14_ep: endpoint {
456						remote-endpoint = <&admaif14_ep>;
457					};
458				};
459
460				port@f {
461					reg = <0xf>;
462
463					xbar_admaif15_ep: endpoint {
464						remote-endpoint = <&admaif15_ep>;
465					};
466				};
467
468				port@10 {
469					reg = <0x10>;
470
471					xbar_admaif16_ep: endpoint {
472						remote-endpoint = <&admaif16_ep>;
473					};
474				};
475
476				port@11 {
477					reg = <0x11>;
478
479					xbar_admaif17_ep: endpoint {
480						remote-endpoint = <&admaif17_ep>;
481					};
482				};
483
484				port@12 {
485					reg = <0x12>;
486
487					xbar_admaif18_ep: endpoint {
488						remote-endpoint = <&admaif18_ep>;
489					};
490				};
491
492				port@13 {
493					reg = <0x13>;
494
495					xbar_admaif19_ep: endpoint {
496						remote-endpoint = <&admaif19_ep>;
497					};
498				};
499
500				xbar_i2s1_port: port@14 {
501					reg = <0x14>;
502
503					xbar_i2s1_ep: endpoint {
504						remote-endpoint = <&i2s1_cif_ep>;
505					};
506				};
507
508				xbar_i2s3_port: port@16 {
509					reg = <0x16>;
510
511					xbar_i2s3_ep: endpoint {
512						remote-endpoint = <&i2s3_cif_ep>;
513					};
514				};
515
516				xbar_dmic1_port: port@1a {
517					reg = <0x1a>;
518
519					xbar_dmic1_ep: endpoint {
520						remote-endpoint = <&dmic1_cif_ep>;
521					};
522				};
523
524				xbar_dmic2_port: port@1b {
525					reg = <0x1b>;
526
527					xbar_dmic2_ep: endpoint {
528						remote-endpoint = <&dmic2_cif_ep>;
529					};
530				};
531			};
532		};
533
534		dma-controller@2930000 {
535			status = "okay";
536		};
537
538		interrupt-controller@2a40000 {
539			status = "okay";
540		};
541	};
542
543	memory-controller@2c00000 {
544		status = "okay";
545	};
546
547	timer@3010000 {
548		status = "okay";
549	};
550
551	serial@3100000 {
552		status = "okay";
553	};
554
555	i2c@3160000 {
556		status = "okay";
557	};
558
559	i2c@3180000 {
560		status = "okay";
561
562		power-monitor@40 {
563			compatible = "ti,ina3221";
564			reg = <0x40>;
565			#address-cells = <1>;
566			#size-cells = <0>;
567
568			input@0 {
569				reg = <0>;
570				label = "VDD_IN";
571				shunt-resistor-micro-ohms = <5>;
572			};
573
574			input@1 {
575				reg = <1>;
576				label = "VDD_CPU_GPU";
577				shunt-resistor-micro-ohms = <5>;
578			};
579
580			input@2 {
581				reg = <2>;
582				label = "VDD_SOC";
583				shunt-resistor-micro-ohms = <5>;
584			};
585		};
586	};
587
588	ddc: i2c@3190000 {
589		status = "okay";
590	};
591
592	i2c@31c0000 {
593		status = "okay";
594	};
595
596	i2c@31e0000 {
597		status = "okay";
598	};
599
600	/* SDMMC4 (eMMC) */
601	mmc@3460000 {
602		status = "okay";
603		bus-width = <8>;
604		non-removable;
605
606		vqmmc-supply = <&vdd_1v8_ap>;
607		vmmc-supply = <&vdd_3v3_sys>;
608	};
609
610	hda@3510000 {
611		nvidia,model = "NVIDIA Jetson TX2 NX HDA";
612		status = "okay";
613	};
614
615	padctl@3520000 {
616		status = "okay";
617
618		avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
619		avdd-usb-supply = <&vdd_3v3_sys>;
620		vclamp-usb-supply = <&vdd_1v8>;
621		vddio-hsic-supply = <&gnd>;
622
623		pads {
624			usb2 {
625				status = "okay";
626
627				lanes {
628					micro_b: usb2-0 {
629						nvidia,function = "xusb";
630						status = "okay";
631					};
632
633					usb2-1 {
634						nvidia,function = "xusb";
635						status = "okay";
636					};
637
638					usb2-2 {
639						nvidia,function = "xusb";
640						status = "okay";
641					};
642				};
643			};
644
645			usb3 {
646				status = "okay";
647
648				lanes {
649					usb3-1 {
650						nvidia,function = "xusb";
651						status = "okay";
652					};
653				};
654			};
655		};
656
657		ports {
658			usb2-0 {
659				status = "okay";
660				mode = "otg";
661				vbus-supply = <&vdd_5v0_sys>;
662				usb-role-switch;
663
664				connector {
665					compatible = "gpio-usb-b-connector",
666						     "usb-b-connector";
667					label = "micro-USB";
668					type = "micro";
669					vbus-gpios = <&gpio
670						      TEGRA186_MAIN_GPIO(L, 4)
671						      GPIO_ACTIVE_LOW>;
672					id-gpios = <&pmic 0 GPIO_ACTIVE_HIGH>;
673				};
674			};
675
676			usb2-1 {
677				status = "okay";
678				mode = "host";
679
680				vbus-supply = <&vdd_5v0_sys>;
681			};
682
683			usb2-2 {
684				status = "okay";
685				mode = "host";
686
687				vbus-supply = <&vdd_5v0_sys>;
688			};
689
690			usb3-1 {
691				nvidia,usb2-companion = <1>;
692				vbus-supply = <&vdd_5v0_sys>;
693				status = "okay";
694			};
695		};
696	};
697
698	usb@3530000 {
699		status = "okay";
700
701		phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
702		       <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
703		       <&{/padctl@3520000/pads/usb2/lanes/usb2-2}>,
704		       <&{/padctl@3520000/pads/usb3/lanes/usb3-1}>;
705		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-1";
706	};
707
708	usb@3550000 {
709		status = "okay";
710
711		phys = <&micro_b>;
712		phy-names = "usb2-0";
713	};
714
715	hsp@3c00000 {
716		status = "okay";
717	};
718
719	i2c@c240000 {
720		status = "okay";
721	};
722
723	i2c@c250000 {
724		status = "okay";
725
726		/* module ID EEPROM */
727		eeprom@50 {
728			compatible = "atmel,24c02";
729			reg = <0x50>;
730
731			label = "module";
732			vcc-supply = <&vdd_1v8>;
733			address-width = <8>;
734			pagesize = <8>;
735			size = <256>;
736			read-only;
737		};
738
739		/* carrier board ID EEPROM */
740		eeprom@57 {
741			compatible = "atmel,24c02";
742			reg = <0x57>;
743
744			label = "system";
745			vcc-supply = <&vdd_1v8>;
746			address-width = <8>;
747			pagesize = <8>;
748			size = <256>;
749			read-only;
750		};
751	};
752
753	rtc@c2a0000 {
754		status = "okay";
755	};
756
757	pwm@c340000 {
758		status = "okay";
759	};
760
761	pmc@c360000 {
762		nvidia,invert-interrupt;
763	};
764
765	pcie@10003000 {
766		status = "okay";
767
768		dvdd-pex-supply = <&vdd_pex>;
769		hvdd-pex-pll-supply = <&vdd_1v8>;
770		hvdd-pex-supply = <&vdd_1v8>;
771		vddio-pexctl-aud-supply = <&vdd_1v8>;
772
773		pci@1,0 {
774			nvidia,num-lanes = <2>;
775			status = "okay";
776		};
777
778		pci@2,0 {
779			nvidia,num-lanes = <1>;
780			status = "disabled";
781		};
782
783		pci@3,0 {
784			nvidia,num-lanes = <1>;
785			status = "okay";
786		};
787	};
788
789	host1x@13e00000 {
790		status = "okay";
791
792		dpaux@15040000 {
793			status = "okay";
794		};
795
796		display-hub@15200000 {
797			status = "okay";
798		};
799
800		dsi@15300000 {
801			status = "disabled";
802		};
803
804		/* DP */
805		sor@15540000 {
806			status = "okay";
807
808			avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
809			vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
810
811			nvidia,dpaux = <&dpaux>;
812		};
813
814		/* HDMI */
815		sor@15580000 {
816			status = "okay";
817
818			avdd-io-hdmi-dp-supply = <&vdd_hdmi_1v05>;
819			vdd-hdmi-dp-pll-supply = <&vdd_1v8_ap>;
820			hdmi-supply = <&vdd_hdmi>;
821
822			nvidia,ddc-i2c-bus = <&ddc>;
823			nvidia,hpd-gpio = <&gpio TEGRA186_MAIN_GPIO(P, 1)
824						 GPIO_ACTIVE_LOW>;
825		};
826
827		dpaux@155c0000 {
828			status = "okay";
829		};
830	};
831
832	gpu@17000000 {
833		status = "okay";
834	};
835
836	bpmp {
837		i2c {
838			status = "okay";
839
840			pmic: pmic@3c {
841				compatible = "maxim,max77620";
842				reg = <0x3c>;
843
844				interrupt-parent = <&pmc>;
845				interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
846				#interrupt-cells = <2>;
847				interrupt-controller;
848
849				#gpio-cells = <2>;
850				gpio-controller;
851
852				pinctrl-names = "default";
853				pinctrl-0 = <&max77620_default>;
854
855				fps {
856					fps0 {
857						maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
858						maxim,shutdown-fps-time-period-us = <640>;
859					};
860
861					fps1 {
862						maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
863						maxim,shutdown-fps-time-period-us = <640>;
864					};
865
866					fps2 {
867						maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
868						maxim,shutdown-fps-time-period-us = <640>;
869					};
870				};
871
872				max77620_default: pinmux {
873					gpio0 {
874						pins = "gpio0";
875						function = "gpio";
876					};
877
878					gpio1 {
879						pins = "gpio1";
880						function = "fps-out";
881						maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
882					};
883
884					gpio2 {
885						pins = "gpio2";
886						function = "fps-out";
887						maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
888					};
889
890					gpio3 {
891						pins = "gpio3";
892						function = "fps-out";
893						maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
894					};
895
896					gpio4 {
897						pins = "gpio4";
898						function = "32k-out1";
899						drive-push-pull = <1>;
900					};
901
902					gpio5 {
903						pins = "gpio5";
904						function = "gpio";
905						drive-push-pull = <0>;
906					};
907
908					gpio6 {
909						pins = "gpio6";
910						function = "gpio";
911						drive-push-pull = <1>;
912					};
913
914					gpio7 {
915						pins = "gpio7";
916						function = "gpio";
917						drive-push-pull = <1>;
918					};
919				};
920
921				regulators {
922					in-sd0-supply = <&vdd_5v0_sys>;
923					in-sd1-supply = <&vdd_5v0_sys>;
924					in-sd2-supply = <&vdd_5v0_sys>;
925					in-sd3-supply = <&vdd_5v0_sys>;
926
927					in-ldo0-1-supply = <&vdd_5v0_sys>;
928					in-ldo2-supply = <&vdd_5v0_sys>;
929					in-ldo3-5-supply = <&vdd_5v0_sys>;
930					in-ldo4-6-supply = <&vdd_1v8>;
931					in-ldo7-8-supply = <&avdd_dsi_csi>;
932
933					sd0 {
934						regulator-name = "VDD_DDR_1V1_PMIC";
935						regulator-min-microvolt = <1100000>;
936						regulator-max-microvolt = <1100000>;
937						regulator-always-on;
938						regulator-boot-on;
939					};
940
941					avdd_dsi_csi: sd1 {
942						regulator-name = "AVDD_DSI_CSI_1V2";
943						regulator-min-microvolt = <1200000>;
944						regulator-max-microvolt = <1200000>;
945					};
946
947					vdd_1v8: sd2 {
948						regulator-name = "VDD_1V8";
949						regulator-min-microvolt = <1800000>;
950						regulator-max-microvolt = <1800000>;
951					};
952
953					vdd_3v3_sys: sd3 {
954						regulator-name = "VDD_3V3_SYS";
955						regulator-min-microvolt = <3300000>;
956						regulator-max-microvolt = <3300000>;
957					};
958
959					vdd_1v8_pll: ldo0 {
960						regulator-name = "VDD_1V8_AP_PLL";
961						regulator-min-microvolt = <1800000>;
962						regulator-max-microvolt = <1800000>;
963					};
964
965					ldo2 {
966						regulator-name = "VDDIO_3V3_AOHV";
967						regulator-min-microvolt = <3300000>;
968						regulator-max-microvolt = <3300000>;
969						regulator-always-on;
970						regulator-boot-on;
971					};
972
973					vddio_sdmmc1: ldo3 {
974						regulator-name = "VDDIO_SDMMC1_AP";
975						regulator-min-microvolt = <1800000>;
976						regulator-max-microvolt = <3300000>;
977					};
978
979					ldo4 {
980						regulator-name = "VDD_RTC";
981						regulator-min-microvolt = <1000000>;
982						regulator-max-microvolt = <1000000>;
983					};
984
985					vddio_sdmmc3: ldo5 {
986						regulator-name = "VDDIO_SDMMC3_AP";
987						regulator-min-microvolt = <2800000>;
988						regulator-max-microvolt = <2800000>;
989					};
990
991					vdd_hdmi_1v05: ldo7 {
992						regulator-name = "VDD_HDMI_1V05";
993						regulator-min-microvolt = <1050000>;
994						regulator-max-microvolt = <1050000>;
995					};
996
997					vdd_pex: ldo8 {
998						regulator-name = "VDD_PEX_1V05";
999						regulator-min-microvolt = <1050000>;
1000						regulator-max-microvolt = <1050000>;
1001					};
1002				};
1003			};
1004		};
1005	};
1006
1007	cpus {
1008		cpu@0 {
1009			enable-method = "psci";
1010		};
1011
1012		cpu@1 {
1013			enable-method = "psci";
1014		};
1015
1016		cpu@2 {
1017			enable-method = "psci";
1018		};
1019
1020		cpu@3 {
1021			enable-method = "psci";
1022		};
1023
1024		cpu@4 {
1025			enable-method = "psci";
1026		};
1027
1028		cpu@5 {
1029			enable-method = "psci";
1030		};
1031	};
1032
1033	gpio-keys {
1034		compatible = "gpio-keys";
1035
1036		key-power {
1037			label = "Power";
1038			gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 0)
1039					   GPIO_ACTIVE_LOW>;
1040			linux,input-type = <EV_KEY>;
1041			linux,code = <KEY_POWER>;
1042			debounce-interval = <10>;
1043			wakeup-event-action = <EV_ACT_ASSERTED>;
1044			wakeup-source;
1045		};
1046
1047		key-volume-down {
1048			label = "Volume Down";
1049			gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 2)
1050					   GPIO_ACTIVE_LOW>;
1051			linux,input-type = <EV_KEY>;
1052			linux,code = <KEY_VOLUMEDOWN>;
1053			debounce-interval = <10>;
1054		};
1055
1056		key-volume-up {
1057			label = "Volume Up";
1058			gpios = <&gpio_aon TEGRA186_AON_GPIO(FF, 1)
1059					   GPIO_ACTIVE_LOW>;
1060			linux,input-type = <EV_KEY>;
1061			linux,code = <KEY_VOLUMEUP>;
1062			debounce-interval = <10>;
1063		};
1064	};
1065
1066	psci {
1067		compatible = "arm,psci-1.0";
1068		status = "okay";
1069		method = "smc";
1070	};
1071
1072	fan: pwm-fan {
1073		compatible = "pwm-fan";
1074		pwms = <&pwm4 0 45334>;
1075
1076		cooling-levels = <0 64 128 255>;
1077		#cooling-cells = <2>;
1078	};
1079
1080	gnd: regulator-gnd {
1081		compatible = "regulator-fixed";
1082		regulator-name = "GND";
1083		regulator-min-microvolt = <0>;
1084		regulator-max-microvolt = <0>;
1085		regulator-always-on;
1086		regulator-boot-on;
1087	};
1088
1089	vdd_5v0_sys: regulator-vdd-5v0-sys {
1090		compatible = "regulator-fixed";
1091		regulator-name = "VDD_5V0_SYS";
1092		regulator-min-microvolt = <5000000>;
1093		regulator-max-microvolt = <5000000>;
1094		regulator-always-on;
1095		regulator-boot-on;
1096	};
1097
1098	vdd_1v8_ap: regulator-vdd-1v8-ap {
1099		compatible = "regulator-fixed";
1100		regulator-name = "VDD_1V8_AP";
1101		regulator-min-microvolt = <1800000>;
1102		regulator-max-microvolt = <1800000>;
1103
1104		gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1105		enable-active-high;
1106
1107		vin-supply = <&vdd_1v8>;
1108	};
1109
1110	vdd_hdmi: regulator-vdd-hdmi {
1111		compatible = "regulator-fixed";
1112		regulator-name = "VDD_5V0_HDMI_CON";
1113		regulator-min-microvolt = <5000000>;
1114		regulator-max-microvolt = <5000000>;
1115
1116		vin-supply = <&vdd_5v0_sys>;
1117	};
1118
1119	sound {
1120		compatible = "nvidia,tegra186-audio-graph-card";
1121		status = "okay";
1122
1123		dais = /* FE */
1124		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
1125		       <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
1126		       <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
1127		       <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
1128		       <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
1129		       /* Router */
1130		       <&xbar_i2s1_port>, <&xbar_i2s3_port>,
1131		       <&xbar_dmic1_port>, <&xbar_dmic2_port>,
1132		       /* I/O */
1133		       <&i2s1_port>, <&i2s3_port>,
1134		       <&dmic1_port>, <&dmic2_port>;
1135
1136		label = "NVIDIA Jetson TX2 NX APE";
1137	};
1138
1139	thermal-zones {
1140		cpu-thermal {
1141			polling-delay = <0>;
1142			polling-delay-passive = <500>;
1143			status = "okay";
1144
1145			trips {
1146				cpu_trip_critical: critical {
1147					temperature = <96500>;
1148					hysteresis = <0>;
1149					type = "critical";
1150				};
1151
1152				cpu_trip_hot: hot {
1153					temperature = <79000>;
1154					hysteresis = <2000>;
1155					type = "hot";
1156				};
1157
1158				cpu_trip_active: active {
1159					temperature = <62000>;
1160					hysteresis = <2000>;
1161					type = "active";
1162				};
1163
1164				cpu_trip_passive: passive {
1165					temperature = <45000>;
1166					hysteresis = <2000>;
1167					type = "passive";
1168				};
1169			};
1170
1171			cooling-maps {
1172				cpu-critical {
1173					cooling-device = <&fan 3 3>;
1174					trip = <&cpu_trip_critical>;
1175				};
1176
1177				cpu-hot {
1178					cooling-device = <&fan 2 2>;
1179					trip = <&cpu_trip_hot>;
1180				};
1181
1182				cpu-active {
1183					cooling-device = <&fan 1 1>;
1184					trip = <&cpu_trip_active>;
1185				};
1186
1187				cpu-passive {
1188					cooling-device = <&fan 0 0>;
1189					trip = <&cpu_trip_passive>;
1190				};
1191			};
1192		};
1193
1194		aux-thermal {
1195			polling-delay = <0>;
1196			polling-delay-passive = <500>;
1197			status = "okay";
1198
1199			trips {
1200				aux_alert0: critical {
1201					temperature = <90000>;
1202					hysteresis = <0>;
1203					type = "critical";
1204				};
1205			};
1206		};
1207
1208		gpu-thermal {
1209			polling-delay = <0>;
1210			polling-delay-passive = <500>;
1211			status = "okay";
1212
1213			trips {
1214				gpu_alert0: critical {
1215					temperature = <99000>;
1216					hysteresis = <0>;
1217					type = "critical";
1218				};
1219			};
1220		};
1221	};
1222};
1223