blob: 27f4a99192f95010b8dbffcd4ed0dcef4fffaf46 [file] [log] [blame]
Evgeniy Borisov72cd5a52013-10-17 14:09:25 +03001/*
2 * Copyright (c) 2013-2014, 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
16 actuator0: qcom,actuator@18 {
17 cell-index = <0>;
18 reg = <0x18>;
19 compatible = "qcom,actuator";
20 qcom,cci-master = <0>;
21 };
22
23 actuator1: qcom,actuator@36 {
24 cell-index = <1>;
25 reg = <0x36>;
26 compatible = "qcom,actuator";
27 qcom,cci-master = <0>;
28 };
29
30 qcom,camera@20 {
31 compatible = "qcom,imx135";
32 reg = <0x20>;
33 qcom,slave-id = <0x20 0x0016 0x0135>;
34 qcom,csiphy-sd-index = <0>;
35 qcom,csid-sd-index = <0>;
36 qcom,mount-angle = <90>;
37 qcom,sensor-name = "imx135";
38 qcom,vdd-cx-supply = <&pma8084_s2_corner>;
39 qcom,vdd-cx-name = "qcom,vdd-cx";
40 cam_vdig-supply = <&pma8084_l27>;
41 cam_vana-supply = <&pma8084_l17>;
42 cam_vio-supply = <&pma8084_lvs4>;
43 cam_vaf-supply = <&pma8084_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 = <1050000 0 2850000 2850000>;
48 qcom,cam-vreg-max-voltage = <1050000 0 2850000 2850000>;
49 qcom,cam-vreg-op-mode = <135000 0 44000 124000>;
50 qcom,gpio-no-mux = <0>;
51 gpios = <&msmgpio 15 0>,
52 <&msmgpio 30 0>,
53 <&msmgpio 29 0>;
54 qcom,gpio-reset = <1>;
55 qcom,gpio-standby = <2>;
56 qcom,gpio-req-tbl-num = <0 1 2>;
57 qcom,gpio-req-tbl-flags = <1 0 0>;
58 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
59 "CAM_RESET1",
60 "CAM_STANDBY";
61 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 = <0>;
68 qcom,sensor-type = <0>;
69 qcom,cci-master = <0>;
70 status = "ok";
71 };
72
73 qcom,camera@6d {
74 compatible = "qcom,imx132";
75 reg = <0x6d>;
76 qcom,slave-id = <0x6c 0x0 0x0132>;
77 qcom,csiphy-sd-index = <1>;
78 qcom,csid-sd-index = <1>;
79 qcom,mount-angle = <270>;
80 qcom,sensor-name = "imx132";
81 qcom,vdd-cx-supply = <&pma8084_s2_corner>;
82 qcom,vdd-cx-name = "qcom,vdd-cx";
83 cam_vdig-supply = <&pma8084_l3>;
84 cam_vana-supply = <&pma8084_l17>;
85 cam_vio-supply = <&pma8084_lvs4>;
86 qcom,cam-vreg-name = "cam_vana", "cam_vdig", "cam_vio";
87 qcom,cam-vreg-type = <0 0 1>;
88 qcom,cam-vreg-min-voltage = <2850000 1200000 0>;
89 qcom,cam-vreg-max-voltage = <2850000 1200000 0>;
90 qcom,cam-vreg-op-mode = <44000 98000 0>;
91 qcom,gpio-no-mux = <0>;
92 gpios = <&msmgpio 16 0>,
93 <&msmgpio 18 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_MCLK2",
98 "CAM_XSHUTDOWN";
99 qcom,gpio-set-tbl-num = <1 1>;
100 qcom,gpio-set-tbl-flags = <0 2>;
101 qcom,gpio-set-tbl-delay = <1000 4000>;
102 qcom,csi-lane-assign = <0x4320>;
103 qcom,csi-lane-mask = <0x7>;
104 qcom,sensor-position = <1>;
105 qcom,sensor-mode = <1>;
106 qcom,cci-master = <0>;
107 };
108
109 qcom,camera@0 {
110 cell-index = <0>;
111 compatible = "qcom,camera";
112 reg = <0x00>;
113 qcom,csiphy-sd-index = <0>;
114 qcom,csid-sd-index = <0>;
115 qcom,mount-angle = <90>;
116 qcom,vdd-cx-supply = <&pma8084_s2_corner>;
117 qcom,vdd-cx-name = "qcom,vdd-cx";
118 cam_vdig-supply = <&pma8084_l27>;
119 cam_vana-supply = <&pma8084_l17>;
120 cam_vio-supply = <&pma8084_lvs4>;
121 cam_vaf-supply = <&pma8084_l23>;
122 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
123 "cam_vaf";
124 qcom,cam-vreg-type = <0 1 0 0>;
125 qcom,cam-vreg-min-voltage = <1050000 0 2850000 2850000>;
126 qcom,cam-vreg-max-voltage = <1050000 0 2850000 2850000>;
127 qcom,cam-vreg-op-mode = <135000 0 44000 124000>;
128 qcom,gpio-no-mux = <0>;
129 gpios = <&msmgpio 15 0>,
130 <&msmgpio 30 0>,
131 <&msmgpio 29 0>;
132 qcom,gpio-reset = <1>;
133 qcom,gpio-standby = <2>;
134 qcom,gpio-req-tbl-num = <0 1 2>;
135 qcom,gpio-req-tbl-flags = <1 0 0>;
136 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
137 "CAM_RESET1",
138 "CAM_STANDBY";
139 qcom,cci-master = <0>;
140 status = "ok";
141 };
142
143 qcom,camera@1 {
144 cell-index = <1>;
145 compatible = "qcom,camera";
146 reg = <0x01>;
147 qcom,csiphy-sd-index = <1>;
148 qcom,csid-sd-index = <1>;
149 qcom,mount-angle = <270>;
150 qcom,vdd-cx-supply = <&pma8084_s2_corner>;
151 qcom,vdd-cx-name = "qcom,vdd-cx";
152 cam_vdig-supply = <&pma8084_l3>;
153 cam_vana-supply = <&pma8084_l17>;
154 cam_vio-supply = <&pma8084_lvs4>;
155 qcom,cam-vreg-name = "cam_vana", "cam_vdig", "cam_vio";
156 qcom,cam-vreg-type = <0 0 1>;
157 qcom,cam-vreg-min-voltage = <2850000 1200000 0>;
158 qcom,cam-vreg-max-voltage = <2850000 1200000 0>;
159 qcom,cam-vreg-op-mode = <44000 98000 0>;
160 qcom,gpio-no-mux = <0>;
161 gpios = <&msmgpio 16 0>,
162 <&msmgpio 18 0>;
163 qcom,gpio-reset = <1>;
164 qcom,gpio-req-tbl-num = <0 1>;
165 qcom,gpio-req-tbl-flags = <1 0>;
166 qcom,gpio-req-tbl-label = "CAMIF_MCLK2",
167 "CAM_XSHUTDOWN";
168 qcom,cci-master = <0>;
169 status = "ok";
170 };
171};
172