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		asus_pad_ec_default: pinmux-asus-pad-ec-default {
92			ec-interrupt {
93				nvidia,pins = "kb_col5_pq5";
94				nvidia,function = "kbc";
95				nvidia,pull = <TEGRA_PIN_PULL_UP>;
96				nvidia,tristate = <TEGRA_PIN_DISABLE>;
97				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
98			};
99
100			ec-request {
101				nvidia,pins = "kb_col2_pq2";
102				nvidia,function = "kbc";
103				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
104				nvidia,tristate = <TEGRA_PIN_DISABLE>;
105				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
106			};
107		};
108
109		backlight_default: pinmux-backlight-default {
110			backlight-enable {
111				nvidia,pins = "gmi_ad10_ph2";
112				nvidia,function = "gmi";
113				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
114				nvidia,tristate = <TEGRA_PIN_DISABLE>;
115				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
116			};
117		};
118
119		codec_default: pinmux-codec-default {
120			interrupt {
121				nvidia,pins = "gpio_w2_aud_pw2",
122						"gpio_w3_aud_pw3";
123				nvidia,function = "spi6";
124				nvidia,pull = <TEGRA_PIN_PULL_UP>;
125				nvidia,tristate = <TEGRA_PIN_DISABLE>;
126				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
127			};
128
129			ldo1-en {
130				nvidia,pins = "sdmmc1_wp_n_pv3";
131				nvidia,function = "sdmmc1";
132				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133				nvidia,tristate = <TEGRA_PIN_DISABLE>;
134				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
135			};
136		};
137
138		gpio_hall_sensor_default: pinmux-gpio-hall-sensor-default {
139			ulpi_data4_po5 {
140				nvidia,pins = "ulpi_data4_po5";
141				nvidia,function = "spi2";
142				nvidia,pull = <TEGRA_PIN_PULL_UP>;
143				nvidia,tristate = <TEGRA_PIN_DISABLE>;
144				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145			};
146		};
147
148		gpio_keys_default: pinmux-gpio-keys-default {
149			power {
150				nvidia,pins = "kb_col0_pq0";
151				nvidia,function = "kbc";
152				nvidia,pull = <TEGRA_PIN_PULL_UP>;
153				nvidia,tristate = <TEGRA_PIN_ENABLE>;
154				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
155			};
156
157			volume {
158				nvidia,pins = "kb_row1_pr1",
159						"kb_row2_pr2";
160				nvidia,function = "rsvd2";
161				nvidia,pull = <TEGRA_PIN_PULL_UP>;
162				nvidia,tristate = <TEGRA_PIN_ENABLE>;
163				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
164			};
165		};
166
167		hp_det_default: pinmux-hp-det-default {
168			gmi_iordy_pi5 {
169				nvidia,pins = "kb_row7_pr7";
170				nvidia,function = "rsvd2";
171				nvidia,pull = <TEGRA_PIN_PULL_UP>;
172				nvidia,tristate = <TEGRA_PIN_DISABLE>;
173				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
174			};
175		};
176
177		imu_default: pinmux-imu-default {
178			kb_row3_pr3 {
179				nvidia,pins = "kb_row3_pr3";
180				nvidia,function = "rsvd3";
181				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
182				nvidia,tristate = <TEGRA_PIN_DISABLE>;
183				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
184			};
185		};
186
187		pwm_default: pinmux-pwm-default {
188			gmi_ad9_ph1 {
189				nvidia,pins = "gmi_ad9_ph1";
190				nvidia,function = "pwm1";
191				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
192				nvidia,tristate = <TEGRA_PIN_DISABLE>;
193				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
194			};
195		};
196
197		/* XXX make this something more sensible */
198		pwm_sleep: pinmux-pwm-sleep {
199			gmi_ad9_ph1 {
200				nvidia,pins = "gmi_ad9_ph1";
201				nvidia,function = "pwm1";
202				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
203				nvidia,tristate = <TEGRA_PIN_DISABLE>;
204				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
205			};
206		};
207
208		sdmmc3_default: pinmux-sdmmc3-default {
209			drive_sdio3 {
210				nvidia,pins = "drive_sdio3";
211				nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
212				nvidia,schmitt = <TEGRA_PIN_DISABLE>;
213				nvidia,pull-down-strength = <22>;
214				nvidia,pull-up-strength = <36>;
215				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
216				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
217			};
218
219			sdmmc3_clk_pa6 {
220				nvidia,pins = "sdmmc3_clk_pa6";
221				nvidia,function = "sdmmc3";
222				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
223				nvidia,tristate = <TEGRA_PIN_DISABLE>;
224				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
225			};
226
227			sdmmc3_cmd_pa7 {
228				nvidia,pins = "sdmmc3_cmd_pa7",
229						"sdmmc3_dat0_pb7",
230						"sdmmc3_dat1_pb6",
231						"sdmmc3_dat2_pb5",
232						"sdmmc3_dat3_pb4",
233						"kb_col4_pq4",
234						"sdmmc3_clk_lb_out_pee4",
235						"sdmmc3_clk_lb_in_pee5",
236						"sdmmc3_cd_n_pv2";
237				nvidia,function = "sdmmc3";
238				nvidia,pull = <TEGRA_PIN_PULL_UP>;
239				nvidia,tristate = <TEGRA_PIN_DISABLE>;
240				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
241			};
242		};
243
244		sdmmc3_vdd_default: pinmux-sdmmc3-vdd-default {
245			gmi_clk_pk1 {
246				nvidia,pins = "gmi_clk_pk1";
247				nvidia,function = "gmi";
248				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
249				nvidia,tristate = <TEGRA_PIN_DISABLE>;
250				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
251			};
252		};
253
254		vdd_lcd_default: pinmux-vdd-lcd-default {
255			sdmmc4_clk_pcc4 {
256				nvidia,pins = "sdmmc4_clk_pcc4";
257				nvidia,function = "sdmmc4";
258				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
259				nvidia,tristate = <TEGRA_PIN_DISABLE>;
260				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
261			};
262		};
263	};
264
265	serial@70006040 {
266		/* GPS */
267	};
268
269	serial@70006200 {
270		/* Bluetooth */
271	};
272
273	serial@70006300 {
274		/delete-property/ dmas;
275		/delete-property/ dma-names;
276		status = "okay";
277	};
278
279	pwm@7000a000 {
280		status = "okay";
281
282		pinctrl-names = "default", "sleep";
283		pinctrl-0 = <&pwm_default>;
284		pinctrl-1 = <&pwm_sleep>;
285	};
286
287	i2c@7000c000 {
288		status = "okay";
289		clock-frequency = <100000>;
290
291		magnetometer@c {
292			compatible = "asahi-kasei,ak09911";
293			reg = <0xc>;
294
295			vdd-supply = <&vdd_3v3_sys>;
296		};
297
298		rt5639: audio-codec@1c {
299			compatible = "realtek,rt5639";
300			reg = <0x1c>;
301
302			interrupt-parent = <&gpio>;
303			interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
304
305			realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
306
307			pinctrl-names = "default";
308			pinctrl-0 = <&codec_default>;
309		};
310
311		temp_sensor: temperature-sensor@4c {
312			compatible = "onnn,nct1008";
313			reg = <0x4c>;
314
315			vcc-supply = <&vdd_3v3_sys>;
316			#thermal-sensor-cells = <1>;
317		};
318
319		motion-tracker@68 {
320			compatible = "invensense,mpu6500";
321			reg = <0x68>;
322
323			interrupt-parent = <&gpio>;
324			interrupts = <TEGRA_GPIO(R, 3) IRQ_TYPE_LEVEL_HIGH>;
325
326			mount-matrix =  "0", "-1", "0",
327					"1",  "0", "0",
328					"0",  "0", "1";
329
330			pinctrl-names = "default";
331			pinctrl-0 = <&imu_default>;
332		};
333	};
334
335	i2c@7000c400 {
336		status = "okay";
337		clock-frequency = <100000>;
338
339		power-sensor@44 {
340			compatible = "ti,ina230";
341			reg = <0x44>;
342		};
343	};
344
345	i2c@7000c500 {
346		status = "okay";
347		clock-frequency = <400000>;
348
349		light-sensor@1c {
350			compatible = "dynaimage,al3320a";
351			reg = <0x1c>;
352
353			vdd-supply = <&vdd_3v3_sys>;
354		};
355	};
356
357	i2c@7000c700 {
358		/* HDMI DDC */
359	};
360
361	i2c@7000d000 {
362		status = "okay";
363		clock-frequency = <400000>;
364
365		palmas: pmic@58 {
366			compatible = "ti,tps65913", "ti,palmas";
367			reg = <0x58>;
368			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
369
370			#interrupt-cells = <2>;
371			interrupt-controller;
372
373			ti,system-power-controller;
374
375			palmas_gpio: gpio {
376				compatible = "ti,palmas-gpio";
377				gpio-controller;
378				#gpio-cells = <2>;
379			};
380
381			pinmux {
382				compatible = "ti,tps65913-pinctrl";
383				ti,palmas-enable-dvfs1;
384
385				pinctrl-names = "default";
386				pinctrl-0 = <&palmas_default>;
387
388				palmas_default: pinmux {
389					pin_gpio0 {
390						pins = "gpio0";
391						function = "gpio";
392					};
393
394					pin_gpio1 {
395						pins = "gpio1";
396						function = "gpio";
397					};
398
399					pin_gpio2 {
400						pins = "gpio2";
401						function = "gpio";
402					};
403
404					pin_gpio3 {
405						pins = "gpio3";
406						function = "gpio";
407					};
408
409					pin_gpio4 {
410						pins = "gpio4";
411						function = "gpio";
412					};
413
414					pin_gpio5 {
415						pins = "gpio5";
416						function = "gpio";
417					};
418
419					pin_gpio6 {
420						pins = "gpio6";
421						function = "gpio";
422					};
423
424					pin_gpio7 {
425						pins = "gpio7";
426						function = "gpio";
427					};
428
429					pin_powergood {
430						pins = "powergood";
431						function = "powergood";
432					};
433
434					pin_vac {
435						pins = "vac";
436						function = "vac";
437					};
438				};
439			};
440
441			pmic {
442				compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
443
444				ldo1-in-supply = <&tps65913_smps7>;
445				ldo2-in-supply = <&tps65913_smps7>;
446				ldo4-in-supply = <&tps65913_smps8>;
447				ldo5-in-supply = <&tps65913_smps9>;
448				ldo6-in-supply = <&tps65913_smps9>;
449				ldo7-in-supply = <&tps65913_smps9>;
450				ldo9-in-supply = <&tps65913_smps9>;
451
452				regulators {
453					tps65913_smps123: smps123 {
454						regulator-name = "vdd-cpu";
455						regulator-min-microvolt = <900000>;
456						regulator-max-microvolt = <1350000>;
457						regulator-always-on;
458						regulator-boot-on;
459						ti,roof-floor = <1>;
460						ti,mode-sleep = <3>;
461					};
462
463					tps65913_smps45: smps45 {
464						regulator-name = "vdd-core";
465						regulator-min-microvolt = <900000>;
466						regulator-max-microvolt = <1400000>;
467						regulator-always-on;
468						regulator-boot-on;
469						ti,roof-floor = <3>;
470					};
471
472					smps6 {
473						regulator-name = "va-lcd-hv";
474						regulator-min-microvolt = <1000000>;
475						regulator-max-microvolt = <1000000>;
476						regulator-always-on;
477						regulator-boot-on;
478					};
479
480					tps65913_smps7: smps7 {
481						regulator-name = "vdd-ddr";
482						regulator-min-microvolt = <1350000>;
483						regulator-max-microvolt = <1350000>;
484						regulator-always-on;
485						regulator-boot-on;
486					};
487
488					tps65913_smps8: smps8 {
489						regulator-name = "vdd-1v8";
490						regulator-min-microvolt = <1800000>;
491						regulator-max-microvolt = <1800000>;
492						regulator-always-on;
493						regulator-boot-on;
494					};
495
496					tps65913_smps9: smps9 {
497						regulator-name = "vdd-sd";
498						regulator-min-microvolt = <2900000>;
499						regulator-max-microvolt = <2900000>;
500						regulator-always-on;
501					};
502
503					tps65913_smps10_out1: smps10_out1 {
504						regulator-name = "vd-smps10-out1";
505						regulator-min-microvolt = <5000000>;
506						regulator-max-microvolt = <5000000>;
507						regulator-always-on;
508						regulator-boot-on;
509					};
510
511					tps65913_smps10_out2: smps10_out2 {
512						regulator-name = "vd-smps10-out2";
513						regulator-min-microvolt = <5000000>;
514						regulator-max-microvolt = <5000000>;
515						regulator-always-on;
516						regulator-boot-on;
517					};
518
519					tps65913_ldo1: ldo1 {
520						regulator-name = "vdd-hdmi-pll";
521						regulator-min-microvolt = <1050000>;
522						regulator-max-microvolt = <1050000>;
523						regulator-always-on;
524						ti,roof-floor = <3>;
525					};
526
527					tps65913_ldo2: ldo2 {
528						regulator-name = "vdd-2v8-dsi-csi";
529						regulator-min-microvolt = <1200000>;
530						regulator-max-microvolt = <1200000>;
531						regulator-boot-on;
532					};
533
534					ldo3 {
535						regulator-name = "vpp-fuse";
536						regulator-min-microvolt = <1800000>;
537						regulator-max-microvolt = <1800000>;
538					};
539
540					ldo4 {
541						regulator-name = "vdd-1v2-cam";
542						regulator-min-microvolt = <1200000>;
543						regulator-max-microvolt = <1200000>;
544					};
545
546					ldo5 {
547						regulator-name = "vdd-cam";
548						regulator-min-microvolt = <2800000>;
549						regulator-max-microvolt = <2800000>;
550					};
551
552					ldo6 {
553						regulator-name = "vdd-dev";
554						regulator-min-microvolt = <2850000>;
555						regulator-max-microvolt = <2850000>;
556						regulator-boot-on;
557					};
558
559					ldo7 {
560						regulator-name = "vdd-2v8-cam";
561						regulator-min-microvolt = <2800000>;
562						regulator-max-microvolt = <2800000>;
563					};
564
565					tps65913_ldo8: ldo8 {
566						regulator-name = "vdd-rtc";
567						regulator-min-microvolt = <950000>;
568						regulator-max-microvolt = <950000>;
569						regulator-always-on;
570						regulator-boot-on;
571						ti,enable-ldo8-tracking;
572					};
573
574					tps65913_ldo9: ldo9 {
575						regulator-name = "vdd-sdmmc";
576						regulator-min-microvolt = <1800000>;
577						regulator-max-microvolt = <2900000>;
578					};
579
580					tps65913_ldoln: ldoln {
581						regulator-name = "vdd-hdmi";
582						regulator-min-microvolt = <3300000>;
583						regulator-max-microvolt = <3300000>;
584					};
585
586					ldousb {
587						regulator-name = "vdd-usb";
588						regulator-min-microvolt = <3300000>;
589						regulator-max-microvolt = <3300000>;
590						regulator-always-on;
591						regulator-boot-on;
592					};
593				};
594			};
595
596			rtc {
597				compatible = "ti,palmas-rtc";
598				interrupt-parent = <&palmas>;
599				interrupts = <8 0>;
600			};
601		};
602	};
603
604	ahub@70080000 {
605		i2s@70080300 {
606			status = "okay";
607		};
608	};
609
610	mmc@78000000 {
611		/* WiFi */
612	};
613
614	/* MicroSD card */
615	mmc@78000400 {
616		status = "okay";
617
618		bus-width = <4>;
619		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
620
621		nvidia,default-tap = <0x3>;
622		nvidia,default-trim = <0x3>;
623
624		vmmc-supply = <&vdd_usd>;
625		vqmmc-supply = <&tps65913_ldo9>;
626
627		pinctrl-names = "default";
628		pinctrl-0 = <&sdmmc3_default>;
629	};
630
631	mmc@78000600 {
632		/* eMMC */
633	};
634
635	usb@7d000000 {
636		compatible = "nvidia,tegra114-udc";
637		status = "okay";
638		dr_mode = "peripheral";
639
640		/* Peripheral USB via ASUS connector */
641	};
642
643	usb-phy@7d000000 {
644		status = "okay";
645	};
646
647	usb@7d008000 {
648		status = "okay";
649
650		/* Host USB via dock */
651	};
652
653	usb-phy@7d008000 {
654		status = "okay";
655		vbus-supply = <&vdd_5v0_sys>;
656	};
657
658	backlight: backlight {
659		compatible = "pwm-backlight";
660
661		enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
662		power-supply = <&vdd_5v0_sys>;
663		pwms = <&pwm 1 1000000>;
664
665		brightness-levels = <1 255>;
666		num-interpolated-steps = <254>;
667		default-brightness-level = <224>;
668
669		pinctrl-names = "default";
670		pinctrl-0 = <&backlight_default>;
671	};
672
673	/* PMIC has a built-in 32KHz oscillator which is used by PMC */
674	clk32k_in: clock-32k {
675		compatible = "fixed-clock";
676		#clock-cells = <0>;
677		clock-frequency = <32768>;
678		clock-output-names = "pmic-oscillator";
679	};
680
681	gpio-hall-sensor {
682		compatible = "gpio-keys";
683
684		label = "GPIO Hall Effect Sensor";
685
686		pinctrl-names = "default";
687		pinctrl-0 = <&gpio_hall_sensor_default>;
688
689		switch-hall-sensor {
690			label = "Hall Effect Sensor";
691			gpios = <&gpio TEGRA_GPIO(O, 5) GPIO_ACTIVE_LOW>;
692			linux,input-type = <EV_SW>;
693			linux,code = <SW_LID>;
694			linux,can-disable;
695			wakeup-source;
696		};
697	};
698
699	gpio-keys {
700		compatible = "gpio-keys";
701
702		label = "GPIO Buttons";
703
704		pinctrl-names = "default";
705		pinctrl-0 = <&gpio_keys_default>;
706
707		button-power {
708			label = "Power";
709			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
710			linux,code = <KEY_POWER>;
711			debounce-interval = <10>;
712			wakeup-source;
713		};
714
715		button-volume-down {
716			label = "Volume Down";
717			gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
718			linux,code = <KEY_VOLUMEDOWN>;
719			debounce-interval = <10>;
720		};
721
722		button-volume-up {
723			label = "Volume Up";
724			gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
725			linux,code = <KEY_VOLUMEUP>;
726			debounce-interval = <10>;
727		};
728	};
729
730	sound {
731		compatible = "asus,tegra-audio-rt5639-tf701t",
732			     "nvidia,tegra-audio-rt5640";
733		nvidia,model = "Asus Transformer Pad TF701T RT5639";
734
735		nvidia,audio-routing =
736			"Headphones", "HPOR",
737			"Headphones", "HPOL",
738			"Speakers", "SPORP",
739			"Speakers", "SPORN",
740			"Speakers", "SPOLP",
741			"Speakers", "SPOLN",
742			"Mic Jack", "MICBIAS1",
743			"IN2P", "Mic Jack";
744
745		nvidia,i2s-controller = <&tegra_i2s0>;
746		nvidia,audio-codec = <&rt5639>;
747
748		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_LOW>;
749
750		clocks = <&tegra_car TEGRA114_CLK_PLL_A>,
751			 <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
752			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
753		clock-names = "pll_a", "pll_a_out0", "mclk";
754
755		assigned-clocks = <&tegra_car TEGRA114_CLK_EXTERN1>,
756				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
757
758		assigned-clock-parents = <&tegra_car TEGRA114_CLK_PLL_A_OUT0>,
759					 <&tegra_car TEGRA114_CLK_EXTERN1>;
760
761		pinctrl-names = "default";
762		pinctrl-0 = <&hp_det_default>;
763	};
764
765	vdd_5v0_sys: regulator-5v0-sys {
766		compatible = "regulator-fixed";
767		regulator-name = "vdd_5v0";
768		regulator-min-microvolt = <5000000>;
769		regulator-max-microvolt = <5000000>;
770		regulator-always-on;
771		regulator-boot-on;
772	};
773
774	vdd_3v3_sys: regulator-3v3-sys {
775		compatible = "regulator-fixed";
776		regulator-name = "vdd_3v3";
777		regulator-min-microvolt = <3300000>;
778		regulator-max-microvolt = <3300000>;
779		regulator-always-on;
780		regulator-boot-on;
781	};
782
783	vdd_lcd: regulator-vdd-lcd {
784		compatible = "regulator-fixed";
785		regulator-name = "vdd_lcd_1v8";
786		regulator-min-microvolt = <1800000>;
787		regulator-max-microvolt = <1800000>;
788		vin-supply = <&tps65913_smps8>;
789		enable-active-high;
790		gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
791		regulator-boot-on;
792
793		pinctrl-names = "default";
794		pinctrl-0 = <&vdd_lcd_default>;
795	};
796
797	vdd_usd: regulator-vdd-usd {
798		compatible = "regulator-fixed";
799		regulator-name = "vdd_sd_slot";
800		regulator-min-microvolt = <2900000>;
801		regulator-max-microvolt = <2900000>;
802		vin-supply = <&tps65913_smps9>;
803		enable-active-high;
804		gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
805
806		pinctrl-names = "default";
807		pinctrl-0 = <&sdmmc3_vdd_default>;
808	};
809};
810