161f1e4514f426d892db046c20fc7be0e628e27f
[linux-3.10.git] / arch / arm / boot / dts / tegra114-pluto.dts
1 /dts-v1/;
2
3 /include/ "tegra114.dtsi"
4 /include/ "panel-l-720p-5.dts"
5
6 / {
7         model = "NVIDIA Tegra114 pluto evaluation board";
8         compatible = "nvidia,pluto", "nvidia,tegra114";
9
10         host1x {
11                 dsi {
12                         nvidia,controller-vs = <1>;
13                         status = "disabled";
14                         panel-l-720p-5 {
15                                 nvidia,dsi-panel-rst-gpio = <&gpio 61 0>; /* PH5 */
16                                 nvidia,dsi-panel-bl-en-gpio = <&gpio 58 0>; /* PH2 */
17                                 nvidia,dsi-panel-bl-pwm-gpio = <&gpio 57 0>; /* PH1 */
18                         };
19                 };
20
21                 hdmi {
22                         status = "okay";
23                 };
24         };
25
26         pinmux {
27                 pinctrl-names = "default";
28                 pinctrl-0 = <&state_default>;
29
30                 state_default: pinmux {
31                         gpio_x4_aud_px4
32                         {
33                                 nvidia,pins = "gpio_x4_aud_px4",
34                                                 "gpio_x7_aud_px7";
35                                 nvidia,function = "rsvd1";
36                                 nvidia,pull = <1>;
37                                 nvidia,tristate = <0>;
38                                 nvidia,enable-input = <0>;
39                         };
40                         gpio_x5_aud_px5
41                         {
42                                 nvidia,pins = "gpio_x5_aud_px5";
43                                 nvidia,function = "rsvd1";
44                                 nvidia,pull = <2>;
45                                 nvidia,tristate = <0>;
46                                 nvidia,enable-input = <1>;
47                         };
48                         gpio_w2_aud_pw2
49                         {
50                                 nvidia,pins = "gpio_w2_aud_pw2";
51                                 nvidia,function = "rsvd2";
52                                 nvidia,pull = <2>;
53                                 nvidia,tristate = <0>;
54                                 nvidia,enable-input = <1>;
55                         };
56                         gpio_w3_aud_pw3
57                         {
58                                 nvidia,pins = "gpio_w3_aud_pw3";
59                                 nvidia,function = "spi6";
60                                 nvidia,pull = <2>;
61                                 nvidia,tristate = <0>;
62                                 nvidia,enable-input = <1>;
63                         };
64                         gpio_x3_aud_px3
65                         {
66                                 nvidia,pins = "gpio_x3_aud_px3";
67                                 nvidia,function = "rsvd4";
68                                 nvidia,pull = <2>;
69                                 nvidia,tristate = <0>;
70                                 nvidia,enable-input = <1>;
71                         };
72                         pv0
73                         {
74                                 nvidia,pins = "pv0";
75                                 nvidia,function = "rsvd4";
76                                 nvidia,pull = <0>;
77                                 nvidia,tristate = <0>;
78                                 nvidia,enable-input = <1>;
79                         };
80                         pv1
81                         {
82                                 nvidia,pins = "pv1";
83                                 nvidia,function = "rsvd1";
84                                 nvidia,pull = <0>;
85                                 nvidia,tristate = <0>;
86                                 nvidia,enable-input = <1>;
87                         };
88                         ulpi_data0_po1
89                         {
90                                 nvidia,pins = "ulpi_data0_po1",
91                                                 "ulpi_data1_po2",
92                                                 "ulpi_data2_po3",
93                                                 "ulpi_data5_po6",
94                                                 "ulpi_data7_po0";
95                                 nvidia,function = "ulpi";
96                                 nvidia,pull = <0>;
97                                 nvidia,tristate = <0>;
98                                 nvidia,enable-input = <0>;
99                         };
100                         ulpi_data3_po4
101                         {
102                                 nvidia,pins = "ulpi_data3_po4",
103                                                 "ulpi_data4_po5",
104                                                 "ulpi_data6_po7";
105                                 nvidia,function = "ulpi";
106                                 nvidia,pull = <0>;
107                                 nvidia,tristate = <0>;
108                                 nvidia,enable-input = <1>;
109                         };
110                         pbb3
111                         {
112                                 nvidia,pins = "pbb3",
113                                                 "pbb5",
114                                                 "pbb6",
115                                                 "pbb7",
116                                                 "pcc1";
117                                 nvidia,function = "rsvd4";
118                                 nvidia,pull = <1>;
119                                 nvidia,tristate = <0>;
120                                 nvidia,enable-input = <0>;
121                         };
122                         pcc2
123                         {
124                                 nvidia,pins = "pcc2";
125                                 nvidia,function = "rsvd4";
126                                 nvidia,pull = <1>;
127                                 nvidia,tristate = <0>;
128                                 nvidia,enable-input = <1>;
129                         };
130                         gmi_ad1_pg1
131                         {
132                                 nvidia,pins = "gmi_ad1_pg1";
133                                 nvidia,function = "gmi";
134                                 nvidia,pull = <0>;
135                                 nvidia,tristate = <0>;
136                                 nvidia,enable-input = <0>;
137                         };
138                         gmi_ad10_ph2
139                         {
140                                 nvidia,pins = "gmi_ad10_ph2";
141                                 nvidia,function = "gmi";
142                                 nvidia,pull = <1>;
143                                 nvidia,tristate = <0>;
144                                 nvidia,enable-input = <0>;
145                         };
146                         gmi_ad12_ph4
147                         {
148                                 nvidia,pins = "gmi_ad12_ph4";
149                                 nvidia,function = "gmi";
150                                 nvidia,pull = <2>;
151                                 nvidia,tristate = <0>;
152                                 nvidia,enable-input = <0>;
153                         };
154                         gmi_ad2_pg2
155                         {
156                                 nvidia,pins = "gmi_ad2_pg2",
157                                                 "gmi_ad3_pg3";
158                                 nvidia,function = "gmi";
159                                 nvidia,pull = <0>;
160                                 nvidia,tristate = <0>;
161                                 nvidia,enable-input = <1>;
162                         };
163                         gmi_adv_n_pk0
164                         {
165                                 nvidia,pins = "gmi_adv_n_pk0",
166                                                 "gmi_cs0_n_pj0",
167                                                 "gmi_cs4_n_pk2",
168                                                 "gmi_cs7_n_pi6",
169                                                 "gmi_iordy_pi5";
170                                 nvidia,function = "gmi";
171                                 nvidia,pull = <2>;
172                                 nvidia,tristate = <0>;
173                                 nvidia,enable-input = <1>;
174                         };
175                         gmi_clk_pk1
176                         {
177                                 nvidia,pins = "gmi_clk_pk1";
178                                 nvidia,function = "gmi";
179                                 nvidia,pull = <1>;
180                                 nvidia,tristate = <0>;
181                                 nvidia,enable-input = <0>;
182                         };
183                         gmi_cs3_n_pk4
184                         {
185                                 nvidia,pins = "gmi_cs3_n_pk4";
186                                 nvidia,function = "gmi";
187                                 nvidia,pull = <2>;
188                                 nvidia,tristate = <0>;
189                                 nvidia,enable-input = <0>;
190                         };
191                         gmi_rst_n_pi4
192                         {
193                                 nvidia,pins = "gmi_rst_n_pi4";
194                                 nvidia,function = "gmi";
195                                 nvidia,pull = <1>;
196                                 nvidia,tristate = <0>;
197                                 nvidia,enable-input = <1>;
198                         };
199                         sdmmc1_wp_n_pv3
200                         {
201                                 nvidia,pins = "sdmmc1_wp_n_pv3";
202                                 nvidia,function = "sdmmc1";
203                                 nvidia,pull = <2>;
204                                 nvidia,tristate = <0>;
205                                 nvidia,enable-input = <0>;
206                         };
207                         clk2_req_pcc5
208                         {
209                                 nvidia,pins = "clk2_req_pcc5";
210                                 nvidia,function = "rsvd4";
211                                 nvidia,pull = <0>;
212                                 nvidia,tristate = <0>;
213                                 nvidia,enable-input = <0>;
214                         };
215                         kb_col3_pq3
216                         {
217                                 nvidia,pins = "kb_col3_pq3",
218                                                 "kb_col4_pq4";
219                                 nvidia,function = "kbc";
220                                 nvidia,pull = <2>;
221                                 nvidia,tristate = <0>;
222                                 nvidia,enable-input = <1>;
223                         };
224                         kb_col6_pq6
225                         {
226                                 nvidia,pins = "kb_col6_pq6",
227                                                 "kb_col7_pq7";
228                                 nvidia,function = "kbc";
229                                 nvidia,pull = <2>;
230                                 nvidia,tristate = <0>;
231                                 nvidia,enable-input = <0>;
232                         };
233                         kb_row3_pr3
234                         {
235                                 nvidia,pins = "kb_row3_pr3",
236                                                 "kb_row4_pr4",
237                                                 "kb_row8_ps0";
238                                 nvidia,function = "kbc";
239                                 nvidia,pull = <1>;
240                                 nvidia,tristate = <0>;
241                                 nvidia,enable-input = <1>;
242                         };
243                         kb_row5_pr5
244                         {
245                                 nvidia,pins = "kb_row5_pr5";
246                                 nvidia,function = "kbc";
247                                 nvidia,pull = <1>;
248                                 nvidia,tristate = <0>;
249                                 nvidia,enable-input = <0>;
250                         };
251                         clk3_req_pee1
252                         {
253                                 nvidia,pins = "clk3_req_pee1";
254                                 nvidia,function = "rsvd4";
255                                 nvidia,pull = <0>;
256                                 nvidia,tristate = <0>;
257                                 nvidia,enable-input = <0>;
258                         };
259                         pu4
260                         {
261                                 nvidia,pins = "pu4";
262                                 nvidia,function = "displayb";
263                                 nvidia,pull = <0>;
264                                 nvidia,tristate = <0>;
265                                 nvidia,enable-input = <0>;
266                         };
267                         pu5
268                         {
269                                 nvidia,pins = "pu5",
270                                                 "pu6";
271                                 nvidia,function = "displayb";
272                                 nvidia,pull = <0>;
273                                 nvidia,tristate = <0>;
274                                 nvidia,enable-input = <1>;
275                         };
276                         hdmi_int_pn7
277                         {
278                                 nvidia,pins = "hdmi_int_pn7";
279                                 nvidia,function = "rsvd1";
280                                 nvidia,pull = <1>;
281                                 nvidia,tristate = <0>;
282                                 nvidia,enable-input = <1>;
283                         };
284                         clk1_out_pw4
285                         {
286                                 nvidia,pins = "clk1_out_pw4";
287                                 nvidia,function = "extperiph1";
288                                 nvidia,pull = <0>;
289                                 nvidia,tristate = <0>;
290                                 nvidia,enable-input = <0>;
291                         };
292                         dap1_din_pn1
293                         {
294                                 nvidia,pins = "dap1_din_pn1",
295                                                 "dap1_dout_pn2",
296                                                 "dap1_fs_pn0",
297                                                 "dap1_sclk_pn3";
298                                 nvidia,function = "i2s0";
299                                 nvidia,pull = <0>;
300                                 nvidia,tristate = <0>;
301                                 nvidia,enable-input = <1>;
302                         };
303                         dap2_din_pa4
304                         {
305                                 nvidia,pins = "dap2_din_pa4",
306                                                 "dap2_dout_pa5",
307                                                 "dap2_fs_pa2",
308                                                 "dap2_sclk_pa3";
309                                 nvidia,function = "i2s1";
310                                 nvidia,pull = <0>;
311                                 nvidia,tristate = <0>;
312                                 nvidia,enable-input = <1>;
313                         };
314                         dvfs_pwm_px0
315                         {
316                                 nvidia,pins = "dvfs_pwm_px0",
317                                                 "dvfs_clk_px2";
318                                 nvidia,function = "cldvfs";
319                                 nvidia,pull = <0>;
320                                 nvidia,tristate = <0>;
321                                 nvidia,enable-input = <0>;
322                         };
323                         dap3_din_pp1
324                         {
325                                 nvidia,pins = "dap3_din_pp1",
326                                                 "dap3_dout_pp2",
327                                                 "dap3_fs_pp0",
328                                                 "dap3_sclk_pp3";
329                                 nvidia,function = "i2s2";
330                                 nvidia,pull = <0>;
331                                 nvidia,tristate = <0>;
332                                 nvidia,enable-input = <1>;
333                         };
334                         ulpi_clk_py0
335                         {
336                                 nvidia,pins = "ulpi_clk_py0",
337                                                 "ulpi_stp_py3";
338                                 nvidia,function = "ulpi";
339                                 nvidia,pull = <0>;
340                                 nvidia,tristate = <0>;
341                                 nvidia,enable-input = <0>;
342                         };
343                         ulpi_dir_py1
344                         {
345                                 nvidia,pins = "ulpi_dir_py1",
346                                                 "ulpi_nxt_py2";
347                                 nvidia,function = "ulpi";
348                                 nvidia,pull = <0>;
349                                 nvidia,tristate = <1>;
350                                 nvidia,enable-input = <1>;
351                         };
352                         kb_row7_pr7
353                         {
354                                 nvidia,pins = "kb_row7_pr7";
355                                 nvidia,function = "kbc";
356                                 nvidia,pull = <1>;
357                                 nvidia,tristate = <0>;
358                                 nvidia,enable-input = <1>;
359                         };
360                         gmi_a16_pj7
361                         {
362                                 nvidia,pins = "gmi_a16_pj7",
363                                                 "gmi_a19_pk7";
364                                 nvidia,function = "uartd";
365                                 nvidia,pull = <0>;
366                                 nvidia,tristate = <0>;
367                                 nvidia,enable-input = <0>;
368                         };
369                         gmi_a17_pb0
370                         {
371                                 nvidia,pins = "gmi_a17_pb0",
372                                                 "gmi_a18_pb1";
373                                 nvidia,function = "uartd";
374                                 nvidia,pull = <0>;
375                                 nvidia,tristate = <0>;
376                                 nvidia,enable-input = <1>;
377                         };
378                         cam_i2c_scl_pbb1
379                         {
380                                 nvidia,pins = "cam_i2c_scl_pbb1",
381                                                 "cam_i2c_sda_pbb2";
382                                 nvidia,function = "i2c3";
383                                 nvidia,pull = <0>;
384                                 nvidia,tristate = <0>;
385                                 nvidia,enable-input = <1>;
386                                 nvidia,lock = <0>;
387                                 nvidia,open-drain = <1>;
388                         };
389                         cam_mclk_pcc0
390                         {
391                                 nvidia,pins = "cam_mclk_pcc0",
392                                                 "pbb0";
393                                 nvidia,function = "vi_alt3";
394                                 nvidia,pull = <0>;
395                                 nvidia,tristate = <0>;
396                                 nvidia,enable-input = <0>;
397                         };
398                         pbb4
399                         {
400                                 nvidia,pins = "pbb4";
401                                 nvidia,function = "vgp4";
402                                 nvidia,pull = <0>;
403                                 nvidia,tristate = <0>;
404                                 nvidia,enable-input = <0>;
405                         };
406                         gen2_i2c_scl_pt5
407                         {
408                                 nvidia,pins = "gen2_i2c_scl_pt5",
409                                                 "gen2_i2c_sda_pt6";
410                                 nvidia,function = "i2c2";
411                                 nvidia,pull = <0>;
412                                 nvidia,tristate = <0>;
413                                 nvidia,enable-input = <1>;
414                                 nvidia,lock = <0>;
415                                 nvidia,open-drain = <1>;
416                         };
417                         gmi_ad11_ph3
418                         {
419                                 nvidia,pins = "gmi_ad11_ph3";
420                                 nvidia,function = "pwm3";
421                                 nvidia,pull = <0>;
422                                 nvidia,tristate = <0>;
423                                 nvidia,enable-input = <0>;
424                         };
425                         gmi_ad13_ph5
426                         {
427                                 nvidia,pins = "gmi_ad13_ph5";
428                                 nvidia,function = "gmi";
429                                 nvidia,pull = <0>;
430                                 nvidia,tristate = <0>;
431                                 nvidia,enable-input = <0>;
432                         };
433                         gmi_ad14_ph6
434                         {
435                                 nvidia,pins = "gmi_ad14_ph6",
436                                                 "gmi_ad15_ph7",
437                                                 "gmi_ad8_ph0",
438                                                 "gmi_wait_pi7";
439                                 nvidia,function = "dtv";
440                                 nvidia,pull = <1>;
441                                 nvidia,tristate = <1>;
442                                 nvidia,enable-input = <1>;
443                         };
444                         gmi_ad5_pg5
445                         {
446                                 nvidia,pins = "gmi_ad5_pg5",
447                                                 "gmi_cs6_n_pi3",
448                                                 "gmi_wr_n_pi0";
449                                 nvidia,function = "spi4";
450                                 nvidia,pull = <0>;
451                                 nvidia,tristate = <0>;
452                                 nvidia,enable-input = <1>;
453                         };
454                         gmi_ad6_pg6
455                         {
456                                 nvidia,pins = "gmi_ad6_pg6",
457                                                 "gmi_ad7_pg7";
458                                 nvidia,function = "spi4";
459                                 nvidia,pull = <2>;
460                                 nvidia,tristate = <0>;
461                                 nvidia,enable-input = <1>;
462                         };
463                         gmi_ad9_ph1
464                         {
465                                 nvidia,pins = "gmi_ad9_ph1";
466                                 nvidia,function = "pwm1";
467                                 nvidia,pull = <0>;
468                                 nvidia,tristate = <0>;
469                                 nvidia,enable-input = <0>;
470                         };
471                         gmi_cs1_n_pj2
472                         {
473                                 nvidia,pins = "gmi_cs1_n_pj2",
474                                                 "gmi_oe_n_pi1",
475                                                 "clk_32k_out_pa0";
476                                 nvidia,function = "soc";
477                                 nvidia,pull = <2>;
478                                 nvidia,tristate = <1>;
479                                 nvidia,enable-input = <1>;
480                         };
481                         clk2_out_pw5
482                         {
483                                 nvidia,pins = "clk2_out_pw5";
484                                 nvidia,function = "extperiph2";
485                                 nvidia,pull = <0>;
486                                 nvidia,tristate = <0>;
487                                 nvidia,enable-input = <0>;
488                         };
489                         sdmmc1_clk_pz0
490                         {
491                                 nvidia,pins = "sdmmc1_clk_pz0";
492                                 nvidia,function = "sdmmc1";
493                                 nvidia,pull = <0>;
494                                 nvidia,tristate = <0>;
495                                 nvidia,enable-input = <1>;
496                         };
497                         sdmmc1_cmd_pz1
498                         {
499                                 nvidia,pins = "sdmmc1_cmd_pz1",
500                                                 "sdmmc1_dat0_py7",
501                                                 "sdmmc1_dat1_py6",
502                                                 "sdmmc1_dat2_py5",
503                                                 "sdmmc1_dat3_py4";
504                                 nvidia,function = "sdmmc1";
505                                 nvidia,pull = <2>;
506                                 nvidia,tristate = <0>;
507                                 nvidia,enable-input = <1>;
508                         };
509                         sdmmc3_clk_pa6
510                         {
511                                 nvidia,pins = "sdmmc3_clk_pa6";
512                                 nvidia,function = "sdmmc3";
513                                 nvidia,pull = <0>;
514                                 nvidia,tristate = <0>;
515                                 nvidia,enable-input = <1>;
516                         };
517                         sdmmc3_cmd_pa7
518                         {
519                                 nvidia,pins = "sdmmc3_cmd_pa7",
520                                                 "sdmmc3_dat0_pb7",
521                                                 "sdmmc3_dat1_pb6",
522                                                 "sdmmc3_dat2_pb5",
523                                                 "sdmmc3_dat3_pb4",
524                                                 "sdmmc3_cd_n_pv2",
525                                                 "sdmmc3_clk_lb_out_pee4",
526                                                 "sdmmc3_clk_lb_in_pee5";
527                                 nvidia,function = "sdmmc3";
528                                 nvidia,pull = <2>;
529                                 nvidia,tristate = <0>;
530                                 nvidia,enable-input = <1>;
531                         };
532                         sdmmc4_clk_pcc4
533                         {
534                                 nvidia,pins = "sdmmc4_clk_pcc4";
535                                 nvidia,function = "sdmmc4";
536                                 nvidia,pull = <0>;
537                                 nvidia,tristate = <0>;
538                                 nvidia,enable-input = <1>;
539                         };
540                         sdmmc4_cmd_pt7
541                         {
542                                 nvidia,pins = "sdmmc4_cmd_pt7",
543                                                 "sdmmc4_dat0_paa0",
544                                                 "sdmmc4_dat1_paa1",
545                                                 "sdmmc4_dat2_paa2",
546                                                 "sdmmc4_dat3_paa3",
547                                                 "sdmmc4_dat4_paa4",
548                                                 "sdmmc4_dat5_paa5",
549                                                 "sdmmc4_dat6_paa6",
550                                                 "sdmmc4_dat7_paa7";
551                                 nvidia,function = "sdmmc4";
552                                 nvidia,pull = <2>;
553                                 nvidia,tristate = <0>;
554                                 nvidia,enable-input = <1>;
555                         };
556                         kb_col0_pq0
557                         {
558                                 nvidia,pins = "kb_col0_pq0",
559                                                 "kb_col1_pq1",
560                                                 "kb_col2_pq2",
561                                                 "kb_row0_pr0",
562                                                 "kb_row1_pr1",
563                                                 "kb_row2_pr2";
564                                 nvidia,function = "kbc";
565                                 nvidia,pull = <2>;
566                                 nvidia,tristate = <0>;
567                                 nvidia,enable-input = <1>;
568                         };
569                         kb_row10_ps2
570                         {
571                                 nvidia,pins = "kb_row10_ps2";
572                                 nvidia,function = "rsvd2";
573                                 nvidia,pull = <0>;
574                                 nvidia,tristate = <1>;
575                                 nvidia,enable-input = <1>;
576                         };
577                         kb_row9_ps1
578                         {
579                                 nvidia,pins = "kb_row9_ps1";
580                                 nvidia,function = "rsvd2";
581                                 nvidia,pull = <0>;
582                                 nvidia,tristate = <0>;
583                                 nvidia,enable-input = <0>;
584                         };
585                         pu0
586                         {
587                                 nvidia,pins = "pu0",
588                                                 "pu3";
589                                 nvidia,function = "uarta";
590                                 nvidia,pull = <0>;
591                                 nvidia,tristate = <0>;
592                                 nvidia,enable-input = <0>;
593                         };
594                         pu1
595                         {
596                                 nvidia,pins = "pu1",
597                                                 "pu2";
598                                 nvidia,function = "uarta";
599                                 nvidia,pull = <0>;
600                                 nvidia,tristate = <1>;
601                                 nvidia,enable-input = <1>;
602                         };
603                         pwr_i2c_scl_pz6
604                         {
605                                 nvidia,pins = "pwr_i2c_scl_pz6",
606                                                 "pwr_i2c_sda_pz7";
607                                 nvidia,function = "i2cpwr";
608                                 nvidia,pull = <0>;
609                                 nvidia,tristate = <0>;
610                                 nvidia,enable-input = <1>;
611                                 nvidia,lock = <0>;
612                                 nvidia,open-drain = <0>;
613                         };
614                         sys_clk_req_pz5
615                         {
616                                 nvidia,pins = "sys_clk_req_pz5";
617                                 nvidia,function = "sysclk";
618                                 nvidia,pull = <0>;
619                                 nvidia,tristate = <0>;
620                                 nvidia,enable-input = <0>;
621                         };
622                         core_pwr_req
623                         {
624                                 nvidia,pins = "core_pwr_req";
625                                 nvidia,function = "pwron";
626                                 nvidia,pull = <0>;
627                                 nvidia,tristate = <0>;
628                                 nvidia,enable-input = <0>;
629                         };
630                         cpu_pwr_req
631                         {
632                                 nvidia,pins = "cpu_pwr_req";
633                                 nvidia,function = "cpu";
634                                 nvidia,pull = <0>;
635                                 nvidia,tristate = <0>;
636                                 nvidia,enable-input = <0>;
637                         };
638                         pwr_int_n
639                         {
640                                 nvidia,pins = "pwr_int_n";
641                                 nvidia,function = "pmi";
642                                 nvidia,pull = <0>;
643                                 nvidia,tristate = <1>;
644                                 nvidia,enable-input = <1>;
645                         };
646                         reset_out_n
647                         {
648                                 nvidia,pins = "reset_out_n";
649                                 nvidia,function = "reset_out_n";
650                                 nvidia,pull = <0>;
651                                 nvidia,tristate = <0>;
652                                 nvidia,enable-input = <0>;
653                         };
654                         clk3_out_pee0
655                         {
656                                 nvidia,pins = "clk3_out_pee0";
657                                 nvidia,function = "extperiph3";
658                                 nvidia,pull = <0>;
659                                 nvidia,tristate = <0>;
660                                 nvidia,enable-input = <0>;
661                         };
662                         dap4_din_pp5
663                         {
664                                 nvidia,pins = "dap4_din_pp5",
665                                                 "dap4_dout_pp6",
666                                                 "dap4_fs_pp4",
667                                                 "dap4_sclk_pp7";
668                                 nvidia,function = "i2s3";
669                                 nvidia,pull = <0>;
670                                 nvidia,tristate = <0>;
671                                 nvidia,enable-input = <1>;
672                         };
673                         gen1_i2c_scl_pc4
674                         {
675                                 nvidia,pins = "gen1_i2c_scl_pc4",
676                                                 "gen1_i2c_sda_pc5";
677                                 nvidia,function = "i2c1";
678                                 nvidia,pull = <0>;
679                                 nvidia,tristate = <0>;
680                                 nvidia,enable-input = <1>;
681                                 nvidia,lock = <0>;
682                                 nvidia,open-drain = <0>;
683                         };
684                         uart2_cts_n_pj5
685                         {
686                                 nvidia,pins = "uart2_cts_n_pj5";
687                                 nvidia,function = "uartb";
688                                 nvidia,pull = <0>;
689                                 nvidia,tristate = <1>;
690                                 nvidia,enable-input = <1>;
691                         };
692                         uart2_rts_n_pj6
693                         {
694                                 nvidia,pins = "uart2_rts_n_pj6";
695                                 nvidia,function = "uartb";
696                                 nvidia,pull = <0>;
697                                 nvidia,tristate = <0>;
698                                 nvidia,enable-input = <0>;
699                         };
700                         uart2_rxd_pc3
701                         {
702                                 nvidia,pins = "uart2_rxd_pc3";
703                                 nvidia,function = "irda";
704                                 nvidia,pull = <0>;
705                                 nvidia,tristate = <1>;
706                                 nvidia,enable-input = <1>;
707                         };
708                         uart2_txd_pc2
709                         {
710                                 nvidia,pins = "uart2_txd_pc2";
711                                 nvidia,function = "irda";
712                                 nvidia,pull = <0>;
713                                 nvidia,tristate = <0>;
714                                 nvidia,enable-input = <0>;
715                         };
716                         uart3_cts_n_pa1
717                         {
718                                 nvidia,pins = "uart3_cts_n_pa1",
719                                                 "uart3_rxd_pw7";
720                                 nvidia,function = "uartc";
721                                 nvidia,pull = <0>;
722                                 nvidia,tristate = <1>;
723                                 nvidia,enable-input = <1>;
724                         };
725                         uart3_rts_n_pc0
726                         {
727                                 nvidia,pins = "uart3_rts_n_pc0",
728                                                 "uart3_txd_pw6";
729                                 nvidia,function = "uartc";
730                                 nvidia,pull = <0>;
731                                 nvidia,tristate = <0>;
732                                 nvidia,enable-input = <0>;
733                         };
734                         owr
735                         {
736                                 nvidia,pins = "owr";
737                                 nvidia,function = "owr";
738                                 nvidia,pull = <0>;
739                                 nvidia,tristate = <0>;
740                                 nvidia,enable-input = <1>;
741                         };
742                         kb_row6_pr6
743                         {
744                                 nvidia,pins = "kb_row6_pr6";
745                                 nvidia,function = "displaya_alt";
746                                 nvidia,pull = <0>;
747                                 nvidia,tristate = <0>;
748                                 nvidia,enable-input = <1>;
749                         };
750                         gpio_x1_aud_px1
751                         {
752                                 nvidia,pins = "gpio_x1_aud_px1";
753                                 nvidia,function = "rsvd2";
754                                 nvidia,pull = <0>;
755                                 nvidia,tristate = <1>;
756                                 nvidia,enable-input = <1>;
757                         };
758                         hdmi_cec_pee3
759                         {
760                                 nvidia,pins = "hdmi_cec_pee3";
761                                 nvidia,function = "cec";
762                                 nvidia,pull = <0>;
763                                 nvidia,tristate = <0>;
764                                 nvidia,enable-input = <1>;
765                                 nvidia,lock = <0>;
766                                 nvidia,open-drain = <0>;
767                         };
768                         ddc_scl_pv4
769                         {
770                                 nvidia,pins = "ddc_scl_pv4",
771                                                 "ddc_sda_pv5";
772                                 nvidia,function = "i2c4";
773                                 nvidia,pull = <0>;
774                                 nvidia,tristate = <0>;
775                                 nvidia,enable-input = <1>;
776                         };
777                         gpio_x6_aud_px6
778                         {
779                                 nvidia,pins = "gpio_x6_aud_px6";
780                                 nvidia,function = "spi6";
781                                 nvidia,pull = <2>;
782                                 nvidia,tristate = <1>;
783                                 nvidia,enable-input = <1>;
784                         };
785                         spdif_in_pk6
786                         {
787                                 nvidia,pins = "spdif_in_pk6";
788                                 nvidia,function = "spdif";
789                                 nvidia,pull = <2>;
790                                 nvidia,tristate = <0>;
791                                 nvidia,enable-input = <1>;
792                         };
793                         clk1_req_pee2 {
794                                 nvidia,pins = "clk1_req_pee2",
795                                                 "usb_vbus_en1_pn5";
796                                 nvidia,function = "rsvd4";
797                                 nvidia,pull = <1>;
798                                 nvidia,tristate = <1>;
799                                 nvidia,enable-input = <0>;
800                         };
801
802                         drive_dap2 {
803                                 nvidia,pins = "drive_dap2";
804                                 nvidia,high-speed-mode = <0>;
805                                 nvidia,schmitt = <1>;
806                                 nvidia,low-power-mode = <3>;
807                                 nvidia,pull-down-strength = <31>;
808                                 nvidia,pull-up-strength = <31>;
809                                 nvidia,slew-rate-rising = <0>;
810                                 nvidia,slew-rate-falling = <0>;
811                         };
812                         drive_sdio1 {
813                                 nvidia,pins = "drive_sdio1";
814                                 nvidia,high-speed-mode = <1>;
815                                 nvidia,schmitt = <0>;
816                                 nvidia,low-power-mode = <3>;
817                                 nvidia,pull-down-strength = <36>;
818                                 nvidia,pull-up-strength = <20>;
819                                 nvidia,slew-rate-rising = <2>;
820                                 nvidia,slew-rate-falling = <2>;
821                         };
822                         drive_sdio3 {
823                                 nvidia,pins = "drive_sdio3";
824                                 nvidia,high-speed-mode = <1>;
825                                 nvidia,schmitt = <0>;
826                                 nvidia,low-power-mode = <3>;
827                                 nvidia,pull-down-strength = <22>;
828                                 nvidia,pull-up-strength = <36>;
829                                 nvidia,slew-rate-rising = <0>;
830                                 nvidia,slew-rate-falling = <0>;
831                         };
832                         drive_gma {
833                                 nvidia,pins = "drive_gma";
834                                 nvidia,high-speed-mode = <1>;
835                                 nvidia,schmitt = <0>;
836                                 nvidia,low-power-mode = <3>;
837                                 nvidia,pull-down-strength = <2>;
838                                 nvidia,pull-up-strength = <1>;
839                                 nvidia,slew-rate-rising = <0>;
840                                 nvidia,slew-rate-falling = <0>;
841                                 nvidia,drive-type = <1>;
842                         };
843                 };
844         };
845
846         keyboard: keyboard@7000e200 {
847                 compatible = "nvidia,tegra114-kbc";
848                 reg = <0x7000e200 0x100>;
849                 interrupts = <0 85 0x04>;
850                 nvidia,ghost-filter;
851                 nvidia,wakeup-source;
852                 nvidia,debounce-delay-ms = <640>;
853                 nvidia,kbc-row-pins = <0 1 2>;    /* pin 0, 1, 2 as rows */
854                 nvidia,kbc-col-pins = <11 12 13>; /* pin 11, 12, 13 as columns */
855                 linux,keymap = <0x00000074
856                                 0x00010073
857                                 0x00020072
858                                 0x010000D9
859                                 0x010100D4
860                                 0x010200D2
861                                 0x02000066
862                                 0x0201009E
863                                 0x0202008B>;
864                 status = "disable";
865         };
866
867         serial@70006000 {
868                 compatible = "nvidia,tegra114-hsuart";
869                 status = "okay";
870         };
871
872         serial@70006040 {
873                 compatible = "nvidia,tegra114-hsuart";
874                 status = "okay";
875         };
876
877         serial@70006200 {
878                 compatible = "nvidia,tegra114-hsuart";
879                 status = "okay";
880         };
881
882         i2c@7000c500 {
883                 status = "okay";
884                 clock-frequency = <100000>;
885
886                 imx091@10 {
887                         compatible = "nvidia,imx091";
888                         reg = <0x10>;
889                         nvidia,vcm_vdd; /* flag for vcm_vdd extra regulator */
890                         nvidia,i2c_vdd; /* flag for i2c_vdd extra regulator */
891
892
893                         nvidia,num = <0>;
894                         nvidia,sync = <0>;
895                         nvidia,dev_name = "camera";
896
897                         /* edpc config */
898                         nvidia,imx091_estates = <876 656 220 0>;
899                         nvidia,num_states = <4>;
900                         nvidia,e0_index = <0>;
901                         nvidia,priority = <1>;
902
903                         /* imx091 gpios */
904                         reset-gpios = <&gpio 219 0>; /* gpio PBB3 */
905                         power-gpios = <&gpio 221 0>; /* gpio PBB6 */
906                         gp1-gpios = <&gpio 225 0>; /* gpio PCC1 */
907
908                         /* imx091 caps */
909                         nvidia,identifier = "IMX091";
910                         nvidia,sensor_nvc_interface = <3>;
911                         nvidia,pixel_types = <0x100>;
912                         nvidia,orientation = <0>;
913                         nvidia,direction = <0>;
914                         nvidia,initial_clock_rate_khz = <6000>;
915                         nvidia,h_sync_edge = <0>;
916                         nvidia,v_sync_edge = <0>;
917                         nvidia,mclk_on_vgp0 = <0>;
918                         nvidia,csi_port = <0>;
919                         nvidia,data_lanes = <4>;
920                         nvidia,virtual_channel_id = <0>;
921                         nvidia,discontinuous_clk_mode = <1>;
922                         nvidia,cil_threshold_settle = <0x0>;
923                         nvidia,min_blank_time_width = <16>;
924                         nvidia,min_blank_time_height = <16>;
925                         nvidia,preferred_mode_index = <0>;
926                         nvidia,external_clock_khz_0 = <24000>;
927                         nvidia,clock_multiplier_0 = <850000>;
928                         nvidia,external_clock_khz_1 = <0>;
929                         nvidia,clock_multiplier_1 = <0>;
930
931                         /* flash caps */
932                         nvidia,sdo_trigger_enabled;
933                         nvidia,adjustable_flash_timing;
934
935                         status = "okay";
936
937                 };
938
939                 imx132@36 {
940                         compatible = "nvidia,imx132";
941                         cam2_gpios = <&gpio 222 0>; /* gpio PBB6 */
942                         reg = <0x36>;
943                         nvidia,ext_reg; /* Extra power-regulators needed */
944                         status = "okay";
945                 };
946
947                 ad5816@0E {
948                         compatible = "nvidia,ad5816";
949                         reg = <0x0E>;
950                         nvidia,cfg = <0>;
951                         nvidia,num = <0>;
952                         nvidia,sync = <0>;
953                         nvidia,dev_name = "focuser";
954                         status = "okay";
955                 };
956         };
957
958         spi@7000da00 {
959                 status = "okay";
960                 spi-max-frequency = <25000000>;
961                 nvidia,dma-request-selector = <&apbdma 0>;
962         };
963
964         pmc {
965                 status = "okay";
966                 nvidia,suspend-mode = <0>;
967                 nvidia,cpu-pwr-good-time = <300>;
968                 nvidia,cpu-pwr-off-time = <300>;
969                 nvidia,core-pwr-good-time = <3845 3845>;
970                 nvidia,core-pwr-off-time = <2000>;
971                 nvidia,core-power-req-active-high;
972                 nvidia,sys-clock-req-active-high;
973         };
974
975         sdhci@78000600 {
976                 tap-delay = <5>;
977                 trim-delay = <3>;
978                 ddr-clk-limit = <41000000>;
979                 base-clk = <104000000>;
980                 mmc-ocr-mask = <0>;
981                 bus-width = <8>;
982                 built-in;
983                 edp_support;
984                 edp_states = <966 0>;
985                 status = "disabled";
986         };
987         sdhci@78000400 {
988                 cd-gpios = <&gpio 170 0>; /* gpio PV2 */
989                 tap-delay = <3>;
990                 trim-delay = <3>;
991                 ddr-clk-limit = <41000000>;
992                 base-clk = <208000000>;
993                 edp_support;
994                 edp_states = <966 0>;
995                 bus-width = <4>;
996                 status = "disabled";
997         };
998         sdhci@78000000 {
999                 status = "disabled";
1000         };
1001
1002         camera {
1003                 status = "okay";
1004         };
1005
1006         clocks {
1007                 compatible = "simple-bus";
1008                 #address-cells = <1>;
1009                 #size-cells = <0>;
1010
1011                 clk32k_in: clock {
1012                         compatible = "fixed-clock";
1013                         reg=<0>;
1014                         #clock-cells = <0>;
1015                         clock-frequency = <32768>;
1016                 };
1017         };
1018 };