2 * arch/arm/boot/dts/tegra124-platforms/tegra124-pm359-camera-a00.dtsi
4 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #include <dt-bindings/media/camera.h>
25 compatible = "nvidia,tegra124-camera", "simple-bus";
26 configuration = <0xAA55AA55>;
29 module1: module1@modules {
30 /* Camera Module NVD9A951 */
31 compatible = "sensor,front";
32 badge_info = "pm359_erss_front_D9A951";
35 profile = <&imx135_1>;
36 platformdata = "ardbeg_imx135_pdata";
39 profile = <&dw9718_1>;
40 platformdata = "ardbeg_dw9718_pdata";
43 profile = <&as3648_1>;
44 platformdata = "ardbeg_as3648_pdata";
47 module2: module2@modules {
48 compatible = "sensor,front";
49 badge_info = "e1823_front_camera";
52 profile = <&ar0261_1>;
53 platformdata = "ardbeg_ar0261_pdata";
56 module3: module3@modules {
57 compatible = "sensor,rear";
58 badge_info = "e1633_rear_camera";
61 profile = <&ar0330_1>;
62 platformdata = "ardbeg_ar0330_pdata";
65 module4: module4@modules {
66 compatible = "sensor,front";
67 badge_info = "e1633_front_camera";
70 profile = <&ar0330_2>;
71 platformdata = "ardbeg_ar0330_front_pdata";
74 module5: module5@modules {
75 compatible = "sensor,rear";
76 badge_info = "e1633_ov4689";
79 profile = <&ov4689_1>;
80 platformdata = "ardbeg_ov4689_pdata";
83 module6: module6@modules {
84 compatible = "sensor,rear";
85 badge_info = "e1633_ar1335";
88 profile = <&ar1335_1>;
89 platformdata = "ardbeg_ar1335_pdata";
93 module7: module7@modules {
94 compatible = "sensor,rear";
95 badge_info = "imx185_camera";
98 profile = <&imx185_1>;
99 platformdata = "ardbeg_imx185_pdata";
105 imx135_1: imx135@2_0010 {
107 chipname = "pcl_IMX135";
115 pinmuxgrp = <0xFFFF>;
117 regulators = "vana", "vdig_lv", "vif";
119 drivername = "imx135";
120 detect = <0x0002 0x0016 0xFFFF 0x0135>;
123 CAMERA_IND_CLK_SET(10000)
126 CAMERA_REGULATOR_ON(2)
127 CAMERA_REGULATOR_ON(1)
128 CAMERA_REGULATOR_ON(0)
138 CAMERA_REGULATOR_OFF(2)
139 CAMERA_REGULATOR_OFF(1)
140 CAMERA_REGULATOR_OFF(0)
144 imx185_1: imx185@2_001A {
146 chipname = "pcl_IMX185";
154 pinmuxgrp = <0xFFFF>;
158 drivername = "imx185";
159 detect = <0x1 0x3010 0x00FF 0x39>;
162 CAMERA_IND_CLK_SET(37125)
164 CAMERA_REGULATOR_ON(0)
174 CAMERA_REGULATOR_OFF(0)
179 dw9718_1: dw9718@2_000c {
181 chipname = "pcl_DW9718";
189 pinmuxgrp = <0xFFFF>;
191 regulators = "vdd", "vdd_i2c";
192 drivername = "dw9718";
193 detect = <0x0002 0x0004 0xFFFF 0x0060>;
196 CAMERA_REGULATOR_ON(1)
197 CAMERA_REGULATOR_ON(0)
204 CAMERA_REGULATOR_OFF(0)
205 CAMERA_REGULATOR_OFF(1)
211 as3648_1: as3648@2_0030 {
213 chipname = "pcl_AS3648";
221 pinmuxgrp = <0xFFFF>;
223 regulators = "vi2c", "vin";
224 drivername = "as3648";
225 detect = <0x0001 0x0000 0x00F0 0x00b0>;
228 CAMERA_REGULATOR_ON(1)
229 CAMERA_REGULATOR_ON(0)
234 CAMERA_REGULATOR_OFF(0)
235 CAMERA_REGULATOR_OFF(1)
240 ar0261_1: ar0261@2_0036 {
242 chipname = "pcl_AR0261";
250 pinmuxgrp = <0xFFFF>;
252 regulators = "vana", "vdig", "vif";
254 drivername = "ar0261";
255 detect = <0x0002 0x0003 0xFFFF 0x060A>;
258 CAMERA_IND_CLK_SET(10000)
260 CAMERA_REGULATOR_ON(0)
261 CAMERA_REGULATOR_ON(1)
262 CAMERA_REGULATOR_ON(2)
272 CAMERA_REGULATOR_OFF(2)
273 CAMERA_REGULATOR_OFF(1)
274 CAMERA_REGULATOR_OFF(0)
278 ar0330_1: ar0330@2_0018 {
280 chipname = "pcl_AR0330";
288 pinmuxgrp = <0xFFFF>;
290 regulators = "vana", "vdig", "vif";
292 drivername = "ar0330";
293 detect = <0x0002 0x3000 0xFFFF 0x2604>;
296 CAMERA_IND_CLK_SET(10000)
299 CAMERA_REGULATOR_ON(0)
301 CAMERA_REGULATOR_ON(1)
302 CAMERA_REGULATOR_ON(2)
314 CAMERA_REGULATOR_OFF(2)
315 CAMERA_REGULATOR_OFF(1)
316 CAMERA_REGULATOR_OFF(0)
320 ar0330_2: ar0330@2_0010 {
322 chipname = "pcl_AR0330";
330 pinmuxgrp = <0xFFFF>;
332 regulators = "vana", "vdig", "vif";
334 drivername = "ar0330";
335 detect = <0x0002 0x3000 0xFFFF 0x2604>;
338 CAMERA_IND_CLK_SET(10000)
341 CAMERA_REGULATOR_ON(0)
343 CAMERA_REGULATOR_ON(1)
344 CAMERA_REGULATOR_ON(2)
356 CAMERA_REGULATOR_OFF(2)
357 CAMERA_REGULATOR_OFF(1)
358 CAMERA_REGULATOR_OFF(0)
362 ov4689_1: ov4689@2_0036 {
364 chipname = "pcl_OV4689";
372 pinmuxgrp = <0xFFFF>;
374 regulators = "vana", "vdig", "vif";
376 drivername = "ov4689";
377 detect = <0x0002 0x300A 0xFFFF 0x4688>;
380 CAMERA_IND_CLK_SET(10000)
384 CAMERA_REGULATOR_ON(2)
397 ar1335_1: ar1335@2_0036 {
399 chipname = "pcl_AR1335";
407 pinmuxgrp = <0xFFFF>;
409 regulators = "vana", "vif", "vdig_csi";
411 drivername = "ar1335";
412 detect = <0x0002 0x3000 0xFFFF 0x0153>;
415 CAMERA_IND_CLK_SET(10000)
417 CAMERA_REGULATOR_ON(0)
418 CAMERA_REGULATOR_ON(1)
419 CAMERA_REGULATOR_ON(2)
429 CAMERA_REGULATOR_OFF(2)
430 CAMERA_REGULATOR_OFF(1)
431 CAMERA_REGULATOR_OFF(0)