blob: 5a97a11033df9c2de6d7e7adc10dd0b43abd06bf [file] [log] [blame]
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07001
2/*
Shuzhen Wang77337992013-01-08 15:46:09 -08003 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07004 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15&cci {
16
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080017 actuator0: qcom,actuator@18 {
18 cell-index = <0>;
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -080019 reg = <0x18>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -080020 compatible = "qcom,actuator";
21 qcom,cci-master = <0>;
22 };
23
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070024 actuator1: qcom,actuator@36 {
25 cell-index = <1>;
26 reg = <0x36>;
27 compatible = "qcom,actuator";
28 qcom,cci-master = <0>;
29 };
30
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070031 qcom,camera@6e {
32 compatible = "qcom,s5k3l1yx";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -080033 reg = <0x6e>;
Shuzhen Wang77337992013-01-08 15:46:09 -080034 qcom,slave-id = <0x6e 0x0 0x3121>;
35 qcom,csiphy-sd-index = <0>;
36 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070037 qcom,mount-angle = <0>;
38 qcom,sensor-name = "s5k3l1yx";
39 cam_vdig-supply = <&pm8941_l3>;
40 cam_vana-supply = <&pm8941_l17>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070041 cam_vio-supply = <&pm8941_lvs2>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070042 cam_vaf-supply = <&pm8941_l23>;
Shuzhen Wang77337992013-01-08 15:46:09 -080043 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070044 "cam_vaf";
Shuzhen Wang77337992013-01-08 15:46:09 -080045 qcom,cam-vreg-type = <0 1 0 0>;
46 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
47 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
48 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070049 qcom,gpio-no-mux = <0>;
50 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070051 <&msmgpio 90 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080052 qcom,gpio-reset = <1>;
53 qcom,gpio-req-tbl-num = <0 1>;
54 qcom,gpio-req-tbl-flags = <1 0>;
55 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
56 "CAM_RESET1";
57 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070058 qcom,gpio-set-tbl-flags = <0 2>;
59 qcom,gpio-set-tbl-delay = <1000 30000>;
60 qcom,csi-lane-assign = <0x4320>;
61 qcom,csi-lane-mask = <0x1F>;
Shuzhen Wang77337992013-01-08 15:46:09 -080062 qcom,sensor-position = <0>;
63 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar9f3aa302013-01-23 14:50:58 -080064 qcom,cci-master = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070065 status = "ok";
66 };
67
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070068 qcom,camera@20 {
69 compatible = "qcom,imx135";
70 reg = <0x20>;
71 qcom,slave-id = <0x20 0x0016 0x0135>;
72 qcom,csiphy-sd-index = <0>;
73 qcom,csid-sd-index = <0>;
74 qcom,mount-angle = <0>;
75 qcom,sensor-name = "imx135";
76 qcom,actuator-src = <&actuator1>;
77 cam_vdig-supply = <&pm8941_l3>;
78 cam_vana-supply = <&pm8941_l17>;
79 cam_vio-supply = <&pm8941_lvs2>;
80 cam_vaf-supply = <&pm8941_l23>;
81 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
82 "cam_vaf";
83 qcom,cam-vreg-type = <0 1 0 0>;
84 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
85 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
86 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
87 qcom,gpio-no-mux = <0>;
88 gpios = <&msmgpio 15 0>,
89 <&msmgpio 90 0>;
90 qcom,gpio-reset = <1>;
91 qcom,gpio-req-tbl-num = <0 1>;
92 qcom,gpio-req-tbl-flags = <1 0>;
93 qcom,gpio-req-tbl-label = "CAMIF_MCLK", "CAM_RESET1";
94 qcom,gpio-set-tbl-num = <1 1>;
95 qcom,gpio-set-tbl-flags = <0 2>;
96 qcom,gpio-set-tbl-delay = <1000 30000>;
97 qcom,csi-lane-assign = <0x4320>;
98 qcom,csi-lane-mask = <0x1F>;
99 qcom,sensor-position = <0>;
100 qcom,sensor-mode = <0>;
101 qcom,sensor-type = <0>;
102 qcom,cci-master = <0>;
103 status = "ok";
104 };
105
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700106 qcom,camera@6c {
107 compatible = "qcom,ov2720";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800108 reg = <0x6c>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800109 qcom,slave-id = <0x6c 0x300A 0x2720>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800110 qcom,csiphy-sd-index = <2>;
111 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700112 qcom,mount-angle = <180>;
113 qcom,sensor-name = "ov2720";
114 cam_vdig-supply = <&pm8941_l3>;
115 cam_vana-supply = <&pm8941_l17>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -0700116 cam_vio-supply = <&pm8941_lvs2>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700117 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
118 qcom,cam-vreg-type = <0 0 1>;
119 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
120 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
121 qcom,cam-vreg-op-mode = <105000 80000 0>;
122 qcom,gpio-no-mux = <0>;
123 gpios = <&msmgpio 17 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700124 <&msmgpio 18 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800125 qcom,gpio-reset = <1>;
126 qcom,gpio-req-tbl-num = <0 1>;
127 qcom,gpio-req-tbl-flags = <1 0>;
128 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
129 "CAM_RESET1";
130 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700131 qcom,gpio-set-tbl-flags = <0 2>;
132 qcom,gpio-set-tbl-delay = <1000 4000>;
133 qcom,csi-lane-assign = <0x4320>;
134 qcom,csi-lane-mask = <0x7>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800135 qcom,sensor-position = <1>;
136 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar9f3aa302013-01-23 14:50:58 -0800137 qcom,cci-master = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700138 status = "ok";
139 };
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800140
141 qcom,camera@90 {
142 compatible = "qcom,mt9m114";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800143 reg = <0x90>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800144 qcom,slave-id = <0x90 0x0 0x2481>;
145 qcom,csiphy-sd-index = <1>;
146 qcom,csid-sd-index = <0>;
147 qcom,mount-angle = <0>;
148 qcom,sensor-name = "mt9m114";
149 cam_vdig-supply = <&pm8941_l3>;
150 cam_vana-supply = <&pm8941_l17>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -0700151 cam_vio-supply = <&pm8941_lvs2>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800152 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
153 qcom,cam-vreg-type = <0 0 1>;
154 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
155 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
156 qcom,cam-vreg-op-mode = <105000 80000 0>;
157 qcom,gpio-no-mux = <0>;
158 gpios = <&msmgpio 16 0>,
159 <&msmgpio 92 0>;
160 qcom,gpio-reset = <1>;
161 qcom,gpio-req-tbl-num = <0 1>;
162 qcom,gpio-req-tbl-flags = <1 0>;
163 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
164 "CAM_RESET1";
165 qcom,gpio-set-tbl-num = <1 1>;
166 qcom,gpio-set-tbl-flags = <0 2>;
167 qcom,gpio-set-tbl-delay = <1000 4000>;
168 qcom,csi-lane-assign = <0x4320>;
169 qcom,csi-lane-mask = <0x3>;
170 qcom,sensor-position = <1>;
171 qcom,sensor-mode = <1>;
172 qcom,cci-master = <0>;
173 };
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700174};