blob: 41d6b7e79b6587d6f16f852b0fddf8bbdb90950b [file] [log] [blame]
Su Liue5bdf002013-03-22 15:33:41 -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
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070014&soc {
Su Liu4c1bb0d2013-03-21 20:16:35 -070015
16 led_flash0: qcom,camera-led-flash {
17 cell-index = <0>;
18 compatible = "qcom,camera-led-flash";
19 qcom,flash-type = <1>;
20 qcom,flash-source = <&pm8226_flash0 &pm8226_flash1>;
21 };
22};
23
Su Liue5bdf002013-03-22 15:33:41 -070024&cci {
Su Liu09341092013-03-20 19:33:31 -070025
26 actuator0: qcom,actuator@6e {
27 cell-index = <3>;
Sreesudhan Ramakrish Ramkumar554072f2013-04-04 21:51:33 -070028 reg = <0x6c>;
Su Liu09341092013-03-20 19:33:31 -070029 compatible = "qcom,actuator";
30 qcom,cci-master = <0>;
31 };
32
Su Liue5bdf002013-03-22 15:33:41 -070033 qcom,camera@6f {
34 compatible = "qcom,ov8825";
35 reg = <0x6f>;
36 qcom,slave-id = <0x6c 0x300a 0x8825>;
37 qcom,csiphy-sd-index = <0>;
38 qcom,csid-sd-index = <0>;
Su Liu09341092013-03-20 19:33:31 -070039 qcom,actuator-src = <&actuator0>;
Su Liu4c1bb0d2013-03-21 20:16:35 -070040 qcom,led-flash-src = <&led_flash0>;
Sreesudhan Ramakrish Ramkumar554072f2013-04-04 21:51:33 -070041 qcom,mount-angle = <0>;
Su Liue5bdf002013-03-22 15:33:41 -070042 qcom,sensor-name = "ov8825";
43 cam_vdig-supply = <&pm8226_l5>;
44 cam_vana-supply = <&pm8226_l19>;
45 cam_vio-supply = <&pm8226_lvs1>;
46 cam_vaf-supply = <&pm8226_l15>;
47 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
48 "cam_vaf";
49 qcom,cam-vreg-type = <0 1 0 0>;
50 qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>;
51 qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>;
52 qcom,cam-vreg-op-mode = <200000 0 80000 100000>;
53 qcom,gpio-no-mux = <0>;
54 gpios = <&msmgpio 26 0>,
55 <&msmgpio 37 0>,
56 <&msmgpio 36 0>;
57 qcom,gpio-reset = <1>;
58 qcom,gpio-standby = <2>;
59 qcom,gpio-req-tbl-num = <0 1 2>;
60 qcom,gpio-req-tbl-flags = <1 0 0>;
61 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
62 "CAM_RESET1",
63 "CAM_STANDBY";
64 qcom,csi-lane-assign = <0x4320>;
65 qcom,csi-lane-mask = <0x1f>;
66 qcom,sensor-position = <0>;
67 qcom,sensor-mode = <1>;
68 qcom,cci-master = <0>;
69 };
70
71 qcom,camera@6d {
72 compatible = "qcom,ov9724";
73 reg = <0x6d>;
74 qcom,slave-id = <0x20 0x0 0x9724>;
75 qcom,csiphy-sd-index = <1>;
Su Liu9e7c6f32013-04-25 00:02:27 -070076 qcom,csid-sd-index = <1>;
Sreesudhan Ramakrish Ramkumar554072f2013-04-04 21:51:33 -070077 qcom,mount-angle = <0>;
Su Liue5bdf002013-03-22 15:33:41 -070078 qcom,sensor-name = "ov9724";
79 cam_vdig-supply = <&pm8226_l5>;
80 cam_vana-supply = <&pm8226_l19>;
81 cam_vio-supply = <&pm8226_lvs1>;
82 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
83 qcom,cam-vreg-type = <0 1 0>;
84 qcom,cam-vreg-min-voltage = <1200000 0 2850000>;
85 qcom,cam-vreg-max-voltage = <1200000 0 2850000>;
86 qcom,cam-vreg-op-mode = <200000 0 80000>;
87 qcom,gpio-no-mux = <0>;
88 gpios = <&msmgpio 26 0>,
89 <&msmgpio 28 0>,
90 <&msmgpio 35 0>;
91 qcom,gpio-reset = <1>;
92 qcom,gpio-standby = <2>;
93 qcom,gpio-req-tbl-num = <0 1 2>;
94 qcom,gpio-req-tbl-flags = <1 0 0>;
95 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
96 "CAM_RESET",
97 "CAM_STANDBY";
98 qcom,gpio-set-tbl-num = <1 1>;
99 qcom,gpio-set-tbl-flags = <0 2>;
100 qcom,gpio-set-tbl-delay = <1000 4000>;
101 qcom,csi-lane-assign = <0x4320>;
102 qcom,csi-lane-mask = <0x3>;
103 qcom,sensor-position = <1>;
104 qcom,sensor-mode = <1>;
105 qcom,cci-master = <0>;
106 status = "ok";
107 };
108};