xref: /linux/scripts/dtc/include-prefixes/arm/nvidia/tegra114-asus-tf701t.dts (revision b457e191a740ece881fa26a370f606bd833d8e28)
1// SPDX-License-Identifier: GPL-2.0
2
3/dts-v1/;
4
5#include <dt-bindings/input/gpio-keys.h>
6#include <dt-bindings/input/input.h>
7
8#include "tegra114.dtsi"
9
10/ {
11	model = "Asus Transformer Pad TF701T";
12	compatible = "asus,tf701t", "nvidia,tegra114";
13	chassis-type = "convertible";
14
15	aliases {
16		mmc0 = "/mmc@78000600"; /* eMMC */
17		mmc1 = "/mmc@78000400"; /* uSD slot */
18		mmc2 = "/mmc@78000000"; /* WiFi */
19
20		rtc0 = &palmas;
21		rtc1 = "/rtc@7000e000";
22
23		serial0 = &uartd; /* Console */
24		serial1 = &uartc; /* Bluetooth */
25		serial2 = &uartb; /* GPS */
26	};
27
28	firmware {
29		trusted-foundations {
30			compatible = "tlm,trusted-foundations";
31			tlm,version-major = <2>;
32			tlm,version-minor = <8>;
33		};
34	};
35
36	memory@80000000 {
37		reg = <0x80000000 0x80000000>;
38	};
39
40	reserved-memory {
41		#address-cells = <1>;
42		#size-cells = <1>;
43		ranges;
44
45		linux,cma@80000000 {
46			compatible = "shared-dma-pool";
47			alloc-ranges = <0x80000000 0x30000000>;
48			size = <0x10000000>;
49			linux,cma-default;
50			reusable;
51		};
52
53		trustzone@bfe00000 {
54			reg = <0xbfe00000 0x200000>;
55			no-map;
56		};
57	};
58
59	host1x@50000000 {
60		dsi@54300000 {
61			status = "okay";
62
63			avdd-dsi-csi-supply = <&tps65913_ldo2>;
64
65			nvidia,ganged-mode = <&dsib>;
66
67			panel_primary: panel@0 {
68				compatible = "sharp,lq101r1sx01";
69				reg = <0>;
70
71				link2 = <&panel_secondary>;
72
73				power-supply = <&vdd_lcd>;
74				backlight = <&backlight>;
75			};
76		};
77
78		dsi@54400000 {
79			status = "okay";
80
81			avdd-dsi-csi-supply = <&tps65913_ldo2>;
82
83			panel_secondary: panel@0 {
84				compatible = "sharp,lq101r1sx01";
85				reg = <0>;
86			};
87		};
88	};
89
90	pinmux@70000868 {
91		pinctrl-names = "default";
92		pinctrl-0 = <&state_default>;
93
94		state_default: pinmux {
95			/* WLAN SDIO pinmux */
96			sdmmc1-clk {
97				nvidia,pins = "sdmmc1_clk_pz0";
98				nvidia,function = "sdmmc1";
99				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
100				nvidia,tristate = <TEGRA_PIN_DISABLE>;
101				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
102			};
103
104			sdmmc1-cmd {
105				nvidia,pins = "sdmmc1_cmd_pz1",
106					      "sdmmc1_dat0_py7",
107					      "sdmmc1_dat1_py6",
108					      "sdmmc1_dat2_py5",
109					      "sdmmc1_dat3_py4";
110				nvidia,function = "sdmmc1";
111				nvidia,pull = <TEGRA_PIN_PULL_UP>;
112				nvidia,tristate = <TEGRA_PIN_DISABLE>;
113				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
114			};
115
116			wlan-power {
117				nvidia,pins = "clk2_req_pcc5";
118				nvidia,function = "rsvd2";
119				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
120				nvidia,tristate = <TEGRA_PIN_DISABLE>;
121				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
122			};
123
124			wlan-reset {
125				nvidia,pins = "gpio_x7_aud_px7";
126				nvidia,function = "rsvd1";
127				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
128				nvidia,tristate = <TEGRA_PIN_DISABLE>;
129				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
130			};
131
132			wlan-host-wake {
133				nvidia,pins = "pu5";
134				nvidia,function = "pwm2";
135				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
136				nvidia,tristate = <TEGRA_PIN_DISABLE>;
137				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
138			};
139
140			wlan-3v3-com {
141				nvidia,pins = "pu1";
142				nvidia,function = "rsvd1";
143				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
144				nvidia,tristate = <TEGRA_PIN_DISABLE>;
145				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
146			};
147
148			/* UART-A pinmux */
149			uarta-cts {
150				nvidia,pins = "kb_row10_ps2";
151				nvidia,function = "uarta";
152				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
153				nvidia,tristate = <TEGRA_PIN_DISABLE>;
154				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
155			};
156
157			uarta-rts {
158				nvidia,pins = "kb_row9_ps1";
159				nvidia,function = "uarta";
160				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
161				nvidia,tristate = <TEGRA_PIN_DISABLE>;
162				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
163			};
164
165			/* GNSS UART-B pinmux */
166			uartb-cts {
167				nvidia,pins = "uart2_cts_n_pj5";
168				nvidia,function = "uartb";
169				nvidia,pull = <TEGRA_PIN_PULL_UP>;
170				nvidia,tristate = <TEGRA_PIN_DISABLE>;
171				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
172			};
173
174			uartb-rts {
175				nvidia,pins = "uart2_rts_n_pj6";
176				nvidia,function = "uartb";
177				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
178				nvidia,tristate = <TEGRA_PIN_DISABLE>;
179				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
180			};
181
182			uartb-rxd {
183				nvidia,pins = "uart2_rxd_pc3";
184				nvidia,function = "irda";
185				nvidia,pull = <TEGRA_PIN_PULL_UP>;
186				nvidia,tristate = <TEGRA_PIN_DISABLE>;
187				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
188			};
189
190			uartb-txd {
191				nvidia,pins = "uart2_txd_pc2";
192				nvidia,function = "irda";
193				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
194				nvidia,tristate = <TEGRA_PIN_DISABLE>;
195				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
196			};
197
198			/* Bluetooth UART-C pinmux */
199			uartc-cts-rxd {
200				nvidia,pins = "uart3_cts_n_pa1",
201					      "uart3_rxd_pw7";
202				nvidia,function = "uartc";
203				nvidia,pull = <TEGRA_PIN_PULL_UP>;
204				nvidia,tristate = <TEGRA_PIN_DISABLE>;
205				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
206			};
207
208			uartc-rts-txd {
209				nvidia,pins = "uart3_rts_n_pc0",
210					      "uart3_txd_pw6";
211				nvidia,function = "uartc";
212				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
213				nvidia,tristate = <TEGRA_PIN_DISABLE>;
214				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
215			};
216
217			bt-shutdown {
218				nvidia,pins = "kb_col6_pq6",
219					      "kb_col7_pq7";
220				nvidia,function = "rsvd2";
221				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
222				nvidia,tristate = <TEGRA_PIN_DISABLE>;
223				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
224			};
225
226			bt-dev-wake {
227				nvidia,pins = "clk3_req_pee1";
228				nvidia,function = "rsvd2";
229				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
230				nvidia,tristate = <TEGRA_PIN_DISABLE>;
231				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
232			};
233
234			bt-host-wake {
235				nvidia,pins = "pu6";
236				nvidia,function = "pwm3";
237				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
238				nvidia,tristate = <TEGRA_PIN_DISABLE>;
239				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
240			};
241
242			bt-pcm-dap4-out {
243				nvidia,pins = "dap4_fs_pp4",
244					      "dap4_dout_pp6",
245					      "dap4_sclk_pp7";
246				nvidia,function = "i2s3";
247				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
248				nvidia,tristate = <TEGRA_PIN_DISABLE>;
249				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
250			};
251
252			bt-pcm-dap4-in {
253				nvidia,pins = "dap4_din_pp5";
254				nvidia,function = "i2s3";
255				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
256				nvidia,tristate = <TEGRA_PIN_DISABLE>;
257				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
258			};
259
260			/* UART-D pinmux */
261			uartd-cts {
262				nvidia,pins = "gmi_a17_pb0";
263				nvidia,function = "uartd";
264				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
265				nvidia,tristate = <TEGRA_PIN_DISABLE>;
266				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
267			};
268
269			uartd-rts {
270				nvidia,pins = "gmi_a16_pj7",
271					      "gmi_a19_pk7";
272				nvidia,function = "uartd";
273				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
274				nvidia,tristate = <TEGRA_PIN_DISABLE>;
275				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
276			};
277
278			/* MicroSD pinmux */
279			sdmmc3-clk {
280				nvidia,pins = "sdmmc3_clk_pa6";
281				nvidia,function = "sdmmc3";
282				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
283				nvidia,tristate = <TEGRA_PIN_DISABLE>;
284				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
285			};
286
287			sdmmc3-data {
288				nvidia,pins = "sdmmc3_cmd_pa7",
289					      "sdmmc3_dat0_pb7",
290					      "sdmmc3_dat1_pb6",
291					      "sdmmc3_dat2_pb5",
292					      "sdmmc3_dat3_pb4",
293					      "kb_col4_pq4",
294					      "sdmmc3_cd_n_pv2",
295					      "sdmmc3_clk_lb_out_pee4",
296					      "sdmmc3_clk_lb_in_pee5";
297				nvidia,function = "sdmmc3";
298				nvidia,pull = <TEGRA_PIN_PULL_UP>;
299				nvidia,tristate = <TEGRA_PIN_DISABLE>;
300				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
301			};
302
303			microsd-pwr {
304				nvidia,pins = "gmi_clk_pk1";
305				nvidia,function = "gmi";
306				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
307				nvidia,tristate = <TEGRA_PIN_DISABLE>;
308				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
309			};
310
311			/* EMMC pinmux */
312			sdmmc4-clk-cmd {
313				nvidia,pins = "sdmmc4_clk_pcc4";
314				nvidia,function = "sdmmc4";
315				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
316				nvidia,tristate = <TEGRA_PIN_DISABLE>;
317				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
318			};
319
320			sdmmc4-data {
321				nvidia,pins = "sdmmc4_cmd_pt7",
322					      "sdmmc4_dat0_paa0",
323					      "sdmmc4_dat1_paa1",
324					      "sdmmc4_dat2_paa2",
325					      "sdmmc4_dat3_paa3",
326					      "sdmmc4_dat4_paa4",
327					      "sdmmc4_dat5_paa5",
328					      "sdmmc4_dat6_paa6",
329					      "sdmmc4_dat7_paa7";
330				nvidia,function = "sdmmc4";
331				nvidia,pull = <TEGRA_PIN_PULL_UP>;
332				nvidia,tristate = <TEGRA_PIN_DISABLE>;
333				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
334			};
335
336			/* I2C pinmux */
337			gen1-i2c {
338				nvidia,pins = "gen1_i2c_scl_pc4",
339					      "gen1_i2c_sda_pc5";
340				nvidia,function = "i2c1";
341				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
342				nvidia,tristate = <TEGRA_PIN_DISABLE>;
343				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
344				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
345				nvidia,lock = <TEGRA_PIN_DISABLE>;
346			};
347
348			gen2-i2c {
349				nvidia,pins = "gen2_i2c_scl_pt5",
350					      "gen2_i2c_sda_pt6";
351				nvidia,function = "i2c2";
352				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
353				nvidia,tristate = <TEGRA_PIN_DISABLE>;
354				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
355				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
356				nvidia,lock = <TEGRA_PIN_DISABLE>;
357			};
358
359			cam-i2c {
360				nvidia,pins = "cam_i2c_scl_pbb1",
361					      "cam_i2c_sda_pbb2";
362				nvidia,function = "i2c3";
363				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
364				nvidia,tristate = <TEGRA_PIN_DISABLE>;
365				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
366				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
367				nvidia,lock = <TEGRA_PIN_DISABLE>;
368			};
369
370			ddc-i2c {
371				nvidia,pins = "ddc_scl_pv4",
372					      "ddc_sda_pv5";
373				nvidia,function = "i2c4";
374				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
375				nvidia,tristate = <TEGRA_PIN_DISABLE>;
376				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
377				nvidia,lock = <TEGRA_PIN_DISABLE>;
378			};
379
380			pwr-i2c {
381				nvidia,pins = "pwr_i2c_scl_pz6",
382					      "pwr_i2c_sda_pz7";
383				nvidia,function = "i2cpwr";
384				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
385				nvidia,tristate = <TEGRA_PIN_DISABLE>;
386				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
387				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
388				nvidia,lock = <TEGRA_PIN_DISABLE>;
389			};
390
391			/* SPI pinmux */
392			spi1-out {
393				nvidia,pins = "ulpi_clk_py0",
394					      "ulpi_nxt_py2",
395					      "ulpi_stp_py3";
396				nvidia,function = "spi1";
397				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
398				nvidia,tristate = <TEGRA_PIN_DISABLE>;
399				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
400			};
401
402			spi1-in {
403				nvidia,pins = "ulpi_dir_py1";
404				nvidia,function = "spi1";
405				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
406				nvidia,tristate = <TEGRA_PIN_DISABLE>;
407				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
408			};
409
410			spi2 {
411				nvidia,pins = "ulpi_data4_po5",
412					      "ulpi_data7_po0";
413				nvidia,function = "spi2";
414				nvidia,pull = <TEGRA_PIN_PULL_UP>;
415				nvidia,tristate = <TEGRA_PIN_DISABLE>;
416				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
417			};
418
419			spi4-out {
420				nvidia,pins = "gmi_ad6_pg6",
421					      "gmi_wr_n_pi0";
422				nvidia,function = "spi4";
423				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
424				nvidia,tristate = <TEGRA_PIN_DISABLE>;
425				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
426			};
427
428			spi4-in {
429				nvidia,pins = "gmi_ad5_pg5",
430					      "gmi_ad7_pg7";
431				nvidia,function = "spi4";
432				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
433				nvidia,tristate = <TEGRA_PIN_DISABLE>;
434				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
435			};
436
437			/* GPIO keys pinmux */
438			hall-switch {
439				nvidia,pins = "ulpi_data4_po5";
440				nvidia,function = "spi2";
441				nvidia,pull = <TEGRA_PIN_PULL_UP>;
442				nvidia,tristate = <TEGRA_PIN_DISABLE>;
443				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
444			};
445
446			lineout-switch {
447				nvidia,pins = "gpio_x5_aud_px5";
448				nvidia,function = "rsvd1";
449				nvidia,pull = <TEGRA_PIN_PULL_UP>;
450				nvidia,tristate = <TEGRA_PIN_DISABLE>;
451				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
452			};
453
454			power-key {
455				nvidia,pins = "kb_col0_pq0";
456				nvidia,function = "kbc";
457				nvidia,pull = <TEGRA_PIN_PULL_UP>;
458				nvidia,tristate = <TEGRA_PIN_ENABLE>;
459				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
460			};
461
462			volume-keys {
463				nvidia,pins = "kb_row1_pr1",
464					      "kb_row2_pr2";
465				nvidia,function = "rsvd2";
466				nvidia,pull = <TEGRA_PIN_PULL_UP>;
467				nvidia,tristate = <TEGRA_PIN_ENABLE>;
468				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
469			};
470
471			/* Sensors pinmux */
472			nct-irq {
473				nvidia,pins = "ulpi_data3_po4";
474				nvidia,function = "ulpi";
475				nvidia,pull = <TEGRA_PIN_PULL_UP>;
476				nvidia,tristate = <TEGRA_PIN_DISABLE>;
477				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
478			};
479
480			mpu-irq {
481				nvidia,pins = "kb_row3_pr3";
482				nvidia,function = "rsvd3";
483				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
484				nvidia,tristate = <TEGRA_PIN_DISABLE>;
485				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
486			};
487
488			/* HDMI pinmux */
489			hdmi-hpd {
490				nvidia,pins = "hdmi_int_pn7";
491				nvidia,function = "rsvd1";
492				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
493				nvidia,tristate = <TEGRA_PIN_DISABLE>;
494				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
495			};
496
497			hdmi-en {
498				nvidia,pins = "dap3_dout_pp2";
499				nvidia,function = "i2s2";
500				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
501				nvidia,tristate = <TEGRA_PIN_DISABLE>;
502				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
503			};
504
505			hdmi-cec {
506				nvidia,pins = "hdmi_cec_pee3";
507				nvidia,function = "cec";
508				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
509				nvidia,tristate = <TEGRA_PIN_DISABLE>;
510				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
511			};
512
513			/* LED pinmux */
514			backlight-pwm {
515				nvidia,pins = "gmi_ad9_ph1";
516				nvidia,function = "pwm1";
517				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
518				nvidia,tristate = <TEGRA_PIN_DISABLE>;
519				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
520			};
521
522			backlight-en {
523				nvidia,pins = "gmi_ad10_ph2";
524				nvidia,function = "gmi";
525				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
526				nvidia,tristate = <TEGRA_PIN_DISABLE>;
527				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
528			};
529
530			/* Touchscreen pinmux */
531			touch-irq {
532				nvidia,pins = "gmi_cs4_n_pk2";
533				nvidia,function = "gmi";
534				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
535				nvidia,tristate = <TEGRA_PIN_DISABLE>;
536				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
537			};
538
539			touch-rst {
540				nvidia,pins = "gmi_cs3_n_pk4";
541				nvidia,function = "gmi";
542				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
543				nvidia,tristate = <TEGRA_PIN_DISABLE>;
544				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
545			};
546
547			touch-pwr {
548				nvidia,pins = "gmi_ad8_ph0";
549				nvidia,function = "gmi";
550				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
551				nvidia,tristate = <TEGRA_PIN_DISABLE>;
552				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
553			};
554
555			touch-vio {
556				nvidia,pins = "gmi_ad12_ph4";
557				nvidia,function = "rsvd4";
558				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
559				nvidia,tristate = <TEGRA_PIN_DISABLE>;
560				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
561			};
562
563			/* AUDIO pinmux */
564			audio-ldo1 {
565				nvidia,pins = "sdmmc1_wp_n_pv3";
566				nvidia,function = "sdmmc1";
567				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
568				nvidia,tristate = <TEGRA_PIN_DISABLE>;
569				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
570			};
571
572			hp-detect {
573				nvidia,pins = "kb_row7_pr7";
574				nvidia,function = "rsvd2";
575				nvidia,pull = <TEGRA_PIN_PULL_UP>;
576				nvidia,tristate = <TEGRA_PIN_DISABLE>;
577				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
578			};
579
580			dap-i2s0-in {
581				nvidia,pins = "dap1_din_pn1";
582				nvidia,function = "i2s0";
583				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
584				nvidia,tristate = <TEGRA_PIN_DISABLE>;
585				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
586			};
587
588			dap-i2s0-out {
589				nvidia,pins = "dap1_dout_pn2",
590					      "dap1_fs_pn0",
591					      "dap1_sclk_pn3";
592				nvidia,function = "i2s0";
593				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
594				nvidia,tristate = <TEGRA_PIN_DISABLE>;
595				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
596			};
597
598			dap-i2s1-in {
599				nvidia,pins = "dap2_din_pa4";
600				nvidia,function = "i2s1";
601				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
602				nvidia,tristate = <TEGRA_PIN_DISABLE>;
603				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
604			};
605
606			dap-i2s1-out {
607				nvidia,pins = "dap2_dout_pa5",
608					      "dap2_fs_pa2",
609					      "dap2_sclk_pa3";
610				nvidia,function = "i2s1";
611				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
612				nvidia,tristate = <TEGRA_PIN_DISABLE>;
613				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
614			};
615
616			dap-i2s2-in {
617				nvidia,pins = "dap3_fs_pp0",
618					      "dap3_sclk_pp3";
619				nvidia,function = "i2s2";
620				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
621				nvidia,tristate = <TEGRA_PIN_ENABLE>;
622				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
623			};
624
625			dap-i2s2-out {
626				nvidia,pins = "dap3_din_pp1";
627				nvidia,function = "i2s2";
628				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
629				nvidia,tristate = <TEGRA_PIN_DISABLE>;
630				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
631			};
632
633			spdif-in {
634				nvidia,pins = "spdif_in_pk6";
635				nvidia,function = "rsvd3";
636				nvidia,pull = <TEGRA_PIN_PULL_UP>;
637				nvidia,tristate = <TEGRA_PIN_DISABLE>;
638				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
639			};
640
641			spdif-out {
642				nvidia,pins = "spdif_out_pk5";
643				nvidia,function = "rsvd2";
644				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
645				nvidia,tristate = <TEGRA_PIN_ENABLE>;
646				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
647			};
648
649			/* AsusEC pinmux */
650			ec-irq {
651				nvidia,pins = "kb_col5_pq5";
652				nvidia,function = "kbc";
653				nvidia,pull = <TEGRA_PIN_PULL_UP>;
654				nvidia,tristate = <TEGRA_PIN_DISABLE>;
655				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
656			};
657
658			ec-req {
659				nvidia,pins = "kb_col2_pq2";
660				nvidia,function = "kbc";
661				nvidia,pull = <TEGRA_PIN_PULL_UP>;
662				nvidia,tristate = <TEGRA_PIN_DISABLE>;
663				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
664			};
665
666			hotplug-i2c {
667				nvidia,pins = "ulpi_data7_po0";
668				nvidia,function = "spi2";
669				nvidia,pull = <TEGRA_PIN_PULL_UP>;
670				nvidia,tristate = <TEGRA_PIN_DISABLE>;
671				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
672			};
673
674			ps2-irq {
675				nvidia,pins = "gpio_w2_aud_pw2";
676				nvidia,function = "spi6";
677				nvidia,pull = <TEGRA_PIN_PULL_UP>;
678				nvidia,tristate = <TEGRA_PIN_DISABLE>;
679				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
680			};
681
682			kbd-irq {
683				nvidia,pins = "gmi_cs0_n_pj0";
684				nvidia,function = "rsvd1";
685				nvidia,pull = <TEGRA_PIN_PULL_UP>;
686				nvidia,tristate = <TEGRA_PIN_DISABLE>;
687				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
688			};
689
690			dvfs-pin {
691				nvidia,pins = "dvfs_pwm_px0",
692					      "dvfs_clk_px2";
693				nvidia,function = "cldvfs";
694				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
695				nvidia,tristate = <TEGRA_PIN_DISABLE>;
696				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
697			};
698
699			/* Core pinmux */
700			clk-32k-out {
701				nvidia,pins = "clk_32k_out_pa0";
702				nvidia,function = "soc";
703				nvidia,pull = <TEGRA_PIN_PULL_UP>;
704				nvidia,tristate = <TEGRA_PIN_DISABLE>;
705				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
706			};
707
708			sys-clk-req {
709				nvidia,pins = "sys_clk_req_pz5";
710				nvidia,function = "sysclk";
711				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
712				nvidia,tristate = <TEGRA_PIN_DISABLE>;
713				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
714			};
715
716			core-pwr-req {
717				nvidia,pins = "core_pwr_req";
718				nvidia,function = "pwron";
719				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
720				nvidia,tristate = <TEGRA_PIN_DISABLE>;
721				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
722			};
723
724			cpu-pwr-req {
725				nvidia,pins = "cpu_pwr_req";
726				nvidia,function = "cpu";
727				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
728				nvidia,tristate = <TEGRA_PIN_DISABLE>;
729				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
730			};
731
732			pwr-int-n {
733				nvidia,pins = "pwr_int_n";
734				nvidia,function = "pmi";
735				nvidia,pull = <TEGRA_PIN_PULL_UP>;
736				nvidia,tristate = <TEGRA_PIN_DISABLE>;
737				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
738			};
739
740			clk-32k-in {
741				nvidia,pins = "clk_32k_in";
742				nvidia,function = "clk";
743				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
744				nvidia,tristate = <TEGRA_PIN_DISABLE>;
745				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
746			};
747
748			owr {
749				nvidia,pins = "owr";
750				nvidia,function = "rsvd2";
751				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
752				nvidia,tristate = <TEGRA_PIN_ENABLE>;
753				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
754			};
755
756			reset-out-n {
757				nvidia,pins = "reset_out_n";
758				nvidia,function = "reset_out_n";
759				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
760				nvidia,tristate = <TEGRA_PIN_DISABLE>;
761				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
762			};
763
764			/* ULPI pinmux */
765			ulpi-data0-6 {
766				nvidia,pins = "ulpi_data0_po1",
767					      "ulpi_data6_po7";
768				nvidia,function = "ulpi";
769				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
770				nvidia,tristate = <TEGRA_PIN_DISABLE>;
771				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
772			};
773
774			ulpi-data1-5 {
775				nvidia,pins = "ulpi_data1_po2",
776					      "ulpi_data5_po6";
777				nvidia,function = "ulpi";
778				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
779				nvidia,tristate = <TEGRA_PIN_ENABLE>;
780				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
781			};
782
783			ulpi-data2-3 {
784				nvidia,pins = "ulpi_data2_po3",
785					      "ulpi_data3_po4";
786				nvidia,function = "ulpi";
787				nvidia,pull = <TEGRA_PIN_PULL_UP>;
788				nvidia,tristate = <TEGRA_PIN_DISABLE>;
789				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
790			};
791
792			/* PORT V */
793			pv0-gpio {
794				nvidia,pins = "pv0";
795				nvidia,function = "rsvd2";
796				nvidia,pull = <TEGRA_PIN_PULL_UP>;
797				nvidia,tristate = <TEGRA_PIN_DISABLE>;
798				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
799			};
800
801			pv1-gpio {
802				nvidia,pins = "pv1";
803				nvidia,function = "rsvd1";
804				nvidia,pull = <TEGRA_PIN_PULL_UP>;
805				nvidia,tristate = <TEGRA_PIN_DISABLE>;
806				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
807			};
808
809			/* PORT U */
810			pu0-gpio {
811				nvidia,pins = "pu0";
812				nvidia,function = "rsvd3";
813				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
814				nvidia,tristate = <TEGRA_PIN_DISABLE>;
815				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
816			};
817
818			pu2-gpio {
819				nvidia,pins = "pu2";
820				nvidia,function = "rsvd1";
821				nvidia,pull = <TEGRA_PIN_PULL_UP>;
822				nvidia,tristate = <TEGRA_PIN_DISABLE>;
823				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
824			};
825
826			/* PWM pinmux */
827			pwm0 {
828				nvidia,pins = "pu3";
829				nvidia,function = "pwm0";
830				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
831				nvidia,tristate = <TEGRA_PIN_DISABLE>;
832				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
833			};
834
835			pwm1 {
836				nvidia,pins = "pu4";
837				nvidia,function = "pwm1";
838				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
839				nvidia,tristate = <TEGRA_PIN_DISABLE>;
840				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
841			};
842
843			/* EXTPERIPH pinmux */
844			clk1-out {
845				nvidia,pins = "clk1_out_pw4";
846				nvidia,function = "extperiph1";
847				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
848				nvidia,tristate = <TEGRA_PIN_DISABLE>;
849				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
850			};
851
852			clk2-out {
853				nvidia,pins = "clk2_out_pw5";
854				nvidia,function = "extperiph2";
855				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
856				nvidia,tristate = <TEGRA_PIN_DISABLE>;
857				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
858			};
859
860			clk3-out {
861				nvidia,pins = "clk3_out_pee0";
862				nvidia,function = "extperiph3";
863				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
864				nvidia,tristate = <TEGRA_PIN_DISABLE>;
865				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
866			};
867
868			clk1-req {
869				nvidia,pins = "clk1_req_pee2";
870				nvidia,function = "rsvd3";
871				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
872				nvidia,tristate = <TEGRA_PIN_ENABLE>;
873				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
874			};
875
876			/* GMI pinmux */
877			gmi-wp-n {
878				nvidia,pins = "gmi_wp_n_pc7";
879				nvidia,function = "rsvd1";
880				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
881				nvidia,tristate = <TEGRA_PIN_ENABLE>;
882				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
883			};
884
885			gmi-adv {
886				nvidia,pins = "gmi_adv_n_pk0";
887				nvidia,function = "rsvd1";
888				nvidia,pull = <TEGRA_PIN_PULL_UP>;
889				nvidia,tristate = <TEGRA_PIN_DISABLE>;
890				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
891			};
892
893			gmi-ad0-ad1 {
894				nvidia,pins = "gmi_ad0_pg0",
895					      "gmi_ad1_pg1";
896				nvidia,function = "rsvd1";
897				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
898				nvidia,tristate = <TEGRA_PIN_DISABLE>;
899				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
900			};
901
902			gmi-ad2-ad3 {
903				nvidia,pins = "gmi_ad2_pg2",
904					      "gmi_ad3_pg3";
905				nvidia,function = "rsvd1";
906				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
907				nvidia,tristate = <TEGRA_PIN_DISABLE>;
908				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
909			};
910
911			gmi-iordy {
912				nvidia,pins = "gmi_iordy_pi5";
913				nvidia,function = "rsvd2";
914				nvidia,pull = <TEGRA_PIN_PULL_UP>;
915				nvidia,tristate = <TEGRA_PIN_DISABLE>;
916				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
917			};
918
919			gmi-a18 {
920				nvidia,pins = "gmi_a18_pb1";
921				nvidia,function = "rsvd2";
922				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
923				nvidia,tristate = <TEGRA_PIN_ENABLE>;
924				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
925			};
926
927			gmi-wait {
928				nvidia,pins = "gmi_wait_pi7";
929				nvidia,function = "nand";
930				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
931				nvidia,tristate = <TEGRA_PIN_DISABLE>;
932				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
933			};
934
935			gmi-cs6-n {
936				nvidia,pins = "gmi_cs6_n_pi3";
937				nvidia,function = "nand";
938				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
939				nvidia,tristate = <TEGRA_PIN_ENABLE>;
940				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
941			};
942
943			gmi-cs7-n {
944				nvidia,pins = "gmi_cs7_n_pi6";
945				nvidia,function = "nand";
946				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
947				nvidia,tristate = <TEGRA_PIN_DISABLE>;
948				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
949			};
950
951			gmi-dqs-p {
952				nvidia,pins = "gmi_dqs_p_pj3";
953				nvidia,function = "nand";
954				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
955				nvidia,tristate = <TEGRA_PIN_ENABLE>;
956				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
957			};
958
959			gmi-cs2-ad {
960				nvidia,pins = "gmi_cs2_n_pk3",
961					      "gmi_ad14_ph6",
962					      "gmi_ad15_ph7";
963				nvidia,function = "gmi";
964				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
965				nvidia,tristate = <TEGRA_PIN_ENABLE>;
966				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
967			};
968
969			gmi-cs4-clk {
970				nvidia,pins = "gmi_cs4_n_pk2",
971					      "gmi_clk_lb";
972				nvidia,function = "gmi";
973				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
974				nvidia,tristate = <TEGRA_PIN_DISABLE>;
975				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
976			};
977
978			gmi-ad11 {
979				nvidia,pins = "gmi_ad11_ph3";
980				nvidia,function = "gmi";
981				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
982				nvidia,tristate = <TEGRA_PIN_DISABLE>;
983				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
984			};
985
986			gmi-cs1-oe {
987				nvidia,pins = "gmi_cs1_n_pj2",
988					      "gmi_oe_n_pi1";
989				nvidia,function = "soc";
990				nvidia,pull = <TEGRA_PIN_PULL_UP>;
991				nvidia,tristate = <TEGRA_PIN_DISABLE>;
992				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
993			};
994
995			gmi-ad4 {
996				nvidia,pins = "gmi_ad4_pg4";
997				nvidia,function = "rsvd4";
998				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
999				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1000				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1001			};
1002
1003			gmi-ad13 {
1004				nvidia,pins = "gmi_ad13_ph5";
1005				nvidia,function = "rsvd4";
1006				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1007				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1008				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1009			};
1010
1011			gmi-rst-n {
1012				nvidia,pins = "gmi_rst_n_pi4";
1013				nvidia,function = "rsvd4";
1014				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1015				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1016				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1017			};
1018
1019			/* PORT CC */
1020			pcc-gpio {
1021				nvidia,pins = "pcc1", "pcc2";
1022				nvidia,function = "rsvd2";
1023				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1024				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1025				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1026			};
1027
1028			/* PORT BB */
1029			pbb3-gpio {
1030				nvidia,pins = "pbb3";
1031				nvidia,function = "rsvd4";
1032				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1033				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1034				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1035			};
1036
1037			pbb4-5-6-gpio {
1038				nvidia,pins = "pbb4", "pbb5", "pbb6";
1039				nvidia,function = "rsvd4";
1040				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1041				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1042				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1043			};
1044
1045			pbb7-gpio {
1046				nvidia,pins = "pbb7";
1047				nvidia,function = "rsvd2";
1048				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1049				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1050				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1051			};
1052
1053			/* KBC pinmux */
1054			kb-r0-c1 {
1055				nvidia,pins = "kb_row0_pr0",
1056					      "kb_col1_pq1";
1057				nvidia,function = "rsvd2";
1058				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1059				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1060				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1061			};
1062
1063			kb-row4 {
1064				nvidia,pins = "kb_row4_pr4";
1065				nvidia,function = "kbc";
1066				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1067				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1068				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1069			};
1070
1071			kb-row5 {
1072				nvidia,pins = "kb_row5_pr5";
1073				nvidia,function = "kbc";
1074				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1075				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1076				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1077			};
1078
1079			kb-row6 {
1080				nvidia,pins = "kb_row6_pr6";
1081				nvidia,function = "kbc";
1082				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1083				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1084				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1085			};
1086
1087			kb-r8-c3 {
1088				nvidia,pins = "kb_row8_ps0",
1089					      "kb_col3_pq3";
1090				nvidia,function = "kbc";
1091				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1092				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1093				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1094			};
1095
1096			/* VI pinmux */
1097			cam-mclk {
1098				nvidia,pins = "cam_mclk_pcc0",
1099					      "pbb0";
1100				nvidia,function = "vi_alt3";
1101				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1102				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1103				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1104			};
1105
1106			/* AUD pinmux */
1107			gpio-x4-aud {
1108				nvidia,pins = "gpio_x4_aud_px4";
1109				nvidia,function = "rsvd1";
1110				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1111				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1112				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1113			};
1114
1115			gpio-x1-aud {
1116				nvidia,pins = "gpio_x1_aud_px1";
1117				nvidia,function = "rsvd2";
1118				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1119				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1120				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1121			};
1122
1123			gpio-x3-aud {
1124				nvidia,pins = "gpio_x3_aud_px3";
1125				nvidia,function = "rsvd3";
1126				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1127				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1128				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1129			};
1130
1131			gpio-x6-aud {
1132				nvidia,pins = "gpio_x6_aud_px6";
1133				nvidia,function = "rsvd4";
1134				nvidia,pull = <TEGRA_PIN_PULL_UP>;
1135				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1136				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1137			};
1138
1139			usb-vbus {
1140				nvidia,pins = "usb_vbus_en0_pn4",
1141					      "usb_vbus_en1_pn5";
1142				nvidia,function = "rsvd2";
1143				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
1144				nvidia,tristate = <TEGRA_PIN_ENABLE>;
1145				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
1146			};
1147
1148			/* GPIO power/drive control */
1149			drive-sdio1 {
1150				nvidia,pins = "drive_sdio1";
1151				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
1152				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
1153				nvidia,pull-down-strength = <36>;
1154				nvidia,pull-up-strength = <20>;
1155				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOW>;
1156				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOW>;
1157			};
1158
1159			drive-sdio3 {
1160				nvidia,pins = "drive_sdio3";
1161				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
1162				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
1163				nvidia,pull-down-strength = <22>;
1164				nvidia,pull-up-strength = <36>;
1165				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1166				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1167			};
1168
1169			drive-gma {
1170				nvidia,pins = "drive_gma";
1171				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
1172				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
1173				nvidia,pull-down-strength = <2>;
1174				nvidia,pull-up-strength = <2>;
1175				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1176				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
1177			};
1178		};
1179	};
1180
1181	serial@70006040 {
1182		/* GPS */
1183	};
1184
1185	serial@70006200 {
1186		/* Bluetooth */
1187	};
1188
1189	serial@70006300 {
1190		/delete-property/ dmas;
1191		/delete-property/ dma-names;
1192		status = "okay";
1193	};
1194
1195	pwm@7000a000 {
1196		status = "okay";
1197	};
1198
1199	i2c@7000c000 {
1200		status = "okay";
1201		clock-frequency = <100000>;
1202
1203		magnetometer@c {
1204			compatible = "asahi-kasei,ak09911";
1205			reg = <0xc>;
1206
1207			vdd-supply = <&vdd_3v3_sys>;
1208		};
1209
1210		rt5639: audio-codec@1c {
1211			compatible = "realtek,rt5639";
1212			reg = <0x1c>;
1213
1214			interrupt-parent = <&gpio>;
1215			interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
1216
1217			realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
1218		};
1219
1220		temp_sensor: temperature-sensor@4c {
1221			compatible = "onnn,nct1008";
1222			reg = <0x4c>;
1223
1224			vcc-supply = <&vdd_3v3_sys>;
1225			#thermal-sensor-cells = <1>;
1226		};
1227
1228		motion-tracker@68 {
1229			compatible = "invensense,mpu6500";
1230			reg = <0x68>;
1231
1232			interrupt-parent = <&gpio>;
1233			interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
1234
1235			mount-matrix =  "0", "-1", "0",
1236					"1",  "0", "0",
1237					"0",  "0", "1";
1238		};
1239	};
1240
1241	i2c@7000c400 {
1242		status = "okay";
1243		clock-frequency = <100000>;
1244
1245		power-sensor@44 {
1246			compatible = "ti,ina230";
1247			reg = <0x44>;
1248		};
1249	};
1250
1251	i2c@7000c500 {
1252		status = "okay";
1253		clock-frequency = <400000>;
1254
1255		light-sensor@1c {
1256			compatible = "dynaimage,al3320a";
1257			reg = <0x1c>;
1258
1259			vdd-supply = <&vdd_3v3_sys>;
1260		};
1261	};
1262
1263	i2c@7000c700 {
1264		/* HDMI DDC */
1265	};
1266
1267	i2c@7000d000 {
1268		status = "okay";
1269		clock-frequency = <400000>;
1270
1271		palmas: pmic@58 {
1272			compatible = "ti,tps65913", "ti,palmas";
1273			reg = <0x58>;
1274			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1275
1276			#interrupt-cells = <2>;
1277			interrupt-controller;
1278
1279			ti,system-power-controller;
1280
1281			palmas_gpio: gpio {
1282				compatible = "ti,palmas-gpio";
1283				gpio-controller;
1284				#gpio-cells = <2>;
1285			};
1286
1287			pinmux {
1288				compatible = "ti,tps65913-pinctrl";
1289				ti,palmas-enable-dvfs1;
1290
1291				pinctrl-names = "default";
1292				pinctrl-0 = <&palmas_default>;
1293
1294				palmas_default: pinmux {
1295					pin_gpio0 {
1296						pins = "gpio0";
1297						function = "gpio";
1298					};
1299
1300					pin_gpio1 {
1301						pins = "gpio1";
1302						function = "gpio";
1303					};
1304
1305					pin_gpio2 {
1306						pins = "gpio2";
1307						function = "gpio";
1308					};
1309
1310					pin_gpio3 {
1311						pins = "gpio3";
1312						function = "gpio";
1313					};
1314
1315					pin_gpio4 {
1316						pins = "gpio4";
1317						function = "gpio";
1318					};
1319
1320					pin_gpio5 {
1321						pins = "gpio5";
1322						function = "gpio";
1323					};
1324
1325					pin_gpio6 {
1326						pins = "gpio6";
1327						function = "gpio";
1328					};
1329
1330					pin_gpio7 {
1331						pins = "gpio7";
1332						function = "gpio";
1333					};
1334
1335					pin_powergood {
1336						pins = "powergood";
1337						function = "powergood";
1338					};
1339
1340					pin_vac {
1341						pins = "vac";
1342						function = "vac";
1343					};
1344				};
1345			};
1346
1347			pmic {
1348				compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
1349
1350				ldo1-in-supply = <&tps65913_smps7>;
1351				ldo2-in-supply = <&tps65913_smps7>;
1352				ldo4-in-supply = <&tps65913_smps8>;
1353				ldo5-in-supply = <&tps65913_smps9>;
1354				ldo6-in-supply = <&tps65913_smps9>;
1355				ldo7-in-supply = <&tps65913_smps9>;
1356				ldo9-in-supply = <&tps65913_smps9>;
1357
1358				regulators {
1359					tps65913_smps123: smps123 {
1360						regulator-name = "vdd-cpu";
1361						regulator-min-microvolt = <900000>;
1362						regulator-max-microvolt = <1350000>;
1363						regulator-always-on;
1364						regulator-boot-on;
1365						ti,roof-floor = <1>;
1366						ti,mode-sleep = <3>;
1367					};
1368
1369					tps65913_smps45: smps45 {
1370						regulator-name = "vdd-core";
1371						regulator-min-microvolt = <900000>;
1372						regulator-max-microvolt = <1400000>;
1373						regulator-always-on;
1374						regulator-boot-on;
1375						ti,roof-floor = <3>;
1376					};
1377
1378					smps6 {
1379						regulator-name = "va-lcd-hv";
1380						regulator-min-microvolt = <1000000>;
1381						regulator-max-microvolt = <1000000>;
1382						regulator-always-on;
1383						regulator-boot-on;
1384					};
1385
1386					tps65913_smps7: smps7 {
1387						regulator-name = "vdd-ddr";
1388						regulator-min-microvolt = <1350000>;
1389						regulator-max-microvolt = <1350000>;
1390						regulator-always-on;
1391						regulator-boot-on;
1392					};
1393
1394					tps65913_smps8: smps8 {
1395						regulator-name = "vdd-1v8";
1396						regulator-min-microvolt = <1800000>;
1397						regulator-max-microvolt = <1800000>;
1398						regulator-always-on;
1399						regulator-boot-on;
1400					};
1401
1402					tps65913_smps9: smps9 {
1403						regulator-name = "vdd-sd";
1404						regulator-min-microvolt = <2900000>;
1405						regulator-max-microvolt = <2900000>;
1406						regulator-always-on;
1407					};
1408
1409					tps65913_smps10_out1: smps10_out1 {
1410						regulator-name = "vd-smps10-out1";
1411						regulator-min-microvolt = <5000000>;
1412						regulator-max-microvolt = <5000000>;
1413						regulator-always-on;
1414						regulator-boot-on;
1415					};
1416
1417					tps65913_smps10_out2: smps10_out2 {
1418						regulator-name = "vd-smps10-out2";
1419						regulator-min-microvolt = <5000000>;
1420						regulator-max-microvolt = <5000000>;
1421						regulator-always-on;
1422						regulator-boot-on;
1423					};
1424
1425					tps65913_ldo1: ldo1 {
1426						regulator-name = "vdd-hdmi-pll";
1427						regulator-min-microvolt = <1050000>;
1428						regulator-max-microvolt = <1050000>;
1429						regulator-always-on;
1430						ti,roof-floor = <3>;
1431					};
1432
1433					tps65913_ldo2: ldo2 {
1434						regulator-name = "vdd-2v8-dsi-csi";
1435						regulator-min-microvolt = <1200000>;
1436						regulator-max-microvolt = <1200000>;
1437						regulator-boot-on;
1438					};
1439
1440					ldo3 {
1441						regulator-name = "vpp-fuse";
1442						regulator-min-microvolt = <1800000>;
1443						regulator-max-microvolt = <1800000>;
1444					};
1445
1446					ldo4 {
1447						regulator-name = "vdd-1v2-cam";
1448						regulator-min-microvolt = <1200000>;
1449						regulator-max-microvolt = <1200000>;
1450					};
1451
1452					ldo5 {
1453						regulator-name = "vdd-cam";
1454						regulator-min-microvolt = <2800000>;
1455						regulator-max-microvolt = <2800000>;
1456					};
1457
1458					ldo6 {
1459						regulator-name = "vdd-dev";
1460						regulator-min-microvolt = <2850000>;
1461						regulator-max-microvolt = <2850000>;
1462						regulator-boot-on;
1463					};
1464
1465					ldo7 {
1466						regulator-name = "vdd-2v8-cam";
1467						regulator-min-microvolt = <2800000>;
1468						regulator-max-microvolt = <2800000>;
1469					};
1470
1471					tps65913_ldo8: ldo8 {
1472						regulator-name = "vdd-rtc";
1473						regulator-min-microvolt = <950000>;
1474						regulator-max-microvolt = <950000>;
1475						regulator-always-on;
1476						regulator-boot-on;
1477						ti,enable-ldo8-tracking;
1478					};
1479
1480					tps65913_ldo9: ldo9 {
1481						regulator-name = "vdd-sdmmc";
1482						regulator-min-microvolt = <1800000>;
1483						regulator-max-microvolt = <2900000>;
1484					};
1485
1486					tps65913_ldoln: ldoln {
1487						regulator-name = "vdd-hdmi";
1488						regulator-min-microvolt = <3300000>;
1489						regulator-max-microvolt = <3300000>;
1490					};
1491
1492					ldousb {
1493						regulator-name = "vdd-usb";
1494						regulator-min-microvolt = <3300000>;
1495						regulator-max-microvolt = <3300000>;
1496						regulator-always-on;
1497						regulator-boot-on;
1498					};
1499				};
1500			};
1501
1502			rtc {
1503				compatible = "ti,palmas-rtc";
1504				interrupt-parent = <&palmas>;
1505				interrupts = <8 0>;
1506			};
1507		};
1508	};
1509
1510	ahub@70080000 {
1511		i2s@70080300 {
1512			status = "okay";
1513		};
1514	};
1515
1516	mmc@78000000 {
1517		/* WiFi */
1518	};
1519
1520	/* MicroSD card */
1521	mmc@78000400 {
1522		status = "okay";
1523
1524		bus-width = <4>;
1525		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
1526
1527		nvidia,default-tap = <0x3>;
1528		nvidia,default-trim = <0x3>;
1529
1530		vmmc-supply = <&vdd_usd>;
1531		vqmmc-supply = <&tps65913_ldo9>;
1532	};
1533
1534	mmc@78000600 {
1535		/* eMMC */
1536	};
1537
1538	usb@7d000000 {
1539		compatible = "nvidia,tegra114-udc";
1540		status = "okay";
1541		dr_mode = "peripheral";
1542
1543		/* Peripheral USB via ASUS connector */
1544	};
1545
1546	usb-phy@7d000000 {
1547		status = "okay";
1548	};
1549
1550	usb@7d008000 {
1551		status = "okay";
1552
1553		/* Host USB via dock */
1554	};
1555
1556	usb-phy@7d008000 {
1557		status = "okay";
1558		vbus-supply = <&vdd_5v0_sys>;
1559	};
1560
1561	backlight: backlight {
1562		compatible = "pwm-backlight";
1563
1564		enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1565		power-supply = <&vdd_5v0_sys>;
1566		pwms = <&pwm 1 1000000>;
1567
1568		brightness-levels = <1 255>;
1569		num-interpolated-steps = <254>;
1570		default-brightness-level = <224>;
1571	};
1572
1573	/* PMIC has a built-in 32KHz oscillator which is used by PMC */
1574	clk32k_in: clock-32k {
1575		compatible = "fixed-clock";
1576		#clock-cells = <0>;
1577		clock-frequency = <32768>;
1578		clock-output-names = "pmic-oscillator";
1579	};
1580
1581	gpio-hall-sensor {
1582		compatible = "gpio-keys";
1583
1584		label = "GPIO Hall Effect Sensor";
1585
1586		switch-hall-sensor {
1587			label = "Hall Effect Sensor";
1588			gpios = <&gpio TEGRA_GPIO(O, 5) GPIO_ACTIVE_LOW>;
1589			linux,input-type = <EV_SW>;
1590			linux,code = <SW_LID>;
1591			linux,can-disable;
1592			wakeup-source;
1593		};
1594	};
1595
1596	gpio-keys {
1597		compatible = "gpio-keys";
1598
1599		label = "GPIO Buttons";
1600
1601		button-power {
1602			label = "Power";
1603			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
1604			linux,code = <KEY_POWER>;
1605			debounce-interval = <10>;
1606			wakeup-source;
1607		};
1608
1609		button-volume-down {
1610			label = "Volume Down";
1611			gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
1612			linux,code = <KEY_VOLUMEDOWN>;
1613			debounce-interval = <10>;
1614		};
1615
1616		button-volume-up {
1617			label = "Volume Up";
1618			gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
1619			linux,code = <KEY_VOLUMEUP>;
1620			debounce-interval = <10>;
1621		};
1622	};
1623
1624	sound {
1625		compatible = "asus,tegra-audio-rt5639-tf701t",
1626			     "nvidia,tegra-audio-rt5640";
1627		nvidia,model = "Asus Transformer Pad TF701T RT5639";
1628
1629		nvidia,audio-routing =
1630			"Headphones", "HPOR",
1631			"Headphones", "HPOL",
1632			"Speakers", "SPORP",
1633			"Speakers", "SPORN",
1634			"Speakers", "SPOLP",
1635			"Speakers", "SPOLN",
1636			"Mic Jack", "MICBIAS1",
1637			"IN2P", "Mic Jack";
1638
1639		nvidia,i2s-controller = <&tegra_i2s0>;
1640		nvidia,audio-codec = <&rt5639>;
1641
1642		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
1643
1644		clocks = <&tegra_car TEGRA114_CLK_PLL_A>,
1645			 <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
1646			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1647		clock-names = "pll_a", "pll_a_out0", "mclk";
1648
1649		assigned-clocks = <&tegra_car TEGRA114_CLK_EXTERN1>,
1650				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1651
1652		assigned-clock-parents = <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
1653					 <&tegra_car TEGRA114_CLK_EXTERN1>;
1654	};
1655
1656	vdd_5v0_sys: regulator-5v0-sys {
1657		compatible = "regulator-fixed";
1658		regulator-name = "vdd_5v0";
1659		regulator-min-microvolt = <5000000>;
1660		regulator-max-microvolt = <5000000>;
1661		regulator-always-on;
1662		regulator-boot-on;
1663	};
1664
1665	vdd_3v3_sys: regulator-3v3-sys {
1666		compatible = "regulator-fixed";
1667		regulator-name = "vdd_3v3";
1668		regulator-min-microvolt = <3300000>;
1669		regulator-max-microvolt = <3300000>;
1670		regulator-always-on;
1671		regulator-boot-on;
1672	};
1673
1674	vdd_lcd: regulator-vdd-lcd {
1675		compatible = "regulator-fixed";
1676		regulator-name = "vdd_lcd_1v8";
1677		regulator-min-microvolt = <1800000>;
1678		regulator-max-microvolt = <1800000>;
1679		vin-supply = <&tps65913_smps8>;
1680		enable-active-high;
1681		gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
1682		regulator-boot-on;
1683	};
1684
1685	vdd_usd: regulator-vdd-usd {
1686		compatible = "regulator-fixed";
1687		regulator-name = "vdd_sd_slot";
1688		regulator-min-microvolt = <2900000>;
1689		regulator-max-microvolt = <2900000>;
1690		vin-supply = <&tps65913_smps9>;
1691		enable-active-high;
1692		gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
1693	};
1694};
1695