xref: /freebsd/sys/contrib/device-tree/src/arm/nvidia/tegra124-venice2.dts (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include <dt-bindings/input/input.h>
5#include "tegra124.dtsi"
6
7/ {
8	model = "NVIDIA Tegra124 Venice2";
9	compatible = "nvidia,venice2", "nvidia,tegra124";
10
11	aliases {
12		rtc0 = "/i2c@7000d000/pmic@40";
13		rtc1 = "/rtc@7000e000";
14		serial0 = &uarta;
15	};
16
17	chosen {
18		stdout-path = "serial0:115200n8";
19	};
20
21	memory@80000000 {
22		reg = <0x0 0x80000000 0x0 0x80000000>;
23	};
24
25	host1x@50000000 {
26		hdmi@54280000 {
27			status = "okay";
28
29			vdd-supply = <&vdd_3v3_hdmi>;
30			pll-supply = <&vdd_hdmi_pll>;
31			hdmi-supply = <&vdd_5v0_hdmi>;
32
33			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
34			nvidia,hpd-gpio =
35				<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
36		};
37
38		sor@54540000 {
39			status = "okay";
40
41			avdd-io-hdmi-dp-supply = <&vdd_1v05_run>;
42			vdd-hdmi-dp-pll-supply = <&vdd_3v3_run>;
43
44			nvidia,dpaux = <&dpaux>;
45			nvidia,panel = <&panel>;
46		};
47
48		dpaux@545c0000 {
49			vdd-supply = <&vdd_3v3_panel>;
50			status = "okay";
51
52			aux-bus {
53				panel: panel {
54					compatible = "lg,lp129qe";
55					power-supply = <&vdd_3v3_panel>;
56					backlight = <&backlight>;
57				};
58			};
59		};
60	};
61
62	gpu@57000000 {
63		/*
64		 * Node left disabled on purpose - the bootloader will enable
65		 * it after having set the VPR up
66		 */
67		vdd-supply = <&vdd_gpu>;
68	};
69
70	pinmux: pinmux@70000868 {
71		pinctrl-names = "boot";
72		pinctrl-0 = <&pinmux_boot>;
73
74		pinmux_boot: pinmux {
75			dap_mclk1_pw4 {
76				nvidia,pins = "dap_mclk1_pw4";
77				nvidia,function = "extperiph1";
78				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
79				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
80				nvidia,tristate = <TEGRA_PIN_DISABLE>;
81			};
82			dap1_din_pn1 {
83				nvidia,pins = "dap1_din_pn1";
84				nvidia,function = "i2s0";
85				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
86				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
87				nvidia,tristate = <TEGRA_PIN_ENABLE>;
88			};
89			dap1_dout_pn2 {
90				nvidia,pins = "dap1_dout_pn2",
91					      "dap1_fs_pn0",
92					      "dap1_sclk_pn3";
93				nvidia,function = "i2s0";
94				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
95				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
96				nvidia,tristate = <TEGRA_PIN_ENABLE>;
97			};
98			dap2_din_pa4 {
99				nvidia,pins = "dap2_din_pa4";
100				nvidia,function = "i2s1";
101				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
102				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
103				nvidia,tristate = <TEGRA_PIN_DISABLE>;
104			};
105			dap2_dout_pa5 {
106				nvidia,pins = "dap2_dout_pa5",
107					      "dap2_fs_pa2",
108					      "dap2_sclk_pa3";
109				nvidia,function = "i2s1";
110				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
111				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
112				nvidia,tristate = <TEGRA_PIN_DISABLE>;
113			};
114			dvfs_pwm_px0 {
115				nvidia,pins = "dvfs_pwm_px0",
116					      "dvfs_clk_px2";
117				nvidia,function = "cldvfs";
118				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
119				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
120				nvidia,tristate = <TEGRA_PIN_DISABLE>;
121			};
122			ulpi_clk_py0 {
123				nvidia,pins = "ulpi_clk_py0",
124					      "ulpi_nxt_py2",
125					      "ulpi_stp_py3";
126				nvidia,function = "spi1";
127				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
128				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
129				nvidia,tristate = <TEGRA_PIN_DISABLE>;
130			};
131			ulpi_dir_py1 {
132				nvidia,pins = "ulpi_dir_py1";
133				nvidia,function = "spi1";
134				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
135				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
136				nvidia,tristate = <TEGRA_PIN_DISABLE>;
137			};
138			cam_i2c_scl_pbb1 {
139				nvidia,pins = "cam_i2c_scl_pbb1",
140					      "cam_i2c_sda_pbb2";
141				nvidia,function = "i2c3";
142				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
143				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
144				nvidia,tristate = <TEGRA_PIN_DISABLE>;
145				nvidia,lock = <TEGRA_PIN_DISABLE>;
146				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
147			};
148			gen2_i2c_scl_pt5 {
149				nvidia,pins = "gen2_i2c_scl_pt5",
150					      "gen2_i2c_sda_pt6";
151				nvidia,function = "i2c2";
152				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
153				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
154				nvidia,tristate = <TEGRA_PIN_DISABLE>;
155				nvidia,lock = <TEGRA_PIN_DISABLE>;
156				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
157			};
158			pg4 {
159				nvidia,pins = "pg4",
160					      "pg5",
161					      "pg6",
162					      "pi3";
163				nvidia,function = "spi4";
164				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
165				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
166				nvidia,tristate = <TEGRA_PIN_DISABLE>;
167			};
168			pg7 {
169				nvidia,pins = "pg7";
170				nvidia,function = "spi4";
171				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
172				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
173				nvidia,tristate = <TEGRA_PIN_DISABLE>;
174			};
175			ph1 {
176				nvidia,pins = "ph1";
177				nvidia,function = "pwm1";
178				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
179				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
180				nvidia,tristate = <TEGRA_PIN_DISABLE>;
181			};
182			pk0 {
183				nvidia,pins = "pk0",
184					      "kb_row15_ps7",
185					      "clk_32k_out_pa0";
186				nvidia,function = "soc";
187				nvidia,pull = <TEGRA_PIN_PULL_UP>;
188				nvidia,tristate = <TEGRA_PIN_DISABLE>;
189				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
190			};
191			sdmmc1_clk_pz0 {
192				nvidia,pins = "sdmmc1_clk_pz0";
193				nvidia,function = "sdmmc1";
194				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
195				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
196				nvidia,tristate = <TEGRA_PIN_DISABLE>;
197			};
198			sdmmc1_cmd_pz1 {
199				nvidia,pins = "sdmmc1_cmd_pz1",
200					      "sdmmc1_dat0_py7",
201					      "sdmmc1_dat1_py6",
202					      "sdmmc1_dat2_py5",
203					      "sdmmc1_dat3_py4";
204				nvidia,function = "sdmmc1";
205				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
206				nvidia,pull = <TEGRA_PIN_PULL_UP>;
207				nvidia,tristate = <TEGRA_PIN_DISABLE>;
208			};
209			sdmmc3_clk_pa6 {
210				nvidia,pins = "sdmmc3_clk_pa6";
211				nvidia,function = "sdmmc3";
212				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
213				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
214				nvidia,tristate = <TEGRA_PIN_DISABLE>;
215			};
216			sdmmc3_cmd_pa7 {
217				nvidia,pins = "sdmmc3_cmd_pa7",
218					      "sdmmc3_dat0_pb7",
219					      "sdmmc3_dat1_pb6",
220					      "sdmmc3_dat2_pb5",
221					      "sdmmc3_dat3_pb4",
222					      "sdmmc3_clk_lb_out_pee4",
223					      "sdmmc3_clk_lb_in_pee5";
224				nvidia,function = "sdmmc3";
225				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
226				nvidia,pull = <TEGRA_PIN_PULL_UP>;
227				nvidia,tristate = <TEGRA_PIN_DISABLE>;
228			};
229			sdmmc4_clk_pcc4 {
230				nvidia,pins = "sdmmc4_clk_pcc4";
231				nvidia,function = "sdmmc4";
232				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
233				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
234				nvidia,tristate = <TEGRA_PIN_DISABLE>;
235			};
236			sdmmc4_cmd_pt7 {
237				nvidia,pins = "sdmmc4_cmd_pt7",
238					      "sdmmc4_dat0_paa0",
239					      "sdmmc4_dat1_paa1",
240					      "sdmmc4_dat2_paa2",
241					      "sdmmc4_dat3_paa3",
242					      "sdmmc4_dat4_paa4",
243					      "sdmmc4_dat5_paa5",
244					      "sdmmc4_dat6_paa6",
245					      "sdmmc4_dat7_paa7";
246				nvidia,function = "sdmmc4";
247				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
248				nvidia,pull = <TEGRA_PIN_PULL_UP>;
249				nvidia,tristate = <TEGRA_PIN_DISABLE>;
250			};
251			pwr_i2c_scl_pz6 {
252				nvidia,pins = "pwr_i2c_scl_pz6",
253					      "pwr_i2c_sda_pz7";
254				nvidia,function = "i2cpwr";
255				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
256				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
257				nvidia,tristate = <TEGRA_PIN_DISABLE>;
258				nvidia,lock = <TEGRA_PIN_DISABLE>;
259				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
260			};
261			jtag_rtck {
262				nvidia,pins = "jtag_rtck";
263				nvidia,function = "rtck";
264				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
265				nvidia,pull = <TEGRA_PIN_PULL_UP>;
266				nvidia,tristate = <TEGRA_PIN_DISABLE>;
267			};
268			clk_32k_in {
269				nvidia,pins = "clk_32k_in";
270				nvidia,function = "clk";
271				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
272				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
273				nvidia,tristate = <TEGRA_PIN_DISABLE>;
274			};
275			core_pwr_req {
276				nvidia,pins = "core_pwr_req";
277				nvidia,function = "pwron";
278				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
279				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
280				nvidia,tristate = <TEGRA_PIN_DISABLE>;
281			};
282			cpu_pwr_req {
283				nvidia,pins = "cpu_pwr_req";
284				nvidia,function = "cpu";
285				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
286				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
287				nvidia,tristate = <TEGRA_PIN_DISABLE>;
288			};
289			pwr_int_n {
290				nvidia,pins = "pwr_int_n";
291				nvidia,function = "pmi";
292				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
293				nvidia,pull = <TEGRA_PIN_PULL_UP>;
294				nvidia,tristate = <TEGRA_PIN_DISABLE>;
295			};
296			reset_out_n {
297				nvidia,pins = "reset_out_n";
298				nvidia,function = "reset_out_n";
299				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
300				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
301				nvidia,tristate = <TEGRA_PIN_DISABLE>;
302			};
303			clk3_out_pee0 {
304				nvidia,pins = "clk3_out_pee0";
305				nvidia,function = "extperiph3";
306				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
307				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
308				nvidia,tristate = <TEGRA_PIN_DISABLE>;
309			};
310			dap4_din_pp5 {
311				nvidia,pins = "dap4_din_pp5";
312				nvidia,function = "i2s3";
313				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
314				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
315				nvidia,tristate = <TEGRA_PIN_ENABLE>;
316			};
317			dap4_dout_pp6 {
318				nvidia,pins = "dap4_dout_pp6",
319					      "dap4_fs_pp4",
320					      "dap4_sclk_pp7";
321				nvidia,function = "i2s3";
322				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
323				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
324				nvidia,tristate = <TEGRA_PIN_ENABLE>;
325			};
326			gen1_i2c_sda_pc5 {
327				nvidia,pins = "gen1_i2c_sda_pc5",
328					      "gen1_i2c_scl_pc4";
329				nvidia,function = "i2c1";
330				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
331				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
332				nvidia,tristate = <TEGRA_PIN_DISABLE>;
333				nvidia,lock = <TEGRA_PIN_DISABLE>;
334				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
335			};
336			uart2_cts_n_pj5 {
337				nvidia,pins = "uart2_cts_n_pj5";
338				nvidia,function = "uartb";
339				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
340				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
341				nvidia,tristate = <TEGRA_PIN_DISABLE>;
342			};
343			uart2_rts_n_pj6 {
344				nvidia,pins = "uart2_rts_n_pj6";
345				nvidia,function = "uartb";
346				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
347				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
348				nvidia,tristate = <TEGRA_PIN_DISABLE>;
349			};
350			uart2_rxd_pc3 {
351				nvidia,pins = "uart2_rxd_pc3";
352				nvidia,function = "irda";
353				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
354				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
355				nvidia,tristate = <TEGRA_PIN_DISABLE>;
356			};
357			uart2_txd_pc2 {
358				nvidia,pins = "uart2_txd_pc2";
359				nvidia,function = "irda";
360				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
361				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
362				nvidia,tristate = <TEGRA_PIN_DISABLE>;
363			};
364			uart3_cts_n_pa1 {
365				nvidia,pins = "uart3_cts_n_pa1",
366					      "uart3_rxd_pw7";
367				nvidia,function = "uartc";
368				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
369				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
370				nvidia,tristate = <TEGRA_PIN_DISABLE>;
371			};
372			uart3_rts_n_pc0 {
373				nvidia,pins = "uart3_rts_n_pc0",
374					      "uart3_txd_pw6";
375				nvidia,function = "uartc";
376				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
377				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
378				nvidia,tristate = <TEGRA_PIN_DISABLE>;
379			};
380			hdmi_cec_pee3 {
381				nvidia,pins = "hdmi_cec_pee3";
382				nvidia,function = "cec";
383				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
384				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
385				nvidia,tristate = <TEGRA_PIN_DISABLE>;
386				nvidia,lock = <TEGRA_PIN_DISABLE>;
387				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
388			};
389			hdmi_int_pn7 {
390				nvidia,pins = "hdmi_int_pn7";
391				nvidia,function = "rsvd1";
392				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
393				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
394				nvidia,tristate = <TEGRA_PIN_DISABLE>;
395			};
396			ddc_scl_pv4 {
397				nvidia,pins = "ddc_scl_pv4",
398					      "ddc_sda_pv5";
399				nvidia,function = "i2c4";
400				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
401				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
402				nvidia,tristate = <TEGRA_PIN_DISABLE>;
403				nvidia,lock = <TEGRA_PIN_DISABLE>;
404				nvidia,rcv-sel = <TEGRA_PIN_ENABLE>;
405			};
406			pj7 {
407				nvidia,pins = "pj7",
408					      "pk7";
409				nvidia,function = "uartd";
410				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
411				nvidia,tristate = <TEGRA_PIN_DISABLE>;
412				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
413			};
414			pb0 {
415				nvidia,pins = "pb0",
416					      "pb1";
417				nvidia,function = "uartd";
418				nvidia,pull = <TEGRA_PIN_PULL_UP>;
419				nvidia,tristate = <TEGRA_PIN_DISABLE>;
420				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
421			};
422			ph0 {
423				nvidia,pins = "ph0";
424				nvidia,function = "pwm0";
425				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
426				nvidia,tristate = <TEGRA_PIN_DISABLE>;
427				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
428			};
429			kb_row10_ps2 {
430				nvidia,pins = "kb_row10_ps2";
431				nvidia,function = "uarta";
432				nvidia,pull = <TEGRA_PIN_PULL_UP>;
433				nvidia,tristate = <TEGRA_PIN_DISABLE>;
434				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
435			};
436			kb_row9_ps1 {
437				nvidia,pins = "kb_row9_ps1";
438				nvidia,function = "uarta";
439				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
440				nvidia,tristate = <TEGRA_PIN_DISABLE>;
441				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
442			};
443			kb_row6_pr6 {
444				nvidia,pins = "kb_row6_pr6";
445				nvidia,function = "displaya_alt";
446				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
447				nvidia,tristate = <TEGRA_PIN_DISABLE>;
448				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
449			};
450			usb_vbus_en0_pn4 {
451				nvidia,pins = "usb_vbus_en0_pn4",
452					      "usb_vbus_en1_pn5";
453				nvidia,function = "usb";
454				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
455				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
456				nvidia,tristate = <TEGRA_PIN_DISABLE>;
457				nvidia,lock = <TEGRA_PIN_DISABLE>;
458				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
459			};
460			drive_sdio1 {
461				nvidia,pins = "drive_sdio1";
462				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
463				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
464				nvidia,pull-down-strength = <32>;
465				nvidia,pull-up-strength = <42>;
466				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
467				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
468			};
469			drive_sdio3 {
470				nvidia,pins = "drive_sdio3";
471				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
472				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
473				nvidia,pull-down-strength = <20>;
474				nvidia,pull-up-strength = <36>;
475				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
476				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
477			};
478			drive_gma {
479				nvidia,pins = "drive_gma";
480				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
481				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
482				nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
483				nvidia,pull-down-strength = <1>;
484				nvidia,pull-up-strength = <2>;
485				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
486				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
487				nvidia,drive-type = <1>;
488			};
489			als_irq_l {
490				nvidia,pins = "gpio_x3_aud_px3";
491				nvidia,function = "gmi";
492				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
493				nvidia,tristate = <TEGRA_PIN_ENABLE>;
494				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
495			};
496			codec_irq_l {
497				nvidia,pins = "ph4";
498				nvidia,function = "gmi";
499				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
500				nvidia,tristate = <TEGRA_PIN_DISABLE>;
501				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
502			};
503			lcd_bl_en {
504				nvidia,pins = "ph2";
505				nvidia,function = "gmi";
506				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
507				nvidia,tristate = <TEGRA_PIN_DISABLE>;
508				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
509			};
510			touch_irq_l {
511				nvidia,pins = "gpio_w3_aud_pw3";
512				nvidia,function = "spi6";
513				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
514				nvidia,tristate = <TEGRA_PIN_ENABLE>;
515				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
516			};
517			tpm_davint_l {
518				nvidia,pins = "ph6";
519				nvidia,function = "gmi";
520				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
521				nvidia,tristate = <TEGRA_PIN_ENABLE>;
522				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
523			};
524			ts_irq_l {
525				nvidia,pins = "pk2";
526				nvidia,function = "gmi";
527				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
528				nvidia,tristate = <TEGRA_PIN_ENABLE>;
529				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
530			};
531			ts_reset_l {
532				nvidia,pins = "pk4";
533				nvidia,function = "gmi";
534				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
535				nvidia,tristate = <TEGRA_PIN_DISABLE>;
536				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
537			};
538			ts_shdn_l {
539				nvidia,pins = "pk1";
540				nvidia,function = "gmi";
541				nvidia,pull = <TEGRA_PIN_PULL_UP>;
542				nvidia,tristate = <TEGRA_PIN_DISABLE>;
543				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
544			};
545			ph7 {
546				nvidia,pins = "ph7";
547				nvidia,function = "gmi";
548				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
549				nvidia,tristate = <TEGRA_PIN_DISABLE>;
550				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
551			};
552			kb_col0_ap {
553				nvidia,pins = "kb_col0_pq0";
554				nvidia,function = "rsvd4";
555				nvidia,pull = <TEGRA_PIN_PULL_UP>;
556				nvidia,tristate = <TEGRA_PIN_DISABLE>;
557				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
558			};
559			lid_open {
560				nvidia,pins = "kb_row4_pr4";
561				nvidia,function = "rsvd3";
562				nvidia,pull = <TEGRA_PIN_PULL_UP>;
563				nvidia,tristate = <TEGRA_PIN_DISABLE>;
564				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
565			};
566			en_vdd_sd {
567				nvidia,pins = "kb_row0_pr0";
568				nvidia,function = "rsvd4";
569				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
570				nvidia,tristate = <TEGRA_PIN_DISABLE>;
571				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
572			};
573			ac_ok {
574				nvidia,pins = "pj0";
575				nvidia,function = "gmi";
576				nvidia,pull = <TEGRA_PIN_PULL_UP>;
577				nvidia,tristate = <TEGRA_PIN_ENABLE>;
578				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
579			};
580			sensor_irq_l {
581				nvidia,pins = "pi6";
582				nvidia,function = "gmi";
583				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
584				nvidia,tristate = <TEGRA_PIN_DISABLE>;
585				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
586			};
587			wifi_en {
588				nvidia,pins = "gpio_x7_aud_px7";
589				nvidia,function = "rsvd4";
590				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
591				nvidia,tristate = <TEGRA_PIN_DISABLE>;
592				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
593			};
594			wifi_rst_l {
595				nvidia,pins = "clk2_req_pcc5";
596				nvidia,function = "dap";
597				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
598				nvidia,tristate = <TEGRA_PIN_DISABLE>;
599				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
600			};
601			hp_det_l {
602				nvidia,pins = "ulpi_data1_po2";
603				nvidia,function = "spi3";
604				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
605				nvidia,tristate = <TEGRA_PIN_DISABLE>;
606				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
607			};
608		};
609	};
610
611	serial@70006000 {
612		/delete-property/ dmas;
613		/delete-property/ dma-names;
614		status = "okay";
615	};
616
617	pwm@7000a000 {
618		status = "okay";
619	};
620
621	i2c@7000c000 {
622		status = "okay";
623		clock-frequency = <100000>;
624
625		acodec: audio-codec@10 {
626			compatible = "maxim,max98090";
627			reg = <0x10>;
628			interrupt-parent = <&gpio>;
629			interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
630		};
631	};
632
633	i2c@7000c400 {
634		status = "okay";
635		clock-frequency = <100000>;
636
637		trackpad@4b {
638			compatible = "atmel,maxtouch";
639			reg = <0x4b>;
640			interrupt-parent = <&gpio>;
641			interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
642			linux,gpio-keymap = <0 0 0 BTN_LEFT>;
643		};
644	};
645
646	i2c@7000c500 {
647		status = "okay";
648		clock-frequency = <100000>;
649	};
650
651	hdmi_ddc: i2c@7000c700 {
652		status = "okay";
653		clock-frequency = <100000>;
654	};
655
656	i2c@7000d000 {
657		status = "okay";
658		clock-frequency = <400000>;
659
660		pmic: pmic@40 {
661			compatible = "ams,as3722";
662			reg = <0x40>;
663			interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
664
665			ams,system-power-controller;
666
667			#interrupt-cells = <2>;
668			interrupt-controller;
669
670			gpio-controller;
671			#gpio-cells = <2>;
672
673			pinctrl-names = "default";
674			pinctrl-0 = <&as3722_default>;
675
676			as3722_default: pinmux {
677				gpio0 {
678					pins = "gpio0";
679					function = "gpio";
680					bias-pull-down;
681				};
682
683				gpio1_2_4_7 {
684					pins = "gpio1", "gpio2", "gpio4", "gpio7";
685					function = "gpio";
686					bias-pull-up;
687				};
688
689				gpio3_6 {
690					pins = "gpio3", "gpio6";
691					bias-high-impedance;
692				};
693
694				gpio5 {
695					pins = "gpio5";
696					function = "clk32k-out";
697				};
698			};
699
700			regulators {
701				vsup-sd2-supply = <&vdd_5v0_sys>;
702				vsup-sd3-supply = <&vdd_5v0_sys>;
703				vsup-sd4-supply = <&vdd_5v0_sys>;
704				vsup-sd5-supply = <&vdd_5v0_sys>;
705				vin-ldo0-supply = <&vdd_1v35_lp0>;
706				vin-ldo1-6-supply = <&vdd_3v3_run>;
707				vin-ldo2-5-7-supply = <&vddio_1v8>;
708				vin-ldo3-4-supply = <&vdd_3v3_sys>;
709				vin-ldo9-10-supply = <&vdd_5v0_sys>;
710				vin-ldo11-supply = <&vdd_3v3_run>;
711
712				sd0 {
713					regulator-name = "+VDD_CPU_AP";
714					regulator-min-microvolt = <700000>;
715					regulator-max-microvolt = <1400000>;
716					regulator-min-microamp = <3500000>;
717					regulator-max-microamp = <3500000>;
718					regulator-always-on;
719					regulator-boot-on;
720					ams,ext-control = <2>;
721				};
722
723				sd1 {
724					regulator-name = "+VDD_CORE";
725					regulator-min-microvolt = <700000>;
726					regulator-max-microvolt = <1350000>;
727					regulator-min-microamp = <2500000>;
728					regulator-max-microamp = <2500000>;
729					regulator-always-on;
730					regulator-boot-on;
731					ams,ext-control = <1>;
732				};
733
734				vdd_1v35_lp0: sd2 {
735					regulator-name = "+1.35V_LP0(sd2)";
736					regulator-min-microvolt = <1350000>;
737					regulator-max-microvolt = <1350000>;
738					regulator-always-on;
739					regulator-boot-on;
740				};
741
742				sd3 {
743					regulator-name = "+1.35V_LP0(sd3)";
744					regulator-min-microvolt = <1350000>;
745					regulator-max-microvolt = <1350000>;
746					regulator-always-on;
747					regulator-boot-on;
748				};
749
750				vdd_1v05_run: sd4 {
751					regulator-name = "+1.05V_RUN";
752					regulator-min-microvolt = <1050000>;
753					regulator-max-microvolt = <1050000>;
754				};
755
756				vddio_1v8: sd5 {
757					regulator-name = "+1.8V_VDDIO";
758					regulator-min-microvolt = <1800000>;
759					regulator-max-microvolt = <1800000>;
760					regulator-boot-on;
761					regulator-always-on;
762				};
763
764				vdd_gpu: sd6 {
765					regulator-name = "+VDD_GPU_AP";
766					regulator-min-microvolt = <650000>;
767					regulator-max-microvolt = <1200000>;
768					regulator-min-microamp = <3500000>;
769					regulator-max-microamp = <3500000>;
770					regulator-boot-on;
771					regulator-always-on;
772				};
773
774				avdd_1v05_run: ldo0 {
775					regulator-name = "+1.05V_RUN_AVDD";
776					regulator-min-microvolt = <1050000>;
777					regulator-max-microvolt = <1050000>;
778					regulator-boot-on;
779					regulator-always-on;
780					ams,ext-control = <1>;
781				};
782
783				ldo1 {
784					regulator-name = "+1.8V_RUN_CAM";
785					regulator-min-microvolt = <1800000>;
786					regulator-max-microvolt = <1800000>;
787				};
788
789				ldo2 {
790					regulator-name = "+1.2V_GEN_AVDD";
791					regulator-min-microvolt = <1200000>;
792					regulator-max-microvolt = <1200000>;
793					regulator-boot-on;
794					regulator-always-on;
795				};
796
797				ldo3 {
798					regulator-name = "+1.00V_LP0_VDD_RTC";
799					regulator-min-microvolt = <1000000>;
800					regulator-max-microvolt = <1000000>;
801					regulator-boot-on;
802					regulator-always-on;
803					ams,enable-tracking;
804				};
805
806				vdd_run_cam: ldo4 {
807					regulator-name = "+3.3V_RUN_CAM";
808					regulator-min-microvolt = <2800000>;
809					regulator-max-microvolt = <2800000>;
810				};
811
812				ldo5 {
813					regulator-name = "+1.2V_RUN_CAM_FRONT";
814					regulator-min-microvolt = <1200000>;
815					regulator-max-microvolt = <1200000>;
816				};
817
818				vddio_sdmmc3: ldo6 {
819					regulator-name = "+VDDIO_SDMMC3";
820					regulator-min-microvolt = <1800000>;
821					regulator-max-microvolt = <3300000>;
822				};
823
824				ldo7 {
825					regulator-name = "+1.05V_RUN_CAM_REAR";
826					regulator-min-microvolt = <1050000>;
827					regulator-max-microvolt = <1050000>;
828				};
829
830				ldo9 {
831					regulator-name = "+2.8V_RUN_TOUCH";
832					regulator-min-microvolt = <2800000>;
833					regulator-max-microvolt = <2800000>;
834				};
835
836				ldo10 {
837					regulator-name = "+2.8V_RUN_CAM_AF";
838					regulator-min-microvolt = <2800000>;
839					regulator-max-microvolt = <2800000>;
840				};
841
842				ldo11 {
843					regulator-name = "+1.8V_RUN_VPP_FUSE";
844					regulator-min-microvolt = <1800000>;
845					regulator-max-microvolt = <1800000>;
846				};
847			};
848		};
849	};
850
851	spi@7000d400 {
852		status = "okay";
853
854		cros_ec: cros-ec@0 {
855			compatible = "google,cros-ec-spi";
856			spi-max-frequency = <4000000>;
857			interrupt-parent = <&gpio>;
858			interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
859			reg = <0>;
860
861			google,cros-ec-spi-msg-delay = <2000>;
862
863			i2c-tunnel {
864				compatible = "google,cros-ec-i2c-tunnel";
865				#address-cells = <1>;
866				#size-cells = <0>;
867
868				google,remote-bus = <0>;
869
870				charger: bq24735@9 {
871					compatible = "ti,bq24735";
872					reg = <0x9>;
873					interrupt-parent = <&gpio>;
874					interrupts = <TEGRA_GPIO(J, 0)
875							IRQ_TYPE_EDGE_BOTH>;
876					ti,ac-detect-gpios = <&gpio
877							TEGRA_GPIO(J, 0)
878							GPIO_ACTIVE_HIGH>;
879				};
880
881				battery: sbs-battery@b {
882					compatible = "sbs,sbs-battery";
883					reg = <0xb>;
884					sbs,i2c-retry-count = <2>;
885					sbs,poll-retry-count = <1>;
886				};
887			};
888		};
889	};
890
891	spi@7000da00 {
892		status = "okay";
893		spi-max-frequency = <25000000>;
894
895		flash@0 {
896			compatible = "winbond,w25q32dw", "jedec,spi-nor";
897			reg = <0>;
898			spi-max-frequency = <20000000>;
899		};
900	};
901
902	pmc@7000e400 {
903		nvidia,invert-interrupt;
904		nvidia,suspend-mode = <1>;
905		nvidia,cpu-pwr-good-time = <500>;
906		nvidia,cpu-pwr-off-time = <300>;
907		nvidia,core-pwr-good-time = <641 3845>;
908		nvidia,core-pwr-off-time = <61036>;
909		nvidia,core-power-req-active-high;
910		nvidia,sys-clock-req-active-high;
911	};
912
913	hda@70030000 {
914		status = "okay";
915	};
916
917	usb@70090000 {
918		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
919		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
920		       <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
921		       <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
922		       <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
923		phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
924
925		avddio-pex-supply = <&vdd_1v05_run>;
926		dvddio-pex-supply = <&vdd_1v05_run>;
927		avdd-usb-supply = <&vdd_3v3_lp0>;
928		avdd-pll-utmip-supply = <&vddio_1v8>;
929		avdd-pll-erefe-supply = <&avdd_1v05_run>;
930		avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
931		hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
932		hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
933
934		status = "okay";
935	};
936
937	padctl@7009f000 {
938		avdd-pll-utmip-supply = <&vddio_1v8>;
939		avdd-pll-erefe-supply = <&avdd_1v05_run>;
940		avdd-pex-pll-supply = <&vdd_1v05_run>;
941		hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
942
943		pads {
944			usb2 {
945				status = "okay";
946
947				lanes {
948					usb2-0 {
949						nvidia,function = "xusb";
950						status = "okay";
951					};
952
953					usb2-1 {
954						nvidia,function = "xusb";
955						status = "okay";
956					};
957
958					usb2-2 {
959						nvidia,function = "xusb";
960						status = "okay";
961					};
962				};
963			};
964
965			pcie {
966				status = "okay";
967
968				lanes {
969					pcie-0 {
970						nvidia,function = "usb3-ss";
971						status = "okay";
972					};
973
974					pcie-1 {
975						nvidia,function = "usb3-ss";
976						status = "okay";
977					};
978				};
979			};
980		};
981
982		ports {
983			usb2-0 {
984				status = "okay";
985				mode = "otg";
986				usb-role-switch;
987				vbus-supply = <&vdd_usb1_vbus>;
988			};
989
990			usb2-1 {
991				status = "okay";
992				mode = "host";
993
994				vbus-supply = <&vdd_run_cam>;
995			};
996
997			usb2-2 {
998				status = "okay";
999				mode = "host";
1000
1001				vbus-supply = <&vdd_usb3_vbus>;
1002			};
1003
1004			usb3-0 {
1005				nvidia,usb2-companion = <0>;
1006				status = "okay";
1007			};
1008
1009			usb3-1 {
1010				nvidia,usb2-companion = <2>;
1011				status = "okay";
1012			};
1013		};
1014	};
1015
1016	mmc@700b0400 {
1017		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
1018		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
1019		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
1020		status = "okay";
1021		bus-width = <4>;
1022		vqmmc-supply = <&vddio_sdmmc3>;
1023	};
1024
1025	mmc@700b0600 {
1026		status = "okay";
1027		bus-width = <8>;
1028		non-removable;
1029	};
1030
1031	ahub@70300000 {
1032		i2s@70301100 {
1033			status = "okay";
1034		};
1035	};
1036
1037	usb@7d000000 {
1038		status = "okay";
1039	};
1040
1041	usb-phy@7d000000 {
1042		status = "okay";
1043		vbus-supply = <&vdd_usb1_vbus>;
1044	};
1045
1046	usb@7d004000 {
1047		status = "okay";
1048	};
1049
1050	usb-phy@7d004000 {
1051		status = "okay";
1052		vbus-supply = <&vdd_run_cam>;
1053	};
1054
1055	usb@7d008000 {
1056		status = "okay";
1057	};
1058
1059	usb-phy@7d008000 {
1060		status = "okay";
1061		vbus-supply = <&vdd_usb3_vbus>;
1062	};
1063
1064	backlight: backlight {
1065		compatible = "pwm-backlight";
1066
1067		enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
1068		power-supply = <&vdd_led>;
1069		pwms = <&pwm 1 1000000>;
1070
1071		brightness-levels = <0 4 8 16 32 64 128 255>;
1072		default-brightness-level = <6>;
1073	};
1074
1075	clk32k_in: clock-32k {
1076		compatible = "fixed-clock";
1077		clock-frequency = <32768>;
1078		#clock-cells = <0>;
1079	};
1080
1081	gpio-keys {
1082		compatible = "gpio-keys";
1083
1084		key-power {
1085			label = "Power";
1086			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
1087			linux,code = <KEY_POWER>;
1088			debounce-interval = <10>;
1089			wakeup-source;
1090		};
1091	};
1092
1093	vdd_mux: regulator-mux {
1094		compatible = "regulator-fixed";
1095		regulator-name = "+VDD_MUX";
1096		regulator-min-microvolt = <12000000>;
1097		regulator-max-microvolt = <12000000>;
1098		regulator-always-on;
1099		regulator-boot-on;
1100	};
1101
1102	vdd_5v0_sys: regulator-5v0sys {
1103		compatible = "regulator-fixed";
1104		regulator-name = "+5V_SYS";
1105		regulator-min-microvolt = <5000000>;
1106		regulator-max-microvolt = <5000000>;
1107		regulator-always-on;
1108		regulator-boot-on;
1109		vin-supply = <&vdd_mux>;
1110	};
1111
1112	vdd_3v3_sys: regulator-3v3sys {
1113		compatible = "regulator-fixed";
1114		regulator-name = "+3.3V_SYS";
1115		regulator-min-microvolt = <3300000>;
1116		regulator-max-microvolt = <3300000>;
1117		regulator-always-on;
1118		regulator-boot-on;
1119		vin-supply = <&vdd_mux>;
1120	};
1121
1122	vdd_3v3_run: regulator-3v3run {
1123		compatible = "regulator-fixed";
1124		regulator-name = "+3.3V_RUN";
1125		regulator-min-microvolt = <3300000>;
1126		regulator-max-microvolt = <3300000>;
1127		regulator-always-on;
1128		regulator-boot-on;
1129		gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1130		enable-active-high;
1131		vin-supply = <&vdd_3v3_sys>;
1132	};
1133
1134	vdd_3v3_hdmi: regulator-hdmi {
1135		compatible = "regulator-fixed";
1136		regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1137		regulator-min-microvolt = <3300000>;
1138		regulator-max-microvolt = <3300000>;
1139		vin-supply = <&vdd_3v3_run>;
1140	};
1141
1142	vdd_led: regulator-led {
1143		compatible = "regulator-fixed";
1144		regulator-name = "+VDD_LED";
1145		regulator-min-microvolt = <3300000>;
1146		regulator-max-microvolt = <3300000>;
1147		gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
1148		enable-active-high;
1149		vin-supply = <&vdd_mux>;
1150	};
1151
1152	vdd_5v0_ts: regulator-ts {
1153		compatible = "regulator-fixed";
1154		regulator-name = "+5V_VDD_TS_SW";
1155		regulator-min-microvolt = <5000000>;
1156		regulator-max-microvolt = <5000000>;
1157		regulator-boot-on;
1158		gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
1159		enable-active-high;
1160		vin-supply = <&vdd_5v0_sys>;
1161	};
1162
1163	vdd_usb1_vbus: regulator-usb1 {
1164		compatible = "regulator-fixed";
1165		regulator-name = "+5V_USB_HS";
1166		regulator-min-microvolt = <5000000>;
1167		regulator-max-microvolt = <5000000>;
1168		gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1169		enable-active-high;
1170		gpio-open-drain;
1171		vin-supply = <&vdd_5v0_sys>;
1172	};
1173
1174	vdd_usb3_vbus: regulator-usb3 {
1175		compatible = "regulator-fixed";
1176		regulator-name = "+5V_USB_SS";
1177		regulator-min-microvolt = <5000000>;
1178		regulator-max-microvolt = <5000000>;
1179		gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1180		enable-active-high;
1181		gpio-open-drain;
1182		vin-supply = <&vdd_5v0_sys>;
1183	};
1184
1185	vdd_3v3_panel: regulator-panel {
1186		compatible = "regulator-fixed";
1187		regulator-name = "+3.3V_PANEL";
1188		regulator-min-microvolt = <3300000>;
1189		regulator-max-microvolt = <3300000>;
1190		gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
1191		enable-active-high;
1192		vin-supply = <&vdd_3v3_run>;
1193	};
1194
1195	vdd_3v3_lp0: regulator-lp0 {
1196		compatible = "regulator-fixed";
1197		regulator-name = "+3.3V_LP0";
1198		regulator-min-microvolt = <3300000>;
1199		regulator-max-microvolt = <3300000>;
1200		/*
1201		 * TODO: find a way to wire this up with the USB EHCI
1202		 * controllers so that it can be enabled on demand.
1203		 */
1204		regulator-always-on;
1205		gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1206		enable-active-high;
1207		vin-supply = <&vdd_3v3_sys>;
1208	};
1209
1210	vdd_hdmi_pll: regulator-hdmipll {
1211		compatible = "regulator-fixed";
1212		regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
1213		regulator-min-microvolt = <1050000>;
1214		regulator-max-microvolt = <1050000>;
1215		gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
1216		vin-supply = <&vdd_1v05_run>;
1217	};
1218
1219	vdd_5v0_hdmi: regulator-hdmicon {
1220		compatible = "regulator-fixed";
1221		regulator-name = "+5V_HDMI_CON";
1222		regulator-min-microvolt = <5000000>;
1223		regulator-max-microvolt = <5000000>;
1224		gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
1225		enable-active-high;
1226		vin-supply = <&vdd_5v0_sys>;
1227	};
1228
1229	sound {
1230		compatible = "nvidia,tegra-audio-max98090-venice2",
1231			     "nvidia,tegra-audio-max98090";
1232		nvidia,model = "NVIDIA Tegra Venice2";
1233
1234		nvidia,audio-routing =
1235			"Headphones", "HPR",
1236			"Headphones", "HPL",
1237			"Speakers", "SPKR",
1238			"Speakers", "SPKL",
1239			"Mic Jack", "MICBIAS",
1240			"IN34", "Mic Jack";
1241
1242		nvidia,i2s-controller = <&tegra_i2s1>;
1243		nvidia,audio-codec = <&acodec>;
1244
1245		clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
1246			 <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1247			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1248		clock-names = "pll_a", "pll_a_out0", "mclk";
1249
1250		assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>,
1251				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1252
1253		assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
1254					 <&tegra_car TEGRA124_CLK_EXTERN1>;
1255	};
1256};
1257
1258#include "../cros-ec-keyboard.dtsi"
1259