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";
94 imx135_1: imx135@2_0010 {
96 chipname = "pcl_IMX135";
104 pinmuxgrp = <0xFFFF>;
106 regulators = "vana", "vdig_lv", "vif";
108 drivername = "imx135";
109 detect = <0x0002 0x0016 0xFFFF 0x0135>;
112 CAMERA_IND_CLK_SET(10000)
115 CAMERA_REGULATOR_ON(2)
116 CAMERA_REGULATOR_ON(1)
117 CAMERA_REGULATOR_ON(0)
127 CAMERA_REGULATOR_OFF(2)
128 CAMERA_REGULATOR_OFF(1)
129 CAMERA_REGULATOR_OFF(0)
133 dw9718_1: dw9718@2_000c {
135 chipname = "pcl_DW9718";
143 pinmuxgrp = <0xFFFF>;
145 regulators = "vdd", "vdd_i2c";
146 drivername = "dw9718";
147 detect = <0x0002 0x0004 0xFFFF 0x0060>;
150 CAMERA_REGULATOR_ON(1)
151 CAMERA_REGULATOR_ON(0)
158 CAMERA_REGULATOR_OFF(0)
159 CAMERA_REGULATOR_OFF(1)
165 as3648_1: as3648@2_0030 {
167 chipname = "pcl_AS3648";
175 pinmuxgrp = <0xFFFF>;
177 regulators = "vi2c", "vin";
178 drivername = "as3648";
179 detect = <0x0001 0x0000 0x00F0 0x00b0>;
182 CAMERA_REGULATOR_ON(1)
183 CAMERA_REGULATOR_ON(0)
188 CAMERA_REGULATOR_OFF(0)
189 CAMERA_REGULATOR_OFF(1)
194 ar0261_1: ar0261@2_0036 {
196 chipname = "pcl_AR0261";
204 pinmuxgrp = <0xFFFF>;
206 regulators = "vana", "vdig", "vif";
208 drivername = "ar0261";
209 detect = <0x0002 0x0003 0xFFFF 0x060A>;
212 CAMERA_IND_CLK_SET(10000)
214 CAMERA_REGULATOR_ON(0)
215 CAMERA_REGULATOR_ON(1)
216 CAMERA_REGULATOR_ON(2)
226 CAMERA_REGULATOR_OFF(2)
227 CAMERA_REGULATOR_OFF(1)
228 CAMERA_REGULATOR_OFF(0)
232 ar0330_1: ar0330@2_0018 {
234 chipname = "pcl_AR0330";
242 pinmuxgrp = <0xFFFF>;
244 regulators = "vana", "vdig", "vif";
246 drivername = "ar0330";
247 detect = <0x0002 0x3000 0xFFFF 0x2604>;
250 CAMERA_IND_CLK_SET(10000)
253 CAMERA_REGULATOR_ON(0)
255 CAMERA_REGULATOR_ON(1)
256 CAMERA_REGULATOR_ON(2)
268 CAMERA_REGULATOR_OFF(2)
269 CAMERA_REGULATOR_OFF(1)
270 CAMERA_REGULATOR_OFF(0)
274 ar0330_2: ar0330@2_0010 {
276 chipname = "pcl_AR0330";
284 pinmuxgrp = <0xFFFF>;
286 regulators = "vana", "vdig", "vif";
288 drivername = "ar0330";
289 detect = <0x0002 0x3000 0xFFFF 0x2604>;
292 CAMERA_IND_CLK_SET(10000)
295 CAMERA_REGULATOR_ON(0)
297 CAMERA_REGULATOR_ON(1)
298 CAMERA_REGULATOR_ON(2)
310 CAMERA_REGULATOR_OFF(2)
311 CAMERA_REGULATOR_OFF(1)
312 CAMERA_REGULATOR_OFF(0)
316 ov4689_1: ov4689@2_0036 {
318 chipname = "pcl_OV4689";
326 pinmuxgrp = <0xFFFF>;
328 regulators = "vana", "vdig", "vif";
330 drivername = "ov4689";
331 detect = <0x0002 0x300A 0xFFFF 0x4688>;
334 CAMERA_IND_CLK_SET(10000)
338 CAMERA_REGULATOR_ON(2)
351 ar1335_1: ar1335@2_0036 {
353 chipname = "pcl_AR1335";
361 pinmuxgrp = <0xFFFF>;
363 regulators = "vana", "vif", "vdig_csi";
365 drivername = "ar1335";
366 detect = <0x0002 0x3000 0xFFFF 0x0153>;
369 CAMERA_IND_CLK_SET(10000)
371 CAMERA_REGULATOR_ON(0)
372 CAMERA_REGULATOR_ON(1)
373 CAMERA_REGULATOR_ON(2)
383 CAMERA_REGULATOR_OFF(2)
384 CAMERA_REGULATOR_OFF(1)
385 CAMERA_REGULATOR_OFF(0)