arch: arm64: boot: dts: T210 camera devnames
[linux-3.10.git] / arch / arm64 / boot / dts / tegra210-plugin-manager / tegra210-jetson-cv-camera-plugin-manager.dtsi
1 /*
2  * Copyright (c) 2016, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 of the License.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11  * more details.
12  *
13  */
14 / {
15         /* camera plugin-manager */
16         plugin-manager {
17                 /* E3326 camera board */
18                 fragment-e3326@0 {
19                         ids = "3326-*";
20                         override@0 {
21                                 target = <&e3326_cam0>;
22                                 _overlay_ {
23                                         status = "okay";
24                                 };
25                         };
26                         override@1 {
27                                 target = <&cam_module0>;
28                                 _overlay_ {
29                                         status = "okay";
30                                         badge = "e3326_front_P5V27C";
31                                         position = "rear";
32                                         orientation = "1";
33                                 };
34                         };
35                         override@2 {
36                                 target = <&cam_module0_drivernode0>;
37                                 _overlay_ {
38                                         status = "okay";
39                                         pcl_id = "v4l2_sensor";
40                                         devname = "ov5693 6-0036";
41                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ov5693_c@36";
42                                 };
43                         };
44                         override@3 {
45                                 target = <&cam_module0_drivernode1>;
46                                 _overlay_ {
47                                         status = "okay";
48                                         pcl_id = "v4l2_focuser_stub";
49                                 };
50                         };
51                         /* Enable VI ports */
52                         override@4 {
53                                 target = <&vi_base>;
54                                 _overlay_ {
55                                         num-channels=<1>;
56                                 };
57                         };
58                         override@5 {
59                                 target = <&vi_port0>;
60                                 _overlay_ {
61                                         status = "okay";
62                                 };
63                         };
64                         override@6 {
65                                 target = <&e3326_vi_in0>;
66                                 _overlay_ {
67                                         status = "okay";
68                                         csi-port = <2>;
69                                         bus-width = <2>;
70                                         remote-endpoint = <&e3326_ov5693_out0>;
71                                 };
72                         };
73                 };
74
75                 /* E3323 camera board */
76                 fragment-e3323@0 {
77                         ids = "3323-1000-*";
78                         /* enable E3323 camera 0 */
79                         override@0 {
80                                 target = <&e3323_cam0>;
81                                 _overlay_ {
82                                         status = "okay";
83                                 };
84                         };
85                         override@1 {
86                                 target = <&cam_module0>;
87                                 _overlay_ {
88                                         status = "okay";
89                                         badge = "e3323_bottom_CH06P1";
90                                         position = "bottom";
91                                         orientation = "3";
92                                 };
93                         };
94                         override@2 {
95                                 target = <&cam_module0_drivernode0>;
96                                 _overlay_ {
97                                         status = "okay";
98                                         pcl_id = "v4l2_sensor";
99                                         devname = "ov23850 6-0010";
100                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ov23850_a@10";
101                                 };
102                         };
103                         /* enable E3323 camera 1 */
104                         override@5 {
105                                 target = <&e3323_cam1>;
106                                 _overlay_ {
107                                         status = "okay";
108                                 };
109                         };
110                         override@6 {
111                                 target = <&cam_module1>;
112                                 _overlay_ {
113                                         status = "okay";
114                                         badge = "e3323_top_CH06P1";
115                                         position = "top";
116                                         orientation = "3";
117                                 };
118                         };
119                         override@7 {
120                                 target = <&cam_module1_drivernode0>;
121                                 _overlay_ {
122                                         status = "okay";
123                                         pcl_id = "v4l2_sensor";
124                                         devname = "ov23850 0-0036";
125                                         proc-device-tree = "/proc/device-tree/i2c@7000c000/ov23850_c@36";
126                                 };
127                         };
128                         /* enable E3323 focuser 0 */
129                         override@10 {
130                                 target = <&e3323_vcm0>;
131                                 _overlay_ {
132                                         status = "okay";
133                                 };
134                         };
135                         override@11 {
136                                 target = <&cam_module0_drivernode1>;
137                                 _overlay_ {
138                                         status = "okay";
139                                         pcl_id = "v4l2_focuser";
140                                         devname = "lc898212 6-0072";
141                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/lc898212@72";
142                                 };
143                         };
144                         /* enable E3323 focuser 1 */
145                         override@14 {
146                                 target = <&e3323_vcm1>;
147                                 _overlay_ {
148                                         status = "okay";
149                                 };
150                         };
151                         override@15 {
152                                 target = <&cam_module1_drivernode1>;
153                                 _overlay_ {
154                                         status = "okay";
155                                         pcl_id = "v4l2_focuser";
156                                         devname = "lc898212 0-0072";
157                                         proc-device-tree = "/proc/device-tree/i2c@7000c000/lc898212@72";
158                                 };
159                         };
160                         /* enable VI ports */
161                         override@18 {
162                                 target = <&vi_base>;
163                                 _overlay_ {
164                                         num-channels=<4>;
165                                 };
166                         };
167                         override@3 {
168                                 target = <&vi_port0>;
169                                 _overlay_ {
170                                         status = "okay";
171                                 };
172                         };
173                         override@4 {
174                                 target = <&vi_in0>;
175                                 _overlay_ {
176                                         status = "okay";
177                                         csi-port = <0>;
178                                         bus-width = <4>;
179                                         remote-endpoint = <&ov23850_out0>;
180                                 };
181                         };
182                         override@8 {
183                                 target = <&vi_port1>;
184                                 _overlay_ {
185                                         status = "okay";
186                                 };
187                         };
188                         override@9 {
189                                 target = <&vi_in1>;
190                                 _overlay_ {
191                                         status = "okay";
192                                         csi-port = <2>;
193                                         bus-width = <4>;
194                                         remote-endpoint = <&ov23850_out1>;
195                                 };
196                         };
197                         override@12 {
198                                 target = <&vi_port2>;
199                                 _overlay_ {
200                                         status = "okay";
201                                 };
202                         };
203                         override@13 {
204                                 target = <&vi_in2>;
205                                 _overlay_ {
206                                         status = "okay";
207                                         remote-endpoint = <&lc898212_out0>;
208                                 };
209                         };
210                         override@16 {
211                                 target = <&vi_port3>;
212                                 _overlay_ {
213                                         status = "okay";
214                                 };
215                         };
216                         override@17 {
217                                 target = <&vi_in3>;
218                                 _overlay_ {
219                                         status = "okay";
220                                         remote-endpoint = <&lc898212_out1>;
221                                 };
222                         };
223                 };
224
225                 /* E3322 camera board */
226                 fragment-e3322@0 {
227                         ids = "3322-1000-000";
228                         /* enable E3322 camera 0 */
229                         override@0 {
230                                 target = <&e3322_cam0>;
231                                 _overlay_ {
232                                         status = "okay";
233                                 };
234                         };
235                         override@1 {
236                                 target = <&cam_module0>;
237                                 _overlay_ {
238                                         status = "okay";
239                                         badge = "e3322_bottomleft_A815P2";
240                                         position = "bottomleft";
241                                         orientation = "1";
242                                 };
243                         };
244                         override@2 {
245                                 target = <&cam_module0_drivernode0>;
246                                 _overlay_ {
247                                         status = "okay";
248                                         pcl_id = "v4l2_sensor";
249                                         devname = "imx219 30-0010";
250                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@0/imx219_a@10";
251                                 };
252                         };
253                         /* enable E3322 camera 1 */
254                         override@3 {
255                                 target = <&e3322_cam1>;
256                                 _overlay_ {
257                                         status = "okay";
258                                 };
259                         };
260                         override@4 {
261                                 target = <&cam_module1>;
262                                 _overlay_ {
263                                         status = "okay";
264                                         badge = "e3322_centerleft_A815P2";
265                                         position = "centerleft";
266                                         orientation = "1";
267                                 };
268                         };
269                         override@5 {
270                                 target = <&cam_module1_drivernode0>;
271                                 _overlay_ {
272                                         status = "okay";
273                                         pcl_id = "v4l2_sensor";
274                                         devname = "imx219 31-0010";
275                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@1/imx219_b@10";
276                                 };
277                         };
278                         /* E3322 camera 2 */
279                         override@6 {
280                                 target = <&e3322_cam2>;
281                                 _overlay_ {
282                                         status = "okay";
283                                 };
284                         };
285                         override@7 {
286                                 target = <&cam_module2>;
287                                 _overlay_ {
288                                         status = "okay";
289                                         badge = "e3322_centerright_A815P2";
290                                         position = "centerright";
291                                         orientation = "1";
292                                 };
293                         };
294                         override@8 {
295                                 target = <&cam_module2_drivernode0>;
296                                 _overlay_ {
297                                         status = "okay";
298                                         pcl_id = "v4l2_sensor";
299                                         devname = "imx219 32-0010";
300                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@2/imx219_c@10";
301                                 };
302                         };
303                         /* E3322 camera 3 */
304                         override@9 {
305                                 target = <&e3322_cam3>;
306                                 _overlay_ {
307                                         status = "okay";
308                                 };
309                         };
310                         override@10 {
311                                 target = <&cam_module3>;
312                                 _overlay_ {
313                                         status = "okay";
314                                         badge = "e3322_topleft_A815P2";
315                                         position = "topleft";
316                                         orientation = "1";
317                                 };
318                         };
319                         override@11 {
320                                 target = <&cam_module3_drivernode0>;
321                                 _overlay_ {
322                                         status = "okay";
323                                         pcl_id = "v4l2_sensor";
324                                         devname = "imx219 33-0010";
325                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@3/imx219_d@10";
326                                 };
327                         };
328                         /* E3322 camera 4 */
329                         override@12 {
330                                 target = <&e3322_cam4>;
331                                 _overlay_ {
332                                         status = "okay";
333                                 };
334                         };
335                         override@13 {
336                                 target = <&cam_module4>;
337                                 _overlay_ {
338                                         status = "okay";
339                                         badge = "e3322_bottomright_A815P2";
340                                         position = "bottomright";
341                                         orientation = "1";
342                                 };
343                         };
344                         override@14 {
345                                 target = <&cam_module4_drivernode0>;
346                                 _overlay_ {
347                                         status = "okay";
348                                         pcl_id = "v4l2_sensor";
349                                         devname = "imx219 34-0010";
350                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@4/imx219_e@10";
351                                 };
352                         };
353                         /* E3322 camera 5 */
354                         override@15 {
355                                 target = <&e3322_cam5>;
356                                 _overlay_ {
357                                         status = "okay";
358                                 };
359                         };
360                         override@16 {
361                                 target = <&cam_module5>;
362                                 _overlay_ {
363                                         status = "okay";
364                                         badge = "e3322_topright_A815P2";
365                                         position = "topright";
366                                         orientation = "1";
367                                 };
368                         };
369                         override@17 {
370                                 target = <&cam_module5_drivernode0>;
371                                 _overlay_ {
372                                         status = "okay";
373                                         pcl_id = "v4l2_sensor";
374                                         devname = "imx219 35-0010";
375                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@5/imx219_f@10";
376                                 };
377                         };
378                         /* Enable VI ports */
379                         override@18 {
380                                 target = <&vi_base>;
381                                 _overlay_ {
382                                         num-channels=<6>;
383                                 };
384                         };
385                         override@19 {
386                                 target = <&vi_port0>;
387                                 _overlay_ {
388                                         status = "okay";
389                                 };
390                         };
391                         override@20 {
392                                 target = <&vi_in0>;
393                                 _overlay_ {
394                                         status = "okay";
395                                         csi-port = <0>;
396                                         bus-width = <2>;
397                                         remote-endpoint = <&imx219_out0>;
398                                 };
399                         };
400                         override@21 {
401                                 target = <&vi_port1>;
402                                 _overlay_ {
403                                         status = "okay";
404                                 };
405                         };
406                         override@22 {
407                                 target = <&vi_in1>;
408                                 _overlay_ {
409                                         status = "okay";
410                                         csi-port = <1>;
411                                         bus-width = <2>;
412                                         remote-endpoint = <&imx219_out1>;
413                                 };
414                         };
415                         override@23 {
416                                 target = <&vi_port2>;
417                                 _overlay_ {
418                                         status = "okay";
419                                 };
420                         };
421                         override@24 {
422                                 target = <&vi_in2>;
423                                 _overlay_ {
424                                         status = "okay";
425                                         csi-port = <2>;
426                                         bus-width = <2>;
427                                         remote-endpoint = <&imx219_out2>;
428                                 };
429                         };
430                         override@25 {
431                                 target = <&vi_port3>;
432                                 _overlay_ {
433                                         status = "okay";
434                                 };
435                         };
436                         override@26 {
437                                 target = <&vi_in3>;
438                                 _overlay_ {
439                                         status = "okay";
440                                         csi-port = <3>;
441                                         bus-width = <2>;
442                                         remote-endpoint = <&imx219_out3>;
443                                 };
444                         };
445                         override@27 {
446                                 target = <&vi_port4>;
447                                 _overlay_ {
448                                         status = "okay";
449                                 };
450                         };
451                         override@28 {
452                                 target = <&vi_in4>;
453                                 _overlay_ {
454                                         status = "okay";
455                                         csi-port = <4>;
456                                         bus-width = <2>;
457                                         remote-endpoint = <&imx219_out4>;
458                                 };
459                         };
460                         override@29 {
461                                 target = <&vi_port5>;
462                                 _overlay_ {
463                                         status = "okay";
464                                 };
465                         };
466                         override@30 {
467                                 target = <&vi_in5>;
468                                 _overlay_ {
469                                         status = "okay";
470                                         csi-port = <5>;
471                                         bus-width = <2>;
472                                         remote-endpoint = <&imx219_out5>;
473                                 };
474                         };
475                         /* Enable TCA6408 GPIO expander */
476                         override@31 {
477                                 target = <&cam_tca6408_21>;
478                                 _overlay_ {
479                                         status = "okay";
480                                 };
481                         };
482                         /* Enable TCA9548 I2C mux */
483                         override@32 {
484                                 target = <&cam_tca9548_77>;
485                                 _overlay_ {
486                                         status = "okay";
487                                 };
488                         };
489                 };
490
491                 /* E3333 camera board */
492                 fragment-e3333@0 {
493                         ids = "3333-1000-000", "3333-1000-100";
494                         /* Enable E3333 camera 0 */
495                         override@0 {
496                                 target = <&e3333_cam0>;
497                                 _overlay_ {
498                                         status = "okay";
499                                 };
500                         };
501                         override@1 {
502                                 target = <&cam_module0>;
503                                 _overlay_ {
504                                         status = "okay";
505                                         badge = "e3333_bottomleft_P5V27C";
506                                         position = "bottomleft";
507                                         orientation = "1";
508                                 };
509                         };
510                         override@2 {
511                                 target = <&cam_module0_drivernode0>;
512                                 _overlay_ {
513                                         status = "okay";
514                                         pcl_id = "v4l2_sensor";
515                                         devname = "ov5693 30-0036";
516                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@0/ov5693_a@36";
517                                 };
518                         };
519                         /* Enable E3333 camera 1 */
520                         override@3 {
521                                 target = <&e3333_cam1>;
522                                 _overlay_ {
523                                         status = "okay";
524                                 };
525                         };
526                         override@4 {
527                                 target = <&cam_module1>;
528                                 _overlay_ {
529                                         status = "okay";
530                                         badge = "e3333_centerleft_P5V27C";
531                                         position = "centerleft";
532                                         orientation = "1";
533                                 };
534                         };
535                         override@5 {
536                                 target = <&cam_module1_drivernode0>;
537                                 _overlay_ {
538                                         status = "okay";
539                                         pcl_id = "v4l2_sensor";
540                                         devname = "ov5693 31-0036";
541                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@1/ov5693_b@36";
542                                 };
543                         };
544                         /* Enable E3333 camera 2 */
545                         override@6 {
546                                 target = <&e3333_cam2>;
547                                 _overlay_ {
548                                         status = "okay";
549                                 };
550                         };
551                         override@7 {
552                                 target = <&cam_module2>;
553                                 _overlay_ {
554                                         status = "okay";
555                                         badge = "e3333_centerright_P5V27C";
556                                         position = "centerright";
557                                         orientation = "1";
558                                 };
559                         };
560                         override@8 {
561                                 target = <&cam_module2_drivernode0>;
562                                 _overlay_ {
563                                         status = "okay";
564                                         pcl_id = "v4l2_sensor";
565                                         devname = "ov5693 32-0036";
566                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@2/ov5693_c@36";
567                                 };
568                         };
569                         /* Enable E3333 camera 3 */
570                         override@9 {
571                                 target = <&e3333_cam3>;
572                                 _overlay_ {
573                                         status = "okay";
574                                 };
575                         };
576                         override@10 {
577                                 target = <&cam_module3>;
578                                 _overlay_ {
579                                         status = "okay";
580                                         badge = "e3333_topleft_P5V27C";
581                                         position = "topleft";
582                                         orientation = "1";
583                                 };
584                         };
585                         override@11 {
586                                 target = <&cam_module3_drivernode0>;
587                                 _overlay_ {
588                                         status = "okay";
589                                         pcl_id = "v4l2_sensor";
590                                         devname = "ov5693 33-0036";
591                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@3/ov5693_d@36";
592                                 };
593                         };
594                         /* Enable E3333 camera 4 */
595                         override@12 {
596                                 target = <&e3333_cam4>;
597                                 _overlay_ {
598                                         status = "okay";
599                                 };
600                         };
601                         override@13 {
602                                 target = <&cam_module4>;
603                                 _overlay_ {
604                                         status = "okay";
605                                         badge = "e3333_bottomright_P5V27C";
606                                         position = "bottomright";
607                                         orientation = "1";
608                                 };
609                         };
610                         override@14 {
611                                 target = <&cam_module4_drivernode0>;
612                                 _overlay_ {
613                                         status = "okay";
614                                         pcl_id = "v4l2_sensor";
615                                         devname = "ov5693 34-0036";
616                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@4/ov5693_e@36";
617                                 };
618                         };
619                         /* Enable E3333 camera 5 */
620                         override@15 {
621                                 target = <&e3333_cam5>;
622                                 _overlay_ {
623                                         status = "okay";
624                                 };
625                         };
626                         override@16 {
627                                 target = <&cam_module5>;
628                                 _overlay_ {
629                                         status = "okay";
630                                         badge = "e3333_topright_P5V27C";
631                                         position = "topright";
632                                         orientation = "1";
633                                 };
634                         };
635                         override@17 {
636                                 target = <&cam_module5_drivernode0>;
637                                 _overlay_ {
638                                         status = "okay";
639                                         pcl_id = "v4l2_sensor";
640                                         devname = "ov5693 35-0036";
641                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/tca9548@77/i2c@5/ov5693_f@36";
642                                 };
643                         };
644                         /* Enable VI ports */
645                         override@18 {
646                                 target = <&vi_base>;
647                                 _overlay_ {
648                                         num-channels=<6>;
649                                 };
650                         };
651                         override@19 {
652                                 target = <&vi_port0>;
653                                 _overlay_ {
654                                         status = "okay";
655                                 };
656                         };
657                         override@20 {
658                                 target = <&e3333_vi_in0>;
659                                 _overlay_ {
660                                         status = "okay";
661                                         csi-port = <0>;
662                                         bus-width = <2>;
663                                         remote-endpoint = <&e3333_ov5693_out0>;
664                                 };
665                         };
666                         override@21 {
667                                 target = <&vi_port1>;
668                                 _overlay_ {
669                                         status = "okay";
670                                 };
671                         };
672                         override@22 {
673                                 target = <&vi_in1>;
674                                 _overlay_ {
675                                         status = "okay";
676                                         csi-port = <1>;
677                                         bus-width = <2>;
678                                         remote-endpoint = <&e3333_ov5693_out1>;
679                                 };
680                         };
681                         override@23 {
682                                 target = <&vi_port2>;
683                                 _overlay_ {
684                                         status = "okay";
685                                 };
686                         };
687                         override@24 {
688                                 target = <&vi_in2>;
689                                 _overlay_ {
690                                         status = "okay";
691                                         csi-port = <2>;
692                                         bus-width = <2>;
693                                         remote-endpoint = <&e3333_ov5693_out2>;
694                                 };
695                         };
696                         override@25 {
697                                 target = <&vi_port3>;
698                                 _overlay_ {
699                                         status = "okay";
700                                 };
701                         };
702                         override@26 {
703                                 target = <&vi_in3>;
704                                 _overlay_ {
705                                         status = "okay";
706                                         csi-port = <3>;
707                                         bus-width = <2>;
708                                         remote-endpoint = <&e3333_ov5693_out3>;
709                                 };
710                         };
711                         override@27 {
712                                 target = <&vi_port4>;
713                                 _overlay_ {
714                                         status = "okay";
715                                 };
716                         };
717                         override@28 {
718                                 target = <&vi_in4>;
719                                 _overlay_ {
720                                         status = "okay";
721                                         csi-port = <4>;
722                                         bus-width = <2>;
723                                         remote-endpoint = <&e3333_ov5693_out4>;
724                                 };
725                         };
726                         override@29 {
727                                 target = <&vi_port5>;
728                                 _overlay_ {
729                                         status = "okay";
730                                 };
731                         };
732                         override@30 {
733                                 target = <&vi_in5>;
734                                 _overlay_ {
735                                         status = "okay";
736                                         csi-port = <5>;
737                                         bus-width = <2>;
738                                         remote-endpoint = <&e3333_ov5693_out5>;
739                                 };
740                         };
741                         /* Enable TCA6408 GPIO expander */
742                         override@31 {
743                                 target = <&cam_tca6408_21>;
744                                 _overlay_ {
745                                         status = "okay";
746                                 };
747                         };
748                         /* Enable TCA9548 I2C mux */
749                         override@32 {
750                                 target = <&cam_tca9548_77>;
751                                 _overlay_ {
752                                         status = "okay";
753                                 };
754                         };
755                 };
756         };
757 };