ARM64: DT: plugin-manager support for camera board
[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 is enabled by default */
18
19                 /* E3323 camera board */
20                 fragment-e3323@0 {
21                         ids = "3323-1000-A00", "3323-1000-A01", "3323-1000-100";
22                         override@0 {
23                                 target = <&e3323_cam0>;
24                                 _overlay_ {
25                                         status = "okay";
26                                 };
27                         };
28                         override@1 {
29                                 target = <&cam_module0>;
30                                 _overlay_ {
31                                         status = "okay";
32                                         badge = "e3323_bottom_CH06P1";
33                                         position = "bottom";
34                                         orientation = "3";
35                                 };
36                         };
37                         override@2 {
38                                 target = <&cam_module0_drivernode0>;
39                                 _overlay_ {
40                                         status = "okay";
41                                         pcl_id = "v4l2_soc_sensor";
42                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/ov23850_a@10";
43                                 };
44                         };
45                         override@3 {
46                                 target = <&e3323_cam0_csia_in0>;
47                                 _overlay_ {
48                                         status = "okay";
49                                         bus-width = <4>;
50                                         remote-endpoint = <&ov23850_out0>;
51                                 };
52                         };
53                         override@4 {
54                                 target = <&e3323_cam1>;
55                                 _overlay_ {
56                                         status = "okay";
57                                 };
58                         };
59                         override@5 {
60                                 target = <&cam_module1>;
61                                 _overlay_ {
62                                         status = "okay";
63                                         badge = "e3323_top_CH06P1";
64                                         position = "top";
65                                         orientation = "3";
66                                 };
67                         };
68                         override@6 {
69                                 target = <&cam_module1_drivernode0>;
70                                 _overlay_ {
71                                         status = "okay";
72                                         pcl_id = "v4l2_soc_sensor";
73                                         proc-device-tree = "/proc/device-tree/i2c@7000c000/ov23850_c@36";
74                                 };
75                         };
76                         override@7 {
77                                 target = <&e3323_cam1_csic_in0>;
78                                 _overlay_ {
79                                         status = "okay";
80                                         bus-width = <4>;
81                                         remote-endpoint = <&ov23850_out2>;
82                                 };
83                         };
84                         override@8 {
85                                 target = <&vi_port6>;
86                                 _overlay_ {
87                                         status = "okay";
88                                 };
89                         };
90                         override@9 {
91                                 target = <&vi_in6>;
92                                 _overlay_ {
93                                         status = "okay";
94                                 };
95                         };
96                         override@10 {
97                                 target = <&e3323_vcm0>;
98                                 _overlay_ {
99                                         status = "okay";
100                                 };
101                         };
102                         override@11 {
103                                 target = <&cam_module0_drivernode1>;
104                                 _overlay_ {
105                                         status = "okay";
106                                         pcl_id = "v4l2_focuser";
107                                         proc-device-tree = "/proc/device-tree/host1x/i2c@546c0000/lc898212@72";
108                                 };
109                         };
110                         override@12 {
111                                 target = <&vi_port7>;
112                                 _overlay_ {
113                                         status = "okay";
114                                 };
115                         };
116                         override@13 {
117                                 target = <&vi_in7>;
118                                 _overlay_ {
119                                         status = "okay";
120                                 };
121                         };
122                         override@14 {
123                                 target = <&e3323_vcm1>;
124                                 _overlay_ {
125                                         status = "okay";
126                                 };
127                         };
128                         override@15 {
129                                 target = <&cam_module1_drivernode1>;
130                                 _overlay_ {
131                                         status = "okay";
132                                         pcl_id = "v4l2_focuser";
133                                         proc-device-tree = "/proc/device-tree/i2c@7000c000/lc898212@72";
134                                 };
135                         };
136                         override@16 {
137                                 target = <&e3326_cam0>;
138                                 _overlay_ {
139                                         status = "disabled";
140                                 };
141                         };
142                 };
143         };
144 };