kane: arm/dts: camera: update camera dtsi to fix AF issue
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / arch / arm64 / boot / dts / exynos / exynos9610-robusta2-camera.dtsi
1 /*
2 * SAMSUNG EXYNOS9610 board camera device tree source
3 *
4 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12 #include <dt-bindings/camera/fimc_is.h>
13
14 / {
15 fragment@camera {
16 target-path = "/";
17 __overlay__ {
18 /* Rear Master */
19 fimc_is_sensor_gm1sp: fimc-is_sensor_gm1sp@43 {
20 compatible = "samsung,sensor-module-gm1sp";
21
22 pinctrl-names = "pin0", "pin1", "pin2", "release";
23 pinctrl-0 = <>;
24 pinctrl-1 = <&fimc_is_mclk0_out>;
25 pinctrl-2 = <&fimc_is_mclk0_fn>;
26 pinctrl-3 = <>;
27
28 position = <0>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
29 id = <0>; /* fimc_is_sensor id */
30 mclk_ch = <0>;
31 sensor_i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
32
33 gpio_mclk = <&gpc2 0 0x1>;
34 gpio_reset = <&gpc1 0 0x1>; /* sensor reset */
35
36 gpio_avdd_en = <&gpg2 6 0x1>; /* RCAM_MAIN_AVDD_EN */
37 gpio_dvdd_en = <&gpg2 7 0x1>; /* RCAM_DVDD_EN */
38 gpio_iovdd_en = <&gpg2 5 0x1>; /* CAM_IOVDD_EN */
39
40 status = "okay";
41
42 af {
43 product_name = <23>; /* ACTUATOR_NAME_DW9839 */
44 i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
45 };
46
47 flash {
48 product_name = <14>; /* FLADRV_NAME_S2MU106 */
49 };
50
51 ois {
52 product_name = <3>; /* OIS_NAME_ROHM_BU24218GWL */
53 i2c_addr = <0x7c>;
54 i2c_ch = <0>; /* SENSOR_CONTROL_I2C0 */
55 };
56
57 eeprom {
58 product_name = <1>; /* EEPROM_NAME_GM1 */
59 };
60
61 internal_vc {
62 vc_list = <1 VC_PRIVATE 0 2 VC_MIPISTAT 0>;
63 };
64 };
65
66 /* Rear slave */
67 fimc_is_sensor_5e9: fimc-is_sensor_5e9@41 {
68 compatible = "samsung,sensor-module-5e9";
69
70 pinctrl-names = "pin0", "pin1", "pin2", "release";
71 pinctrl-0 = <>;
72 pinctrl-1 = <&fimc_is_mclk1_out>;
73 pinctrl-2 = <&fimc_is_mclk1_fn>;
74 pinctrl-3 = <>;
75
76 position = <2>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
77 id = <2>; /* fimc_is_sensor id */
78 mclk_ch = <1>;
79 sensor_i2c_ch = <1>; /* SENSOR_CONTROL_I2C1 */
80
81 gpio_mclk = <&gpc2 1 0x1>;
82 gpio_reset = <&gpc1 1 0x1>; /* sensor reset */
83
84 gpio_avdd_en = <&gpg2 3 0x1>; /* FCAM_AVDD_EN */
85 gpio_iovdd_en = <&gpg2 5 0x1>; /* CAM_IOVDD_EN */
86
87 power_seq_idx = <1>; /* power on/off sequence index */
88 status = "okay";
89
90 af {
91 product_name = <100>; /* NOTHING */
92 };
93
94 flash {
95 product_name = <100>; /* NOTHING */
96 };
97
98 ois {
99 product_name = <100>; /* NOTHING */
100 };
101
102 eeprom {
103 product_name = <2>; /* EEPROM_NAME_5E9 */
104 };
105
106 internal_vc {
107 /* DUMMY */
108 };
109 };
110
111 /* Front */
112 fimc_is_sensor_2x5sp: fimc-is_sensor_2x5sp@42 {
113 compatible = "samsung,sensor-module-2x5sp";
114
115 pinctrl-names = "pin0", "pin1", "pin2", "release";
116 pinctrl-0 = <>;
117 pinctrl-1 = <&fimc_is_mclk2_out>;
118 pinctrl-2 = <&fimc_is_mclk2_fn>;
119 pinctrl-3 = <>;
120
121 position = <1>; /* Rear:0. Front:1. Rear_sub:2. Secure:3. */
122 id = <1>; /* fimc_is_sensor id */
123 mclk_ch = <2>;
124 sensor_i2c_ch = <2>; /* SENSOR_CONTROL_I2C2 */
125
126 gpio_mclk = <&gpc2 2 0x1>;
127 gpio_reset = <&gpc1 3 0x1>; /* sensor reset */
128
129 gpio_avdd_en = <&gpg2 3 0x1>; /* FCAM_AVDD_EN */
130 gpio_dvdd_en = <&gpg2 4 0x1>; /* FCAM_DVDD_EN */
131 gpio_iovdd_en = <&gpg2 5 0x1>; /* CAM_IOVDD_EN */
132
133 status = "okay";
134
135 af {
136 product_name = <100>; /* NOTHING */
137 };
138
139 flash {
140 product_name = <100>; /* NOTHING */
141 };
142
143 ois {
144 product_name = <100>; /* NOTHING */
145 };
146
147 internal_vc {
148 vc_list = <3 VC_EMBEDDED 0>;
149 };
150 };
151
152 fimc_is_flash_s2mu106: fimc-is-flash-s2mu106@14 {
153 compatible = "samsung,sensor-flash-s2mu106";
154 id = <0>;
155 led_ch = <1 2>; /* CH1 ~ CH4, CH0 not exist */
156 status = "okay";
157 };
158
159 }; /* end of __overlay__ */
160 }; /* end of fragment */
161 }; /* end of root */
162
163 /***** reference symbol node *****/
164
165 &fimc_is {
166 vender {
167 rear_sensor_id = <43>; /* 43: GM1SP */
168 front_sensor_id = <42>; /* 42: 2X5SP */
169 rear2_sensor_id = <41>; /* 41: 5E9 */
170 };
171
172 fimc_is_dvfs {
173 #define DVFS_INT_CAM_L0 690000
174 #define DVFS_INT_CAM_L1 680000
175 #define DVFS_INT_CAM_L2 670000
176 #define DVFS_INT_CAM_L3 660000
177 #define DVFS_INT_CAM_L4 650000
178
179 #define DVFS_INT_L0 667000
180 #define DVFS_INT_L1 533000
181 #define DVFS_INT_L2 400000
182 #define DVFS_INT_L3 200000
183 #define DVFS_INT_L4 100000
184
185 #define DVFS_CAM_L0 700000
186 #define DVFS_CAM_L1 690000
187 #define DVFS_CAM_L2 680000
188 #define DVFS_CAM_L3 670000
189 #define DVFS_CAM_L4 660000
190 #define DVFS_CAM_L5 650000
191 #define DVFS_CAM_L6 640000
192
193 #define DVFS_MIF_L0 2093000
194 #define DVFS_MIF_L1 2002000
195 #define DVFS_MIF_L2 1794000
196 #define DVFS_MIF_L3 1539000
197 #define DVFS_MIF_L4 1352000
198 #define DVFS_MIF_L5 1014000
199 #define DVFS_MIF_L6 845000
200 #define DVFS_MIF_L7 676000
201 #define DVFS_MIF_L8 546000
202 #define DVFS_MIF_L9 419000
203
204 table0 {
205 desc = "dvfs table v0.2.a for Robusta2";
206
207 default_int_cam = <DVFS_INT_CAM_L0>;
208 default_cam = <DVFS_CAM_L0>;
209 default_mif = <DVFS_MIF_L0>;
210 default_int = <DVFS_INT_L0>;
211 default_hpg = <1>;
212
213 front_preview_uhd_int_cam = <DVFS_INT_CAM_L0>;
214 front_preview_uhd_cam = <DVFS_CAM_L2>;
215 front_preview_uhd_mif = <DVFS_MIF_L3>;
216 front_preview_uhd_int = <DVFS_INT_L4>;
217 front_preview_uhd_hpg = <1>;
218
219 front_preview_int_cam = <DVFS_INT_CAM_L3>;
220 front_preview_cam = <DVFS_CAM_L2>;
221 front_preview_mif = <DVFS_MIF_L3>;
222 front_preview_int = <DVFS_INT_L4>;
223 front_preview_hpg = <1>;
224
225 front_preview_full_int_cam = <DVFS_INT_CAM_L0>;
226 front_preview_full_cam = <DVFS_CAM_L2>;
227 front_preview_full_mif = <DVFS_MIF_L3>;
228 front_preview_full_int = <DVFS_INT_L4>;
229 front_preview_full_hpg = <1>;
230
231 front_capture_int_cam = <DVFS_INT_CAM_L0>;
232 front_capture_cam = <DVFS_CAM_L1>;
233 front_capture_mif = <DVFS_MIF_L2>;
234 front_capture_int = <DVFS_INT_L4>;
235 front_capture_hpg = <1>;
236
237 front_video_int_cam = <DVFS_INT_CAM_L3>;
238 front_video_cam = <DVFS_CAM_L2>;
239 front_video_mif = <DVFS_MIF_L5>;
240 front_video_int = <DVFS_INT_L4>;
241 front_video_hpg = <1>;
242
243 front_video_capture_int_cam = <DVFS_INT_CAM_L0>;
244 front_video_capture_cam = <DVFS_CAM_L1>;
245 front_video_capture_mif = <DVFS_MIF_L2>;
246 front_video_capture_int = <DVFS_INT_L4>;
247 front_video_capture_hpg = <1>;
248
249 front_wide_selfie_int_cam = <DVFS_INT_CAM_L0>;
250 front_wide_selfie_cam = <DVFS_CAM_L1>;
251 front_wide_selfie_mif = <DVFS_MIF_L3>;
252 front_wide_selfie_int = <DVFS_INT_L4>;
253 front_wide_selfie_hpg = <1>;
254
255 front_vt1_int_cam = <DVFS_INT_CAM_L3>;
256 front_vt1_cam = <DVFS_CAM_L2>;
257 front_vt1_mif = <DVFS_MIF_L5>;
258 front_vt1_int = <DVFS_INT_L4>;
259 front_vt1_hpg = <1>;
260
261 front_vt2_int_cam = <DVFS_INT_CAM_L3>;
262 front_vt2_cam = <DVFS_CAM_L2>;
263 front_vt2_mif = <DVFS_MIF_L5>;
264 front_vt2_int = <DVFS_INT_L4>;
265 front_vt2_hpg = <1>;
266
267 front_vt4_int_cam = <DVFS_INT_CAM_L3>;
268 front_vt4_cam = <DVFS_CAM_L2>;
269 front_vt4_mif = <DVFS_MIF_L5>;
270 front_vt4_int = <DVFS_INT_L4>;
271 front_vt4_hpg = <1>;
272
273 front_video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L3>;
274 front_video_high_speed_60fps_cam = <DVFS_CAM_L2>;
275 front_video_high_speed_60fps_mif = <DVFS_MIF_L3>;
276 front_video_high_speed_60fps_int = <DVFS_INT_L4>;
277 front_video_high_speed_60fps_hpg = <1>;
278
279 front_video_high_speed_120fps_int_cam = <DVFS_INT_CAM_L3>;
280 front_video_high_speed_120fps_cam = <DVFS_CAM_L2>;
281 front_video_high_speed_120fps_mif = <DVFS_MIF_L3>;
282 front_video_high_speed_120fps_int = <DVFS_INT_L4>;
283 front_video_high_speed_120fps_hpg = <1>;
284
285 front_video_high_speed_240fps_int_cam = <DVFS_INT_CAM_L2>;
286 front_video_high_speed_240fps_cam = <DVFS_CAM_L2>;
287 front_video_high_speed_240fps_mif = <DVFS_MIF_L2>;
288 front_video_high_speed_240fps_int = <DVFS_INT_L4>;
289 front_video_high_speed_240fps_hpg = <1>;
290
291 rear2_preview_fhd_int_cam = <DVFS_INT_CAM_L3>;
292 rear2_preview_fhd_cam = <DVFS_CAM_L4>;
293 rear2_preview_fhd_mif = <DVFS_MIF_L3>;
294 rear2_preview_fhd_int = <DVFS_INT_L4>;
295 rear2_preview_fhd_hpg = <1>;
296
297 rear2_capture_int_cam = <DVFS_INT_CAM_L2>;
298 rear2_capture_cam = <DVFS_CAM_L2>;
299 rear2_capture_mif = <DVFS_MIF_L3>;
300 rear2_capture_int = <DVFS_INT_L4>;
301 rear2_capture_hpg = <1>;
302
303 rear2_video_fhd_int_cam = <DVFS_INT_CAM_L3>;
304 rear2_video_fhd_cam = <DVFS_CAM_L4>;
305 rear2_video_fhd_mif = <DVFS_MIF_L3>;
306 rear2_video_fhd_int = <DVFS_INT_L4>;
307 rear2_video_fhd_hpg = <1>;
308
309 rear2_video_fhd_capture_int_cam = <DVFS_INT_CAM_L2>;
310 rear2_video_fhd_capture_cam = <DVFS_CAM_L2>;
311 rear2_video_fhd_capture_mif = <DVFS_MIF_L3>;
312 rear2_video_fhd_capture_int = <DVFS_INT_L4>;
313 rear2_video_fhd_capture_hpg = <1>;
314
315 rear_preview_fhd_int_cam = <DVFS_INT_CAM_L2>;
316 rear_preview_fhd_cam = <DVFS_CAM_L4>;
317 rear_preview_fhd_mif = <DVFS_MIF_L5>;
318 rear_preview_fhd_int = <DVFS_INT_L4>;
319 rear_preview_fhd_hpg = <1>;
320
321 rear_preview_hd_int_cam = <DVFS_INT_CAM_L2>;
322 rear_preview_hd_cam = <DVFS_CAM_L4>;
323 rear_preview_hd_mif = <DVFS_MIF_L5>;
324 rear_preview_hd_int = <DVFS_INT_L4>;
325 rear_preview_hd_hpg = <1>;
326
327 rear_preview_uhd_int_cam = <DVFS_INT_CAM_L2>;
328 rear_preview_uhd_cam = <DVFS_CAM_L4>;
329 rear_preview_uhd_mif = <DVFS_MIF_L5>;
330 rear_preview_uhd_int = <DVFS_INT_L4>;
331 rear_preview_uhd_hpg = <1>;
332
333 rear_preview_full_int_cam = <DVFS_INT_CAM_L2>;
334 rear_preview_full_cam = <DVFS_CAM_L4>;
335 rear_preview_full_mif = <DVFS_MIF_L5>;
336 rear_preview_full_int = <DVFS_INT_L4>;
337 rear_preview_full_hpg = <1>;
338
339 rear_capture_int_cam = <DVFS_INT_CAM_L1>;
340 rear_capture_cam = <DVFS_CAM_L2>;
341 rear_capture_mif = <DVFS_MIF_L3>;
342 rear_capture_int = <DVFS_INT_L4>;
343 rear_capture_hpg = <1>;
344
345 rear_video_fhd_int_cam = <DVFS_INT_CAM_L2>;
346 rear_video_fhd_cam = <DVFS_CAM_L4>;
347 rear_video_fhd_mif = <DVFS_MIF_L5>;
348 rear_video_fhd_int = <DVFS_INT_L4>;
349 rear_video_fhd_hpg = <1>;
350
351 rear_video_hd_int_cam = <DVFS_INT_CAM_L2>;
352 rear_video_hd_cam = <DVFS_CAM_L4>;
353 rear_video_hd_mif = <DVFS_MIF_L6>;
354 rear_video_hd_int = <DVFS_INT_L4>;
355 rear_video_hd_hpg = <1>;
356
357 rear_video_uhd_int_cam = <DVFS_INT_CAM_L2>;
358 rear_video_uhd_cam = <DVFS_CAM_L4>;
359 rear_video_uhd_mif = <DVFS_MIF_L4>;
360 rear_video_uhd_int = <DVFS_INT_L4>;
361 rear_video_uhd_hpg = <1>;
362
363 rear_video_fhd_capture_int_cam = <DVFS_INT_CAM_L1>;
364 rear_video_fhd_capture_cam = <DVFS_CAM_L2>;
365 rear_video_fhd_capture_mif = <DVFS_MIF_L3>;
366 rear_video_fhd_capture_int = <DVFS_INT_L4>;
367 rear_video_fhd_capture_hpg = <1>;
368
369 rear_video_hd_capture_int_cam = <DVFS_INT_CAM_L1>;
370 rear_video_hd_capture_cam = <DVFS_CAM_L2>;
371 rear_video_hd_capture_mif = <DVFS_MIF_L3>;
372 rear_video_hd_capture_int = <DVFS_INT_L4>;
373 rear_video_hd_capture_hpg = <1>;
374
375 rear_video_uhd_capture_int_cam = <DVFS_INT_CAM_L1>;
376 rear_video_uhd_capture_cam = <DVFS_CAM_L2>;
377 rear_video_uhd_capture_mif = <DVFS_MIF_L3>;
378 rear_video_uhd_capture_int = <DVFS_INT_L4>;
379 rear_video_uhd_capture_hpg = <1>;
380
381 rear_video_high_speed_60fps_int_cam = <DVFS_INT_CAM_L3>;
382 rear_video_high_speed_60fps_cam = <DVFS_CAM_L4>;
383 rear_video_high_speed_60fps_mif = <DVFS_MIF_L4>;
384 rear_video_high_speed_60fps_int = <DVFS_INT_L4>;
385 rear_video_high_speed_60fps_hpg = <1>;
386
387 rear_video_high_speed_120fps_int_cam = <DVFS_INT_CAM_L3>;
388 rear_video_high_speed_120fps_cam = <DVFS_CAM_L4>;
389 rear_video_high_speed_120fps_mif = <DVFS_MIF_L3>;
390 rear_video_high_speed_120fps_int = <DVFS_INT_L4>;
391 rear_video_high_speed_120fps_hpg = <1>;
392
393 rear_video_high_speed_240fps_int_cam = <DVFS_INT_CAM_L3>;
394 rear_video_high_speed_240fps_cam = <DVFS_CAM_L4>;
395 rear_video_high_speed_240fps_mif = <DVFS_MIF_L2>;
396 rear_video_high_speed_240fps_int = <DVFS_INT_L4>;
397 rear_video_high_speed_240fps_hpg = <1>;
398
399 dual_preview_int_cam = <DVFS_INT_CAM_L2>;
400 dual_preview_cam = <DVFS_CAM_L2>;
401 dual_preview_mif = <DVFS_MIF_L3>;
402 dual_preview_int = <DVFS_INT_L4>;
403 dual_preview_hpg = <1>;
404
405 dual_capture_int_cam = <DVFS_INT_CAM_L0>;
406 dual_capture_cam = <DVFS_CAM_L2>;
407 dual_capture_mif = <DVFS_MIF_L1>;
408 dual_capture_int = <DVFS_INT_L4>;
409 dual_capture_hpg = <1>;
410
411 dual_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
412 dual_video_fhd_cam = <DVFS_CAM_L0>;
413 dual_video_fhd_mif = <DVFS_MIF_L0>;
414 dual_video_fhd_int = <DVFS_INT_L0>;
415 dual_video_fhd_hpg = <1>;
416
417 dual_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
418 dual_video_fhd_capture_cam = <DVFS_CAM_L0>;
419 dual_video_fhd_capture_mif = <DVFS_MIF_L0>;
420 dual_video_fhd_capture_int = <DVFS_INT_L0>;
421 dual_video_fhd_capture_hpg = <1>;
422
423 dual_video_uhd_int_cam = <DVFS_INT_CAM_L0>;
424 dual_video_uhd_cam = <DVFS_CAM_L0>;
425 dual_video_uhd_mif = <DVFS_MIF_L0>;
426 dual_video_uhd_int = <DVFS_INT_L0>;
427 dual_video_uhd_hpg = <1>;
428
429 dual_video_uhd_capture_int_cam = <DVFS_INT_CAM_L0>;
430 dual_video_uhd_capture_cam = <DVFS_CAM_L0>;
431 dual_video_uhd_capture_mif = <DVFS_MIF_L0>;
432 dual_video_uhd_capture_int = <DVFS_INT_L0>;
433 dual_video_uhd_capture_hpg = <1>;
434
435 dual_sync_preview_int_cam = <DVFS_INT_CAM_L0>;
436 dual_sync_preview_cam = <DVFS_CAM_L0>;
437 dual_sync_preview_mif = <DVFS_MIF_L0>;
438 dual_sync_preview_int = <DVFS_INT_L0>;
439 dual_sync_preview_hpg = <1>;
440
441 dual_sync_capture_int_cam = <DVFS_INT_CAM_L0>;
442 dual_sync_capture_cam = <DVFS_CAM_L0>;
443 dual_sync_capture_mif = <DVFS_MIF_L0>;
444 dual_sync_capture_int = <DVFS_INT_L0>;
445 dual_sync_capture_hpg = <1>;
446
447 dual_sync_preview_whd_int_cam = <DVFS_INT_CAM_L0>;
448 dual_sync_preview_whd_cam = <DVFS_CAM_L0>;
449 dual_sync_preview_whd_mif = <DVFS_MIF_L0>;
450 dual_sync_preview_whd_int = <DVFS_INT_L0>;
451 dual_sync_preview_whd_hpg = <1>;
452
453 dual_sync_whd_capture_int_cam = <DVFS_INT_CAM_L0>;
454 dual_sync_whd_capture_cam = <DVFS_CAM_L0>;
455 dual_sync_whd_capture_mif = <DVFS_MIF_L0>;
456 dual_sync_whd_capture_int = <DVFS_INT_L0>;
457 dual_sync_whd_capture_hpg = <1>;
458
459 dual_sync_video_fhd_int_cam = <DVFS_INT_CAM_L0>;
460 dual_sync_video_fhd_cam = <DVFS_CAM_L0>;
461 dual_sync_video_fhd_mif = <DVFS_MIF_L0>;
462 dual_sync_video_fhd_int = <DVFS_INT_L0>;
463 dual_sync_video_fhd_hpg = <1>;
464
465 dual_sync_video_fhd_capture_int_cam = <DVFS_INT_CAM_L0>;
466 dual_sync_video_fhd_capture_cam = <DVFS_CAM_L0>;
467 dual_sync_video_fhd_capture_mif = <DVFS_MIF_L0>;
468 dual_sync_video_fhd_capture_int = <DVFS_INT_L0>;
469 dual_sync_video_fhd_capture_hpg = <1>;
470
471 dual_sync_video_uhd_int_cam = <DVFS_INT_CAM_L0>;
472 dual_sync_video_uhd_cam = <DVFS_CAM_L0>;
473 dual_sync_video_uhd_mif = <DVFS_MIF_L0>;
474 dual_sync_video_uhd_int = <DVFS_INT_L0>;
475 dual_sync_video_uhd_hpg = <1>;
476
477 dual_sync_video_uhd_capture_int_cam = <DVFS_INT_CAM_L0>;
478 dual_sync_video_uhd_capture_cam = <DVFS_CAM_L0>;
479 dual_sync_video_uhd_capture_mif = <DVFS_MIF_L0>;
480 dual_sync_video_uhd_capture_int = <DVFS_INT_L0>;
481 dual_sync_video_uhd_capture_hpg = <1>;
482
483 pip_preview_int_cam = <DVFS_INT_CAM_L0>;
484 pip_preview_cam = <DVFS_CAM_L0>;
485 pip_preview_mif = <DVFS_MIF_L0>;
486 pip_preview_int = <DVFS_INT_L0>;
487 pip_preview_hpg = <1>;
488
489 pip_capture_int_cam = <DVFS_INT_CAM_L0>;
490 pip_capture_cam = <DVFS_CAM_L0>;
491 pip_capture_mif = <DVFS_MIF_L0>;
492 pip_capture_int = <DVFS_INT_L0>;
493 pip_capture_hpg = <1>;
494
495 secure_front_int_cam = <DVFS_INT_CAM_L0>;
496 secure_front_cam = <DVFS_CAM_L0>;
497 secure_front_mif = <DVFS_MIF_L0>;
498 secure_front_int = <DVFS_INT_L0>;
499 secure_front_hpg = <1>;
500
501 preview_high_speed_fps_int_cam = <DVFS_INT_CAM_L0>;
502 preview_high_speed_fps_cam = <DVFS_CAM_L0>;
503 preview_high_speed_fps_mif = <DVFS_MIF_L0>;
504 preview_high_speed_fps_int = <DVFS_INT_L0>;
505 preview_high_speed_fps_hpg = <1>;
506
507 video_high_speed_480fps_int_cam = <DVFS_INT_CAM_L0>;
508 video_high_speed_480fps_cam = <DVFS_CAM_L0>;
509 video_high_speed_480fps_mif = <DVFS_MIF_L0>;
510 video_high_speed_480fps_int = <DVFS_INT_L0>;
511 video_high_speed_480fps_hpg = <1>;
512
513 video_high_speed_60fps_capture_int_cam = <DVFS_INT_CAM_L0>;
514 video_high_speed_60fps_capture_cam = <DVFS_CAM_L0>;
515 video_high_speed_60fps_capture_mif = <DVFS_MIF_L0>;
516 video_high_speed_60fps_capture_int = <DVFS_INT_L0>;
517 video_high_speed_60fps_capture_hpg = <1>;
518
519 ext_front_int_cam = <DVFS_INT_CAM_L0>;
520 ext_front_cam = <DVFS_CAM_L0>;
521 ext_front_mif = <DVFS_MIF_L0>;
522 ext_front_int = <DVFS_INT_L0>;
523 ext_front_hpg = <1>;
524
525 ext_secure_int_cam = <DVFS_INT_CAM_L0>;
526 ext_secure_cam = <DVFS_CAM_L0>;
527 ext_secure_mif = <DVFS_MIF_L0>;
528 ext_secure_int = <DVFS_INT_L0>;
529 ext_secure_hpg = <1>;
530
531 max_int_cam = <DVFS_INT_CAM_L0>;
532 max_cam = <DVFS_CAM_L0>;
533 max_mif = <DVFS_MIF_L0>;
534 max_int = <DVFS_INT_L0>;
535 max_hpg = <1>;
536 };
537 };
538 };
539
540 /* I2C_CAM0 */ /* SENSOR_CONTROL_I2C0 */
541 &hsi2c_12 {
542 gpios = <&gpc0 0 0 &gpc0 1 0>;
543 status = "okay";
544 clock-frequency = <1000000>;
545 samsung,reset-before-trans;
546
547 samsung,fast-plus-mode;
548 #address-cells = <1>;
549 #size-cells = <0>;
550
551 fimc-is-gm1sp@2d {
552 compatible = "samsung,exynos5-fimc-is-cis-gm1sp";
553 reg = <0x2d>; /* TODO: need to check */
554 id = <0>; /* matching fimc_is_sensor id */
555 setfile = "setB";
556 use_initial_ae; /* for initial AE */
557 dual_sync_mode = <DUAL_SYNC_MASTER>;
558 };
559
560 fimc-is-actuator@72 {
561 compatible = "samsung,exynos5-fimc-is-actuator-dw9839";
562 reg = <0x0C>;
563 id = <0>; /* matching fimc_is_sensor id */
564 place = <0>;
565 };
566
567 fimc-is-ois@3e {
568 compatible = "samsung,exynos5-fimc-is-ois-bu24218gwl";
569 reg = <0x3e>;
570 id = <0>;
571 place = <0>;
572 };
573
574 fimc-is-eeprom@51 {
575 compatible = "samsung,exynos5-fimc-is-sensor-eeprom-gm1";
576 reg = <0x51>;
577 id = <0>;
578 };
579 };
580
581 /* I2C_CAM1 */ /* SENSOR_CONTROL_I2C1 */
582 &hsi2c_13 {
583 gpios = <&gpc0 2 0 &gpc0 3 0>;
584 status = "okay";
585 clock-frequency = <400000>;
586 samsung,reset-before-trans;
587
588 #address-cells = <1>;
589 #size-cells = <0>;
590
591 fimc-is-5e9@10 {
592 compatible = "samsung,exynos5-fimc-is-cis-5e9";
593 reg = <0x10>; /* 1 bit right shift */
594 id = <2>; /* matching fimc_is_sensor id */
595 setfile = "setC";
596 use_initial_ae; /* for initial AE */
597 dual_sync_mode = <DUAL_SYNC_SLAVE>;
598 };
599
600 fimc-is-eeprom@54 {
601 compatible = "samsung,exynos5-fimc-is-sensor-eeprom-5e9";
602 reg = <0x54>;
603 id = <2>;
604 };
605 };
606
607 /* I2C_CAM2 */ /* SENSOR_CONTROL_I2C2 */
608 &hsi2c_14 {
609 gpios = <&gpc0 4 0 &gpc0 5 0>;
610 status = "okay";
611 clock-frequency = <1000000>;
612 samsung,reset-before-trans;
613
614 samsung,fast-plus-mode;
615 #address-cells = <1>;
616 #size-cells = <0>;
617
618 fimc-is-2x5sp@10 {
619 compatible = "samsung,exynos5-fimc-is-cis-2x5sp";
620 reg = <0x10>; /* 1 bit right shift */
621 id = <1>; /* matching fimc_is_sensor id */
622 setfile = "setB";
623 use_initial_ae; /* for initial AE */
624 use_otp_cal; /* for use OTP */
625 };
626 };
627
628 &fimc_is_sensor0 {
629 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
630 id = <0>;
631 csi_ch = <0>;
632 dma_ch = <0 0 0 0 0 0 2 0>;
633 vc_ch = <0 1 2 3 0 1 0 3>;
634 flite_ch = <FLITE_ID_NOTHING>;
635 is_bns = <0>;
636 csi_mux = <0>; /* CSIS_DPHY[2:0] = [0 0 0] */
637 multi_ch = <1>;
638 use_ssvc1_internal;
639 use_ssvc2_internal;
640 status = "okay";
641 };
642
643 &fimc_is_sensor1 {
644 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
645 id = <1>;
646 csi_ch = <1>;
647 dma_ch = <1 1 1 1 1 1 1 1>;
648 vc_ch = <0 1 2 3 0 1 2 3>;
649 flite_ch = <FLITE_ID_NOTHING>;
650 is_bns = <0>;
651 csi_mux = <0>; /* CSIS_DPHY[2:0] = [0 0 0] */
652 multi_ch = <0>;
653 status = "okay";
654 use_ssvc3_internal;
655 };
656
657 &fimc_is_sensor2 {
658 scenario = <SENSOR_SCENARIO_NORMAL>; /* Normal, Vision, OIS etc */
659 id = <2>;
660 csi_ch = <2>;
661 dma_ch = <3 2 2 2>;
662 vc_ch = <0 1 2 3>;
663 flite_ch = <FLITE_ID_NOTHING>;
664 is_bns = <0>;
665 csi_mux = <0>; /* CSIS_DPHY[2:0] = [0 0 0] */
666 multi_ch = <0>;
667 status = "okay";
668 };
669
670 &fimc_is_sensor3 {
671 scenario = <SENSOR_SCENARIO_SECURE>; /* Normal, Vision, OIS etc */
672 id = <3>;
673 csi_ch = <3>;
674 dma_ch = <3 3 3 3>;
675 vc_ch = <0 1 2 3>;
676 flite_ch = <FLITE_ID_NOTHING>;
677 is_bns = <0>;
678 csi_mux = <0>; /* CSIS_DPHY[2:0] = [0 0 0] */
679 multi_ch = <0>;
680 status = "okay";
681 };