blob: 1b4a594fdeeee891fc25d1834653ec305a68cd90 [file] [log] [blame]
Lokesh Kumar Aakulu25213502013-05-07 17:43:03 -07001/*
2 * Copyright (c) 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&i2c {
15
16 led_flash0: qcom,led-flash@60 {
17 cell-index = <0>;
18 reg = <0x60>;
19 qcom,slave-id = <0x60 0x00 0x0011>;
20 compatible = "qcom,led-flash";
21 qcom,flash-name = "adp1600";
22 qcom,flash-type = <1>;
23 qcom,gpio-no-mux = <0>;
24 gpios = <&msmgpio 18 0>,
25 <&msmgpio 19 0>;
26 qcom,gpio-flash-en = <0>;
27 qcom,gpio-flash-now = <1>;
28 qcom,gpio-req-tbl-num = <0 1>;
29 qcom,gpio-req-tbl-flags = <0 0>;
30 qcom,gpio-req-tbl-label = "FLASH_EN",
31 "FLASH_NOW";
32 };
33
34 actuator0: qcom,actuator@6e {
35 cell-index = <3>;
36 reg = <0x6c>;
37 compatible = "qcom,actuator";
38 qcom,cci-master = <0>;
39 };
40
41 qcom,camera@6f {
42 compatible = "qcom,ov8825";
43 reg = <0x6f>;
44 qcom,slave-id = <0x6c 0x300a 0x8825>;
45 qcom,csiphy-sd-index = <0>;
46 qcom,csid-sd-index = <0>;
47 qcom,actuator-src = <&actuator0>;
48 qcom,led-flash-src = <&led_flash0>;
49 qcom,mount-angle = <90>;
50 qcom,sensor-name = "ov8825";
51 cam_vdig-supply = <&pm8110_l2>;
52 cam_vana-supply = <&pm8110_l19>;
53 cam_vio-supply = <&pm8110_l14>;
54 cam_vaf-supply = <&pm8110_l16>;
55 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
56 "cam_vaf";
57 qcom,cam-vreg-type = <0 0 0 0>;
58 qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>;
59 qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>;
60 qcom,cam-vreg-op-mode = <200000 8000 80000 100000>;
61 qcom,gpio-no-mux = <0>;
62 gpios = <&msmgpio 13 0>,
63 <&msmgpio 21 0>,
64 <&msmgpio 20 0>;
65 qcom,gpio-reset = <1>;
66 qcom,gpio-standby = <2>;
67 qcom,gpio-req-tbl-num = <0 1 2>;
68 qcom,gpio-req-tbl-flags = <1 0 0>;
69 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
70 "CAM_RESET1",
71 "CAM_STANDBY";
72 qcom,csi-lane-assign = <0xe4>;
73 qcom,csi-lane-mask = <0x3>;
74 qcom,sensor-position = <0>;
75 qcom,sensor-mode = <1>;
76 qcom,cci-master = <0>;
77 };
78
79 qcom,camera@6d {
80 compatible = "qcom,ov9724";
81 reg = <0x6d>;
82 qcom,slave-id = <0x20 0x0 0x9724>;
83 qcom,csiphy-sd-index = <1>;
84 qcom,csid-sd-index = <0>;
85 qcom,mount-angle = <90>;
86 qcom,sensor-name = "ov9724";
87 cam_vdig-supply = <&pm8110_l4>;
88 cam_vana-supply = <&pm8110_l19>;
89 cam_vio-supply = <&pm8110_l14>;
90 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
91 qcom,cam-vreg-type = <0 1 0>;
92 qcom,cam-vreg-min-voltage = <1200000 0 2850000>;
93 qcom,cam-vreg-max-voltage = <1200000 0 2850000>;
94 qcom,cam-vreg-op-mode = <200000 0 80000>;
95 qcom,gpio-no-mux = <0>;
96 gpios = <&msmgpio 14 0>,
97 <&msmgpio 15 0>,
98 <&msmgpio 8 0>;
99 qcom,gpio-reset = <1>;
100 qcom,gpio-standby = <2>;
101 qcom,gpio-req-tbl-num = <0 1 2>;
102 qcom,gpio-req-tbl-flags = <1 0 0>;
103 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
104 "CAM_RESET",
105 "CAM_STANDBY";
106 qcom,gpio-set-tbl-num = <1 1>;
107 qcom,gpio-set-tbl-flags = <0 2>;
108 qcom,gpio-set-tbl-delay = <1000 4000>;
109 qcom,csi-lane-assign = <0xe4>;
110 qcom,csi-lane-mask = <0x1>;
111 qcom,sensor-position = <1>;
112 qcom,sensor-mode = <1>;
113 qcom,cci-master = <0>;
114 status = "ok";
115 };
Ju Hef437ef82013-06-07 15:50:04 -0700116
117 qcom,camera@78 {
118 compatible = "qcom,sp1628";
119 reg = <0x78>;
120 qcom,slave-id = <0x78 0x0 0x1628>;
121 qcom,csiphy-sd-index = <1>;
122 qcom,csid-sd-index = <1>;
123 qcom,mount-angle = <90>;
124 qcom,sensor-name = "sp1628";
125 cam_vdig-supply = <&pm8110_l2>;
126 cam_vana-supply = <&pm8110_l19>;
127 cam_vio-supply = <&pm8110_l14>;
128 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
129 qcom,cam-vreg-type = <0 0 0>;
130 qcom,cam-vreg-min-voltage = <1200000 1800000 2850000>;
131 qcom,cam-vreg-max-voltage = <1200000 1800000 2850000>;
132 qcom,cam-vreg-op-mode = <200000 80000 80000>;
133 qcom,gpio-no-mux = <0>;
134 gpios = <&msmgpio 14 0>,
135 <&msmgpio 15 0>,
136 <&msmgpio 8 0>;
137 qcom,gpio-reset = <1>;
138 qcom,gpio-standby = <2>;
139 qcom,gpio-req-tbl-num = <0 1 2>;
140 qcom,gpio-req-tbl-flags = <1 0 0>;
141 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
142 "CAM_RESET",
143 "CAM_STANDBY";
144 qcom,gpio-set-tbl-num = <1 1>;
145 qcom,gpio-set-tbl-flags = <0 2>;
146 qcom,gpio-set-tbl-delay = <1000 4000>;
147 qcom,csi-lane-assign = <0xe4>;
148 qcom,csi-lane-mask = <0x3>;
149 qcom,sensor-position = <1>;
150 qcom,sensor-mode = <1>;
151 qcom,cci-master = <0>;
152 };
153
Lokesh Kumar Aakulu25213502013-05-07 17:43:03 -0700154};