xref: /freebsd/sys/contrib/device-tree/src/arm64/nvidia/tegra210-p3450-0000.dts (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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		hvddio-pex-supply = <&vdd_1v8>;
34		dvddio-pex-supply = <&vdd_pex_1v05>;
35		vddio-pex-ctl-supply = <&vdd_1v8>;
36
37		pci@1,0 {
38			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>,
39			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>,
40			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>,
41			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
42			phy-names = "pcie-0", "pcie-1", "pcie-2", "pcie-3";
43			nvidia,num-lanes = <4>;
44			status = "okay";
45		};
46
47		pci@2,0 {
48			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>;
49			phy-names = "pcie-0";
50			status = "okay";
51
52			ethernet@0,0 {
53				reg = <0x000000 0 0 0 0>;
54				local-mac-address = [ 00 00 00 00 00 00 ];
55			};
56		};
57	};
58
59	host1x@50000000 {
60		dpaux@54040000 {
61			status = "okay";
62		};
63
64		vi@54080000 {
65			status = "okay";
66
67			avdd-dsi-csi-supply = <&vdd_sys_1v2>;
68
69			csi@838 {
70				status = "okay";
71			};
72		};
73
74		sor@54540000 {
75			status = "okay";
76
77			avdd-io-hdmi-dp-supply = <&avdd_io_edp_1v05>;
78			vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
79
80			nvidia,xbar-cfg = <2 1 0 3 4>;
81			nvidia,dpaux = <&dpaux>;
82		};
83
84		sor@54580000 {
85			status = "okay";
86
87			avdd-io-hdmi-dp-supply = <&avdd_1v05>;
88			vdd-hdmi-dp-pll-supply = <&vdd_1v8>;
89			hdmi-supply = <&vdd_hdmi>;
90
91			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
92			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1)
93					   GPIO_ACTIVE_LOW>;
94			nvidia,xbar-cfg = <0 1 2 3 4>;
95		};
96
97		dpaux@545c0000 {
98			status = "okay";
99		};
100
101		i2c@546c0000 {
102			status = "okay";
103		};
104	};
105
106	gpu@57000000 {
107		vdd-supply = <&vdd_gpu>;
108		status = "okay";
109	};
110
111	pinmux@700008d4 {
112		dvfs_pwm_active_state: pinmux-dvfs-pwm-active {
113			dvfs_pwm_pbb1 {
114				nvidia,pins = "dvfs_pwm_pbb1";
115				nvidia,tristate = <TEGRA_PIN_DISABLE>;
116			};
117		};
118
119		dvfs_pwm_inactive_state: pinmux-dvfs-pwm-inactive {
120			dvfs_pwm_pbb1 {
121				nvidia,pins = "dvfs_pwm_pbb1";
122				nvidia,tristate = <TEGRA_PIN_ENABLE>;
123			};
124		};
125	};
126
127	/* debug port */
128	serial@70006000 {
129		status = "okay";
130	};
131
132	pwm@7000a000 {
133		status = "okay";
134	};
135
136	i2c@7000c500 {
137		status = "okay";
138		clock-frequency = <100000>;
139
140		eeprom@50 {
141			compatible = "atmel,24c02";
142			reg = <0x50>;
143
144			label = "module";
145			vcc-supply = <&vdd_1v8>;
146			address-width = <8>;
147			pagesize = <8>;
148			size = <256>;
149			read-only;
150		};
151
152		eeprom@57 {
153			compatible = "atmel,24c02";
154			reg = <0x57>;
155
156			label = "system";
157			vcc-supply = <&vdd_1v8>;
158			address-width = <8>;
159			pagesize = <8>;
160			size = <256>;
161			read-only;
162		};
163	};
164
165	hdmi_ddc: i2c@7000c700 {
166		status = "okay";
167		clock-frequency = <100000>;
168	};
169
170	i2c@7000d000 {
171		status = "okay";
172		clock-frequency = <400000>;
173
174		pmic: pmic@3c {
175			compatible = "maxim,max77620";
176			reg = <0x3c>;
177			interrupt-parent = <&tegra_pmc>;
178			interrupts = <51 IRQ_TYPE_LEVEL_LOW>;
179
180			#interrupt-cells = <2>;
181			interrupt-controller;
182
183			#gpio-cells = <2>;
184			gpio-controller;
185
186			pinctrl-names = "default";
187			pinctrl-0 = <&max77620_default>;
188
189			fps {
190				fps0 {
191					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
192					maxim,suspend-fps-time-period-us = <5120>;
193				};
194
195				fps1 {
196					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
197					maxim,suspend-fps-time-period-us = <5120>;
198				};
199
200				fps2 {
201					maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
202				};
203			};
204
205			max77620_default: pinmux {
206				gpio0 {
207					pins = "gpio0";
208					function = "gpio";
209				};
210
211				gpio1 {
212					pins = "gpio1";
213					function = "fps-out";
214					drive-push-pull = <1>;
215					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
216					maxim,active-fps-power-up-slot = <0>;
217					maxim,active-fps-power-down-slot = <7>;
218				};
219
220				gpio2 {
221					pins = "gpio2";
222					function = "fps-out";
223					drive-open-drain = <1>;
224					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
225					maxim,active-fps-power-up-slot = <0>;
226					maxim,active-fps-power-down-slot = <7>;
227				};
228
229				gpio3 {
230					pins = "gpio3";
231					function = "fps-out";
232					drive-open-drain = <1>;
233					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
234					maxim,active-fps-power-up-slot = <4>;
235					maxim,active-fps-power-down-slot = <3>;
236				};
237
238				gpio4 {
239					pins = "gpio4";
240					function = "32k-out1";
241				};
242
243				gpio5_6_7 {
244					pins = "gpio5", "gpio6", "gpio7";
245					function = "gpio";
246					drive-push-pull = <1>;
247				};
248			};
249
250			regulators {
251				in-ldo0-1-supply = <&vdd_pre>;
252				in-ldo2-supply = <&vdd_3v3_sys>;
253				in-ldo3-5-supply = <&vdd_1v8>;
254				in-ldo4-6-supply = <&vdd_5v0_sys>;
255				in-ldo7-8-supply = <&vdd_pre>;
256				in-sd0-supply = <&vdd_5v0_sys>;
257				in-sd1-supply = <&vdd_5v0_sys>;
258				in-sd2-supply = <&vdd_5v0_sys>;
259				in-sd3-supply = <&vdd_5v0_sys>;
260
261				vdd_soc: sd0 {
262					regulator-name = "VDD_SOC";
263					regulator-min-microvolt = <1000000>;
264					regulator-max-microvolt = <1170000>;
265					regulator-enable-ramp-delay = <146>;
266					regulator-ramp-delay = <27500>;
267					regulator-ramp-delay-scale = <300>;
268					regulator-always-on;
269					regulator-boot-on;
270
271					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
272					maxim,active-fps-power-up-slot = <1>;
273					maxim,active-fps-power-down-slot = <6>;
274				};
275
276				vdd_ddr: sd1 {
277					regulator-name = "VDD_DDR_1V1_PMIC";
278					regulator-min-microvolt = <1150000>;
279					regulator-max-microvolt = <1150000>;
280					regulator-enable-ramp-delay = <176>;
281					regulator-ramp-delay = <27500>;
282					regulator-ramp-delay-scale = <300>;
283					regulator-always-on;
284					regulator-boot-on;
285
286					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
287					maxim,active-fps-power-up-slot = <5>;
288					maxim,active-fps-power-down-slot = <2>;
289				};
290
291				vdd_pre: sd2 {
292					regulator-name = "VDD_PRE_REG_1V35";
293					regulator-min-microvolt = <1350000>;
294					regulator-max-microvolt = <1350000>;
295					regulator-enable-ramp-delay = <176>;
296					regulator-ramp-delay = <27500>;
297					regulator-ramp-delay-scale = <350>;
298					regulator-always-on;
299					regulator-boot-on;
300
301					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
302					maxim,active-fps-power-up-slot = <2>;
303					maxim,active-fps-power-down-slot = <5>;
304				};
305
306				vdd_1v8: sd3 {
307					regulator-name = "VDD_1V8";
308					regulator-min-microvolt = <1800000>;
309					regulator-max-microvolt = <1800000>;
310					regulator-enable-ramp-delay = <242>;
311					regulator-ramp-delay = <27500>;
312					regulator-ramp-delay-scale = <360>;
313					regulator-always-on;
314					regulator-boot-on;
315
316					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
317					maxim,active-fps-power-up-slot = <3>;
318					maxim,active-fps-power-down-slot = <4>;
319				};
320
321				vdd_sys_1v2: ldo0 {
322					regulator-name = "AVDD_SYS_1V2";
323					regulator-min-microvolt = <1200000>;
324					regulator-max-microvolt = <1200000>;
325					regulator-enable-ramp-delay = <26>;
326					regulator-ramp-delay = <100000>;
327					regulator-ramp-delay-scale = <200>;
328					regulator-always-on;
329					regulator-boot-on;
330
331					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
332					maxim,active-fps-power-up-slot = <0>;
333					maxim,active-fps-power-down-slot = <7>;
334				};
335
336				vdd_pex_1v05: ldo1 {
337					regulator-name = "VDD_PEX_1V05";
338					regulator-min-microvolt = <1050000>;
339					regulator-max-microvolt = <1050000>;
340					regulator-enable-ramp-delay = <22>;
341					regulator-ramp-delay = <100000>;
342					regulator-ramp-delay-scale = <200>;
343
344					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
345					maxim,active-fps-power-up-slot = <0>;
346					maxim,active-fps-power-down-slot = <7>;
347				};
348
349				vddio_sdmmc: ldo2 {
350					regulator-name = "VDDIO_SDMMC";
351					regulator-min-microvolt = <1800000>;
352					regulator-max-microvolt = <3300000>;
353					regulator-enable-ramp-delay = <62>;
354					regulator-ramp-delay = <100000>;
355					regulator-ramp-delay-scale = <200>;
356
357					maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
358					maxim,active-fps-power-up-slot = <0>;
359					maxim,active-fps-power-down-slot = <7>;
360				};
361
362				ldo3 {
363					status = "disabled";
364				};
365
366				vdd_rtc: ldo4 {
367					regulator-name = "VDD_RTC";
368					regulator-min-microvolt = <850000>;
369					regulator-max-microvolt = <1100000>;
370					regulator-enable-ramp-delay = <22>;
371					regulator-ramp-delay = <100000>;
372					regulator-ramp-delay-scale = <200>;
373					regulator-disable-active-discharge;
374					regulator-always-on;
375					regulator-boot-on;
376
377					maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
378					maxim,active-fps-power-up-slot = <1>;
379					maxim,active-fps-power-down-slot = <6>;
380				};
381
382				ldo5 {
383					status = "disabled";
384				};
385
386				ldo6 {
387					status = "disabled";
388				};
389
390				avdd_1v05_pll: ldo7 {
391					regulator-name = "AVDD_1V05_PLL";
392					regulator-min-microvolt = <1050000>;
393					regulator-max-microvolt = <1050000>;
394					regulator-enable-ramp-delay = <24>;
395					regulator-ramp-delay = <100000>;
396					regulator-ramp-delay-scale = <200>;
397
398					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
399					maxim,active-fps-power-up-slot = <3>;
400					maxim,active-fps-power-down-slot = <4>;
401				};
402
403				avdd_1v05: ldo8 {
404					regulator-name = "AVDD_SATA_HDMI_DP_1V05";
405					regulator-min-microvolt = <1050000>;
406					regulator-max-microvolt = <1050000>;
407					regulator-enable-ramp-delay = <22>;
408					regulator-ramp-delay = <100000>;
409					regulator-ramp-delay-scale = <200>;
410
411					maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
412					maxim,active-fps-power-up-slot = <6>;
413					maxim,active-fps-power-down-slot = <1>;
414				};
415			};
416		};
417	};
418
419	pmc@7000e400 {
420		nvidia,invert-interrupt;
421		nvidia,suspend-mode = <0>;
422		nvidia,cpu-pwr-good-time = <0>;
423		nvidia,cpu-pwr-off-time = <0>;
424		nvidia,core-pwr-good-time = <4587 3876>;
425		nvidia,core-pwr-off-time = <39065>;
426		nvidia,core-power-req-active-high;
427		nvidia,sys-clock-req-active-high;
428	};
429
430	hda@70030000 {
431		nvidia,model = "NVIDIA Jetson Nano HDA";
432
433		status = "okay";
434	};
435
436	usb@70090000 {
437		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>,
438		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>,
439		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>,
440		       <&{/padctl@7009f000/pads/pcie/lanes/pcie-6}>;
441		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0";
442
443		avdd-usb-supply = <&vdd_3v3_sys>;
444		dvddio-pex-supply = <&vdd_pex_1v05>;
445		hvddio-pex-supply = <&vdd_1v8>;
446
447		status = "okay";
448	};
449
450	padctl@7009f000 {
451		status = "okay";
452
453		avdd-pll-utmip-supply = <&vdd_1v8>;
454		avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
455		dvdd-pex-pll-supply = <&vdd_pex_1v05>;
456		hvdd-pex-pll-e-supply = <&vdd_1v8>;
457
458		pads {
459			usb2 {
460				status = "okay";
461
462				lanes {
463					micro_b: usb2-0 {
464						nvidia,function = "xusb";
465						status = "okay";
466					};
467
468					usb2-1 {
469						nvidia,function = "xusb";
470						status = "okay";
471					};
472
473					usb2-2 {
474						nvidia,function = "xusb";
475						status = "okay";
476					};
477				};
478			};
479
480			pcie {
481				status = "okay";
482
483				lanes {
484					pcie-0 {
485						nvidia,function = "pcie-x1";
486						status = "okay";
487					};
488
489					pcie-1 {
490						nvidia,function = "pcie-x4";
491						status = "okay";
492					};
493
494					pcie-2 {
495						nvidia,function = "pcie-x4";
496						status = "okay";
497					};
498
499					pcie-3 {
500						nvidia,function = "pcie-x4";
501						status = "okay";
502					};
503
504					pcie-4 {
505						nvidia,function = "pcie-x4";
506						status = "okay";
507					};
508
509					pcie-5 {
510						nvidia,function = "usb3-ss";
511						status = "okay";
512					};
513
514					pcie-6 {
515						nvidia,function = "usb3-ss";
516						status = "okay";
517					};
518				};
519			};
520		};
521
522		ports {
523			usb2-0 {
524				status = "okay";
525				mode = "peripheral";
526				usb-role-switch;
527
528				vbus-supply = <&vdd_5v0_usb>;
529
530				connector {
531					compatible = "gpio-usb-b-connector",
532						     "usb-b-connector";
533					label = "micro-USB";
534					type = "micro";
535					vbus-gpios = <&gpio TEGRA_GPIO(CC, 4)
536						      GPIO_ACTIVE_LOW>;
537				};
538			};
539
540			usb2-1 {
541				status = "okay";
542				mode = "host";
543			};
544
545			usb2-2 {
546				status = "okay";
547				mode = "host";
548			};
549
550			usb3-0 {
551				status = "okay";
552				nvidia,usb2-companion = <1>;
553				vbus-supply = <&vdd_hub_3v3>;
554			};
555		};
556	};
557
558	mmc@700b0000 {
559		status = "okay";
560		bus-width = <4>;
561
562		cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
563		disable-wp;
564
565		vqmmc-supply = <&vddio_sdmmc>;
566		vmmc-supply = <&vdd_3v3_sd>;
567	};
568
569	mmc@700b0400 {
570		status = "okay";
571		bus-width = <4>;
572
573		vqmmc-supply = <&vdd_1v8>;
574		vmmc-supply = <&vdd_3v3_sys>;
575
576		non-removable;
577		cap-sdio-irq;
578		keep-power-in-suspend;
579		wakeup-source;
580	};
581
582	usb@700d0000 {
583		status = "okay";
584		phys = <&micro_b>;
585		phy-names = "usb2-0";
586		avddio-usb-supply = <&vdd_3v3_sys>;
587		hvdd-usb-supply = <&vdd_1v8>;
588	};
589
590	clock@70110000 {
591		status = "okay";
592
593		nvidia,cf = <6>;
594		nvidia,ci = <0>;
595		nvidia,cg = <2>;
596		nvidia,droop-ctrl = <0x00000f00>;
597		nvidia,force-mode = <1>;
598		nvidia,sample-rate = <25000>;
599
600		nvidia,pwm-min-microvolts = <708000>;
601		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
602		nvidia,pwm-to-pmic;
603		nvidia,pwm-tristate-microvolts = <1000000>;
604		nvidia,pwm-voltage-step-microvolts = <19200>;
605
606		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
607		pinctrl-0 = <&dvfs_pwm_active_state>;
608		pinctrl-1 = <&dvfs_pwm_inactive_state>;
609	};
610
611	aconnect@702c0000 {
612		status = "okay";
613
614		ahub@702d0800 {
615			status = "okay";
616
617			admaif@702d0000 {
618				status = "okay";
619			};
620
621			i2s@702d1200 {
622				status = "okay";
623
624				ports {
625					#address-cells = <1>;
626					#size-cells = <0>;
627
628					port@0 {
629						reg = <0>;
630
631						i2s3_cif_ep: endpoint {
632							remote-endpoint = <&xbar_i2s3_ep>;
633						};
634					};
635
636					i2s3_port: port@1 {
637						reg = <1>;
638
639						i2s3_dap_ep: endpoint {
640							dai-format = "i2s";
641							/* Placeholder for external Codec */
642						};
643					};
644				};
645			};
646
647			i2s@702d1300 {
648				status = "okay";
649
650				ports {
651					#address-cells = <1>;
652					#size-cells = <0>;
653
654					port@0 {
655						reg = <0>;
656
657						i2s4_cif_ep: endpoint {
658							remote-endpoint = <&xbar_i2s4_ep>;
659						};
660					};
661
662					i2s4_port: port@1 {
663						reg = <1>;
664
665						i2s4_dap_ep: endpoint {
666							dai-format = "i2s";
667							/* Placeholder for external Codec */
668						};
669					};
670				};
671			};
672
673			sfc@702d2000 {
674				status = "okay";
675
676				ports {
677					#address-cells = <1>;
678					#size-cells = <0>;
679
680					port@0 {
681						reg = <0>;
682
683						sfc1_cif_in_ep: endpoint {
684							remote-endpoint = <&xbar_sfc1_in_ep>;
685						};
686					};
687
688					sfc1_out_port: port@1 {
689						reg = <1>;
690
691						sfc1_cif_out_ep: endpoint {
692							remote-endpoint = <&xbar_sfc1_out_ep>;
693						};
694					};
695				};
696			};
697
698			sfc@702d2200 {
699				status = "okay";
700
701				ports {
702					#address-cells = <1>;
703					#size-cells = <0>;
704
705					port@0 {
706						reg = <0>;
707
708						sfc2_cif_in_ep: endpoint {
709							remote-endpoint = <&xbar_sfc2_in_ep>;
710						};
711					};
712
713					sfc2_out_port: port@1 {
714						reg = <1>;
715
716						sfc2_cif_out_ep: endpoint {
717							remote-endpoint = <&xbar_sfc2_out_ep>;
718						};
719					};
720				};
721			};
722
723			sfc@702d2400 {
724				status = "okay";
725
726				ports {
727					#address-cells = <1>;
728					#size-cells = <0>;
729
730					port@0 {
731						reg = <0>;
732
733						sfc3_cif_in_ep: endpoint {
734							remote-endpoint = <&xbar_sfc3_in_ep>;
735						};
736					};
737
738					sfc3_out_port: port@1 {
739						reg = <1>;
740
741						sfc3_cif_out_ep: endpoint {
742							remote-endpoint = <&xbar_sfc3_out_ep>;
743						};
744					};
745				};
746			};
747
748			sfc@702d2600 {
749				status = "okay";
750
751				ports {
752					#address-cells = <1>;
753					#size-cells = <0>;
754
755					port@0 {
756						reg = <0>;
757
758						sfc4_cif_in_ep: endpoint {
759							remote-endpoint = <&xbar_sfc4_in_ep>;
760						};
761					};
762
763					sfc4_out_port: port@1 {
764						reg = <1>;
765
766						sfc4_cif_out_ep: endpoint {
767							remote-endpoint = <&xbar_sfc4_out_ep>;
768						};
769					};
770				};
771			};
772
773			amx@702d3000 {
774				status = "okay";
775
776				ports {
777					#address-cells = <1>;
778					#size-cells = <0>;
779
780					port@0 {
781						reg = <0>;
782
783						amx1_in1_ep: endpoint {
784							remote-endpoint = <&xbar_amx1_in1_ep>;
785						};
786					};
787
788					port@1 {
789						reg = <1>;
790
791						amx1_in2_ep: endpoint {
792							remote-endpoint = <&xbar_amx1_in2_ep>;
793						};
794					};
795
796					port@2 {
797						reg = <2>;
798
799						amx1_in3_ep: endpoint {
800							remote-endpoint = <&xbar_amx1_in3_ep>;
801						};
802					};
803
804					port@3 {
805						reg = <3>;
806
807						amx1_in4_ep: endpoint {
808							remote-endpoint = <&xbar_amx1_in4_ep>;
809						};
810					};
811
812					amx1_out_port: port@4 {
813						reg = <4>;
814
815						amx1_out_ep: endpoint {
816							remote-endpoint = <&xbar_amx1_out_ep>;
817						};
818					};
819				};
820			};
821
822			amx@702d3100 {
823				status = "okay";
824
825				ports {
826					#address-cells = <1>;
827					#size-cells = <0>;
828
829					port@0 {
830						reg = <0>;
831
832						amx2_in1_ep: endpoint {
833							remote-endpoint = <&xbar_amx2_in1_ep>;
834						};
835					};
836
837					port@1 {
838						reg = <1>;
839
840						amx2_in2_ep: endpoint {
841							remote-endpoint = <&xbar_amx2_in2_ep>;
842						};
843					};
844
845					amx2_in3_port: port@2 {
846						reg = <2>;
847
848						amx2_in3_ep: endpoint {
849							remote-endpoint = <&xbar_amx2_in3_ep>;
850						};
851					};
852
853					amx2_in4_port: port@3 {
854						reg = <3>;
855
856						amx2_in4_ep: endpoint {
857							remote-endpoint = <&xbar_amx2_in4_ep>;
858						};
859					};
860
861					amx2_out_port: port@4 {
862						reg = <4>;
863
864						amx2_out_ep: endpoint {
865							remote-endpoint = <&xbar_amx2_out_ep>;
866						};
867					};
868				};
869			};
870
871			adx@702d3800 {
872				status = "okay";
873
874				ports {
875					#address-cells = <1>;
876					#size-cells = <0>;
877
878					port@0 {
879						reg = <0>;
880
881						adx1_in_ep: endpoint {
882							remote-endpoint = <&xbar_adx1_in_ep>;
883						};
884					};
885
886					adx1_out1_port: port@1 {
887						reg = <1>;
888
889						adx1_out1_ep: endpoint {
890							remote-endpoint = <&xbar_adx1_out1_ep>;
891						};
892					};
893
894					adx1_out2_port: port@2 {
895						reg = <2>;
896
897						adx1_out2_ep: endpoint {
898							remote-endpoint = <&xbar_adx1_out2_ep>;
899						};
900					};
901
902					adx1_out3_port: port@3 {
903						reg = <3>;
904
905						adx1_out3_ep: endpoint {
906							remote-endpoint = <&xbar_adx1_out3_ep>;
907						};
908					};
909
910					adx1_out4_port: port@4 {
911						reg = <4>;
912
913						adx1_out4_ep: endpoint {
914							remote-endpoint = <&xbar_adx1_out4_ep>;
915						};
916					};
917				};
918			};
919
920			adx@702d3900 {
921				status = "okay";
922
923				ports {
924					#address-cells = <1>;
925					#size-cells = <0>;
926
927					port@0 {
928						reg = <0>;
929
930						adx2_in_ep: endpoint {
931							remote-endpoint = <&xbar_adx2_in_ep>;
932						};
933					};
934
935					adx2_out1_port: port@1 {
936						reg = <1>;
937
938						adx2_out1_ep: endpoint {
939							remote-endpoint = <&xbar_adx2_out1_ep>;
940						};
941					};
942
943					adx2_out2_port: port@2 {
944						reg = <2>;
945
946						adx2_out2_ep: endpoint {
947							remote-endpoint = <&xbar_adx2_out2_ep>;
948						};
949					};
950
951					adx2_out3_port: port@3 {
952						reg = <3>;
953
954						adx2_out3_ep: endpoint {
955							remote-endpoint = <&xbar_adx2_out3_ep>;
956						};
957					};
958
959					adx2_out4_port: port@4 {
960						reg = <4>;
961
962						adx2_out4_ep: endpoint {
963							remote-endpoint = <&xbar_adx2_out4_ep>;
964						};
965					};
966				};
967			};
968
969			dmic@702d4000 {
970				status = "okay";
971
972				ports {
973					#address-cells = <1>;
974					#size-cells = <0>;
975
976					port@0 {
977						reg = <0>;
978
979						dmic1_cif_ep: endpoint {
980							remote-endpoint = <&xbar_dmic1_ep>;
981						};
982					};
983
984					dmic1_port: port@1 {
985						reg = <1>;
986
987						dmic1_dap_ep: endpoint {
988							/* Placeholder for external Codec */
989						};
990					};
991				};
992			};
993
994			dmic@702d4100 {
995				status = "okay";
996
997				ports {
998					#address-cells = <1>;
999					#size-cells = <0>;
1000
1001					port@0 {
1002						reg = <0>;
1003
1004						dmic2_cif_ep: endpoint {
1005							remote-endpoint = <&xbar_dmic2_ep>;
1006						};
1007					};
1008
1009					dmic2_port: port@1 {
1010						reg = <1>;
1011
1012						dmic2_dap_ep: endpoint {
1013							/* Placeholder for external Codec */
1014						};
1015					};
1016				};
1017			};
1018
1019			processing-engine@702d8000 {
1020				status = "okay";
1021
1022				ports {
1023					#address-cells = <1>;
1024					#size-cells = <0>;
1025
1026					port@0 {
1027						reg = <0x0>;
1028
1029						ope1_cif_in_ep: endpoint {
1030							remote-endpoint = <&xbar_ope1_in_ep>;
1031						};
1032					};
1033
1034					ope1_out_port: port@1 {
1035						reg = <0x1>;
1036
1037						ope1_cif_out_ep: endpoint {
1038							remote-endpoint = <&xbar_ope1_out_ep>;
1039						};
1040					};
1041				};
1042			};
1043
1044			processing-engine@702d8400 {
1045				status = "okay";
1046
1047				ports {
1048					#address-cells = <1>;
1049					#size-cells = <0>;
1050
1051					port@0 {
1052						reg = <0x0>;
1053
1054						ope2_cif_in_ep: endpoint {
1055							remote-endpoint = <&xbar_ope2_in_ep>;
1056						};
1057					};
1058
1059					ope2_out_port: port@1 {
1060						reg = <0x1>;
1061
1062						ope2_cif_out_ep: endpoint {
1063							remote-endpoint = <&xbar_ope2_out_ep>;
1064						};
1065					};
1066				};
1067			};
1068
1069			mvc@702da000 {
1070				status = "okay";
1071
1072				ports {
1073					#address-cells = <1>;
1074					#size-cells = <0>;
1075
1076					port@0 {
1077						reg = <0>;
1078
1079						mvc1_cif_in_ep: endpoint {
1080							remote-endpoint = <&xbar_mvc1_in_ep>;
1081						};
1082					};
1083
1084					mvc1_out_port: port@1 {
1085						reg = <1>;
1086
1087						mvc1_cif_out_ep: endpoint {
1088							remote-endpoint = <&xbar_mvc1_out_ep>;
1089						};
1090					};
1091				};
1092			};
1093
1094			mvc@702da200 {
1095				status = "okay";
1096
1097				ports {
1098					#address-cells = <1>;
1099					#size-cells = <0>;
1100
1101					port@0 {
1102						reg = <0>;
1103
1104						mvc2_cif_in_ep: endpoint {
1105							remote-endpoint = <&xbar_mvc2_in_ep>;
1106						};
1107					};
1108
1109					mvc2_out_port: port@1 {
1110						reg = <1>;
1111
1112						mvc2_cif_out_ep: endpoint {
1113							remote-endpoint = <&xbar_mvc2_out_ep>;
1114						};
1115					};
1116				};
1117			};
1118
1119			amixer@702dbb00 {
1120				status = "okay";
1121
1122				ports {
1123					#address-cells = <1>;
1124					#size-cells = <0>;
1125
1126					port@0 {
1127						reg = <0x0>;
1128
1129						mixer_in1_ep: endpoint {
1130							remote-endpoint = <&xbar_mixer_in1_ep>;
1131						};
1132					};
1133
1134					port@1 {
1135						reg = <0x1>;
1136
1137						mixer_in2_ep: endpoint {
1138							remote-endpoint = <&xbar_mixer_in2_ep>;
1139						};
1140					};
1141
1142					port@2 {
1143						reg = <0x2>;
1144
1145						mixer_in3_ep: endpoint {
1146							remote-endpoint = <&xbar_mixer_in3_ep>;
1147						};
1148					};
1149
1150					port@3 {
1151						reg = <0x3>;
1152
1153						mixer_in4_ep: endpoint {
1154							remote-endpoint = <&xbar_mixer_in4_ep>;
1155						};
1156					};
1157
1158					port@4 {
1159						reg = <0x4>;
1160
1161						mixer_in5_ep: endpoint {
1162							remote-endpoint = <&xbar_mixer_in5_ep>;
1163						};
1164					};
1165
1166					port@5 {
1167						reg = <0x5>;
1168
1169						mixer_in6_ep: endpoint {
1170							remote-endpoint = <&xbar_mixer_in6_ep>;
1171						};
1172					};
1173
1174					port@6 {
1175						reg = <0x6>;
1176
1177						mixer_in7_ep: endpoint {
1178							remote-endpoint = <&xbar_mixer_in7_ep>;
1179						};
1180					};
1181
1182					port@7 {
1183						reg = <0x7>;
1184
1185						mixer_in8_ep: endpoint {
1186							remote-endpoint = <&xbar_mixer_in8_ep>;
1187						};
1188					};
1189
1190					port@8 {
1191						reg = <0x8>;
1192
1193						mixer_in9_ep: endpoint {
1194							remote-endpoint = <&xbar_mixer_in9_ep>;
1195						};
1196					};
1197
1198					port@9 {
1199						reg = <0x9>;
1200
1201						mixer_in10_ep: endpoint {
1202							remote-endpoint = <&xbar_mixer_in10_ep>;
1203						};
1204					};
1205
1206					mixer_out1_port: port@a {
1207						reg = <0xa>;
1208
1209						mixer_out1_ep: endpoint {
1210							remote-endpoint = <&xbar_mixer_out1_ep>;
1211						};
1212					};
1213
1214					mixer_out2_port: port@b {
1215						reg = <0xb>;
1216
1217						mixer_out2_ep: endpoint {
1218							remote-endpoint = <&xbar_mixer_out2_ep>;
1219						};
1220					};
1221
1222					mixer_out3_port: port@c {
1223						reg = <0xc>;
1224
1225						mixer_out3_ep: endpoint {
1226							remote-endpoint = <&xbar_mixer_out3_ep>;
1227						};
1228					};
1229
1230					mixer_out4_port: port@d {
1231						reg = <0xd>;
1232
1233						mixer_out4_ep: endpoint {
1234							remote-endpoint = <&xbar_mixer_out4_ep>;
1235						};
1236					};
1237
1238					mixer_out5_port: port@e {
1239						reg = <0xe>;
1240
1241						mixer_out5_ep: endpoint {
1242							remote-endpoint = <&xbar_mixer_out5_ep>;
1243						};
1244					};
1245				};
1246			};
1247
1248			ports {
1249				xbar_i2s3_port: port@c {
1250					reg = <0xc>;
1251
1252					xbar_i2s3_ep: endpoint {
1253						remote-endpoint = <&i2s3_cif_ep>;
1254					};
1255				};
1256
1257				xbar_i2s4_port: port@d {
1258					reg = <0xd>;
1259
1260					xbar_i2s4_ep: endpoint {
1261						remote-endpoint = <&i2s4_cif_ep>;
1262					};
1263				};
1264
1265				xbar_dmic1_port: port@f {
1266					reg = <0xf>;
1267
1268					xbar_dmic1_ep: endpoint {
1269						remote-endpoint = <&dmic1_cif_ep>;
1270					};
1271				};
1272
1273				xbar_dmic2_port: port@10 {
1274					reg = <0x10>;
1275
1276					xbar_dmic2_ep: endpoint {
1277						remote-endpoint = <&dmic2_cif_ep>;
1278					};
1279				};
1280
1281				xbar_sfc1_in_port: port@12 {
1282					reg = <0x12>;
1283
1284					xbar_sfc1_in_ep: endpoint {
1285						remote-endpoint = <&sfc1_cif_in_ep>;
1286					};
1287				};
1288
1289				port@13 {
1290					reg = <0x13>;
1291
1292					xbar_sfc1_out_ep: endpoint {
1293						remote-endpoint = <&sfc1_cif_out_ep>;
1294					};
1295				};
1296
1297				xbar_sfc2_in_port: port@14 {
1298					reg = <0x14>;
1299
1300					xbar_sfc2_in_ep: endpoint {
1301						remote-endpoint = <&sfc2_cif_in_ep>;
1302					};
1303				};
1304
1305				port@15 {
1306					reg = <0x15>;
1307
1308					xbar_sfc2_out_ep: endpoint {
1309						remote-endpoint = <&sfc2_cif_out_ep>;
1310					};
1311				};
1312
1313				xbar_sfc3_in_port: port@16 {
1314					reg = <0x16>;
1315
1316					xbar_sfc3_in_ep: endpoint {
1317						remote-endpoint = <&sfc3_cif_in_ep>;
1318					};
1319				};
1320
1321				port@17 {
1322					reg = <0x17>;
1323
1324					xbar_sfc3_out_ep: endpoint {
1325						remote-endpoint = <&sfc3_cif_out_ep>;
1326					};
1327				};
1328
1329				xbar_sfc4_in_port: port@18 {
1330					reg = <0x18>;
1331
1332					xbar_sfc4_in_ep: endpoint {
1333						remote-endpoint = <&sfc4_cif_in_ep>;
1334					};
1335				};
1336
1337				port@19 {
1338					reg = <0x19>;
1339
1340					xbar_sfc4_out_ep: endpoint {
1341						remote-endpoint = <&sfc4_cif_out_ep>;
1342					};
1343				};
1344
1345				xbar_mvc1_in_port: port@1a {
1346					reg = <0x1a>;
1347
1348					xbar_mvc1_in_ep: endpoint {
1349						remote-endpoint = <&mvc1_cif_in_ep>;
1350					};
1351				};
1352
1353				port@1b {
1354					reg = <0x1b>;
1355
1356					xbar_mvc1_out_ep: endpoint {
1357						remote-endpoint = <&mvc1_cif_out_ep>;
1358					};
1359				};
1360
1361				xbar_mvc2_in_port: port@1c {
1362					reg = <0x1c>;
1363
1364					xbar_mvc2_in_ep: endpoint {
1365						remote-endpoint = <&mvc2_cif_in_ep>;
1366					};
1367				};
1368
1369				port@1d {
1370					reg = <0x1d>;
1371
1372					xbar_mvc2_out_ep: endpoint {
1373						remote-endpoint = <&mvc2_cif_out_ep>;
1374					};
1375				};
1376
1377				xbar_amx1_in1_port: port@1e {
1378					reg = <0x1e>;
1379
1380					xbar_amx1_in1_ep: endpoint {
1381						remote-endpoint = <&amx1_in1_ep>;
1382					};
1383				};
1384
1385				xbar_amx1_in2_port: port@1f {
1386					reg = <0x1f>;
1387
1388					xbar_amx1_in2_ep: endpoint {
1389						remote-endpoint = <&amx1_in2_ep>;
1390					};
1391				};
1392
1393				xbar_amx1_in3_port: port@20 {
1394					reg = <0x20>;
1395
1396					xbar_amx1_in3_ep: endpoint {
1397						remote-endpoint = <&amx1_in3_ep>;
1398					};
1399				};
1400
1401				xbar_amx1_in4_port: port@21 {
1402					reg = <0x21>;
1403
1404					xbar_amx1_in4_ep: endpoint {
1405						remote-endpoint = <&amx1_in4_ep>;
1406					};
1407				};
1408
1409				port@22 {
1410					reg = <0x22>;
1411
1412					xbar_amx1_out_ep: endpoint {
1413						remote-endpoint = <&amx1_out_ep>;
1414					};
1415				};
1416
1417				xbar_amx2_in1_port: port@23 {
1418					reg = <0x23>;
1419
1420					xbar_amx2_in1_ep: endpoint {
1421						remote-endpoint = <&amx2_in1_ep>;
1422					};
1423				};
1424
1425				xbar_amx2_in2_port: port@24 {
1426					reg = <0x24>;
1427
1428					xbar_amx2_in2_ep: endpoint {
1429						remote-endpoint = <&amx2_in2_ep>;
1430					};
1431				};
1432
1433				xbar_amx2_in3_port: port@25 {
1434					reg = <0x25>;
1435
1436					xbar_amx2_in3_ep: endpoint {
1437						remote-endpoint = <&amx2_in3_ep>;
1438					};
1439				};
1440
1441				xbar_amx2_in4_port: port@26 {
1442					reg = <0x26>;
1443
1444					xbar_amx2_in4_ep: endpoint {
1445						remote-endpoint = <&amx2_in4_ep>;
1446					};
1447				};
1448
1449				port@27 {
1450					reg = <0x27>;
1451
1452					xbar_amx2_out_ep: endpoint {
1453						remote-endpoint = <&amx2_out_ep>;
1454					};
1455				};
1456
1457				xbar_adx1_in_port: port@28 {
1458					reg = <0x28>;
1459
1460					xbar_adx1_in_ep: endpoint {
1461						remote-endpoint = <&adx1_in_ep>;
1462					};
1463				};
1464
1465				port@29 {
1466					reg = <0x29>;
1467
1468					xbar_adx1_out1_ep: endpoint {
1469						remote-endpoint = <&adx1_out1_ep>;
1470					};
1471				};
1472
1473				port@2a {
1474					reg = <0x2a>;
1475
1476					xbar_adx1_out2_ep: endpoint {
1477						remote-endpoint = <&adx1_out2_ep>;
1478					};
1479				};
1480
1481				port@2b {
1482					reg = <0x2b>;
1483
1484					xbar_adx1_out3_ep: endpoint {
1485						remote-endpoint = <&adx1_out3_ep>;
1486					};
1487				};
1488
1489				port@2c {
1490					reg = <0x2c>;
1491
1492					xbar_adx1_out4_ep: endpoint {
1493						remote-endpoint = <&adx1_out4_ep>;
1494					};
1495				};
1496
1497				xbar_adx2_in_port: port@2d {
1498					reg = <0x2d>;
1499
1500					xbar_adx2_in_ep: endpoint {
1501						remote-endpoint = <&adx2_in_ep>;
1502					};
1503				};
1504
1505				port@2e {
1506					reg = <0x2e>;
1507
1508					xbar_adx2_out1_ep: endpoint {
1509						remote-endpoint = <&adx2_out1_ep>;
1510					};
1511				};
1512
1513				port@2f {
1514					reg = <0x2f>;
1515
1516					xbar_adx2_out2_ep: endpoint {
1517						remote-endpoint = <&adx2_out2_ep>;
1518					};
1519				};
1520
1521				port@30 {
1522					reg = <0x30>;
1523
1524					xbar_adx2_out3_ep: endpoint {
1525						remote-endpoint = <&adx2_out3_ep>;
1526					};
1527				};
1528
1529				port@31 {
1530					reg = <0x31>;
1531
1532					xbar_adx2_out4_ep: endpoint {
1533						remote-endpoint = <&adx2_out4_ep>;
1534					};
1535				};
1536
1537				xbar_mixer_in1_port: port@32 {
1538					reg = <0x32>;
1539
1540					xbar_mixer_in1_ep: endpoint {
1541						remote-endpoint = <&mixer_in1_ep>;
1542					};
1543				};
1544
1545				xbar_mixer_in2_port: port@33 {
1546					reg = <0x33>;
1547
1548					xbar_mixer_in2_ep: endpoint {
1549						remote-endpoint = <&mixer_in2_ep>;
1550					};
1551				};
1552
1553				xbar_mixer_in3_port: port@34 {
1554					reg = <0x34>;
1555
1556					xbar_mixer_in3_ep: endpoint {
1557						remote-endpoint = <&mixer_in3_ep>;
1558					};
1559				};
1560
1561				xbar_mixer_in4_port: port@35 {
1562					reg = <0x35>;
1563
1564					xbar_mixer_in4_ep: endpoint {
1565						remote-endpoint = <&mixer_in4_ep>;
1566					};
1567				};
1568
1569				xbar_mixer_in5_port: port@36 {
1570					reg = <0x36>;
1571
1572					xbar_mixer_in5_ep: endpoint {
1573						remote-endpoint = <&mixer_in5_ep>;
1574					};
1575				};
1576
1577				xbar_mixer_in6_port: port@37 {
1578					reg = <0x37>;
1579
1580					xbar_mixer_in6_ep: endpoint {
1581						remote-endpoint = <&mixer_in6_ep>;
1582					};
1583				};
1584
1585				xbar_mixer_in7_port: port@38 {
1586					reg = <0x38>;
1587
1588					xbar_mixer_in7_ep: endpoint {
1589						remote-endpoint = <&mixer_in7_ep>;
1590					};
1591				};
1592
1593				xbar_mixer_in8_port: port@39 {
1594					reg = <0x39>;
1595
1596					xbar_mixer_in8_ep: endpoint {
1597						remote-endpoint = <&mixer_in8_ep>;
1598					};
1599				};
1600
1601				xbar_mixer_in9_port: port@3a {
1602					reg = <0x3a>;
1603
1604					xbar_mixer_in9_ep: endpoint {
1605						remote-endpoint = <&mixer_in9_ep>;
1606					};
1607				};
1608
1609				xbar_mixer_in10_port: port@3b {
1610					reg = <0x3b>;
1611
1612					xbar_mixer_in10_ep: endpoint {
1613						remote-endpoint = <&mixer_in10_ep>;
1614					};
1615				};
1616
1617				port@3c {
1618					reg = <0x3c>;
1619
1620					xbar_mixer_out1_ep: endpoint {
1621						remote-endpoint = <&mixer_out1_ep>;
1622					};
1623				};
1624
1625				port@3d {
1626					reg = <0x3d>;
1627
1628					xbar_mixer_out2_ep: endpoint {
1629						remote-endpoint = <&mixer_out2_ep>;
1630					};
1631				};
1632
1633				port@3e {
1634					reg = <0x3e>;
1635
1636					xbar_mixer_out3_ep: endpoint {
1637						remote-endpoint = <&mixer_out3_ep>;
1638					};
1639				};
1640
1641				port@3f {
1642					reg = <0x3f>;
1643
1644					xbar_mixer_out4_ep: endpoint {
1645						remote-endpoint = <&mixer_out4_ep>;
1646					};
1647				};
1648
1649				port@40 {
1650					reg = <0x40>;
1651
1652					xbar_mixer_out5_ep: endpoint {
1653						remote-endpoint = <&mixer_out5_ep>;
1654					};
1655				};
1656
1657				xbar_ope1_in_port: port@41 {
1658					reg = <0x41>;
1659
1660					xbar_ope1_in_ep: endpoint {
1661						remote-endpoint = <&ope1_cif_in_ep>;
1662					};
1663				};
1664
1665				port@42 {
1666					reg = <0x42>;
1667
1668					xbar_ope1_out_ep: endpoint {
1669						remote-endpoint = <&ope1_cif_out_ep>;
1670					};
1671				};
1672
1673				xbar_ope2_in_port: port@43 {
1674					reg = <0x43>;
1675
1676					xbar_ope2_in_ep: endpoint {
1677						remote-endpoint = <&ope2_cif_in_ep>;
1678					};
1679				};
1680
1681				port@44 {
1682					reg = <0x44>;
1683
1684					xbar_ope2_out_ep: endpoint {
1685						remote-endpoint = <&ope2_cif_out_ep>;
1686					};
1687				};
1688			};
1689		};
1690
1691		dma-controller@702e2000 {
1692			status = "okay";
1693		};
1694
1695		interrupt-controller@702f9000 {
1696			status = "okay";
1697		};
1698	};
1699
1700	spi@70410000 {
1701		status = "okay";
1702
1703		flash@0 {
1704			compatible = "jedec,spi-nor";
1705			reg = <0>;
1706			spi-max-frequency = <104000000>;
1707			spi-tx-bus-width = <2>;
1708			spi-rx-bus-width = <2>;
1709		};
1710	};
1711
1712	clk32k_in: clock-32k {
1713		compatible = "fixed-clock";
1714		clock-frequency = <32768>;
1715		#clock-cells = <0>;
1716	};
1717
1718	cpus {
1719		cpu@0 {
1720			enable-method = "psci";
1721		};
1722
1723		cpu@1 {
1724			enable-method = "psci";
1725		};
1726
1727		cpu@2 {
1728			enable-method = "psci";
1729		};
1730
1731		cpu@3 {
1732			enable-method = "psci";
1733		};
1734
1735		idle-states {
1736			cpu-sleep {
1737				status = "okay";
1738			};
1739		};
1740	};
1741
1742	gpio-keys {
1743		compatible = "gpio-keys";
1744
1745		key-force-recovery {
1746			label = "Force Recovery";
1747			gpios = <&gpio TEGRA_GPIO(X, 6) GPIO_ACTIVE_LOW>;
1748			linux,input-type = <EV_KEY>;
1749			linux,code = <BTN_1>;
1750			debounce-interval = <30>;
1751		};
1752
1753		key-power {
1754			label = "Power";
1755			gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>;
1756			linux,input-type = <EV_KEY>;
1757			linux,code = <KEY_POWER>;
1758			debounce-interval = <30>;
1759			wakeup-event-action = <EV_ACT_ASSERTED>;
1760			wakeup-source;
1761		};
1762	};
1763
1764	psci {
1765		compatible = "arm,psci-1.0";
1766		method = "smc";
1767	};
1768
1769	fan: pwm-fan {
1770		compatible = "pwm-fan";
1771		pwms = <&pwm 3 45334>;
1772
1773		cooling-levels = <0 64 128 255>;
1774		#cooling-cells = <2>;
1775	};
1776
1777	vdd_5v0_sys: regulator-vdd-5v0-sys {
1778		compatible = "regulator-fixed";
1779
1780		regulator-name = "VDD_5V0_SYS";
1781		regulator-min-microvolt = <5000000>;
1782		regulator-max-microvolt = <5000000>;
1783		regulator-always-on;
1784		regulator-boot-on;
1785	};
1786
1787	vdd_3v3_sys: regulator-vdd-3v3-sys {
1788		compatible = "regulator-fixed";
1789
1790		regulator-name = "VDD_3V3_SYS";
1791		regulator-min-microvolt = <3300000>;
1792		regulator-max-microvolt = <3300000>;
1793		regulator-enable-ramp-delay = <240>;
1794		regulator-always-on;
1795		regulator-boot-on;
1796
1797		gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
1798		enable-active-high;
1799
1800		vin-supply = <&vdd_5v0_sys>;
1801	};
1802
1803	vdd_3v3_sd: regulator-vdd-3v3-sd {
1804		compatible = "regulator-fixed";
1805
1806		regulator-name = "VDD_3V3_SD";
1807		regulator-min-microvolt = <3300000>;
1808		regulator-max-microvolt = <3300000>;
1809
1810		gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
1811		enable-active-high;
1812
1813		vin-supply = <&vdd_3v3_sys>;
1814	};
1815
1816	vdd_hdmi: regulator-vdd-hdmi-5v0 {
1817		compatible = "regulator-fixed";
1818
1819		regulator-name = "VDD_HDMI_5V0";
1820		regulator-min-microvolt = <5000000>;
1821		regulator-max-microvolt = <5000000>;
1822
1823		vin-supply = <&vdd_5v0_sys>;
1824	};
1825
1826	vdd_hub_3v3: regulator-vdd-hub-3v3 {
1827		compatible = "regulator-fixed";
1828
1829		regulator-name = "VDD_HUB_3V3";
1830		regulator-min-microvolt = <3300000>;
1831		regulator-max-microvolt = <3300000>;
1832
1833		gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
1834		enable-active-high;
1835
1836		vin-supply = <&vdd_5v0_sys>;
1837	};
1838
1839	vdd_cpu: regulator-vdd-cpu {
1840		compatible = "regulator-fixed";
1841
1842		regulator-name = "VDD_CPU";
1843		regulator-min-microvolt = <5000000>;
1844		regulator-max-microvolt = <5000000>;
1845		regulator-always-on;
1846		regulator-boot-on;
1847
1848		gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
1849		enable-active-high;
1850
1851		vin-supply = <&vdd_5v0_sys>;
1852	};
1853
1854	vdd_gpu: regulator-vdd-gpu {
1855		compatible = "pwm-regulator";
1856		pwms = <&pwm 1 8000>;
1857
1858		regulator-name = "VDD_GPU";
1859		regulator-min-microvolt = <710000>;
1860		regulator-max-microvolt = <1320000>;
1861		regulator-ramp-delay = <80>;
1862		regulator-enable-ramp-delay = <2000>;
1863		regulator-settling-time-us = <160>;
1864
1865		enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
1866		vin-supply = <&vdd_5v0_sys>;
1867	};
1868
1869	avdd_io_edp_1v05: regulator-avdd-io-epd-1v05 {
1870		compatible = "regulator-fixed";
1871
1872		regulator-name = "AVDD_IO_EDP_1V05";
1873		regulator-min-microvolt = <1050000>;
1874		regulator-max-microvolt = <1050000>;
1875
1876		gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
1877		enable-active-high;
1878
1879		vin-supply = <&avdd_1v05_pll>;
1880	};
1881
1882	vdd_5v0_usb: regulator-vdd-5v-usb {
1883		compatible = "regulator-fixed";
1884
1885		regulator-name = "VDD_5V_USB";
1886		regulator-min-microvolt = <50000000>;
1887		regulator-max-microvolt = <50000000>;
1888
1889		vin-supply = <&vdd_5v0_sys>;
1890	};
1891
1892	sound {
1893		compatible = "nvidia,tegra210-audio-graph-card";
1894		status = "okay";
1895
1896		dais = /* FE */
1897		       <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
1898		       <&admaif4_port>, <&admaif5_port>, <&admaif6_port>,
1899		       <&admaif7_port>, <&admaif8_port>, <&admaif9_port>,
1900		       <&admaif10_port>,
1901		       /* Router */
1902		       <&xbar_i2s3_port>, <&xbar_i2s4_port>,
1903		       <&xbar_dmic1_port>, <&xbar_dmic2_port>,
1904		       <&xbar_sfc1_in_port>, <&xbar_sfc2_in_port>,
1905		       <&xbar_sfc3_in_port>, <&xbar_sfc4_in_port>,
1906		       <&xbar_mvc1_in_port>, <&xbar_mvc2_in_port>,
1907		       <&xbar_amx1_in1_port>, <&xbar_amx1_in2_port>,
1908		       <&xbar_amx1_in3_port>, <&xbar_amx1_in4_port>,
1909		       <&xbar_amx2_in1_port>, <&xbar_amx2_in2_port>,
1910		       <&xbar_amx2_in3_port>, <&xbar_amx2_in4_port>,
1911		       <&xbar_adx1_in_port>, <&xbar_adx2_in_port>,
1912		       <&xbar_mixer_in1_port>, <&xbar_mixer_in2_port>,
1913		       <&xbar_mixer_in3_port>, <&xbar_mixer_in4_port>,
1914		       <&xbar_mixer_in5_port>, <&xbar_mixer_in6_port>,
1915		       <&xbar_mixer_in7_port>, <&xbar_mixer_in8_port>,
1916		       <&xbar_mixer_in9_port>, <&xbar_mixer_in10_port>,
1917		       <&xbar_ope1_in_port>, <&xbar_ope2_in_port>,
1918		       /* HW accelerators */
1919		       <&sfc1_out_port>, <&sfc2_out_port>,
1920		       <&sfc3_out_port>, <&sfc4_out_port>,
1921		       <&mvc1_out_port>, <&mvc2_out_port>,
1922		       <&amx1_out_port>, <&amx2_out_port>,
1923		       <&adx1_out1_port>, <&adx1_out2_port>,
1924		       <&adx1_out3_port>, <&adx1_out4_port>,
1925		       <&adx2_out1_port>, <&adx2_out2_port>,
1926		       <&adx2_out3_port>, <&adx2_out4_port>,
1927		       <&mixer_out1_port>, <&mixer_out2_port>,
1928		       <&mixer_out3_port>, <&mixer_out4_port>,
1929		       <&mixer_out5_port>,
1930		       <&ope1_out_port>, <&ope2_out_port>,
1931		       /* I/O DAP Ports */
1932		       <&i2s3_port>, <&i2s4_port>,
1933		       <&dmic1_port>, <&dmic2_port>;
1934
1935		label = "NVIDIA Jetson Nano APE";
1936	};
1937
1938	thermal-zones {
1939		cpu-thermal {
1940			trips {
1941				cpu_trip_critical: critical {
1942					temperature = <96500>;
1943					hysteresis = <0>;
1944					type = "critical";
1945				};
1946
1947				cpu_trip_hot: hot {
1948					temperature = <70000>;
1949					hysteresis = <2000>;
1950					type = "hot";
1951				};
1952
1953				cpu_trip_active: active {
1954					temperature = <50000>;
1955					hysteresis = <2000>;
1956					type = "active";
1957				};
1958
1959				cpu_trip_passive: passive {
1960					temperature = <30000>;
1961					hysteresis = <2000>;
1962					type = "passive";
1963				};
1964			};
1965
1966			cooling-maps {
1967				cpu-critical {
1968					cooling-device = <&fan 3 3>;
1969					trip = <&cpu_trip_critical>;
1970				};
1971
1972				cpu-hot {
1973					cooling-device = <&fan 2 2>;
1974					trip = <&cpu_trip_hot>;
1975				};
1976
1977				cpu-active {
1978					cooling-device = <&fan 1 1>;
1979					trip = <&cpu_trip_active>;
1980				};
1981
1982				cpu-passive {
1983					cooling-device = <&fan 0 0>;
1984					trip = <&cpu_trip_passive>;
1985				};
1986			};
1987		};
1988	};
1989};
1990