4b978aaa50cfd83d20c8febc14d6005f7375a55d
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / tegra124-nyan.dtsi
1 #include <dt-bindings/input/input.h>
2 #include "tegra124.dtsi"
3
4 / {
5         aliases {
6                 rtc0 = "/i2c@0,7000d000/pmic@40";
7                 rtc1 = "/rtc@0,7000e000";
8                 serial0 = &uarta;
9         };
10
11         memory {
12                 reg = <0x0 0x80000000 0x0 0x80000000>;
13         };
14
15         host1x@0,50000000 {
16                 hdmi@0,54280000 {
17                         status = "okay";
18
19                         vdd-supply = <&vdd_3v3_hdmi>;
20                         pll-supply = <&vdd_hdmi_pll>;
21                         hdmi-supply = <&vdd_5v0_hdmi>;
22
23                         nvidia,ddc-i2c-bus = <&hdmi_ddc>;
24                         nvidia,hpd-gpio =
25                                 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
26                 };
27
28                 sor@0,54540000 {
29                         status = "okay";
30
31                         nvidia,dpaux = <&dpaux>;
32                         nvidia,panel = <&panel>;
33                 };
34
35                 dpaux@0,545c0000 {
36                         vdd-supply = <&vdd_3v3_panel>;
37                         status = "okay";
38                 };
39         };
40
41         serial@0,70006000 {
42                 /* Debug connector on the bottom of the board near SD card. */
43                 status = "okay";
44         };
45
46         pwm@0,7000a000 {
47                 status = "okay";
48         };
49
50         i2c@0,7000c000 {
51                 status = "okay";
52                 clock-frequency = <100000>;
53
54                 acodec: audio-codec@10 {
55                         compatible = "maxim,max98090";
56                         reg = <0x10>;
57                         interrupt-parent = <&gpio>;
58                         interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
59                 };
60
61                 temperature-sensor@4c {
62                         compatible = "ti,tmp451";
63                         reg = <0x4c>;
64                         interrupt-parent = <&gpio>;
65                         interrupts = <TEGRA_GPIO(I, 6) IRQ_TYPE_LEVEL_LOW>;
66
67                         #thermal-sensor-cells = <1>;
68                 };
69         };
70
71         i2c@0,7000c400 {
72                 status = "okay";
73                 clock-frequency = <100000>;
74
75                 trackpad@15 {
76                         compatible = "elan,ekth3000";
77                         reg = <0x15>;
78                         interrupt-parent = <&gpio>;
79                         interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
80                         wakeup-source;
81                 };
82         };
83
84         i2c@0,7000c500 {
85                 status = "okay";
86                 clock-frequency = <400000>;
87
88                 tpm@20 {
89                         compatible = "infineon,slb9645tt";
90                         reg = <0x20>;
91                 };
92         };
93
94         hdmi_ddc: i2c@0,7000c700 {
95                 status = "okay";
96                 clock-frequency = <100000>;
97         };
98
99         i2c@0,7000d000 {
100                 status = "okay";
101                 clock-frequency = <400000>;
102
103                 pmic: pmic@40 {
104                         compatible = "ams,as3722";
105                         reg = <0x40>;
106                         interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
107
108                         ams,system-power-controller;
109
110                         #interrupt-cells = <2>;
111                         interrupt-controller;
112
113                         gpio-controller;
114                         #gpio-cells = <2>;
115
116                         pinctrl-names = "default";
117                         pinctrl-0 = <&as3722_default>;
118
119                         as3722_default: pinmux {
120                                 gpio0 {
121                                         pins = "gpio0";
122                                         function = "gpio";
123                                         bias-pull-down;
124                                 };
125
126                                 gpio1 {
127                                         pins = "gpio1";
128                                         function = "gpio";
129                                         bias-pull-up;
130                                 };
131
132                                 gpio2_4_7 {
133                                         pins = "gpio2", "gpio4", "gpio7";
134                                         function = "gpio";
135                                         bias-pull-up;
136                                 };
137
138                                 gpio3_6 {
139                                         pins = "gpio3", "gpio6";
140                                         bias-high-impedance;
141                                 };
142
143                                 gpio5 {
144                                         pins = "gpio5";
145                                         function = "clk32k-out";
146                                         bias-pull-down;
147                                 };
148                         };
149
150                         regulators {
151                                 vsup-sd2-supply = <&vdd_5v0_sys>;
152                                 vsup-sd3-supply = <&vdd_5v0_sys>;
153                                 vsup-sd4-supply = <&vdd_5v0_sys>;
154                                 vsup-sd5-supply = <&vdd_5v0_sys>;
155                                 vin-ldo0-supply = <&vdd_1v35_lp0>;
156                                 vin-ldo1-6-supply = <&vdd_3v3_run>;
157                                 vin-ldo2-5-7-supply = <&vddio_1v8>;
158                                 vin-ldo3-4-supply = <&vdd_3v3_sys>;
159                                 vin-ldo9-10-supply = <&vdd_5v0_sys>;
160                                 vin-ldo11-supply = <&vdd_3v3_run>;
161
162                                 vdd_cpu: sd0 {
163                                         regulator-name = "+VDD_CPU_AP";
164                                         regulator-min-microvolt = <700000>;
165                                         regulator-max-microvolt = <1350000>;
166                                         regulator-min-microamp = <3500000>;
167                                         regulator-max-microamp = <3500000>;
168                                         regulator-always-on;
169                                         regulator-boot-on;
170                                         ams,ext-control = <2>;
171                                 };
172
173                                 sd1 {
174                                         regulator-name = "+VDD_CORE";
175                                         regulator-min-microvolt = <700000>;
176                                         regulator-max-microvolt = <1350000>;
177                                         regulator-min-microamp = <2500000>;
178                                         regulator-max-microamp = <4000000>;
179                                         regulator-always-on;
180                                         regulator-boot-on;
181                                         ams,ext-control = <1>;
182                                 };
183
184                                 vdd_1v35_lp0: sd2 {
185                                         regulator-name = "+1.35V_LP0(sd2)";
186                                         regulator-min-microvolt = <1350000>;
187                                         regulator-max-microvolt = <1350000>;
188                                         regulator-always-on;
189                                         regulator-boot-on;
190                                 };
191
192                                 sd3 {
193                                         regulator-name = "+1.35V_LP0(sd3)";
194                                         regulator-min-microvolt = <1350000>;
195                                         regulator-max-microvolt = <1350000>;
196                                         regulator-always-on;
197                                         regulator-boot-on;
198                                 };
199
200                                 vdd_1v05_run: sd4 {
201                                         regulator-name = "+1.05V_RUN";
202                                         regulator-min-microvolt = <1050000>;
203                                         regulator-max-microvolt = <1050000>;
204                                 };
205
206                                 vddio_1v8: sd5 {
207                                         regulator-name = "+1.8V_VDDIO";
208                                         regulator-min-microvolt = <1800000>;
209                                         regulator-max-microvolt = <1800000>;
210                                         regulator-always-on;
211                                 };
212
213                                 sd6 {
214                                         regulator-name = "+VDD_GPU_AP";
215                                         regulator-min-microvolt = <650000>;
216                                         regulator-max-microvolt = <1200000>;
217                                         regulator-min-microamp = <3500000>;
218                                         regulator-max-microamp = <3500000>;
219                                         regulator-boot-on;
220                                         regulator-always-on;
221                                 };
222
223                                 avdd_1v05_run: ldo0 {
224                                         regulator-name = "+1.05V_RUN_AVDD";
225                                         regulator-min-microvolt = <1050000>;
226                                         regulator-max-microvolt = <1050000>;
227                                         regulator-boot-on;
228                                         regulator-always-on;
229                                         ams,ext-control = <1>;
230                                 };
231
232                                 ldo1 {
233                                         regulator-name = "+1.8V_RUN_CAM";
234                                         regulator-min-microvolt = <1800000>;
235                                         regulator-max-microvolt = <1800000>;
236                                 };
237
238                                 ldo2 {
239                                         regulator-name = "+1.2V_GEN_AVDD";
240                                         regulator-min-microvolt = <1200000>;
241                                         regulator-max-microvolt = <1200000>;
242                                         regulator-boot-on;
243                                         regulator-always-on;
244                                 };
245
246                                 ldo3 {
247                                         regulator-name = "+1.00V_LP0_VDD_RTC";
248                                         regulator-min-microvolt = <1000000>;
249                                         regulator-max-microvolt = <1000000>;
250                                         regulator-boot-on;
251                                         regulator-always-on;
252                                         ams,enable-tracking;
253                                 };
254
255                                 vdd_run_cam: ldo4 {
256                                         regulator-name = "+3.3V_RUN_CAM";
257                                         regulator-min-microvolt = <2800000>;
258                                         regulator-max-microvolt = <2800000>;
259                                 };
260
261                                 ldo5 {
262                                         regulator-name = "+1.2V_RUN_CAM_FRONT";
263                                         regulator-min-microvolt = <1200000>;
264                                         regulator-max-microvolt = <1200000>;
265                                 };
266
267                                 vddio_sdmmc3: ldo6 {
268                                         regulator-name = "+VDDIO_SDMMC3";
269                                         regulator-min-microvolt = <1800000>;
270                                         regulator-max-microvolt = <3300000>;
271                                 };
272
273                                 ldo7 {
274                                         regulator-name = "+1.05V_RUN_CAM_REAR";
275                                         regulator-min-microvolt = <1050000>;
276                                         regulator-max-microvolt = <1050000>;
277                                 };
278
279                                 ldo9 {
280                                         regulator-name = "+2.8V_RUN_TOUCH";
281                                         regulator-min-microvolt = <2800000>;
282                                         regulator-max-microvolt = <2800000>;
283                                 };
284
285                                 ldo10 {
286                                         regulator-name = "+2.8V_RUN_CAM_AF";
287                                         regulator-min-microvolt = <2800000>;
288                                         regulator-max-microvolt = <2800000>;
289                                 };
290
291                                 ldo11 {
292                                         regulator-name = "+1.8V_RUN_VPP_FUSE";
293                                         regulator-min-microvolt = <1800000>;
294                                         regulator-max-microvolt = <1800000>;
295                                 };
296                         };
297                 };
298         };
299
300         spi@0,7000d400 {
301                 status = "okay";
302
303                 cros_ec: cros-ec@0 {
304                         compatible = "google,cros-ec-spi";
305                         spi-max-frequency = <3000000>;
306                         interrupt-parent = <&gpio>;
307                         interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
308                         reg = <0>;
309
310                         google,cros-ec-spi-msg-delay = <2000>;
311
312                         i2c-tunnel {
313                                 compatible = "google,cros-ec-i2c-tunnel";
314                                 #address-cells = <1>;
315                                 #size-cells = <0>;
316
317                                 google,remote-bus = <0>;
318
319                                 charger: bq24735@9 {
320                                         compatible = "ti,bq24735";
321                                         reg = <0x9>;
322                                         interrupt-parent = <&gpio>;
323                                         interrupts = <TEGRA_GPIO(J, 0)
324                                                         GPIO_ACTIVE_HIGH>;
325                                         ti,ac-detect-gpios = <&gpio
326                                                         TEGRA_GPIO(J, 0)
327                                                         GPIO_ACTIVE_HIGH>;
328                                 };
329
330                                 battery: sbs-battery@b {
331                                         compatible = "sbs,sbs-battery";
332                                         reg = <0xb>;
333                                         sbs,i2c-retry-count = <2>;
334                                         sbs,poll-retry-count = <10>;
335                                         power-supplies = <&charger>;
336                                 };
337                         };
338                 };
339         };
340
341         spi@0,7000da00 {
342                 status = "okay";
343                 spi-max-frequency = <25000000>;
344
345                 flash@0 {
346                         compatible = "winbond,w25q32dw";
347                         spi-max-frequency = <25000000>;
348                         reg = <0>;
349                 };
350         };
351
352         pmc@0,7000e400 {
353                 nvidia,invert-interrupt;
354                 nvidia,suspend-mode = <0>;
355                 nvidia,cpu-pwr-good-time = <500>;
356                 nvidia,cpu-pwr-off-time = <300>;
357                 nvidia,core-pwr-good-time = <641 3845>;
358                 nvidia,core-pwr-off-time = <61036>;
359                 nvidia,core-power-req-active-high;
360                 nvidia,sys-clock-req-active-high;
361         };
362
363         hda@0,70030000 {
364                 status = "okay";
365         };
366
367         usb@0,70090000 {
368                 phys = <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */
369                        <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */
370                        <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */
371                        <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */
372                        <&{/padctl@0,7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */
373                 phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1";
374
375                 avddio-pex-supply = <&vdd_1v05_run>;
376                 dvddio-pex-supply = <&vdd_1v05_run>;
377                 avdd-usb-supply = <&vdd_3v3_lp0>;
378                 avdd-pll-utmip-supply = <&vddio_1v8>;
379                 avdd-pll-erefe-supply = <&avdd_1v05_run>;
380                 avdd-usb-ss-pll-supply = <&vdd_1v05_run>;
381                 hvdd-usb-ss-supply = <&vdd_3v3_lp0>;
382                 hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>;
383
384                 status = "okay";
385         };
386
387         padctl@0,7009f000 {
388                 status = "okay";
389
390                 pads {
391                         usb2 {
392                                 status = "okay";
393
394                                 lanes {
395                                         usb2-0 {
396                                                 nvidia,function = "xusb";
397                                                 status = "okay";
398                                         };
399
400                                         usb2-1 {
401                                                 nvidia,function = "xusb";
402                                                 status = "okay";
403                                         };
404
405                                         usb2-2 {
406                                                 nvidia,function = "xusb";
407                                                 status = "okay";
408                                         };
409                                 };
410                         };
411
412                         pcie {
413                                 status = "okay";
414
415                                 lanes {
416                                         pcie-0 {
417                                                 nvidia,function = "usb3-ss";
418                                                 status = "okay";
419                                         };
420
421                                         pcie-1 {
422                                                 nvidia,function = "usb3-ss";
423                                                 status = "okay";
424                                         };
425                                 };
426                         };
427                 };
428
429                 ports {
430                         usb2-0 {
431                                 vbus-supply = <&vdd_usb1_vbus>;
432                                 status = "okay";
433                                 mode = "otg";
434                         };
435
436                         usb2-1 {
437                                 vbus-supply = <&vdd_run_cam>;
438                                 status = "okay";
439                                 mode = "host";
440                         };
441
442                         usb2-2 {
443                                 vbus-supply = <&vdd_usb3_vbus>;
444                                 status = "okay";
445                                 mode = "host";
446                         };
447
448                         usb3-0 {
449                                 nvidia,usb2-companion = <0>;
450                                 status = "okay";
451                         };
452
453                         usb3-1 {
454                                 nvidia,usb2-companion = <1>;
455                                 status = "okay";
456                         };
457                 };
458         };
459
460         sdhci0_pwrseq: sdhci0_pwrseq {
461                 compatible = "mmc-pwrseq-simple";
462
463                 reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
464         };
465
466         sdhci@0,700b0000 { /* WiFi/BT on this bus */
467                 status = "okay";
468                 bus-width = <4>;
469                 no-1-8-v;
470                 non-removable;
471                 mmc-pwrseq = <&sdhci0_pwrseq>;
472                 vmmc-supply = <&vdd_3v3_lp0>;
473                 vqmmc-supply = <&vddio_1v8>;
474                 keep-power-in-suspend;
475         };
476
477         sdhci@0,700b0400 { /* SD Card on this bus */
478                 status = "okay";
479                 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
480                 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
481                 bus-width = <4>;
482                 no-1-8-v;
483                 vqmmc-supply = <&vddio_sdmmc3>;
484         };
485
486         sdhci@0,700b0600 { /* eMMC on this bus */
487                 status = "okay";
488                 bus-width = <8>;
489                 no-1-8-v;
490                 non-removable;
491         };
492
493         /* CPU DFLL clock */
494         clock@0,70110000 {
495                 status = "disabled";
496                 vdd-cpu-supply = <&vdd_cpu>;
497                 nvidia,i2c-fs-rate = <400000>;
498         };
499
500         ahub@0,70300000 {
501                 i2s@0,70301100 {
502                         status = "okay";
503                 };
504         };
505
506         backlight: backlight {
507                 compatible = "pwm-backlight";
508
509                 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
510                 power-supply = <&vdd_led>;
511                 pwms = <&pwm 1 1000000>;
512
513                 default-brightness-level = <224>;
514                 brightness-levels =
515                         <  0   1   2   3   4   5   6   7
516                            8   9  10  11  12  13  14  15
517                           16  17  18  19  20  21  22  23
518                           24  25  26  27  28  29  30  31
519                           32  33  34  35  36  37  38  39
520                           40  41  42  43  44  45  46  47
521                           48  49  50  51  52  53  54  55
522                           56  57  58  59  60  61  62  63
523                           64  65  66  67  68  69  70  71
524                           72  73  74  75  76  77  78  79
525                           80  81  82  83  84  85  86  87
526                           88  89  90  91  92  93  94  95
527                           96  97  98  99 100 101 102 103
528                          104 105 106 107 108 109 110 111
529                          112 113 114 115 116 117 118 119
530                          120 121 122 123 124 125 126 127
531                          128 129 130 131 132 133 134 135
532                          136 137 138 139 140 141 142 143
533                          144 145 146 147 148 149 150 151
534                          152 153 154 155 156 157 158 159
535                          160 161 162 163 164 165 166 167
536                          168 169 170 171 172 173 174 175
537                          176 177 178 179 180 181 182 183
538                          184 185 186 187 188 189 190 191
539                          192 193 194 195 196 197 198 199
540                          200 201 202 203 204 205 206 207
541                          208 209 210 211 212 213 214 215
542                          216 217 218 219 220 221 222 223
543                          224 225 226 227 228 229 230 231
544                          232 233 234 235 236 237 238 239
545                          240 241 242 243 244 245 246 247
546                          248 249 250 251 252 253 254 255
547                          256>;
548         };
549
550         clocks {
551                 compatible = "simple-bus";
552                 #address-cells = <1>;
553                 #size-cells = <0>;
554
555                 clk32k_in: clock@0 {
556                         compatible = "fixed-clock";
557                         reg = <0>;
558                         #clock-cells = <0>;
559                         clock-frequency = <32768>;
560                 };
561         };
562
563         cpus {
564                 cpu@0 {
565                         vdd-cpu-supply = <&vdd_cpu>;
566                 };
567         };
568
569         gpio-keys {
570                 compatible = "gpio-keys";
571
572                 lid {
573                         label = "Lid";
574                         gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
575                         linux,input-type = <5>;
576                         linux,code = <KEY_RESERVED>;
577                         debounce-interval = <1>;
578                         gpio-key,wakeup;
579                 };
580
581                 power {
582                         label = "Power";
583                         gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
584                         linux,code = <KEY_POWER>;
585                         debounce-interval = <30>;
586                         gpio-key,wakeup;
587                 };
588         };
589
590         regulators {
591                 compatible = "simple-bus";
592                 #address-cells = <1>;
593                 #size-cells = <0>;
594
595                 vdd_mux: regulator@0 {
596                         compatible = "regulator-fixed";
597                         reg = <0>;
598                         regulator-name = "+VDD_MUX";
599                         regulator-min-microvolt = <12000000>;
600                         regulator-max-microvolt = <12000000>;
601                         regulator-always-on;
602                         regulator-boot-on;
603                 };
604
605                 vdd_5v0_sys: regulator@1 {
606                         compatible = "regulator-fixed";
607                         reg = <1>;
608                         regulator-name = "+5V_SYS";
609                         regulator-min-microvolt = <5000000>;
610                         regulator-max-microvolt = <5000000>;
611                         regulator-always-on;
612                         regulator-boot-on;
613                         vin-supply = <&vdd_mux>;
614                 };
615
616                 vdd_3v3_sys: regulator@2 {
617                         compatible = "regulator-fixed";
618                         reg = <2>;
619                         regulator-name = "+3.3V_SYS";
620                         regulator-min-microvolt = <3300000>;
621                         regulator-max-microvolt = <3300000>;
622                         regulator-always-on;
623                         regulator-boot-on;
624                         vin-supply = <&vdd_mux>;
625                 };
626
627                 vdd_3v3_run: regulator@3 {
628                         compatible = "regulator-fixed";
629                         reg = <3>;
630                         regulator-name = "+3.3V_RUN";
631                         regulator-min-microvolt = <3300000>;
632                         regulator-max-microvolt = <3300000>;
633                         regulator-always-on;
634                         regulator-boot-on;
635                         gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
636                         enable-active-high;
637                         vin-supply = <&vdd_3v3_sys>;
638                 };
639
640                 vdd_3v3_hdmi: regulator@4 {
641                         compatible = "regulator-fixed";
642                         reg = <4>;
643                         regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
644                         regulator-min-microvolt = <3300000>;
645                         regulator-max-microvolt = <3300000>;
646                         vin-supply = <&vdd_3v3_run>;
647                 };
648
649                 vdd_led: regulator@5 {
650                         compatible = "regulator-fixed";
651                         reg = <5>;
652                         regulator-name = "+VDD_LED";
653                         gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
654                         enable-active-high;
655                         vin-supply = <&vdd_mux>;
656                 };
657
658                 vdd_5v0_ts: regulator@6 {
659                         compatible = "regulator-fixed";
660                         reg = <6>;
661                         regulator-name = "+5V_VDD_TS_SW";
662                         regulator-min-microvolt = <5000000>;
663                         regulator-max-microvolt = <5000000>;
664                         regulator-boot-on;
665                         gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
666                         enable-active-high;
667                         vin-supply = <&vdd_5v0_sys>;
668                 };
669
670                 vdd_usb1_vbus: regulator@7 {
671                         compatible = "regulator-fixed";
672                         reg = <7>;
673                         regulator-name = "+5V_USB_HS";
674                         regulator-min-microvolt = <5000000>;
675                         regulator-max-microvolt = <5000000>;
676                         gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
677                         enable-active-high;
678                         gpio-open-drain;
679                         vin-supply = <&vdd_5v0_sys>;
680                 };
681
682                 vdd_usb3_vbus: regulator@8 {
683                         compatible = "regulator-fixed";
684                         reg = <8>;
685                         regulator-name = "+5V_USB_SS";
686                         regulator-min-microvolt = <5000000>;
687                         regulator-max-microvolt = <5000000>;
688                         gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
689                         enable-active-high;
690                         gpio-open-drain;
691                         vin-supply = <&vdd_5v0_sys>;
692                 };
693
694                 vdd_3v3_panel: regulator@9 {
695                         compatible = "regulator-fixed";
696                         reg = <9>;
697                         regulator-name = "+3.3V_PANEL";
698                         regulator-min-microvolt = <3300000>;
699                         regulator-max-microvolt = <3300000>;
700                         gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
701                         enable-active-high;
702                         vin-supply = <&vdd_3v3_run>;
703                 };
704
705                 vdd_3v3_lp0: regulator@10 {
706                         compatible = "regulator-fixed";
707                         reg = <10>;
708                         regulator-name = "+3.3V_LP0";
709                         regulator-min-microvolt = <3300000>;
710                         regulator-max-microvolt = <3300000>;
711                         /*
712                          * TODO: find a way to wire this up with the USB EHCI
713                          * controllers so that it can be enabled on demand.
714                          */
715                         regulator-always-on;
716                         gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
717                         enable-active-high;
718                         vin-supply = <&vdd_3v3_sys>;
719                 };
720
721                 vdd_hdmi_pll: regulator@11 {
722                         compatible = "regulator-fixed";
723                         reg = <11>;
724                         regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
725                         regulator-min-microvolt = <1050000>;
726                         regulator-max-microvolt = <1050000>;
727                         gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
728                         vin-supply = <&vdd_1v05_run>;
729                 };
730
731                 vdd_5v0_hdmi: regulator@12 {
732                         compatible = "regulator-fixed";
733                         reg = <12>;
734                         regulator-name = "+5V_HDMI_CON";
735                         regulator-min-microvolt = <5000000>;
736                         regulator-max-microvolt = <5000000>;
737                         gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
738                         enable-active-high;
739                         vin-supply = <&vdd_5v0_sys>;
740                 };
741         };
742
743         sound {
744                 nvidia,audio-routing =
745                         "Headphones", "HPR",
746                         "Headphones", "HPL",
747                         "Speakers", "SPKR",
748                         "Speakers", "SPKL",
749                         "Mic Jack", "MICBIAS",
750                         "DMICL", "Int Mic",
751                         "DMICR", "Int Mic",
752                         "IN34", "Mic Jack";
753
754                 nvidia,i2s-controller = <&tegra_i2s1>;
755                 nvidia,audio-codec = <&acodec>;
756
757                 clocks = <&tegra_car TEGRA124_CLK_PLL_A>,
758                          <&tegra_car TEGRA124_CLK_PLL_A_OUT0>,
759                          <&tegra_car TEGRA124_CLK_EXTERN1>;
760                 clock-names = "pll_a", "pll_a_out0", "mclk";
761
762                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(I, 7) GPIO_ACTIVE_HIGH>;
763                 nvidia,mic-det-gpios =
764                                 <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
765         };
766
767         gpio-restart {
768                 compatible = "gpio-restart";
769                 gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
770                 priority = <200>;
771         };
772 };
773
774 #include "cros-ec-keyboard.dtsi"