blob: 53f6e9e86e78139f93b3a263d806c7b2220175d0 [file] [log] [blame]
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07001/*
Shuzhen Wang77337992013-01-08 15:46:09 -08002 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07003 *
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 Ramkumarf7ae8902013-03-20 01:34:53 -070018 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 Ramkumar39074612012-10-11 20:48:51 -070030 qcom,camera@6e {
31 compatible = "qcom,s5k3l1yx";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -080032 reg = <0x6e>;
Shuzhen Wang77337992013-01-08 15:46:09 -080033 qcom,slave-id = <0x6e 0x0 0x3121>;
34 qcom,csiphy-sd-index = <0>;
35 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumard719ef72013-01-29 18:22:22 -080036 qcom,actuator-src = <&actuator0>;
Sreesudhan Ramakrish Ramkumareb7bdf22013-03-18 17:31:01 -070037 qcom,led-flash-src = <&led_flash0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070038 qcom,mount-angle = <90>;
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>;
Shuzhen Wang77337992013-01-08 15:46:09 -080044 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070045 "cam_vaf";
Shuzhen Wang77337992013-01-08 15:46:09 -080046 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>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070050 qcom,gpio-no-mux = <0>;
51 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumar5ceafdf2013-02-20 11:12:09 -080052 <&msmgpio 90 0>,
53 <&msmgpio 89 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080054 qcom,gpio-reset = <1>;
Sreesudhan Ramakrish Ramkumar5ceafdf2013-02-20 11:12:09 -080055 qcom,gpio-standby = <2>;
56 qcom,gpio-req-tbl-num = <0 1 2>;
57 qcom,gpio-req-tbl-flags = <1 0 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080058 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
Sreesudhan Ramakrish Ramkumar5ceafdf2013-02-20 11:12:09 -080059 "CAM_RESET1",
60 "CAM_STANDBY";
Shuzhen Wang77337992013-01-08 15:46:09 -080061 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070062 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>;
Shuzhen Wang77337992013-01-08 15:46:09 -080066 qcom,sensor-position = <0>;
67 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar9f3aa302013-01-23 14:50:58 -080068 qcom,cci-master = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070069 status = "ok";
70 };
71
Punit Sonia1f87662013-02-22 14:47:32 -080072 qcom,camera@20 {
73 compatible = "qcom,imx135";
74 reg = <0x20>;
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070075 qcom,slave-id = <0x20 0x0016 0x0135>;
Punit Sonia1f87662013-02-22 14:47:32 -080076 qcom,csiphy-sd-index = <0>;
77 qcom,csid-sd-index = <0>;
78 qcom,mount-angle = <90>;
79 qcom,sensor-name = "imx135";
Jeyaprakash Soundrapandianf74b8cf2013-03-19 16:43:02 -070080 qcom,actuator-src = <&actuator1>;
Punit Sonia1f87662013-02-22 14:47:32 -080081 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>,
93 <&msmgpio 90 0>;
94 qcom,gpio-reset = <1>;
95 qcom,gpio-req-tbl-num = <0 1>;
96 qcom,gpio-req-tbl-flags = <1 0>;
97 qcom,gpio-req-tbl-label = "CAMIF_MCLK", "CAM_RESET1";
98 qcom,gpio-set-tbl-num = <1 1>;
99 qcom,gpio-set-tbl-flags = <0 2>;
100 qcom,gpio-set-tbl-delay = <1000 30000>;
101 qcom,csi-lane-assign = <0x4320>;
102 qcom,csi-lane-mask = <0x1F>;
103 qcom,sensor-position = <0>;
104 qcom,sensor-mode = <0>;
105 qcom,sensor-type = <0>;
106 qcom,cci-master = <0>;
107 status = "ok";
108 };
109
110
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700111 qcom,camera@6c {
112 compatible = "qcom,ov2720";
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800113 reg = <0x6c>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800114 qcom,slave-id = <0x6c 0x300A 0x2720>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800115 qcom,csiphy-sd-index = <2>;
Evgeniy Borisov4de53312013-03-27 05:14:41 -0700116 qcom,csid-sd-index = <2>;
Sreesudhan Ramakrish Ramkumar5fcda2b2013-01-31 23:03:38 -0800117 qcom,mount-angle = <90>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700118 qcom,sensor-name = "ov2720";
119 cam_vdig-supply = <&pm8941_l3>;
120 cam_vana-supply = <&pm8941_l17>;
121 cam_vio-supply = <&pm8941_lvs3>;
122 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
123 qcom,cam-vreg-type = <0 0 1>;
124 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
125 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
126 qcom,cam-vreg-op-mode = <105000 80000 0>;
127 qcom,gpio-no-mux = <0>;
128 gpios = <&msmgpio 17 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700129 <&msmgpio 18 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800130 qcom,gpio-reset = <1>;
131 qcom,gpio-req-tbl-num = <0 1>;
132 qcom,gpio-req-tbl-flags = <1 0>;
133 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
134 "CAM_RESET1";
135 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700136 qcom,gpio-set-tbl-flags = <0 2>;
137 qcom,gpio-set-tbl-delay = <1000 4000>;
138 qcom,csi-lane-assign = <0x4320>;
139 qcom,csi-lane-mask = <0x7>;
Shuzhen Wang77337992013-01-08 15:46:09 -0800140 qcom,sensor-position = <1>;
141 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar9f3aa302013-01-23 14:50:58 -0800142 qcom,cci-master = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700143 status = "ok";
144 };
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800145
146 qcom,camera@90 {
147 compatible = "qcom,mt9m114";
Sreesudhan Ramakrish Ramkumarf7ae8902013-03-20 01:34:53 -0700148 reg = <0x90>;
Sreesudhan Ramakrish Ramkumar3a179a12013-02-13 17:33:54 -0800149 qcom,slave-id = <0x90 0x0 0x2481>;
150 qcom,csiphy-sd-index = <1>;
151 qcom,csid-sd-index = <0>;
152 qcom,mount-angle = <0>;
153 qcom,sensor-name = "mt9m114";
154 cam_vdig-supply = <&pm8941_l3>;
155 cam_vana-supply = <&pm8941_l17>;
156 cam_vio-supply = <&pm8941_lvs3>;
157 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
158 qcom,cam-vreg-type = <0 0 1>;
159 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
160 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
161 qcom,cam-vreg-op-mode = <105000 80000 0>;
162 qcom,gpio-no-mux = <0>;
163 gpios = <&msmgpio 16 0>,
164 <&msmgpio 92 0>;
165 qcom,gpio-reset = <1>;
166 qcom,gpio-req-tbl-num = <0 1>;
167 qcom,gpio-req-tbl-flags = <1 0>;
168 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
169 "CAM_RESET1";
170 qcom,gpio-set-tbl-num = <1 1>;
171 qcom,gpio-set-tbl-flags = <0 2>;
172 qcom,gpio-set-tbl-delay = <1000 4000>;
173 qcom,csi-lane-assign = <0x4320>;
174 qcom,csi-lane-mask = <0x3>;
175 qcom,sensor-position = <1>;
176 qcom,sensor-mode = <1>;
177 qcom,cci-master = <0>;
178 };
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700179};