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";
85 imx135_1: imx135@2_0010 {
87 chipname = "pcl_IMX135";
97 regulators = "vana", "vdig_lv", "vif";
99 drivername = "imx135";
100 detect = <0x0002 0x0016 0xFFFF 0x0135>;
103 CAMERA_IND_CLK_SET(10000)
106 CAMERA_REGULATOR_ON(2)
107 CAMERA_REGULATOR_ON(1)
108 CAMERA_REGULATOR_ON(0)
118 CAMERA_REGULATOR_OFF(2)
119 CAMERA_REGULATOR_OFF(1)
120 CAMERA_REGULATOR_OFF(0)
124 dw9718_1: dw9718@2_000c {
126 chipname = "pcl_DW9718";
134 pinmuxgrp = <0xFFFF>;
136 regulators = "vdd", "vdd_i2c";
137 drivername = "dw9718";
138 detect = <0x0002 0x0004 0xFFFF 0x0060>;
141 CAMERA_REGULATOR_ON(1)
142 CAMERA_REGULATOR_ON(0)
149 CAMERA_REGULATOR_OFF(0)
150 CAMERA_REGULATOR_OFF(1)
156 as3648_1: as3648@2_0030 {
158 chipname = "pcl_AS3648";
166 pinmuxgrp = <0xFFFF>;
168 regulators = "vi2c", "vin";
169 drivername = "as3648";
170 detect = <0x0001 0x0000 0x00F0 0x00b0>;
173 CAMERA_REGULATOR_ON(1)
174 CAMERA_REGULATOR_ON(0)
179 CAMERA_REGULATOR_OFF(0)
180 CAMERA_REGULATOR_OFF(1)
185 ar0261_1: ar0261@2_0036 {
187 chipname = "pcl_AR0261";
195 pinmuxgrp = <0xFFFF>;
197 regulators = "vana", "vdig", "vif";
199 drivername = "ar0261";
200 detect = <0x0002 0x0003 0xFFFF 0x060A>;
203 CAMERA_IND_CLK_SET(10000)
205 CAMERA_REGULATOR_ON(0)
206 CAMERA_REGULATOR_ON(1)
207 CAMERA_REGULATOR_ON(2)
217 CAMERA_REGULATOR_OFF(2)
218 CAMERA_REGULATOR_OFF(1)
219 CAMERA_REGULATOR_OFF(0)
223 ar0330_1: ar0330@2_0018 {
225 chipname = "pcl_AR0330";
233 pinmuxgrp = <0xFFFF>;
235 regulators = "vana", "vdig", "vif";
237 drivername = "ar0330";
238 detect = <0x0002 0x3000 0xFFFF 0x2604>;
241 CAMERA_IND_CLK_SET(10000)
244 CAMERA_REGULATOR_ON(0)
246 CAMERA_REGULATOR_ON(1)
247 CAMERA_REGULATOR_ON(2)
259 CAMERA_REGULATOR_OFF(2)
260 CAMERA_REGULATOR_OFF(1)
261 CAMERA_REGULATOR_OFF(0)
265 ar0330_2: ar0330@2_0010 {
267 chipname = "pcl_AR0330";
275 pinmuxgrp = <0xFFFF>;
277 regulators = "vana", "vdig", "vif";
279 drivername = "ar0330";
280 detect = <0x0002 0x3000 0xFFFF 0x2604>;
283 CAMERA_IND_CLK_SET(10000)
286 CAMERA_REGULATOR_ON(0)
288 CAMERA_REGULATOR_ON(1)
289 CAMERA_REGULATOR_ON(2)
301 CAMERA_REGULATOR_OFF(2)
302 CAMERA_REGULATOR_OFF(1)
303 CAMERA_REGULATOR_OFF(0)
307 ov4689_1: ov4689@2_0036 {
309 chipname = "pcl_OV4689";
317 pinmuxgrp = <0xFFFF>;
319 regulators = "vana", "vdig", "vif";
321 drivername = "ov4689";
322 detect = <0x0002 0x300A 0xFFFF 0x4688>;
325 CAMERA_IND_CLK_SET(10000)
329 CAMERA_REGULATOR_ON(2)