blob: 9cbd45c01dd46eefda3cc8f18776fb88b481356e [file] [log] [blame]
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -08001/*
2 * Copyright (c) 2012-2013, The Linux Foundation. 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 version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14&cci {
15
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080016 actuator0: qcom,actuator@18 {
17 cell-index = <0>;
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -080018 reg = <0x18>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080019 compatible = "qcom,actuator";
20 qcom,cci-master = <0>;
21 };
22
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070023 actuator1: qcom,actuator@36 {
24 cell-index = <1>;
25 reg = <0x36>;
26 compatible = "qcom,actuator";
27 qcom,cci-master = <0>;
28 };
29
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080030 qcom,camera@6e {
31 compatible = "qcom,s5k3l1yx";
32 reg = <0x6e>;
33 qcom,slave-id = <0x6e 0x0 0x3121>;
34 qcom,csiphy-sd-index = <0>;
35 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080036 qcom,actuator-src = <&actuator0>;
Sreesudhan Ramakrish Ramkumarc9c751f2013-02-19 01:13:48 -080037 qcom,led-flash-src = <&led_flash0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080038 qcom,mount-angle = <270>;
39 qcom,sensor-name = "s5k3l1yx";
40 cam_vdig-supply = <&pm8941_l3>;
41 cam_vana-supply = <&pm8941_l17>;
42 cam_vio-supply = <&pm8941_lvs3>;
43 cam_vaf-supply = <&pm8941_l23>;
44 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
45 "cam_vaf";
46 qcom,cam-vreg-type = <0 1 0 0>;
47 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
48 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
49 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
50 qcom,gpio-no-mux = <0>;
51 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080052 <&msmgpio 90 0>,
53 <&msmgpio 89 0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080054 qcom,gpio-reset = <1>;
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080055 qcom,gpio-standby = <2>;
56 qcom,gpio-req-tbl-num = <0 1 2>;
57 qcom,gpio-req-tbl-flags = <1 0 0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080058 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080059 "CAM_RESET1",
60 "CAM_STANDBY";
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080061 qcom,gpio-set-tbl-num = <1 1>;
62 qcom,gpio-set-tbl-flags = <0 2>;
63 qcom,gpio-set-tbl-delay = <1000 30000>;
64 qcom,csi-lane-assign = <0x4320>;
65 qcom,csi-lane-mask = <0x1F>;
66 qcom,sensor-position = <0>;
67 qcom,sensor-mode = <1>;
68 qcom,cci-master = <0>;
69 status = "ok";
70 };
71
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070072 qcom,camera@20 {
73 compatible = "qcom,imx135";
74 reg = <0x20>;
75 qcom,slave-id = <0x20 0x0016 0x0135>;
76 qcom,csiphy-sd-index = <0>;
77 qcom,csid-sd-index = <0>;
78 qcom,mount-angle = <270>;
79 qcom,sensor-name = "imx135";
80 qcom,actuator-src = <&actuator1>;
81 cam_vdig-supply = <&pm8941_l3>;
82 cam_vana-supply = <&pm8941_l17>;
83 cam_vio-supply = <&pm8941_lvs3>;
84 cam_vaf-supply = <&pm8941_l23>;
85 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
86 "cam_vaf";
87 qcom,cam-vreg-type = <0 1 0 0>;
88 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
89 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
90 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
91 qcom,gpio-no-mux = <0>;
92 gpios = <&msmgpio 15 0>,
Jeyaprakash Soundrapandiana6be88e2013-05-10 18:40:58 -070093 <&msmgpio 90 0>,
94 <&msmgpio 89 0>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070095 qcom,gpio-reset = <1>;
Jeyaprakash Soundrapandiana6be88e2013-05-10 18:40:58 -070096 qcom,gpio-standby = <2>;
97 qcom,gpio-req-tbl-num = <0 1 2>;
98 qcom,gpio-req-tbl-flags = <1 0 0>;
99 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
100 "CAM_RESET1",
101 "CAM_STANDBY";
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -0700102 qcom,gpio-set-tbl-num = <1 1>;
103 qcom,gpio-set-tbl-flags = <0 2>;
104 qcom,gpio-set-tbl-delay = <1000 30000>;
105 qcom,csi-lane-assign = <0x4320>;
106 qcom,csi-lane-mask = <0x1F>;
107 qcom,sensor-position = <0>;
108 qcom,sensor-mode = <0>;
109 qcom,sensor-type = <0>;
110 qcom,cci-master = <0>;
111 status = "ok";
112 };
113
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800114 qcom,camera@6c {
115 compatible = "qcom,ov2720";
116 reg = <0x6c>;
117 qcom,slave-id = <0x6c 0x300A 0x2720>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800118 qcom,csiphy-sd-index = <2>;
Evgeniy Borisov4de53312013-03-27 05:14:41 -0700119 qcom,csid-sd-index = <2>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800120 qcom,mount-angle = <90>;
121 qcom,sensor-name = "ov2720";
122 cam_vdig-supply = <&pm8941_l3>;
123 cam_vana-supply = <&pm8941_l17>;
124 cam_vio-supply = <&pm8941_lvs3>;
125 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
126 qcom,cam-vreg-type = <0 0 1>;
127 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
128 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
129 qcom,cam-vreg-op-mode = <105000 80000 0>;
130 qcom,gpio-no-mux = <0>;
131 gpios = <&msmgpio 17 0>,
132 <&msmgpio 18 0>;
133 qcom,gpio-reset = <1>;
134 qcom,gpio-req-tbl-num = <0 1>;
135 qcom,gpio-req-tbl-flags = <1 0>;
136 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
137 "CAM_RESET1";
138 qcom,gpio-set-tbl-num = <1 1>;
139 qcom,gpio-set-tbl-flags = <0 2>;
140 qcom,gpio-set-tbl-delay = <1000 4000>;
141 qcom,csi-lane-assign = <0x4320>;
142 qcom,csi-lane-mask = <0x7>;
143 qcom,sensor-position = <1>;
144 qcom,sensor-mode = <1>;
145 qcom,cci-master = <1>;
146 status = "ok";
147 };
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800148
149 qcom,camera@90 {
150 compatible = "qcom,mt9m114";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800151 reg = <0x90>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800152 qcom,slave-id = <0x90 0x0 0x2481>;
153 qcom,csiphy-sd-index = <1>;
154 qcom,csid-sd-index = <0>;
155 qcom,mount-angle = <0>;
156 qcom,sensor-name = "mt9m114";
157 cam_vdig-supply = <&pm8941_l3>;
158 cam_vana-supply = <&pm8941_l17>;
159 cam_vio-supply = <&pm8941_lvs3>;
160 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
161 qcom,cam-vreg-type = <0 0 1>;
162 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
163 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
164 qcom,cam-vreg-op-mode = <105000 80000 0>;
165 qcom,gpio-no-mux = <0>;
166 gpios = <&msmgpio 16 0>,
167 <&msmgpio 92 0>;
168 qcom,gpio-reset = <1>;
169 qcom,gpio-req-tbl-num = <0 1>;
170 qcom,gpio-req-tbl-flags = <1 0>;
171 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
172 "CAM_RESET1";
173 qcom,gpio-set-tbl-num = <1 1>;
174 qcom,gpio-set-tbl-flags = <0 2>;
175 qcom,gpio-set-tbl-delay = <1000 4000>;
176 qcom,csi-lane-assign = <0x4320>;
177 qcom,csi-lane-mask = <0x3>;
178 qcom,sensor-position = <1>;
179 qcom,sensor-mode = <1>;
180 qcom,cci-master = <0>;
181 };
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800182};