1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/input.h>
5#include "tegra124.dtsi"
6
7#include "tegra124-jetson-tk1-emc.dtsi"
8
9/ {
10	model = "NVIDIA Tegra124 Jetson TK1";
11	compatible = "nvidia,jetson-tk1", "nvidia,tegra124";
12
13	aliases {
14		rtc0 = "/i2c@7000d000/pmic@40";
15		rtc1 = "/rtc@7000e000";
16
17		/* This order keeps the mapping DB9 connector <-> ttyS0 */
18		serial0 = &uartd;
19		serial1 = &uarta;
20		serial2 = &uartb;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26
27	memory@80000000 {
28		reg = <0x0 0x80000000 0x0 0x80000000>;
29	};
30
31	pcie@1003000 {
32		status = "okay";
33
34		avddio-pex-supply = <&vdd_1v05_run>;
35		dvddio-pex-supply = <&vdd_1v05_run>;
36		avdd-pex-pll-supply = <&vdd_1v05_run>;
37		hvdd-pex-supply = <&vdd_3v3_lp0>;
38		hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
39		vddio-pex-ctl-supply = <&vdd_3v3_lp0>;
40		avdd-pll-erefe-supply = <&avdd_1v05_run>;
41
42		/* Mini PCIe */
43		pci@1,0 {
44			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
45			phy-names = "pcie-0";
46			status = "okay";
47		};
48
49		/* Gigabit Ethernet */
50		pci@2,0 {
51			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>;
52			phy-names = "pcie-0";
53			status = "okay";
54		};
55	};
56
57	host1x@50000000 {
58		hdmi@54280000 {
59			status = "okay";
60
61			hdmi-supply = <&vdd_5v0_hdmi>;
62			pll-supply = <&vdd_hdmi_pll>;
63			vdd-supply = <&vdd_3v3_hdmi>;
64
65			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
66			nvidia,hpd-gpio =
67				<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
68		};
69	};
70
71	gpu@57000000 {
72		/*
73		 * Node left disabled on purpose - the bootloader will enable
74		 * it after having set the VPR up
75		 */
76		vdd-supply = <&vdd_gpu>;
77	};
78
79	pinmux: pinmux@70000868 {
80		pinctrl-names = "boot";
81		pinctrl-0 = <&state_boot>;
82
83		state_boot: pinmux {
84			clk_32k_out_pa0 {
85				nvidia,pins = "clk_32k_out_pa0";
86				nvidia,function = "soc";
87				nvidia,pull = <TEGRA_PIN_PULL_UP>;
88				nvidia,tristate = <TEGRA_PIN_ENABLE>;
89				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
90			};
91			uart3_cts_n_pa1 {
92				nvidia,pins = "uart3_cts_n_pa1";
93				nvidia,function = "gmi";
94				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
95				nvidia,tristate = <TEGRA_PIN_ENABLE>;
96				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
97			};
98			dap2_fs_pa2 {
99				nvidia,pins = "dap2_fs_pa2";
100				nvidia,function = "i2s1";
101				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
102				nvidia,tristate = <TEGRA_PIN_DISABLE>;
103				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
104			};
105			dap2_sclk_pa3 {
106				nvidia,pins = "dap2_sclk_pa3";
107				nvidia,function = "i2s1";
108				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
109				nvidia,tristate = <TEGRA_PIN_DISABLE>;
110				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
111			};
112			dap2_din_pa4 {
113				nvidia,pins = "dap2_din_pa4";
114				nvidia,function = "i2s1";
115				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
116				nvidia,tristate = <TEGRA_PIN_ENABLE>;
117				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
118			};
119			dap2_dout_pa5 {
120				nvidia,pins = "dap2_dout_pa5";
121				nvidia,function = "i2s1";
122				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
123				nvidia,tristate = <TEGRA_PIN_DISABLE>;
124				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
125			};
126			sdmmc3_clk_pa6 {
127				nvidia,pins = "sdmmc3_clk_pa6";
128				nvidia,function = "sdmmc3";
129				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
130				nvidia,tristate = <TEGRA_PIN_DISABLE>;
131				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
132			};
133			sdmmc3_cmd_pa7 {
134				nvidia,pins = "sdmmc3_cmd_pa7";
135				nvidia,function = "sdmmc3";
136				nvidia,pull = <TEGRA_PIN_PULL_UP>;
137				nvidia,tristate = <TEGRA_PIN_DISABLE>;
138				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
139			};
140			pb0 {
141				nvidia,pins = "pb0";
142				nvidia,function = "uartd";
143				nvidia,pull = <TEGRA_PIN_PULL_UP>;
144				nvidia,tristate = <TEGRA_PIN_ENABLE>;
145				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
146			};
147			pb1 {
148				nvidia,pins = "pb1";
149				nvidia,function = "uartd";
150				nvidia,pull = <TEGRA_PIN_PULL_UP>;
151				nvidia,tristate = <TEGRA_PIN_ENABLE>;
152				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
153			};
154			sdmmc3_dat3_pb4 {
155				nvidia,pins = "sdmmc3_dat3_pb4";
156				nvidia,function = "sdmmc3";
157				nvidia,pull = <TEGRA_PIN_PULL_UP>;
158				nvidia,tristate = <TEGRA_PIN_DISABLE>;
159				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
160			};
161			sdmmc3_dat2_pb5 {
162				nvidia,pins = "sdmmc3_dat2_pb5";
163				nvidia,function = "sdmmc3";
164				nvidia,pull = <TEGRA_PIN_PULL_UP>;
165				nvidia,tristate = <TEGRA_PIN_DISABLE>;
166				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
167			};
168			sdmmc3_dat1_pb6 {
169				nvidia,pins = "sdmmc3_dat1_pb6";
170				nvidia,function = "sdmmc3";
171				nvidia,pull = <TEGRA_PIN_PULL_UP>;
172				nvidia,tristate = <TEGRA_PIN_DISABLE>;
173				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
174			};
175			sdmmc3_dat0_pb7 {
176				nvidia,pins = "sdmmc3_dat0_pb7";
177				nvidia,function = "sdmmc3";
178				nvidia,pull = <TEGRA_PIN_PULL_UP>;
179				nvidia,tristate = <TEGRA_PIN_DISABLE>;
180				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
181			};
182			uart3_rts_n_pc0 {
183				nvidia,pins = "uart3_rts_n_pc0";
184				nvidia,function = "gmi";
185				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
186				nvidia,tristate = <TEGRA_PIN_ENABLE>;
187				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
188			};
189			uart2_txd_pc2 {
190				nvidia,pins = "uart2_txd_pc2";
191				nvidia,function = "irda";
192				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
193				nvidia,tristate = <TEGRA_PIN_DISABLE>;
194				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
195			};
196			uart2_rxd_pc3 {
197				nvidia,pins = "uart2_rxd_pc3";
198				nvidia,function = "irda";
199				nvidia,pull = <TEGRA_PIN_PULL_UP>;
200				nvidia,tristate = <TEGRA_PIN_ENABLE>;
201				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
202			};
203			gen1_i2c_scl_pc4 {
204				nvidia,pins = "gen1_i2c_scl_pc4";
205				nvidia,function = "i2c1";
206				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
207				nvidia,tristate = <TEGRA_PIN_DISABLE>;
208				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
209				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
210			};
211			gen1_i2c_sda_pc5 {
212				nvidia,pins = "gen1_i2c_sda_pc5";
213				nvidia,function = "i2c1";
214				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
215				nvidia,tristate = <TEGRA_PIN_DISABLE>;
216				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
217				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
218			};
219			pc7 {
220				nvidia,pins = "pc7";
221				nvidia,function = "rsvd1";
222				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
223				nvidia,tristate = <TEGRA_PIN_ENABLE>;
224				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
225			};
226			pg0 {
227				nvidia,pins = "pg0";
228				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
229				nvidia,tristate = <TEGRA_PIN_ENABLE>;
230				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
231			};
232			pg1 {
233				nvidia,pins = "pg1";
234				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
235				nvidia,tristate = <TEGRA_PIN_ENABLE>;
236				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
237			};
238			pg2 {
239				nvidia,pins = "pg2";
240				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
241				nvidia,tristate = <TEGRA_PIN_ENABLE>;
242				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
243			};
244			pg3 {
245				nvidia,pins = "pg3";
246				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
247				nvidia,tristate = <TEGRA_PIN_ENABLE>;
248				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
249			};
250			pg4 {
251				nvidia,pins = "pg4";
252				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
253				nvidia,tristate = <TEGRA_PIN_ENABLE>;
254				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
255			};
256			pg5 {
257				nvidia,pins = "pg5";
258				nvidia,function = "spi4";
259				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
260				nvidia,tristate = <TEGRA_PIN_DISABLE>;
261				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
262			};
263			pg6 {
264				nvidia,pins = "pg6";
265				nvidia,function = "spi4";
266				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
267				nvidia,tristate = <TEGRA_PIN_DISABLE>;
268				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
269			};
270			pg7 {
271				nvidia,pins = "pg7";
272				nvidia,function = "spi4";
273				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
274				nvidia,tristate = <TEGRA_PIN_ENABLE>;
275				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
276			};
277			ph0 {
278				nvidia,pins = "ph0";
279				nvidia,function = "gmi";
280				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
281				nvidia,tristate = <TEGRA_PIN_ENABLE>;
282				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
283			};
284			ph1 {
285				nvidia,pins = "ph1";
286				nvidia,function = "pwm1";
287				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
288				nvidia,tristate = <TEGRA_PIN_DISABLE>;
289				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
290			};
291			ph2 {
292				nvidia,pins = "ph2";
293				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
294				nvidia,tristate = <TEGRA_PIN_DISABLE>;
295				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
296			};
297			ph3 {
298				nvidia,pins = "ph3";
299				nvidia,function = "gmi";
300				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
301				nvidia,tristate = <TEGRA_PIN_ENABLE>;
302				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
303			};
304			ph4 {
305				nvidia,pins = "ph4";
306				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
307				nvidia,tristate = <TEGRA_PIN_ENABLE>;
308				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
309			};
310			ph5 {
311				nvidia,pins = "ph5";
312				nvidia,function = "rsvd2";
313				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
314				nvidia,tristate = <TEGRA_PIN_ENABLE>;
315				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
316			};
317			ph6 {
318				nvidia,pins = "ph6";
319				nvidia,function = "gmi";
320				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
321				nvidia,tristate = <TEGRA_PIN_ENABLE>;
322				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
323			};
324			ph7 {
325				nvidia,pins = "ph7";
326				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
327				nvidia,tristate = <TEGRA_PIN_DISABLE>;
328				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
329			};
330			pi0 {
331				nvidia,pins = "pi0";
332				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
333				nvidia,tristate = <TEGRA_PIN_DISABLE>;
334				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
335			};
336			pi1 {
337				nvidia,pins = "pi1";
338				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
339				nvidia,tristate = <TEGRA_PIN_ENABLE>;
340				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
341			};
342			pi2 {
343				nvidia,pins = "pi2";
344				nvidia,function = "rsvd4";
345				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
346				nvidia,tristate = <TEGRA_PIN_ENABLE>;
347				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
348			};
349			pi3 {
350				nvidia,pins = "pi3";
351				nvidia,function = "spi4";
352				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
353				nvidia,tristate = <TEGRA_PIN_DISABLE>;
354				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
355			};
356			pi4 {
357				nvidia,pins = "pi4";
358				nvidia,function = "gmi";
359				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
360				nvidia,tristate = <TEGRA_PIN_ENABLE>;
361				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
362			};
363			pi5 {
364				nvidia,pins = "pi5";
365				nvidia,function = "rsvd2";
366				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
367				nvidia,tristate = <TEGRA_PIN_ENABLE>;
368				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
369			};
370			pi6 {
371				nvidia,pins = "pi6";
372				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
373				nvidia,tristate = <TEGRA_PIN_ENABLE>;
374				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
375			};
376			pi7 {
377				nvidia,pins = "pi7";
378				nvidia,function = "rsvd1";
379				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
380				nvidia,tristate = <TEGRA_PIN_ENABLE>;
381				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
382			};
383			pj0 {
384				nvidia,pins = "pj0";
385				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
386				nvidia,tristate = <TEGRA_PIN_ENABLE>;
387				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
388			};
389			pj2 {
390				nvidia,pins = "pj2";
391				nvidia,function = "rsvd1";
392				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
393				nvidia,tristate = <TEGRA_PIN_ENABLE>;
394				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
395			};
396			uart2_cts_n_pj5 {
397				nvidia,pins = "uart2_cts_n_pj5";
398				nvidia,function = "uartb";
399				nvidia,pull = <TEGRA_PIN_PULL_UP>;
400				nvidia,tristate = <TEGRA_PIN_ENABLE>;
401				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
402			};
403			uart2_rts_n_pj6 {
404				nvidia,pins = "uart2_rts_n_pj6";
405				nvidia,function = "uartb";
406				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
407				nvidia,tristate = <TEGRA_PIN_DISABLE>;
408				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
409			};
410			pj7 {
411				nvidia,pins = "pj7";
412				nvidia,function = "uartd";
413				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
414				nvidia,tristate = <TEGRA_PIN_DISABLE>;
415				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
416			};
417			pk0 {
418				nvidia,pins = "pk0";
419				nvidia,function = "rsvd1";
420				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
421				nvidia,tristate = <TEGRA_PIN_ENABLE>;
422				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
423			};
424			pk1 {
425				nvidia,pins = "pk1";
426				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
427				nvidia,tristate = <TEGRA_PIN_DISABLE>;
428				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
429			};
430			pk2 {
431				nvidia,pins = "pk2";
432				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
433				nvidia,tristate = <TEGRA_PIN_DISABLE>;
434				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
435			};
436			pk3 {
437				nvidia,pins = "pk3";
438				nvidia,function = "gmi";
439				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
440				nvidia,tristate = <TEGRA_PIN_ENABLE>;
441				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
442			};
443			pk4 {
444				nvidia,pins = "pk4";
445				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
446				nvidia,tristate = <TEGRA_PIN_DISABLE>;
447				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
448			};
449			spdif_out_pk5 {
450				nvidia,pins = "spdif_out_pk5";
451				nvidia,function = "rsvd2";
452				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
453				nvidia,tristate = <TEGRA_PIN_ENABLE>;
454				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
455			};
456			spdif_in_pk6 {
457				nvidia,pins = "spdif_in_pk6";
458				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
459				nvidia,tristate = <TEGRA_PIN_DISABLE>;
460				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
461			};
462			pk7 {
463				nvidia,pins = "pk7";
464				nvidia,function = "uartd";
465				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
466				nvidia,tristate = <TEGRA_PIN_DISABLE>;
467				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
468			};
469			dap1_fs_pn0 {
470				nvidia,pins = "dap1_fs_pn0";
471				nvidia,function = "rsvd4";
472				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
473				nvidia,tristate = <TEGRA_PIN_ENABLE>;
474				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
475			};
476			dap1_din_pn1 {
477				nvidia,pins = "dap1_din_pn1";
478				nvidia,function = "rsvd4";
479				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
480				nvidia,tristate = <TEGRA_PIN_ENABLE>;
481				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
482			};
483			dap1_dout_pn2 {
484				nvidia,pins = "dap1_dout_pn2";
485				nvidia,function = "sata";
486				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
487				nvidia,tristate = <TEGRA_PIN_DISABLE>;
488				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
489			};
490			dap1_sclk_pn3 {
491				nvidia,pins = "dap1_sclk_pn3";
492				nvidia,function = "rsvd4";
493				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
494				nvidia,tristate = <TEGRA_PIN_ENABLE>;
495				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
496			};
497			usb_vbus_en0_pn4 {
498				nvidia,pins = "usb_vbus_en0_pn4";
499				nvidia,function = "usb";
500				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
501				nvidia,tristate = <TEGRA_PIN_DISABLE>;
502				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
503				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
504			};
505			usb_vbus_en1_pn5 {
506				nvidia,pins = "usb_vbus_en1_pn5";
507				nvidia,function = "usb";
508				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
509				nvidia,tristate = <TEGRA_PIN_DISABLE>;
510				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
511				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
512			};
513			hdmi_int_pn7 {
514				nvidia,pins = "hdmi_int_pn7";
515				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
516				nvidia,tristate = <TEGRA_PIN_ENABLE>;
517				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
518				nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
519			};
520			ulpi_data7_po0 {
521				nvidia,pins = "ulpi_data7_po0";
522				nvidia,function = "ulpi";
523				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
524				nvidia,tristate = <TEGRA_PIN_ENABLE>;
525				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
526			};
527			ulpi_data0_po1 {
528				nvidia,pins = "ulpi_data0_po1";
529				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
530				nvidia,tristate = <TEGRA_PIN_ENABLE>;
531				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
532			};
533			ulpi_data1_po2 {
534				nvidia,pins = "ulpi_data1_po2";
535				nvidia,function = "ulpi";
536				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
537				nvidia,tristate = <TEGRA_PIN_ENABLE>;
538				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
539			};
540			ulpi_data2_po3 {
541				nvidia,pins = "ulpi_data2_po3";
542				nvidia,function = "ulpi";
543				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
544				nvidia,tristate = <TEGRA_PIN_ENABLE>;
545				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
546			};
547			ulpi_data3_po4 {
548				nvidia,pins = "ulpi_data3_po4";
549				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
550				nvidia,tristate = <TEGRA_PIN_ENABLE>;
551				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
552			};
553			ulpi_data4_po5 {
554				nvidia,pins = "ulpi_data4_po5";
555				nvidia,function = "ulpi";
556				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
557				nvidia,tristate = <TEGRA_PIN_ENABLE>;
558				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
559			};
560			ulpi_data5_po6 {
561				nvidia,pins = "ulpi_data5_po6";
562				nvidia,function = "ulpi";
563				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
564				nvidia,tristate = <TEGRA_PIN_ENABLE>;
565				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
566			};
567			ulpi_data6_po7 {
568				nvidia,pins = "ulpi_data6_po7";
569				nvidia,function = "ulpi";
570				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
571				nvidia,tristate = <TEGRA_PIN_ENABLE>;
572				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
573			};
574			dap3_fs_pp0 {
575				nvidia,pins = "dap3_fs_pp0";
576				nvidia,function = "i2s2";
577				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
578				nvidia,tristate = <TEGRA_PIN_ENABLE>;
579				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
580			};
581			dap3_din_pp1 {
582				nvidia,pins = "dap3_din_pp1";
583				nvidia,function = "i2s2";
584				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
585				nvidia,tristate = <TEGRA_PIN_ENABLE>;
586				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
587			};
588			dap3_dout_pp2 {
589				nvidia,pins = "dap3_dout_pp2";
590				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
591				nvidia,tristate = <TEGRA_PIN_DISABLE>;
592				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
593			};
594			dap3_sclk_pp3 {
595				nvidia,pins = "dap3_sclk_pp3";
596				nvidia,function = "rsvd3";
597				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
598				nvidia,tristate = <TEGRA_PIN_ENABLE>;
599				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
600			};
601			dap4_fs_pp4 {
602				nvidia,pins = "dap4_fs_pp4";
603				nvidia,function = "rsvd4";
604				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
605				nvidia,tristate = <TEGRA_PIN_ENABLE>;
606				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
607			};
608			dap4_din_pp5 {
609				nvidia,pins = "dap4_din_pp5";
610				nvidia,function = "rsvd3";
611				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
612				nvidia,tristate = <TEGRA_PIN_ENABLE>;
613				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
614			};
615			dap4_dout_pp6 {
616				nvidia,pins = "dap4_dout_pp6";
617				nvidia,function = "rsvd4";
618				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
619				nvidia,tristate = <TEGRA_PIN_ENABLE>;
620				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
621			};
622			dap4_sclk_pp7 {
623				nvidia,pins = "dap4_sclk_pp7";
624				nvidia,function = "rsvd3";
625				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
626				nvidia,tristate = <TEGRA_PIN_ENABLE>;
627				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
628			};
629			kb_col0_pq0 {
630				nvidia,pins = "kb_col0_pq0";
631				nvidia,pull = <TEGRA_PIN_PULL_UP>;
632				nvidia,tristate = <TEGRA_PIN_ENABLE>;
633				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
634			};
635			kb_col1_pq1 {
636				nvidia,pins = "kb_col1_pq1";
637				nvidia,function = "rsvd2";
638				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
639				nvidia,tristate = <TEGRA_PIN_ENABLE>;
640				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
641			};
642			kb_col2_pq2 {
643				nvidia,pins = "kb_col2_pq2";
644				nvidia,function = "rsvd2";
645				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
646				nvidia,tristate = <TEGRA_PIN_ENABLE>;
647				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
648			};
649			kb_col3_pq3 {
650				nvidia,pins = "kb_col3_pq3";
651				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
652				nvidia,tristate = <TEGRA_PIN_ENABLE>;
653				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
654			};
655			kb_col4_pq4 {
656				nvidia,pins = "kb_col4_pq4";
657				nvidia,function = "sdmmc3";
658				nvidia,pull = <TEGRA_PIN_PULL_UP>;
659				nvidia,tristate = <TEGRA_PIN_ENABLE>;
660				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
661			};
662			kb_col5_pq5 {
663				nvidia,pins = "kb_col5_pq5";
664				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
665				nvidia,tristate = <TEGRA_PIN_ENABLE>;
666				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
667			};
668			kb_col6_pq6 {
669				nvidia,pins = "kb_col6_pq6";
670				nvidia,function = "rsvd2";
671				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
672				nvidia,tristate = <TEGRA_PIN_ENABLE>;
673				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
674			};
675			kb_col7_pq7 {
676				nvidia,pins = "kb_col7_pq7";
677				nvidia,function = "rsvd2";
678				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
679				nvidia,tristate = <TEGRA_PIN_ENABLE>;
680				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
681			};
682			kb_row0_pr0 {
683				nvidia,pins = "kb_row0_pr0";
684				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
685				nvidia,tristate = <TEGRA_PIN_DISABLE>;
686				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
687			};
688			kb_row1_pr1 {
689				nvidia,pins = "kb_row1_pr1";
690				nvidia,function = "rsvd2";
691				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
692				nvidia,tristate = <TEGRA_PIN_ENABLE>;
693				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
694			};
695			kb_row2_pr2 {
696				nvidia,pins = "kb_row2_pr2";
697				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
698				nvidia,tristate = <TEGRA_PIN_DISABLE>;
699				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
700			};
701			kb_row3_pr3 {
702				nvidia,pins = "kb_row3_pr3";
703				nvidia,function = "kbc";
704				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
705				nvidia,tristate = <TEGRA_PIN_ENABLE>;
706				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
707			};
708			kb_row4_pr4 {
709				nvidia,pins = "kb_row4_pr4";
710				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
711				nvidia,tristate = <TEGRA_PIN_ENABLE>;
712				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
713			};
714			kb_row5_pr5 {
715				nvidia,pins = "kb_row5_pr5";
716				nvidia,function = "rsvd3";
717				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
718				nvidia,tristate = <TEGRA_PIN_ENABLE>;
719				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
720			};
721			kb_row6_pr6 {
722				nvidia,pins = "kb_row6_pr6";
723				nvidia,function = "displaya_alt";
724				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
725				nvidia,tristate = <TEGRA_PIN_ENABLE>;
726				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
727			};
728			kb_row7_pr7 {
729				nvidia,pins = "kb_row7_pr7";
730				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
731				nvidia,tristate = <TEGRA_PIN_ENABLE>;
732				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
733			};
734			kb_row8_ps0 {
735				nvidia,pins = "kb_row8_ps0";
736				nvidia,function = "rsvd2";
737				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
738				nvidia,tristate = <TEGRA_PIN_ENABLE>;
739				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
740			};
741			kb_row9_ps1 {
742				nvidia,pins = "kb_row9_ps1";
743				nvidia,function = "uarta";
744				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
745				nvidia,tristate = <TEGRA_PIN_DISABLE>;
746				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
747			};
748			kb_row10_ps2 {
749				nvidia,pins = "kb_row10_ps2";
750				nvidia,function = "uarta";
751				nvidia,pull = <TEGRA_PIN_PULL_UP>;
752				nvidia,tristate = <TEGRA_PIN_ENABLE>;
753				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
754			};
755			kb_row11_ps3 {
756				nvidia,pins = "kb_row11_ps3";
757				nvidia,function = "rsvd2";
758				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
759				nvidia,tristate = <TEGRA_PIN_ENABLE>;
760				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
761			};
762			kb_row12_ps4 {
763				nvidia,pins = "kb_row12_ps4";
764				nvidia,function = "rsvd2";
765				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
766				nvidia,tristate = <TEGRA_PIN_ENABLE>;
767				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
768			};
769			kb_row13_ps5 {
770				nvidia,pins = "kb_row13_ps5";
771				nvidia,function = "rsvd2";
772				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
773				nvidia,tristate = <TEGRA_PIN_ENABLE>;
774				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
775			};
776			kb_row14_ps6 {
777				nvidia,pins = "kb_row14_ps6";
778				nvidia,function = "rsvd2";
779				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
780				nvidia,tristate = <TEGRA_PIN_ENABLE>;
781				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
782			};
783			kb_row15_ps7 {
784				nvidia,pins = "kb_row15_ps7";
785				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
786				nvidia,tristate = <TEGRA_PIN_ENABLE>;
787				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
788			};
789			kb_row16_pt0 {
790				nvidia,pins = "kb_row16_pt0";
791				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
792				nvidia,tristate = <TEGRA_PIN_DISABLE>;
793				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
794			};
795			kb_row17_pt1 {
796				nvidia,pins = "kb_row17_pt1";
797				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
798				nvidia,tristate = <TEGRA_PIN_ENABLE>;
799				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
800			};
801			gen2_i2c_scl_pt5 {
802				nvidia,pins = "gen2_i2c_scl_pt5";
803				nvidia,function = "i2c2";
804				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
805				nvidia,tristate = <TEGRA_PIN_DISABLE>;
806				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
807				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
808			};
809			gen2_i2c_sda_pt6 {
810				nvidia,pins = "gen2_i2c_sda_pt6";
811				nvidia,function = "i2c2";
812				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
813				nvidia,tristate = <TEGRA_PIN_DISABLE>;
814				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
815				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
816			};
817			sdmmc4_cmd_pt7 {
818				nvidia,pins = "sdmmc4_cmd_pt7";
819				nvidia,function = "sdmmc4";
820				nvidia,pull = <TEGRA_PIN_PULL_UP>;
821				nvidia,tristate = <TEGRA_PIN_DISABLE>;
822				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
823			};
824			pu0 {
825				nvidia,pins = "pu0";
826				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
827				nvidia,tristate = <TEGRA_PIN_DISABLE>;
828				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
829			};
830			pu1 {
831				nvidia,pins = "pu1";
832				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
833				nvidia,tristate = <TEGRA_PIN_DISABLE>;
834				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
835			};
836			pu2 {
837				nvidia,pins = "pu2";
838				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
839				nvidia,tristate = <TEGRA_PIN_DISABLE>;
840				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
841			};
842			pu3 {
843				nvidia,pins = "pu3";
844				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
845				nvidia,tristate = <TEGRA_PIN_DISABLE>;
846				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
847			};
848			pu4 {
849				nvidia,pins = "pu4";
850				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
851				nvidia,tristate = <TEGRA_PIN_DISABLE>;
852				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
853			};
854			pu5 {
855				nvidia,pins = "pu5";
856				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
857				nvidia,tristate = <TEGRA_PIN_DISABLE>;
858				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
859			};
860			pu6 {
861				nvidia,pins = "pu6";
862				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
863				nvidia,tristate = <TEGRA_PIN_DISABLE>;
864				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
865			};
866			pv0 {
867				nvidia,pins = "pv0";
868				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
869				nvidia,tristate = <TEGRA_PIN_ENABLE>;
870				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
871			};
872			pv1 {
873				nvidia,pins = "pv1";
874				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
875				nvidia,tristate = <TEGRA_PIN_ENABLE>;
876				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
877			};
878			sdmmc3_cd_n_pv2 {
879				nvidia,pins = "sdmmc3_cd_n_pv2";
880				nvidia,function = "sdmmc3";
881				nvidia,pull = <TEGRA_PIN_PULL_UP>;
882				nvidia,tristate = <TEGRA_PIN_ENABLE>;
883				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
884			};
885			sdmmc1_wp_n_pv3 {
886				nvidia,pins = "sdmmc1_wp_n_pv3";
887				nvidia,function = "sdmmc1";
888				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
889				nvidia,tristate = <TEGRA_PIN_ENABLE>;
890				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
891			};
892			ddc_scl_pv4 {
893				nvidia,pins = "ddc_scl_pv4";
894				nvidia,function = "i2c4";
895				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
896				nvidia,tristate = <TEGRA_PIN_DISABLE>;
897				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
898				nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
899			};
900			ddc_sda_pv5 {
901				nvidia,pins = "ddc_sda_pv5";
902				nvidia,function = "i2c4";
903				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
904				nvidia,tristate = <TEGRA_PIN_DISABLE>;
905				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
906				nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
907			};
908			gpio_w2_aud_pw2 {
909				nvidia,pins = "gpio_w2_aud_pw2";
910				nvidia,function = "rsvd2";
911				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
912				nvidia,tristate = <TEGRA_PIN_ENABLE>;
913				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
914			};
915			gpio_w3_aud_pw3 {
916				nvidia,pins = "gpio_w3_aud_pw3";
917				nvidia,function = "spi6";
918				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
919				nvidia,tristate = <TEGRA_PIN_ENABLE>;
920				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
921			};
922			dap_mclk1_pw4 {
923				nvidia,pins = "dap_mclk1_pw4";
924				nvidia,function = "extperiph1";
925				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
926				nvidia,tristate = <TEGRA_PIN_DISABLE>;
927				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
928			};
929			clk2_out_pw5 {
930				nvidia,pins = "clk2_out_pw5";
931				nvidia,function = "extperiph2";
932				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
933				nvidia,tristate = <TEGRA_PIN_DISABLE>;
934				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
935			};
936			uart3_txd_pw6 {
937				nvidia,pins = "uart3_txd_pw6";
938				nvidia,function = "rsvd2";
939				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
940				nvidia,tristate = <TEGRA_PIN_ENABLE>;
941				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
942			};
943			uart3_rxd_pw7 {
944				nvidia,pins = "uart3_rxd_pw7";
945				nvidia,function = "rsvd2";
946				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
947				nvidia,tristate = <TEGRA_PIN_ENABLE>;
948				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
949			};
950			dvfs_pwm_px0 {
951				nvidia,pins = "dvfs_pwm_px0";
952				nvidia,function = "cldvfs";
953				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
954				nvidia,tristate = <TEGRA_PIN_DISABLE>;
955				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
956			};
957			gpio_x1_aud_px1 {
958				nvidia,pins = "gpio_x1_aud_px1";
959				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
960				nvidia,tristate = <TEGRA_PIN_ENABLE>;
961				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
962			};
963			dvfs_clk_px2 {
964				nvidia,pins = "dvfs_clk_px2";
965				nvidia,function = "cldvfs";
966				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
967				nvidia,tristate = <TEGRA_PIN_DISABLE>;
968				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
969			};
970			gpio_x3_aud_px3 {
971				nvidia,pins = "gpio_x3_aud_px3";
972				nvidia,function = "rsvd4";
973				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
974				nvidia,tristate = <TEGRA_PIN_ENABLE>;
975				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
976			};
977			gpio_x4_aud_px4 {
978				nvidia,pins = "gpio_x4_aud_px4";
979				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
980				nvidia,tristate = <TEGRA_PIN_ENABLE>;
981				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
982			};
983			gpio_x5_aud_px5 {
984				nvidia,pins = "gpio_x5_aud_px5";
985				nvidia,function = "rsvd4";
986				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
987				nvidia,tristate = <TEGRA_PIN_ENABLE>;
988				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
989			};
990			gpio_x6_aud_px6 {
991				nvidia,pins = "gpio_x6_aud_px6";
992				nvidia,function = "gmi";
993				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
994				nvidia,tristate = <TEGRA_PIN_ENABLE>;
995				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
996			};
997			gpio_x7_aud_px7 {
998				nvidia,pins = "gpio_x7_aud_px7";
999				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1000				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1001				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1002			};
1003			ulpi_clk_py0 {
1004				nvidia,pins = "ulpi_clk_py0";
1005				nvidia,function = "spi1";
1006				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1007				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1008				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1009			};
1010			ulpi_dir_py1 {
1011				nvidia,pins = "ulpi_dir_py1";
1012				nvidia,function = "spi1";
1013				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1014				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1015				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1016			};
1017			ulpi_nxt_py2 {
1018				nvidia,pins = "ulpi_nxt_py2";
1019				nvidia,function = "spi1";
1020				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1021				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1022				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1023			};
1024			ulpi_stp_py3 {
1025				nvidia,pins = "ulpi_stp_py3";
1026				nvidia,function = "spi1";
1027				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1028				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1029				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1030			};
1031			sdmmc1_dat3_py4 {
1032				nvidia,pins = "sdmmc1_dat3_py4";
1033				nvidia,function = "sdmmc1";
1034				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1035				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1036				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1037			};
1038			sdmmc1_dat2_py5 {
1039				nvidia,pins = "sdmmc1_dat2_py5";
1040				nvidia,function = "sdmmc1";
1041				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1042				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1043				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1044			};
1045			sdmmc1_dat1_py6 {
1046				nvidia,pins = "sdmmc1_dat1_py6";
1047				nvidia,function = "sdmmc1";
1048				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1049				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1050				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1051			};
1052			sdmmc1_dat0_py7 {
1053				nvidia,pins = "sdmmc1_dat0_py7";
1054				nvidia,function = "rsvd2";
1055				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1056				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1057				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1058			};
1059			sdmmc1_clk_pz0 {
1060				nvidia,pins = "sdmmc1_clk_pz0";
1061				nvidia,function = "rsvd3";
1062				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1063				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1064				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1065			};
1066			sdmmc1_cmd_pz1 {
1067				nvidia,pins = "sdmmc1_cmd_pz1";
1068				nvidia,function = "sdmmc1";
1069				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1070				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1071				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1072			};
1073			pwr_i2c_scl_pz6 {
1074				nvidia,pins = "pwr_i2c_scl_pz6";
1075				nvidia,function = "i2cpwr";
1076				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1077				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1078				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1079				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
1080			};
1081			pwr_i2c_sda_pz7 {
1082				nvidia,pins = "pwr_i2c_sda_pz7";
1083				nvidia,function = "i2cpwr";
1084				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1085				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1086				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1087				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
1088			};
1089			sdmmc4_dat0_paa0 {
1090				nvidia,pins = "sdmmc4_dat0_paa0";
1091				nvidia,function = "sdmmc4";
1092				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1093				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1094				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1095			};
1096			sdmmc4_dat1_paa1 {
1097				nvidia,pins = "sdmmc4_dat1_paa1";
1098				nvidia,function = "sdmmc4";
1099				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1100				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1101				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1102			};
1103			sdmmc4_dat2_paa2 {
1104				nvidia,pins = "sdmmc4_dat2_paa2";
1105				nvidia,function = "sdmmc4";
1106				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1107				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1108				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1109			};
1110			sdmmc4_dat3_paa3 {
1111				nvidia,pins = "sdmmc4_dat3_paa3";
1112				nvidia,function = "sdmmc4";
1113				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1114				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1115				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1116			};
1117			sdmmc4_dat4_paa4 {
1118				nvidia,pins = "sdmmc4_dat4_paa4";
1119				nvidia,function = "sdmmc4";
1120				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1121				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1122				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1123			};
1124			sdmmc4_dat5_paa5 {
1125				nvidia,pins = "sdmmc4_dat5_paa5";
1126				nvidia,function = "sdmmc4";
1127				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1128				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1129				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1130			};
1131			sdmmc4_dat6_paa6 {
1132				nvidia,pins = "sdmmc4_dat6_paa6";
1133				nvidia,function = "sdmmc4";
1134				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1135				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1136				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1137			};
1138			sdmmc4_dat7_paa7 {
1139				nvidia,pins = "sdmmc4_dat7_paa7";
1140				nvidia,function = "sdmmc4";
1141				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1142				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1143				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1144			};
1145			pbb0 {
1146				nvidia,pins = "pbb0";
1147				nvidia,function = "vimclk2_alt";
1148				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1149				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1150				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1151			};
1152			cam_i2c_scl_pbb1 {
1153				nvidia,pins = "cam_i2c_scl_pbb1";
1154				nvidia,function = "i2c3";
1155				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1156				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1157				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1158				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
1159			};
1160			cam_i2c_sda_pbb2 {
1161				nvidia,pins = "cam_i2c_sda_pbb2";
1162				nvidia,function = "i2c3";
1163				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1164				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1165				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1166				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
1167			};
1168			pbb3 {
1169				nvidia,pins = "pbb3";
1170				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1171				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1172				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1173			};
1174			pbb4 {
1175				nvidia,pins = "pbb4";
1176				nvidia,function = "vgp4";
1177				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1178				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1179				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1180			};
1181			pbb5 {
1182				nvidia,pins = "pbb5";
1183				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1184				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1185				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1186			};
1187			pbb6 {
1188				nvidia,pins = "pbb6";
1189				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1190				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1191				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1192			};
1193			pbb7 {
1194				nvidia,pins = "pbb7";
1195				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1196				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1197				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1198			};
1199			cam_mclk_pcc0 {
1200				nvidia,pins = "cam_mclk_pcc0";
1201				nvidia,function = "vi_alt3";
1202				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1203				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1204				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1205			};
1206			pcc1 {
1207				nvidia,pins = "pcc1";
1208				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1209				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1210				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1211			};
1212			pcc2 {
1213				nvidia,pins = "pcc2";
1214				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1215				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1216				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1217			};
1218			sdmmc4_clk_pcc4 {
1219				nvidia,pins = "sdmmc4_clk_pcc4";
1220				nvidia,function = "sdmmc4";
1221				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1222				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1223				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1224			};
1225			clk2_req_pcc5 {
1226				nvidia,pins = "clk2_req_pcc5";
1227				nvidia,function = "rsvd2";
1228				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1229				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1230				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1231			};
1232			pex_l0_rst_n_pdd1 {
1233				nvidia,pins = "pex_l0_rst_n_pdd1";
1234				nvidia,function = "pe0";
1235				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1236				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1237				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1238			};
1239			pex_l0_clkreq_n_pdd2 {
1240				nvidia,pins = "pex_l0_clkreq_n_pdd2";
1241				nvidia,function = "pe0";
1242				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1243				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1244				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1245			};
1246			pex_wake_n_pdd3 {
1247				nvidia,pins = "pex_wake_n_pdd3";
1248				nvidia,function = "pe";
1249				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1250				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1251				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1252			};
1253			pex_l1_rst_n_pdd5 {
1254				nvidia,pins = "pex_l1_rst_n_pdd5";
1255				nvidia,function = "pe1";
1256				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1257				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1258				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1259			};
1260			pex_l1_clkreq_n_pdd6 {
1261				nvidia,pins = "pex_l1_clkreq_n_pdd6";
1262				nvidia,function = "pe1";
1263				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1264				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1265				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1266			};
1267			clk3_out_pee0 {
1268				nvidia,pins = "clk3_out_pee0";
1269				nvidia,function = "extperiph3";
1270				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1271				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1272				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1273			};
1274			clk3_req_pee1 {
1275				nvidia,pins = "clk3_req_pee1";
1276				nvidia,function = "rsvd2";
1277				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1278				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1279				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1280			};
1281			dap_mclk1_req_pee2 {
1282				nvidia,pins = "dap_mclk1_req_pee2";
1283				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1284				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1285				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1286			};
1287			hdmi_cec_pee3 {
1288				nvidia,pins = "hdmi_cec_pee3";
1289				nvidia,function = "cec";
1290				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1291				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1292				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1293				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
1294			};
1295			sdmmc3_clk_lb_out_pee4 {
1296				nvidia,pins = "sdmmc3_clk_lb_out_pee4";
1297				nvidia,function = "sdmmc3";
1298				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1299				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1300				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1301			};
1302			sdmmc3_clk_lb_in_pee5 {
1303				nvidia,pins = "sdmmc3_clk_lb_in_pee5";
1304				nvidia,function = "sdmmc3";
1305				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1306				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1307				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1308			};
1309			dp_hpd_pff0 {
1310				nvidia,pins = "dp_hpd_pff0";
1311				nvidia,function = "dp";
1312				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1313				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1314				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1315			};
1316			usb_vbus_en2_pff1 {
1317				nvidia,pins = "usb_vbus_en2_pff1";
1318				nvidia,function = "rsvd2";
1319				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1320				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1321				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1322				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
1323			};
1324			pff2 {
1325				nvidia,pins = "pff2";
1326				nvidia,function = "rsvd2";
1327				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1328				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1329				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1330				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
1331			};
1332			core_pwr_req {
1333				nvidia,pins = "core_pwr_req";
1334				nvidia,function = "pwron";
1335				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1336				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1337				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1338			};
1339			cpu_pwr_req {
1340				nvidia,pins = "cpu_pwr_req";
1341				nvidia,function = "cpu";
1342				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1343				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1344				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1345			};
1346			pwr_int_n {
1347				nvidia,pins = "pwr_int_n";
1348				nvidia,function = "pmi";
1349				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1350				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1351				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1352			};
1353			reset_out_n {
1354				nvidia,pins = "reset_out_n";
1355				nvidia,function = "reset_out_n";
1356				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1357				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1358				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1359			};
1360			clk_32k_in {
1361				nvidia,pins = "clk_32k_in";
1362				nvidia,function = "clk";
1363				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1364				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1365				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1366			};
1367			jtag_rtck {
1368				nvidia,pins = "jtag_rtck";
1369				nvidia,function = "rtck";
1370				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1371				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1372				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1373			};
1374			dsi_b {
1375				nvidia,pins = "mipi_pad_ctrl_dsi_b";
1376				nvidia,function = "dsi_b";
1377			};
1378		};
1379	};
1380
1381	/*
1382	 * First high speed UART, exposed on the expansion connector J3A2
1383	 *   Pin 41: BR_UART1_TXD
1384	 *   Pin 44: BR_UART1_RXD
1385	 */
1386	serial@70006000 {
1387		compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart";
1388		/delete-property/ reg-shift;
1389		status = "okay";
1390	};
1391
1392	/*
1393	 * Second high speed UART, exposed on the expansion connector J3A2
1394	 *   Pin 65: UART2_RXD
1395	 *   Pin 68: UART2_TXD
1396	 *   Pin 71: UART2_CTS_L
1397	 *   Pin 74: UART2_RTS_L
1398	 */
1399	serial@70006040 {
1400		compatible = "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart";
1401		/delete-property/ reg-shift;
1402		status = "okay";
1403	};
1404
1405	/* DB9 serial port */
1406	serial@70006300 {
1407		status = "okay";
1408	};
1409
1410	/* Expansion GEN1_I2C_*, mini-PCIe I2C, on-board components */
1411	i2c@7000c000 {
1412		status = "okay";
1413		clock-frequency = <100000>;
1414
1415		rt5639: audio-codec@1c {
1416			compatible = "realtek,rt5639";
1417			reg = <0x1c>;
1418			interrupt-parent = <&gpio>;
1419			interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
1420			realtek,ldo1-en-gpios =
1421				<&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
1422		};
1423
1424		temperature-sensor@4c {
1425			compatible = "ti,tmp451";
1426			reg = <0x4c>;
1427			interrupt-parent = <&gpio>;
1428			interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_EDGE_FALLING>;
1429		};
1430
1431		eeprom@56 {
1432			compatible = "atmel,24c02";
1433			reg = <0x56>;
1434			pagesize = <8>;
1435		};
1436	};
1437
1438	/* Expansion GEN2_I2C_* */
1439	i2c@7000c400 {
1440		status = "okay";
1441		clock-frequency = <100000>;
1442	};
1443
1444	/* Expansion CAM_I2C_* */
1445	i2c@7000c500 {
1446		status = "okay";
1447		clock-frequency = <100000>;
1448	};
1449
1450	/* HDMI DDC */
1451	hdmi_ddc: i2c@7000c700 {
1452		status = "okay";
1453		clock-frequency = <100000>;
1454	};
1455
1456	/* Expansion PWR_I2C_*, on-board components */
1457	i2c@7000d000 {
1458		status = "okay";
1459		clock-frequency = <400000>;
1460
1461		pmic: pmic@40 {
1462			compatible = "ams,as3722";
1463			reg = <0x40>;
1464			interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
1465
1466			ams,system-power-controller;
1467
1468			#interrupt-cells = <2>;
1469			interrupt-controller;
1470
1471			gpio-controller;
1472			#gpio-cells = <2>;
1473
1474			pinctrl-names = "default";
1475			pinctrl-0 = <&as3722_default>;
1476
1477			as3722_default: pinmux {
1478				gpio0 {
1479					pins = "gpio0";
1480					function = "gpio";
1481					bias-pull-down;
1482				};
1483
1484				gpio1_2_4_7 {
1485					pins = "gpio1", "gpio2", "gpio4", "gpio7";
1486					function = "gpio";
1487					bias-pull-up;
1488				};
1489
1490				gpio3_5_6 {
1491					pins = "gpio3", "gpio5", "gpio6";
1492					bias-high-impedance;
1493				};
1494			};
1495
1496			regulators {
1497				vsup-sd2-supply = <&vdd_5v0_sys>;
1498				vsup-sd3-supply = <&vdd_5v0_sys>;
1499				vsup-sd4-supply = <&vdd_5v0_sys>;
1500				vsup-sd5-supply = <&vdd_5v0_sys>;
1501				vin-ldo0-supply = <&vdd_1v35_lp0>;
1502				vin-ldo1-6-supply = <&vdd_3v3_run>;
1503				vin-ldo2-5-7-supply = <&vddio_1v8>;
1504				vin-ldo3-4-supply = <&vdd_3v3_sys>;
1505				vin-ldo9-10-supply = <&vdd_5v0_sys>;
1506				vin-ldo11-supply = <&vdd_3v3_run>;
1507
1508				vdd_cpu: sd0 {
1509					regulator-name = "+VDD_CPU_AP";
1510					regulator-min-microvolt = <700000>;
1511					regulator-max-microvolt = <1400000>;
1512					regulator-min-microamp = <3500000>;
1513					regulator-max-microamp = <3500000>;
1514					regulator-always-on;
1515					regulator-boot-on;
1516					ams,ext-control = <2>;
1517				};
1518
1519				sd1 {
1520					regulator-name = "+VDD_CORE";
1521					regulator-min-microvolt = <700000>;
1522					regulator-max-microvolt = <1350000>;
1523					regulator-min-microamp = <2500000>;
1524					regulator-max-microamp = <2500000>;
1525					regulator-always-on;
1526					regulator-boot-on;
1527					ams,ext-control = <1>;
1528				};
1529
1530				vdd_1v35_lp0: sd2 {
1531					regulator-name = "+1.35V_LP0(sd2)";
1532					regulator-min-microvolt = <1350000>;
1533					regulator-max-microvolt = <1350000>;
1534					regulator-always-on;
1535					regulator-boot-on;
1536				};
1537
1538				sd3 {
1539					regulator-name = "+1.35V_LP0(sd3)";
1540					regulator-min-microvolt = <1350000>;
1541					regulator-max-microvolt = <1350000>;
1542					regulator-always-on;
1543					regulator-boot-on;
1544				};
1545
1546				vdd_1v05_run: sd4 {
1547					regulator-name = "+1.05V_RUN";
1548					regulator-min-microvolt = <1050000>;
1549					regulator-max-microvolt = <1050000>;
1550				};
1551
1552				vddio_1v8: sd5 {
1553					regulator-name = "+1.8V_VDDIO";
1554					regulator-min-microvolt = <1800000>;
1555					regulator-max-microvolt = <1800000>;
1556					regulator-boot-on;
1557					regulator-always-on;
1558				};
1559
1560				vdd_gpu: sd6 {
1561					regulator-name = "+VDD_GPU_AP";
1562					regulator-min-microvolt = <650000>;
1563					regulator-max-microvolt = <1200000>;
1564					regulator-min-microamp = <3500000>;
1565					regulator-max-microamp = <3500000>;
1566					regulator-boot-on;
1567					regulator-always-on;
1568				};
1569
1570				avdd_1v05_run: ldo0 {
1571					regulator-name = "+1.05V_RUN_AVDD";
1572					regulator-min-microvolt = <1050000>;
1573					regulator-max-microvolt = <1050000>;
1574					regulator-boot-on;
1575					regulator-always-on;
1576					ams,ext-control = <1>;
1577				};
1578
1579				ldo1 {
1580					regulator-name = "+1.8V_RUN_CAM";
1581					regulator-min-microvolt = <1800000>;
1582					regulator-max-microvolt = <1800000>;
1583				};
1584
1585				ldo2 {
1586					regulator-name = "+1.2V_GEN_AVDD";
1587					regulator-min-microvolt = <1200000>;
1588					regulator-max-microvolt = <1200000>;
1589					regulator-boot-on;
1590					regulator-always-on;
1591				};
1592
1593				ldo3 {
1594					regulator-name = "+1.05V_LP0_VDD_RTC";
1595					regulator-min-microvolt = <1000000>;
1596					regulator-max-microvolt = <1000000>;
1597					regulator-boot-on;
1598					regulator-always-on;
1599					ams,enable-tracking;
1600				};
1601
1602				ldo4 {
1603					regulator-name = "+2.8V_RUN_CAM";
1604					regulator-min-microvolt = <2800000>;
1605					regulator-max-microvolt = <2800000>;
1606				};
1607
1608				ldo5 {
1609					regulator-name = "+1.2V_RUN_CAM_FRONT";
1610					regulator-min-microvolt = <1200000>;
1611					regulator-max-microvolt = <1200000>;
1612				};
1613
1614				vddio_sdmmc3: ldo6 {
1615					regulator-name = "+VDDIO_SDMMC3";
1616					regulator-min-microvolt = <1800000>;
1617					regulator-max-microvolt = <3300000>;
1618				};
1619
1620				ldo7 {
1621					regulator-name = "+1.05V_RUN_CAM_REAR";
1622					regulator-min-microvolt = <1050000>;
1623					regulator-max-microvolt = <1050000>;
1624				};
1625
1626				ldo9 {
1627					regulator-name = "+3.3V_RUN_TOUCH";
1628					regulator-min-microvolt = <2800000>;
1629					regulator-max-microvolt = <2800000>;
1630				};
1631
1632				ldo10 {
1633					regulator-name = "+2.8V_RUN_CAM_AF";
1634					regulator-min-microvolt = <2800000>;
1635					regulator-max-microvolt = <2800000>;
1636				};
1637
1638				ldo11 {
1639					regulator-name = "+1.8V_RUN_VPP_FUSE";
1640					regulator-min-microvolt = <1800000>;
1641					regulator-max-microvolt = <1800000>;
1642				};
1643			};
1644		};
1645	};
1646
1647	/* Expansion TS_SPI_* */
1648	spi@7000d400 {
1649		status = "okay";
1650	};
1651
1652	/* Internal SPI */
1653	spi@7000da00 {
1654		status = "okay";
1655		spi-max-frequency = <25000000>;
1656
1657		flash@0 {
1658			compatible = "winbond,w25q32dw", "jedec,spi-nor";
1659			reg = <0>;
1660			spi-max-frequency = <20000000>;
1661		};
1662	};
1663
1664	pmc@7000e400 {
1665		nvidia,invert-interrupt;
1666		nvidia,suspend-mode = <1>;
1667		nvidia,cpu-pwr-good-time = <500>;
1668		nvidia,cpu-pwr-off-time = <300>;
1669		nvidia,core-pwr-good-time = <641 3845>;
1670		nvidia,core-pwr-off-time = <61036>;
1671		nvidia,core-power-req-active-high;
1672		nvidia,sys-clock-req-active-high;
1673
1674		i2c-thermtrip {
1675			nvidia,i2c-controller-id = <4>;
1676			nvidia,bus-addr = <0x40>;
1677			nvidia,reg-addr = <0x36>;
1678			nvidia,reg-data = <0x2>;
1679		};
1680	};
1681
1682	cec@70015000 {
1683		status = "okay";
1684	};
1685
1686	/* Serial ATA */
1687	sata@70020000 {
1688		status = "okay";
1689
1690		phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>;
1691		phy-names = "sata-0";
1692
1693		hvdd-supply = <&vdd_3v3_lp0>;
1694		vddio-supply = <&vdd_1v05_run>;
1695		avdd-supply = <&vdd_1v05_run>;
1696
1697		target-5v-supply = <&vdd_5v0_sata>;
1698		target-12v-supply = <&vdd_12v0_sata>;
1699	};
1700
1701	hda@70030000 {
1702		status = "okay";
1703	};
1704
1705	usb@70090000 {
1706		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* Micro A/B */
1707		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Mini PCIe */
1708		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* USB3 */
1709		       <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>; /* USB3 */
1710		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0";
1711
1712		avddio-pex-supply = <&vdd_1v05_run>;
1713		dvddio-pex-supply = <&vdd_1v05_run>;
1714		avdd-usb-supply = <&vdd_3v3_lp0>;
1715		avdd-pll-utmip-supply = <&vddio_1v8>;
1716		avdd-pll-erefe-supply = <&avdd_1v05_run>;
1717		avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
1718		hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
1719		hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
1720
1721		status = "okay";
1722	};
1723
1724	padctl@7009f000 {
1725		status = "okay";
1726
1727		avdd-pll-utmip-supply = <&vddio_1v8>;
1728		avdd-pll-erefe-supply = <&avdd_1v05_run>;
1729		avdd-pex-pll-supply = <&vdd_1v05_run>;
1730		hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
1731
1732		pads {
1733			usb2 {
1734				status = "okay";
1735
1736				lanes {
1737					usb2-0 {
1738						nvidia,function = "snps";
1739						status = "okay";
1740					};
1741
1742					usb2-1 {
1743						nvidia,function = "xusb";
1744						status = "okay";
1745					};
1746
1747					usb2-2 {
1748						nvidia,function = "xusb";
1749						status = "okay";
1750					};
1751				};
1752			};
1753
1754			pcie {
1755				status = "okay";
1756
1757				lanes {
1758					pcie-0 {
1759						nvidia,function = "usb3-ss";
1760						status = "okay";
1761					};
1762
1763					pcie-2 {
1764						nvidia,function = "pcie";
1765						status = "okay";
1766					};
1767
1768					pcie-4 {
1769						nvidia,function = "pcie";
1770						status = "okay";
1771					};
1772				};
1773			};
1774
1775			sata {
1776				status = "okay";
1777
1778				lanes {
1779					sata-0 {
1780						nvidia,function = "sata";
1781						status = "okay";
1782					};
1783				};
1784			};
1785		};
1786
1787		ports {
1788			/* Micro A/B */
1789			usb2-0 {
1790				status = "okay";
1791				mode = "host";
1792			};
1793
1794			/* Mini PCIe */
1795			usb2-1 {
1796				status = "okay";
1797				mode = "host";
1798			};
1799
1800			/* USB3 */
1801			usb2-2 {
1802				status = "okay";
1803				mode = "host";
1804
1805				vbus-supply = <&vdd_usb3_vbus>;
1806			};
1807
1808			usb3-0 {
1809				nvidia,usb2-companion = <2>;
1810				status = "okay";
1811			};
1812		};
1813	};
1814
1815	/* SD card */
1816	mmc@700b0400 {
1817		status = "okay";
1818		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
1819		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1820		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
1821		bus-width = <4>;
1822		vqmmc-supply = <&vddio_sdmmc3>;
1823	};
1824
1825	/* eMMC */
1826	mmc@700b0600 {
1827		status = "okay";
1828		bus-width = <8>;
1829		non-removable;
1830	};
1831
1832	/* CPU DFLL clock */
1833	clock@70110000 {
1834		status = "okay";
1835		vdd-cpu-supply = <&vdd_cpu>;
1836		nvidia,i2c-fs-rate = <400000>;
1837	};
1838
1839	ahub@70300000 {
1840		i2s@70301100 {
1841			status = "okay";
1842		};
1843	};
1844
1845	usb@7d000000 {
1846		compatible = "nvidia,tegra124-udc";
1847		status = "okay";
1848		dr_mode = "peripheral";
1849	};
1850
1851	usb-phy@7d000000 {
1852		status = "okay";
1853	};
1854
1855	/* mini-PCIe USB */
1856	usb@7d004000 {
1857		status = "okay";
1858	};
1859
1860	usb-phy@7d004000 {
1861		status = "okay";
1862	};
1863
1864	/* USB A connector */
1865	usb@7d008000 {
1866		status = "okay";
1867	};
1868
1869	usb-phy@7d008000 {
1870		status = "okay";
1871		vbus-supply = <&vdd_usb3_vbus>;
1872	};
1873
1874	clk32k_in: clock-32k {
1875		compatible = "fixed-clock";
1876		clock-frequency = <32768>;
1877		#clock-cells = <0>;
1878	};
1879
1880	cpus {
1881		cpu@0 {
1882			vdd-cpu-supply = <&vdd_cpu>;
1883		};
1884	};
1885
1886	gpio-keys {
1887		compatible = "gpio-keys";
1888
1889		key-power {
1890			label = "Power";
1891			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
1892			linux,code = <KEY_POWER>;
1893			debounce-interval = <10>;
1894			wakeup-source;
1895		};
1896	};
1897
1898	vdd_mux: regulator-mux {
1899		compatible = "regulator-fixed";
1900		regulator-name = "+VDD_MUX";
1901		regulator-min-microvolt = <12000000>;
1902		regulator-max-microvolt = <12000000>;
1903		regulator-always-on;
1904		regulator-boot-on;
1905	};
1906
1907	vdd_5v0_sys: regulator-5v0sys {
1908		compatible = "regulator-fixed";
1909		regulator-name = "+5V_SYS";
1910		regulator-min-microvolt = <5000000>;
1911		regulator-max-microvolt = <5000000>;
1912		regulator-always-on;
1913		regulator-boot-on;
1914		vin-supply = <&vdd_mux>;
1915	};
1916
1917	vdd_3v3_sys: regulator-3v3sys {
1918		compatible = "regulator-fixed";
1919		regulator-name = "+3.3V_SYS";
1920		regulator-min-microvolt = <3300000>;
1921		regulator-max-microvolt = <3300000>;
1922		regulator-always-on;
1923		regulator-boot-on;
1924		vin-supply = <&vdd_mux>;
1925	};
1926
1927	vdd_3v3_run: regulator-3v3run {
1928		compatible = "regulator-fixed";
1929		regulator-name = "+3.3V_RUN";
1930		regulator-min-microvolt = <3300000>;
1931		regulator-max-microvolt = <3300000>;
1932		regulator-always-on;
1933		regulator-boot-on;
1934		gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1935		enable-active-high;
1936		vin-supply = <&vdd_3v3_sys>;
1937	};
1938
1939	vdd_3v3_hdmi: regulator-3v3hdmi {
1940		compatible = "regulator-fixed";
1941		regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1942		regulator-min-microvolt = <3300000>;
1943		regulator-max-microvolt = <3300000>;
1944		vin-supply = <&vdd_3v3_run>;
1945	};
1946
1947	vdd_usb1_vbus: regulator-usb1 {
1948		compatible = "regulator-fixed";
1949		regulator-name = "+USB0_VBUS_SW";
1950		regulator-min-microvolt = <5000000>;
1951		regulator-max-microvolt = <5000000>;
1952		gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1953		enable-active-high;
1954		gpio-open-drain;
1955		vin-supply = <&vdd_5v0_sys>;
1956	};
1957
1958	vdd_usb3_vbus: regulator-usb3 {
1959		compatible = "regulator-fixed";
1960		regulator-name = "+5V_USB_HS";
1961		regulator-min-microvolt = <5000000>;
1962		regulator-max-microvolt = <5000000>;
1963		gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1964		enable-active-high;
1965		gpio-open-drain;
1966		vin-supply = <&vdd_5v0_sys>;
1967	};
1968
1969	vdd_3v3_lp0: regulator-lp0 {
1970		compatible = "regulator-fixed";
1971		regulator-name = "+3.3V_LP0";
1972		regulator-min-microvolt = <3300000>;
1973		regulator-max-microvolt = <3300000>;
1974		regulator-always-on;
1975		regulator-boot-on;
1976		gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1977		enable-active-high;
1978		vin-supply = <&vdd_3v3_sys>;
1979	};
1980
1981	vdd_hdmi_pll: regulator-hdmipll {
1982		compatible = "regulator-fixed";
1983		regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1984		regulator-min-microvolt = <1050000>;
1985		regulator-max-microvolt = <1050000>;
1986		gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
1987		vin-supply = <&vdd_1v05_run>;
1988	};
1989
1990	vdd_5v0_hdmi: regulator-hdmicon {
1991		compatible = "regulator-fixed";
1992		regulator-name = "+5V_HDMI_CON";
1993		regulator-min-microvolt = <5000000>;
1994		regulator-max-microvolt = <5000000>;
1995		gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
1996		enable-active-high;
1997		vin-supply = <&vdd_5v0_sys>;
1998	};
1999
2000	/* Molex power connector */
2001	vdd_5v0_sata: regulator-5v0sata {
2002		compatible = "regulator-fixed";
2003		regulator-name = "+5V_SATA";
2004		regulator-min-microvolt = <5000000>;
2005		regulator-max-microvolt = <5000000>;
2006		gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
2007		enable-active-high;
2008		vin-supply = <&vdd_5v0_sys>;
2009	};
2010
2011	vdd_12v0_sata: regulator-12v0sata {
2012		compatible = "regulator-fixed";
2013		regulator-name = "+12V_SATA";
2014		regulator-min-microvolt = <12000000>;
2015		regulator-max-microvolt = <12000000>;
2016		gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
2017		enable-active-high;
2018		vin-supply = <&vdd_mux>;
2019	};
2020
2021	sound {
2022		compatible = "nvidia,tegra-audio-rt5640-jetson-tk1",
2023			     "nvidia,tegra-audio-rt5640";
2024		nvidia,model = "NVIDIA Tegra Jetson TK1";
2025
2026		nvidia,audio-routing =
2027			"Headphones", "HPOR",
2028			"Headphones", "HPOL",
2029			"Mic Jack", "MICBIAS1",
2030			"IN2P", "Mic Jack";
2031
2032		nvidia,i2s-controller = <&tegra_i2s1>;
2033		nvidia,audio-codec = <&rt5639>;
2034
2035		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
2036
2037		clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
2038			 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
2039			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
2040		clock-names = "pll_a", "pll_a_out0", "mclk";
2041
2042		assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
2043				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
2044
2045		assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
2046					 <&tegra_car TEGRA124_CLK_EXTERN1>;
2047	};
2048
2049	thermal-zones {
2050		cpu-thermal {
2051			trips {
2052				cpu-shutdown-trip {
2053					temperature = <101000>;
2054					hysteresis = <0>;
2055					type = "critical";
2056				};
2057			};
2058		};
2059
2060		mem-thermal {
2061			trips {
2062				mem-shutdown-trip {
2063					temperature = <101000>;
2064					hysteresis = <0>;
2065					type = "critical";
2066				};
2067			};
2068		};
2069
2070		gpu-thermal {
2071			trips {
2072				gpu-shutdown-trip {
2073					temperature = <101000>;
2074					hysteresis = <0>;
2075					type = "critical";
2076				};
2077			};
2078		};
2079	};
2080};
2081