blob: 07eb311c6647790216ed12480d2bb84208f50f8d [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
David Collins4682d222013-08-01 15:38:34 -070014&soc {
15 led_flash0: qcom,camera-led-flash {
16 cell-index = <0>;
17 compatible = "qcom,camera-led-flash";
18 qcom,flash-type = <1>;
19 qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>;
20 qcom,torch-source = <&pm8941_torch>;
21 };
22};
23
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080024&cci {
25
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080026 actuator0: qcom,actuator@18 {
27 cell-index = <0>;
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -080028 reg = <0x18>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080029 compatible = "qcom,actuator";
30 qcom,cci-master = <0>;
31 };
32
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070033 actuator1: qcom,actuator@36 {
34 cell-index = <1>;
35 reg = <0x36>;
36 compatible = "qcom,actuator";
37 qcom,cci-master = <0>;
38 };
39
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080040 qcom,camera@6e {
41 compatible = "qcom,s5k3l1yx";
42 reg = <0x6e>;
43 qcom,slave-id = <0x6e 0x0 0x3121>;
44 qcom,csiphy-sd-index = <0>;
45 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080046 qcom,actuator-src = <&actuator0>;
Sreesudhan Ramakrish Ramkumarc9c751f2013-02-19 01:13:48 -080047 qcom,led-flash-src = <&led_flash0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080048 qcom,mount-angle = <270>;
49 qcom,sensor-name = "s5k3l1yx";
50 cam_vdig-supply = <&pm8941_l3>;
51 cam_vana-supply = <&pm8941_l17>;
52 cam_vio-supply = <&pm8941_lvs3>;
53 cam_vaf-supply = <&pm8941_l23>;
54 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
55 "cam_vaf";
56 qcom,cam-vreg-type = <0 1 0 0>;
57 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
58 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
59 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
60 qcom,gpio-no-mux = <0>;
61 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080062 <&msmgpio 90 0>,
63 <&msmgpio 89 0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080064 qcom,gpio-reset = <1>;
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080065 qcom,gpio-standby = <2>;
66 qcom,gpio-req-tbl-num = <0 1 2>;
67 qcom,gpio-req-tbl-flags = <1 0 0>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080068 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
Sreesudhan Ramakrish Ramkumardcf3fe02013-02-14 23:11:38 -080069 "CAM_RESET1",
70 "CAM_STANDBY";
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -080071 qcom,gpio-set-tbl-num = <1 1>;
72 qcom,gpio-set-tbl-flags = <0 2>;
73 qcom,gpio-set-tbl-delay = <1000 30000>;
74 qcom,csi-lane-assign = <0x4320>;
75 qcom,csi-lane-mask = <0x1F>;
76 qcom,sensor-position = <0>;
77 qcom,sensor-mode = <1>;
78 qcom,cci-master = <0>;
79 status = "ok";
80 };
81
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070082 qcom,camera@20 {
83 compatible = "qcom,imx135";
84 reg = <0x20>;
85 qcom,slave-id = <0x20 0x0016 0x0135>;
86 qcom,csiphy-sd-index = <0>;
87 qcom,csid-sd-index = <0>;
88 qcom,mount-angle = <270>;
89 qcom,sensor-name = "imx135";
90 qcom,actuator-src = <&actuator1>;
Xu Hana4abd7e2013-09-20 17:25:13 -070091 qcom,led-flash-src = <&led_flash0>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070092 cam_vdig-supply = <&pm8941_l3>;
93 cam_vana-supply = <&pm8941_l17>;
94 cam_vio-supply = <&pm8941_lvs3>;
95 cam_vaf-supply = <&pm8941_l23>;
96 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
97 "cam_vaf";
98 qcom,cam-vreg-type = <0 1 0 0>;
99 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
100 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
101 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
102 qcom,gpio-no-mux = <0>;
103 gpios = <&msmgpio 15 0>,
Jeyaprakash Soundrapandiana6be88e2013-05-10 18:40:58 -0700104 <&msmgpio 90 0>,
105 <&msmgpio 89 0>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -0700106 qcom,gpio-reset = <1>;
Jeyaprakash Soundrapandiana6be88e2013-05-10 18:40:58 -0700107 qcom,gpio-standby = <2>;
108 qcom,gpio-req-tbl-num = <0 1 2>;
109 qcom,gpio-req-tbl-flags = <1 0 0>;
110 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
111 "CAM_RESET1",
112 "CAM_STANDBY";
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -0700113 qcom,gpio-set-tbl-num = <1 1>;
114 qcom,gpio-set-tbl-flags = <0 2>;
115 qcom,gpio-set-tbl-delay = <1000 30000>;
116 qcom,csi-lane-assign = <0x4320>;
117 qcom,csi-lane-mask = <0x1F>;
118 qcom,sensor-position = <0>;
119 qcom,sensor-mode = <0>;
120 qcom,sensor-type = <0>;
121 qcom,cci-master = <0>;
122 status = "ok";
123 };
124
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800125 qcom,camera@6c {
126 compatible = "qcom,ov2720";
127 reg = <0x6c>;
128 qcom,slave-id = <0x6c 0x300A 0x2720>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800129 qcom,csiphy-sd-index = <2>;
Evgeniy Borisov4de53312013-03-27 05:14:41 -0700130 qcom,csid-sd-index = <2>;
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800131 qcom,mount-angle = <90>;
132 qcom,sensor-name = "ov2720";
133 cam_vdig-supply = <&pm8941_l3>;
134 cam_vana-supply = <&pm8941_l17>;
135 cam_vio-supply = <&pm8941_lvs3>;
136 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
137 qcom,cam-vreg-type = <0 0 1>;
138 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
139 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
140 qcom,cam-vreg-op-mode = <105000 80000 0>;
141 qcom,gpio-no-mux = <0>;
142 gpios = <&msmgpio 17 0>,
143 <&msmgpio 18 0>;
144 qcom,gpio-reset = <1>;
145 qcom,gpio-req-tbl-num = <0 1>;
146 qcom,gpio-req-tbl-flags = <1 0>;
147 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
148 "CAM_RESET1";
149 qcom,gpio-set-tbl-num = <1 1>;
150 qcom,gpio-set-tbl-flags = <0 2>;
151 qcom,gpio-set-tbl-delay = <1000 4000>;
152 qcom,csi-lane-assign = <0x4320>;
153 qcom,csi-lane-mask = <0x7>;
154 qcom,sensor-position = <1>;
155 qcom,sensor-mode = <1>;
156 qcom,cci-master = <1>;
157 status = "ok";
158 };
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800159
160 qcom,camera@90 {
161 compatible = "qcom,mt9m114";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800162 reg = <0x90>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800163 qcom,slave-id = <0x90 0x0 0x2481>;
164 qcom,csiphy-sd-index = <1>;
165 qcom,csid-sd-index = <0>;
166 qcom,mount-angle = <0>;
167 qcom,sensor-name = "mt9m114";
168 cam_vdig-supply = <&pm8941_l3>;
169 cam_vana-supply = <&pm8941_l17>;
170 cam_vio-supply = <&pm8941_lvs3>;
171 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
172 qcom,cam-vreg-type = <0 0 1>;
173 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
174 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
175 qcom,cam-vreg-op-mode = <105000 80000 0>;
176 qcom,gpio-no-mux = <0>;
177 gpios = <&msmgpio 16 0>,
178 <&msmgpio 92 0>;
179 qcom,gpio-reset = <1>;
180 qcom,gpio-req-tbl-num = <0 1>;
181 qcom,gpio-req-tbl-flags = <1 0>;
182 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
183 "CAM_RESET1";
184 qcom,gpio-set-tbl-num = <1 1>;
185 qcom,gpio-set-tbl-flags = <0 2>;
186 qcom,gpio-set-tbl-delay = <1000 4000>;
187 qcom,csi-lane-assign = <0x4320>;
188 qcom,csi-lane-mask = <0x3>;
189 qcom,sensor-position = <1>;
190 qcom,sensor-mode = <1>;
191 qcom,cci-master = <0>;
192 };
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -0800193};