Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 1 | /* |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 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 | |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 16 | actuator0: qcom,actuator@18 { |
| 17 | cell-index = <0>; |
Sreesudhan Ramakrish Ramkumar | f7ae890 | 2013-03-20 01:34:53 -0700 | [diff] [blame] | 18 | reg = <0x18>; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 19 | compatible = "qcom,actuator"; |
| 20 | qcom,cci-master = <0>; |
| 21 | }; |
| 22 | |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 23 | actuator1: qcom,actuator@36 { |
| 24 | cell-index = <1>; |
| 25 | reg = <0x36>; |
| 26 | compatible = "qcom,actuator"; |
| 27 | qcom,cci-master = <0>; |
| 28 | }; |
| 29 | |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 30 | qcom,camera@6e { |
| 31 | compatible = "qcom,s5k3l1yx"; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 32 | reg = <0x6e>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 33 | qcom,slave-id = <0x6e 0x0 0x3121>; |
| 34 | qcom,csiphy-sd-index = <0>; |
| 35 | qcom,csid-sd-index = <0>; |
Sreesudhan Ramakrish Ramkumar | d719ef7 | 2013-01-29 18:22:22 -0800 | [diff] [blame] | 36 | qcom,actuator-src = <&actuator0>; |
Sreesudhan Ramakrish Ramkumar | eb7bdf2 | 2013-03-18 17:31:01 -0700 | [diff] [blame] | 37 | qcom,led-flash-src = <&led_flash0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 38 | 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 Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 44 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 45 | "cam_vaf"; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 46 | 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 Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 50 | qcom,gpio-no-mux = <0>; |
| 51 | gpios = <&msmgpio 15 0>, |
Sreesudhan Ramakrish Ramkumar | 5ceafdf | 2013-02-20 11:12:09 -0800 | [diff] [blame] | 52 | <&msmgpio 90 0>, |
| 53 | <&msmgpio 89 0>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 54 | qcom,gpio-reset = <1>; |
Sreesudhan Ramakrish Ramkumar | 5ceafdf | 2013-02-20 11:12:09 -0800 | [diff] [blame] | 55 | qcom,gpio-standby = <2>; |
| 56 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 57 | qcom,gpio-req-tbl-flags = <1 0 0>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 58 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
Sreesudhan Ramakrish Ramkumar | 5ceafdf | 2013-02-20 11:12:09 -0800 | [diff] [blame] | 59 | "CAM_RESET1", |
| 60 | "CAM_STANDBY"; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 61 | qcom,gpio-set-tbl-num = <1 1>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 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>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 66 | qcom,sensor-position = <0>; |
| 67 | qcom,sensor-mode = <1>; |
Sreesudhan Ramakrish Ramkumar | 9f3aa30 | 2013-01-23 14:50:58 -0800 | [diff] [blame] | 68 | qcom,cci-master = <0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 69 | status = "ok"; |
| 70 | }; |
| 71 | |
Punit Soni | a1f8766 | 2013-02-22 14:47:32 -0800 | [diff] [blame] | 72 | qcom,camera@20 { |
| 73 | compatible = "qcom,imx135"; |
| 74 | reg = <0x20>; |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 75 | qcom,slave-id = <0x20 0x0016 0x0135>; |
Punit Soni | a1f8766 | 2013-02-22 14:47:32 -0800 | [diff] [blame] | 76 | qcom,csiphy-sd-index = <0>; |
| 77 | qcom,csid-sd-index = <0>; |
| 78 | qcom,mount-angle = <90>; |
| 79 | qcom,sensor-name = "imx135"; |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 80 | qcom,actuator-src = <&actuator1>; |
Xu Han | a4abd7e | 2013-09-20 17:25:13 -0700 | [diff] [blame] | 81 | qcom,led-flash-src = <&led_flash0>; |
Punit Soni | a1f8766 | 2013-02-22 14:47:32 -0800 | [diff] [blame] | 82 | cam_vdig-supply = <&pm8941_l3>; |
| 83 | cam_vana-supply = <&pm8941_l17>; |
| 84 | cam_vio-supply = <&pm8941_lvs3>; |
| 85 | cam_vaf-supply = <&pm8941_l23>; |
| 86 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 87 | "cam_vaf"; |
| 88 | qcom,cam-vreg-type = <0 1 0 0>; |
| 89 | qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; |
| 90 | qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; |
| 91 | qcom,cam-vreg-op-mode = <105000 0 80000 100000>; |
| 92 | qcom,gpio-no-mux = <0>; |
| 93 | gpios = <&msmgpio 15 0>, |
Jeyaprakash Soundrapandian | a6be88e | 2013-05-10 18:40:58 -0700 | [diff] [blame] | 94 | <&msmgpio 90 0>, |
| 95 | <&msmgpio 89 0>; |
Punit Soni | a1f8766 | 2013-02-22 14:47:32 -0800 | [diff] [blame] | 96 | qcom,gpio-reset = <1>; |
Jeyaprakash Soundrapandian | a6be88e | 2013-05-10 18:40:58 -0700 | [diff] [blame] | 97 | qcom,gpio-standby = <2>; |
| 98 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 99 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 100 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 101 | "CAM_RESET1", |
| 102 | "CAM_STANDBY"; |
Punit Soni | a1f8766 | 2013-02-22 14:47:32 -0800 | [diff] [blame] | 103 | qcom,gpio-set-tbl-num = <1 1>; |
| 104 | qcom,gpio-set-tbl-flags = <0 2>; |
| 105 | qcom,gpio-set-tbl-delay = <1000 30000>; |
| 106 | qcom,csi-lane-assign = <0x4320>; |
| 107 | qcom,csi-lane-mask = <0x1F>; |
| 108 | qcom,sensor-position = <0>; |
| 109 | qcom,sensor-mode = <0>; |
| 110 | qcom,sensor-type = <0>; |
| 111 | qcom,cci-master = <0>; |
| 112 | status = "ok"; |
| 113 | }; |
| 114 | |
| 115 | |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 116 | qcom,camera@6c { |
| 117 | compatible = "qcom,ov2720"; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 118 | reg = <0x6c>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 119 | qcom,slave-id = <0x6c 0x300A 0x2720>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 120 | qcom,csiphy-sd-index = <2>; |
Evgeniy Borisov | 4de5331 | 2013-03-27 05:14:41 -0700 | [diff] [blame] | 121 | qcom,csid-sd-index = <2>; |
Sreesudhan Ramakrish Ramkumar | 5fcda2b | 2013-01-31 23:03:38 -0800 | [diff] [blame] | 122 | qcom,mount-angle = <90>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 123 | qcom,sensor-name = "ov2720"; |
| 124 | cam_vdig-supply = <&pm8941_l3>; |
| 125 | cam_vana-supply = <&pm8941_l17>; |
| 126 | cam_vio-supply = <&pm8941_lvs3>; |
| 127 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; |
| 128 | qcom,cam-vreg-type = <0 0 1>; |
| 129 | qcom,cam-vreg-min-voltage = <1225000 2850000 0>; |
| 130 | qcom,cam-vreg-max-voltage = <1225000 2850000 0>; |
| 131 | qcom,cam-vreg-op-mode = <105000 80000 0>; |
| 132 | qcom,gpio-no-mux = <0>; |
| 133 | gpios = <&msmgpio 17 0>, |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 134 | <&msmgpio 18 0>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 135 | qcom,gpio-reset = <1>; |
| 136 | qcom,gpio-req-tbl-num = <0 1>; |
| 137 | qcom,gpio-req-tbl-flags = <1 0>; |
| 138 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 139 | "CAM_RESET1"; |
| 140 | qcom,gpio-set-tbl-num = <1 1>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 141 | qcom,gpio-set-tbl-flags = <0 2>; |
| 142 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 143 | qcom,csi-lane-assign = <0x4320>; |
| 144 | qcom,csi-lane-mask = <0x7>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 145 | qcom,sensor-position = <1>; |
| 146 | qcom,sensor-mode = <1>; |
Sreesudhan Ramakrish Ramkumar | 9f3aa30 | 2013-01-23 14:50:58 -0800 | [diff] [blame] | 147 | qcom,cci-master = <1>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 148 | status = "ok"; |
| 149 | }; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 150 | |
| 151 | qcom,camera@90 { |
| 152 | compatible = "qcom,mt9m114"; |
Sreesudhan Ramakrish Ramkumar | f7ae890 | 2013-03-20 01:34:53 -0700 | [diff] [blame] | 153 | reg = <0x90>; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 154 | qcom,slave-id = <0x90 0x0 0x2481>; |
| 155 | qcom,csiphy-sd-index = <1>; |
| 156 | qcom,csid-sd-index = <0>; |
| 157 | qcom,mount-angle = <0>; |
| 158 | qcom,sensor-name = "mt9m114"; |
| 159 | cam_vdig-supply = <&pm8941_l3>; |
| 160 | cam_vana-supply = <&pm8941_l17>; |
| 161 | cam_vio-supply = <&pm8941_lvs3>; |
| 162 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; |
| 163 | qcom,cam-vreg-type = <0 0 1>; |
| 164 | qcom,cam-vreg-min-voltage = <1225000 2850000 0>; |
| 165 | qcom,cam-vreg-max-voltage = <1225000 2850000 0>; |
| 166 | qcom,cam-vreg-op-mode = <105000 80000 0>; |
| 167 | qcom,gpio-no-mux = <0>; |
| 168 | gpios = <&msmgpio 16 0>, |
| 169 | <&msmgpio 92 0>; |
| 170 | qcom,gpio-reset = <1>; |
| 171 | qcom,gpio-req-tbl-num = <0 1>; |
| 172 | qcom,gpio-req-tbl-flags = <1 0>; |
| 173 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 174 | "CAM_RESET1"; |
| 175 | qcom,gpio-set-tbl-num = <1 1>; |
| 176 | qcom,gpio-set-tbl-flags = <0 2>; |
| 177 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 178 | qcom,csi-lane-assign = <0x4320>; |
| 179 | qcom,csi-lane-mask = <0x3>; |
| 180 | qcom,sensor-position = <1>; |
| 181 | qcom,sensor-mode = <1>; |
| 182 | qcom,cci-master = <0>; |
| 183 | }; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 184 | }; |