Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 1 | /* |
| 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 Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 14 | &soc { |
Su Liu | 4c1bb0d | 2013-03-21 20:16:35 -0700 | [diff] [blame] | 15 | |
| 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>; |
Evgeniy Borisov | 2cc25d3 | 2013-07-12 14:06:30 +0300 | [diff] [blame] | 21 | qcom,torch-source = <&pm8226_torch>; |
Su Liu | 4c1bb0d | 2013-03-21 20:16:35 -0700 | [diff] [blame] | 22 | }; |
| 23 | }; |
| 24 | |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 25 | &cci { |
Su Liu | 0934109 | 2013-03-20 19:33:31 -0700 | [diff] [blame] | 26 | |
| 27 | actuator0: qcom,actuator@6e { |
| 28 | cell-index = <3>; |
Sreesudhan Ramakrish Ramkumar | 554072f | 2013-04-04 21:51:33 -0700 | [diff] [blame] | 29 | reg = <0x6c>; |
Su Liu | 0934109 | 2013-03-20 19:33:31 -0700 | [diff] [blame] | 30 | compatible = "qcom,actuator"; |
| 31 | qcom,cci-master = <0>; |
| 32 | }; |
| 33 | |
Ju He | c89cdea | 2013-07-24 11:26:31 +0800 | [diff] [blame] | 34 | eeprom0: qcom,eeprom@6c { |
| 35 | cell-index = <0>; |
| 36 | reg = <0x6c 0x0>; |
| 37 | qcom,eeprom-name = "truly_cm7700"; |
| 38 | compatible = "qcom,eeprom"; |
| 39 | qcom,slave-addr = <0x6c>; |
| 40 | qcom,cci-master = <0>; |
| 41 | qcom,num-blocks = <9>; |
| 42 | qcom,page0 = <1 0x0100 2 0x01 1 1>; |
| 43 | qcom,poll0 = <0 0x0 2 0 1 1>; |
| 44 | qcom,mem0 = <0 0x0 2 0 1 0>; |
| 45 | qcom,page1 = <1 0x3d84 2 0x8 1 1>; |
| 46 | qcom,pageen1 = <1 0x3d81 2 0x01 1 10>; |
| 47 | qcom,poll1 = <0 0x0 2 0 1 1>; |
| 48 | qcom,mem1 = <32 0x3d00 2 0 1 0>; |
| 49 | qcom,page2 = <1 0x3d84 2 0x9 1 1>; |
| 50 | qcom,pageen2 = <1 0x3d81 2 0x01 1 10>; |
| 51 | qcom,poll2 = <0 0x0 2 0 1 1>; |
| 52 | qcom,mem2 = <32 0x3d00 2 0 1 0>; |
| 53 | qcom,page3 = <1 0x3d84 2 0xa 1 1>; |
| 54 | qcom,pageen3 = <1 0x3d81 2 0x01 1 10>; |
| 55 | qcom,poll3 = <0 0x0 2 0 1 1>; |
| 56 | qcom,mem3 = <32 0x3d00 2 0 1 0>; |
| 57 | qcom,page4 = <1 0x3d84 2 0xb 1 1>; |
| 58 | qcom,pageen4 = <1 0x3d81 2 0x01 1 10>; |
| 59 | qcom,poll4 = <0 0x0 2 0 1 1>; |
| 60 | qcom,mem4 = <32 0x3d00 2 0 1 0>; |
| 61 | qcom,page5 = <1 0x3d84 2 0xc 1 1>; |
| 62 | qcom,pageen5 = <1 0x3d81 2 0x01 1 10>; |
| 63 | qcom,poll5 = <0 0x0 2 0 1 1>; |
| 64 | qcom,mem5 = <32 0x3d00 2 0 1 0>; |
| 65 | qcom,page6 = <1 0x3d84 2 0xd 1 1>; |
| 66 | qcom,pageen6 = <1 0x3d81 2 0x01 1 10>; |
| 67 | qcom,poll6 = <0 0x0 2 0 1 1>; |
| 68 | qcom,mem6 = <32 0x3d00 2 0 1 0>; |
| 69 | qcom,page7 = <1 0x3d84 2 0xe 1 1>; |
| 70 | qcom,pageen7 = <1 0x3d81 2 0x01 1 10>; |
| 71 | qcom,poll7 = <0 0x0 2 0 1 1>; |
| 72 | qcom,mem7 = <32 0x3d00 2 0 1 0>; |
| 73 | qcom,page8 = <1 0x3d84 2 0xf 1 1>; |
| 74 | qcom,pageen8 = <1 0x3d81 2 0x01 1 10>; |
| 75 | qcom,poll8 = <0 0x0 2 0 1 1>; |
| 76 | qcom,mem8 = <32 0x3d00 2 0 1 0>; |
| 77 | |
| 78 | cam_vdig-supply = <&pm8226_l5>; |
| 79 | cam_vio-supply = <&pm8226_lvs1>; |
| 80 | qcom,cam-vreg-name = "cam_vdig", "cam_vio"; |
| 81 | qcom,cam-vreg-type = <0 1>; |
| 82 | qcom,cam-vreg-min-voltage = <1200000 0>; |
| 83 | qcom,cam-vreg-max-voltage = <1200000 0>; |
| 84 | qcom,cam-vreg-op-mode = <200000 0>; |
| 85 | qcom,gpio-no-mux = <0>; |
| 86 | gpios = <&msmgpio 26 0>, |
| 87 | <&msmgpio 37 0>, |
| 88 | <&msmgpio 36 0>; |
| 89 | qcom,gpio-reset = <1>; |
| 90 | qcom,gpio-standby = <2>; |
| 91 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 92 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 93 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 94 | "CAM_RESET1", |
| 95 | "CAM_STANDBY"; |
| 96 | qcom,cam-power-seq-type = "sensor_vreg", |
| 97 | "sensor_vreg", "sensor_clk", |
| 98 | "sensor_gpio", "sensor_gpio"; |
| 99 | qcom,cam-power-seq-val = "cam_vdig", |
| 100 | "cam_vio", "sensor_cam_mclk", |
| 101 | "sensor_gpio_reset", |
| 102 | "sensor_gpio_standby"; |
| 103 | qcom,cam-power-seq-cfg-val = <1 1 24000000 1 1>; |
| 104 | qcom,cam-power-seq-delay = <1 1 5 5 10>; |
| 105 | }; |
| 106 | |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 107 | qcom,camera@6f { |
| 108 | compatible = "qcom,ov8825"; |
| 109 | reg = <0x6f>; |
| 110 | qcom,slave-id = <0x6c 0x300a 0x8825>; |
| 111 | qcom,csiphy-sd-index = <0>; |
| 112 | qcom,csid-sd-index = <0>; |
Su Liu | 0934109 | 2013-03-20 19:33:31 -0700 | [diff] [blame] | 113 | qcom,actuator-src = <&actuator0>; |
Su Liu | 4c1bb0d | 2013-03-21 20:16:35 -0700 | [diff] [blame] | 114 | qcom,led-flash-src = <&led_flash0>; |
Ju He | c89cdea | 2013-07-24 11:26:31 +0800 | [diff] [blame] | 115 | qcom,eeprom-src = <&eeprom0>; |
Ju He | b1081f9 | 2013-08-05 17:29:26 +0800 | [diff] [blame] | 116 | qcom,mount-angle = <90>; |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 117 | qcom,sensor-name = "ov8825"; |
| 118 | cam_vdig-supply = <&pm8226_l5>; |
| 119 | cam_vana-supply = <&pm8226_l19>; |
| 120 | cam_vio-supply = <&pm8226_lvs1>; |
| 121 | cam_vaf-supply = <&pm8226_l15>; |
| 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 = <1200000 0 2850000 2800000>; |
| 126 | qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; |
| 127 | qcom,cam-vreg-op-mode = <200000 0 80000 100000>; |
| 128 | qcom,gpio-no-mux = <0>; |
| 129 | gpios = <&msmgpio 26 0>, |
| 130 | <&msmgpio 37 0>, |
| 131 | <&msmgpio 36 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,csi-lane-assign = <0x4320>; |
| 140 | qcom,csi-lane-mask = <0x1f>; |
| 141 | qcom,sensor-position = <0>; |
| 142 | qcom,sensor-mode = <1>; |
| 143 | qcom,cci-master = <0>; |
| 144 | }; |
| 145 | |
feim | a4c96c8 | 2013-06-08 15:59:46 +0800 | [diff] [blame] | 146 | actuator1: qcom,actuator@18 { |
| 147 | cell-index = <4>; |
| 148 | reg = <0x18>; |
| 149 | compatible = "qcom,actuator"; |
| 150 | qcom,cci-master = <0>; |
| 151 | }; |
| 152 | |
Wang Wenbin | 8aae9ef | 2013-08-07 14:09:26 +0800 | [diff] [blame] | 153 | eeprom1: qcom,eeprom@18{ |
| 154 | cell-index = <1>; |
| 155 | reg = <0x18 0x0>; |
| 156 | qcom,eeprom-name = "sunny_p12v01m"; |
| 157 | compatible = "qcom,eeprom"; |
| 158 | qcom,slave-addr = <0x20>; |
| 159 | qcom,cci-master = <0>; |
| 160 | qcom,num-blocks = <16>; |
| 161 | qcom,page0 = <1 0x0100 2 0x01 1 1>; |
| 162 | qcom,poll0 = <0 0x0 2 0 1 1>; |
| 163 | qcom,mem0 = <0 0x0 2 0 1 0>; |
| 164 | qcom,page1 = <1 0x3d84 2 0xc1 1 1>; |
| 165 | qcom,pageen1 = <1 0x3d81 2 0x01 1 10>; |
| 166 | qcom,poll1 = <0 0x0 2 0 1 1>; |
| 167 | qcom,mem1 = <16 0x3d00 2 0 1 0>; |
| 168 | qcom,page2 = <1 0x3d84 2 0xc2 1 1>; |
| 169 | qcom,pageen2 = <1 0x3d81 2 0x01 1 10>; |
| 170 | qcom,poll2 = <0 0x0 2 0 1 1>; |
| 171 | qcom,mem2 = <16 0x3d00 2 0 1 0>; |
| 172 | qcom,page3 = <1 0x3d84 2 0xc3 1 1>; |
| 173 | qcom,pageen3 = <1 0x3d81 2 0x01 1 10>; |
| 174 | qcom,poll3 = <0 0x0 2 0 1 1>; |
| 175 | qcom,mem3 = <16 0x3d00 2 0 1 0>; |
| 176 | qcom,page4 = <1 0x3d84 2 0xc4 1 1>; |
| 177 | qcom,pageen4 = <1 0x3d81 2 0x01 1 10>; |
| 178 | qcom,poll4 = <0 0x0 2 0 1 1>; |
| 179 | qcom,mem4 = <16 0x3d00 2 0 1 0>; |
| 180 | qcom,page5 = <1 0x3d84 2 0xc5 1 1>; |
| 181 | qcom,pageen5 = <1 0x3d81 2 0x01 1 10>; |
| 182 | qcom,poll5 = <0 0x0 2 0 1 1>; |
| 183 | qcom,mem5 = <16 0x3d00 2 0 1 0>; |
| 184 | qcom,page6 = <1 0x3d84 2 0xc6 1 1>; |
| 185 | qcom,pageen6 = <1 0x3d81 2 0x01 1 10>; |
| 186 | qcom,poll6 = <0 0x0 2 0 1 1>; |
| 187 | qcom,mem6 = <16 0x3d00 2 0 1 0>; |
| 188 | qcom,page7 = <1 0x3d84 2 0xc7 1 1>; |
| 189 | qcom,pageen7 = <1 0x3d81 2 0x01 1 10>; |
| 190 | qcom,poll7 = <0 0x0 2 0 1 1>; |
| 191 | qcom,mem7 = <16 0x3d00 2 0 1 0>; |
| 192 | qcom,page8 = <1 0x3d84 2 0xc8 1 1>; |
| 193 | qcom,pageen8 = <1 0x3d81 2 0x01 1 10>; |
| 194 | qcom,poll8 = <0 0x0 2 0 1 1>; |
| 195 | qcom,mem8 = <16 0x3d00 2 0 1 0>; |
| 196 | qcom,page9 = <1 0x3d84 2 0xc9 1 1>; |
| 197 | qcom,pageen9 = <1 0x3d81 2 0x01 1 10>; |
| 198 | qcom,poll9 = <0 0x0 2 0 1 1>; |
| 199 | qcom,mem9 = <16 0x3d00 2 0 1 0>; |
| 200 | qcom,page10 = <1 0x3d84 2 0xca 1 1>; |
| 201 | qcom,pageen10 = <1 0x3d81 2 0x01 1 10>; |
| 202 | qcom,poll10 = <0 0x0 2 0 1 1>; |
| 203 | qcom,mem10 = <16 0x3d00 2 0 1 0>; |
| 204 | qcom,page11 = <1 0x3d84 2 0xcb 1 1>; |
| 205 | qcom,pageen11 = <1 0x3d81 2 0x01 1 10>; |
| 206 | qcom,poll11 = <0 0x0 2 0 1 1>; |
| 207 | qcom,mem11 = <16 0x3d00 2 0 1 0>; |
| 208 | qcom,page12 = <1 0x3d84 2 0xcc 1 1>; |
| 209 | qcom,pageen12 = <1 0x3d81 2 0x01 1 10>; |
| 210 | qcom,poll12 = <0 0x0 2 0 1 1>; |
| 211 | qcom,mem12 = <16 0x3d00 2 0 1 0>; |
| 212 | qcom,page13 = <1 0x3d84 2 0xcd 1 1>; |
| 213 | qcom,pageen13 = <1 0x3d81 2 0x01 1 10>; |
| 214 | qcom,poll13 = <0 0x0 2 0 1 1>; |
| 215 | qcom,mem13 = <16 0x3d00 2 0 1 0>; |
| 216 | qcom,page14 = <1 0x3d84 2 0xce 1 1>; |
| 217 | qcom,pageen14 = <1 0x3d81 2 0x01 1 10>; |
| 218 | qcom,poll14 = <0 0x0 2 0 1 1>; |
| 219 | qcom,mem14 = <16 0x3d00 2 0 1 0>; |
| 220 | qcom,page15 = <1 0x3d84 2 0xcf 1 1>; |
| 221 | qcom,pageen15 = <1 0x3d81 2 0x01 1 10>; |
| 222 | qcom,poll15 = <0 0x0 2 0 1 1>; |
| 223 | qcom,mem15 = <16 0x3d00 2 0 1 0>; |
| 224 | cam_vio-supply = <&pm8226_lvs1>; |
| 225 | cam_vana-supply = <&pm8226_l19>; |
| 226 | qcom,cam-vreg-name = "cam_vio", "cam_vana"; |
| 227 | qcom,cam-vreg-type = <1 0>; |
| 228 | qcom,cam-vreg-min-voltage = <0 2850000>; |
| 229 | qcom,cam-vreg-max-voltage = <0 2850000>; |
| 230 | qcom,cam-vreg-op-mode = <0 80000>; |
| 231 | qcom,gpio-no-mux = <0>; |
| 232 | gpios = <&msmgpio 26 0>, |
| 233 | <&msmgpio 37 0>, |
| 234 | <&msmgpio 36 0>, |
| 235 | <&msmgpio 22 0>; |
| 236 | qcom,gpio-reset = <1>; |
| 237 | qcom,gpio-standby = <2>; |
| 238 | qcom,gpio-vdig = <3>; |
| 239 | qcom,gpio-req-tbl-num = <0 1 2 3>; |
| 240 | qcom,gpio-req-tbl-flags = <1 0 0 0>; |
| 241 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 242 | "CAM_RESET1", |
| 243 | "CAM_STANDBY", |
| 244 | "CAM_VDIG"; |
| 245 | qcom,cam-power-seq-type = "sensor_vreg", |
| 246 | "sensor_vreg", "sensor_gpio", |
| 247 | "sensor_gpio", "sensor_gpio" , "sensor_clk"; |
| 248 | qcom,cam-power-seq-val = "cam_vio", "cam_vana","sensor_gpio_vdig", |
| 249 | "sensor_gpio_reset", |
| 250 | "sensor_gpio_standby","sensor_cam_mclk" ; |
| 251 | qcom,cam-power-seq-cfg-val = <1 1 1 1 1 24000000>; |
| 252 | qcom,cam-power-seq-delay = <1 1 10 10 10 5>; |
| 253 | }; |
| 254 | |
feim | a4c96c8 | 2013-06-08 15:59:46 +0800 | [diff] [blame] | 255 | qcom,camera@6c { |
| 256 | compatible = "qcom,ov12830"; |
| 257 | reg = <0x6c>; |
| 258 | qcom,slave-id = <0x20 0x300a 0xc830>; |
| 259 | qcom,csiphy-sd-index = <0>; |
| 260 | qcom,csid-sd-index = <0>; |
| 261 | qcom,actuator-src = <&actuator1>; |
| 262 | qcom,led-flash-src = <&led_flash0>; |
Wang Wenbin | 8aae9ef | 2013-08-07 14:09:26 +0800 | [diff] [blame] | 263 | qcom,eeprom-src = <&eeprom1>; |
Wang Wenbin | 9b18d73 | 2013-08-07 10:07:09 +0800 | [diff] [blame] | 264 | qcom,mount-angle = <90>; |
feim | a4c96c8 | 2013-06-08 15:59:46 +0800 | [diff] [blame] | 265 | qcom,sensor-name = "skuf_ov12830_p12v01c"; |
| 266 | cam_vdig-supply = <&pm8226_l5>; |
| 267 | cam_vana-supply = <&pm8226_l19>; |
| 268 | cam_vio-supply = <&pm8226_lvs1>; |
| 269 | cam_vaf-supply = <&pm8226_l15>; |
| 270 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 271 | "cam_vaf"; |
| 272 | qcom,cam-vreg-type = <0 1 0 0>; |
| 273 | qcom,cam-vreg-min-voltage = <1200000 0 2850000 2800000>; |
| 274 | qcom,cam-vreg-max-voltage = <1200000 0 2850000 2800000>; |
| 275 | qcom,cam-vreg-op-mode = <120000 0 0 80000 100000>; |
| 276 | qcom,gpio-no-mux = <0>; |
| 277 | gpios = <&msmgpio 26 0>, |
| 278 | <&msmgpio 37 0>, |
| 279 | <&msmgpio 36 0>, |
| 280 | <&msmgpio 22 0>, |
| 281 | <&msmgpio 34 0>; |
| 282 | qcom,gpio-reset = <1>; |
| 283 | qcom,gpio-standby = <2>; |
| 284 | qcom,gpio-vdig = <3>; |
| 285 | qcom,gpio-af-pwdm = <4>; |
| 286 | qcom,gpio-req-tbl-num = <0 1 2 3 4>; |
| 287 | qcom,gpio-req-tbl-flags = <1 0 0 0 0>; |
| 288 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 289 | "CAM_RESET1", |
| 290 | "CAM_STANDBY", |
| 291 | "CAM_VDIG", |
| 292 | "CAM_AF_PWDM"; |
| 293 | qcom,csi-lane-assign = <0x4320>; |
| 294 | qcom,csi-lane-mask = <0x1f>; |
| 295 | qcom,sensor-position = <0>; |
| 296 | qcom,sensor-mode = <1>; |
| 297 | qcom,cci-master = <0>; |
| 298 | }; |
| 299 | |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 300 | qcom,camera@6d { |
| 301 | compatible = "qcom,ov9724"; |
| 302 | reg = <0x6d>; |
| 303 | qcom,slave-id = <0x20 0x0 0x9724>; |
| 304 | qcom,csiphy-sd-index = <1>; |
Su Liu | 9e7c6f3 | 2013-04-25 00:02:27 -0700 | [diff] [blame] | 305 | qcom,csid-sd-index = <1>; |
Sreesudhan Ramakrish Ramkumar | c92ad31 | 2013-04-17 19:51:08 -0700 | [diff] [blame] | 306 | qcom,mount-angle = <270>; |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 307 | qcom,sensor-name = "ov9724"; |
| 308 | cam_vdig-supply = <&pm8226_l5>; |
| 309 | cam_vana-supply = <&pm8226_l19>; |
| 310 | cam_vio-supply = <&pm8226_lvs1>; |
| 311 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; |
| 312 | qcom,cam-vreg-type = <0 1 0>; |
| 313 | qcom,cam-vreg-min-voltage = <1200000 0 2850000>; |
| 314 | qcom,cam-vreg-max-voltage = <1200000 0 2850000>; |
| 315 | qcom,cam-vreg-op-mode = <200000 0 80000>; |
| 316 | qcom,gpio-no-mux = <0>; |
| 317 | gpios = <&msmgpio 26 0>, |
| 318 | <&msmgpio 28 0>, |
| 319 | <&msmgpio 35 0>; |
| 320 | qcom,gpio-reset = <1>; |
| 321 | qcom,gpio-standby = <2>; |
| 322 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 323 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 324 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 325 | "CAM_RESET", |
| 326 | "CAM_STANDBY"; |
| 327 | qcom,gpio-set-tbl-num = <1 1>; |
| 328 | qcom,gpio-set-tbl-flags = <0 2>; |
| 329 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 330 | qcom,csi-lane-assign = <0x4320>; |
| 331 | qcom,csi-lane-mask = <0x3>; |
| 332 | qcom,sensor-position = <1>; |
| 333 | qcom,sensor-mode = <1>; |
| 334 | qcom,cci-master = <0>; |
| 335 | status = "ok"; |
| 336 | }; |
Liu Su | fcb14d6 | 2013-06-09 09:39:15 +0800 | [diff] [blame] | 337 | |
Su Liu | ad33009 | 2013-08-14 10:08:53 +0800 | [diff] [blame] | 338 | eeprom2: qcom,eeprom@6b{ |
| 339 | cell-index = <2>; |
| 340 | reg = <0x6b 0x0>; |
| 341 | qcom,eeprom-name = "sunny_p5v23c"; |
| 342 | compatible = "qcom,eeprom"; |
| 343 | qcom,slave-addr = <0x6c>; |
| 344 | qcom,cci-master = <0>; |
| 345 | qcom,num-blocks = <7>; |
| 346 | |
| 347 | qcom,page0 = <1 0x0100 2 0x01 1 1>; |
| 348 | qcom,poll0 = <0 0x0 2 0 1 1>; |
| 349 | qcom,mem0 = <0 0x0 2 0 1 0>; |
| 350 | |
| 351 | qcom,page1 = <1 0x3d84 2 0xc0 1 1>; |
| 352 | qcom,poll1 = <0 0x0 2 0 1 1>; |
| 353 | qcom,mem1 = <0 0x0 2 0 1 0>; |
| 354 | qcom,page2 = <1 0x3d85 2 0x00 1 1>; |
| 355 | qcom,poll2 = <0 0x0 2 0 1 1>; |
| 356 | qcom,mem2 = <0 0x0 2 0 1 0>; |
| 357 | qcom,page3 = <1 0x3d86 2 0x0f 1 1>; |
| 358 | qcom,pageen3 = <1 0x3d81 2 0x01 1 10>; |
| 359 | qcom,poll3 = <0 0x0 2 0 1 1>; |
| 360 | qcom,mem3 = <16 0x3d00 2 0 1 0>; |
| 361 | |
| 362 | qcom,page4 = <1 0x3d84 2 0xc0 1 1>; |
| 363 | qcom,poll4 = <0 0x0 2 0 1 1>; |
| 364 | qcom,mem4 = <0 0x0 2 0 1 0>; |
| 365 | qcom,page5 = <1 0x3d85 2 0x10 1 1>; |
| 366 | qcom,poll5 = <0 0x0 2 0 1 1>; |
| 367 | qcom,mem5 = <0 0x0 2 0 1 0>; |
| 368 | qcom,page6 = <1 0x3d86 2 0x1f 1 1>; |
| 369 | qcom,pageen6 = <1 0x3d81 2 0x01 1 10>; |
| 370 | qcom,poll6 = <0 0x0 2 0 1 1>; |
| 371 | qcom,mem6 = <16 0x3d00 2 0 1 0>; |
| 372 | |
| 373 | cam_vio-supply = <&pm8226_lvs1>; |
| 374 | cam_vana-supply = <&pm8226_l19>; |
| 375 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; |
| 376 | qcom,cam-vreg-type = <0 1 0>; |
| 377 | qcom,cam-vreg-min-voltage = <1200000 0 2850000>; |
| 378 | qcom,cam-vreg-max-voltage = <1200000 0 2850000>; |
| 379 | qcom,cam-vreg-op-mode = <200000 0 80000>; |
| 380 | qcom,gpio-no-mux = <0>; |
| 381 | gpios = <&msmgpio 26 0>, |
| 382 | <&msmgpio 28 0>, |
| 383 | <&msmgpio 35 0>, |
| 384 | <&msmgpio 21 0>; |
| 385 | qcom,gpio-reset = <1>; |
| 386 | qcom,gpio-standby = <2>; |
| 387 | qcom,gpio-vdig = <3>; |
| 388 | qcom,gpio-req-tbl-num = <0 1 2 3>; |
| 389 | qcom,gpio-req-tbl-flags = <1 0 0 0>; |
| 390 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 391 | "CAM_RESET", |
| 392 | "CAM_STANDBY", |
| 393 | "CAM_VDIG"; |
| 394 | qcom,cam-power-seq-type = "sensor_vreg", |
| 395 | "sensor_vreg", "sensor_gpio", |
| 396 | "sensor_gpio", "sensor_gpio" , "sensor_clk"; |
| 397 | qcom,cam-power-seq-val = "cam_vio", "cam_vana","sensor_gpio_vdig", |
| 398 | "sensor_gpio_reset", |
| 399 | "sensor_gpio_standby","sensor_cam_mclk" ; |
| 400 | qcom,cam-power-seq-cfg-val = <1 1 1 1 1 24000000>; |
| 401 | qcom,cam-power-seq-delay = <1 1 10 10 10 5>; |
| 402 | }; |
| 403 | |
Liu Su | fcb14d6 | 2013-06-09 09:39:15 +0800 | [diff] [blame] | 404 | qcom,camera@6a { |
Su Liu | c3b1245 | 2013-09-26 12:50:44 +0800 | [diff] [blame] | 405 | compatible = "ovti,ov5648"; |
Liu Su | fcb14d6 | 2013-06-09 09:39:15 +0800 | [diff] [blame] | 406 | reg = <0x6a>; |
| 407 | qcom,slave-id = <0x6c 0x300a 0x5648>; |
| 408 | qcom,csiphy-sd-index = <1>; |
| 409 | qcom,csid-sd-index = <1>; |
Su Liu | ad33009 | 2013-08-14 10:08:53 +0800 | [diff] [blame] | 410 | qcom,eeprom-src = <&eeprom2>; |
Liu Su | fcb14d6 | 2013-06-09 09:39:15 +0800 | [diff] [blame] | 411 | qcom,mount-angle = <270>; |
| 412 | qcom,sensor-name = "skuf_ov5648_p5v23c"; |
| 413 | cam_vdig-supply = <&pm8226_l5>; |
| 414 | cam_vana-supply = <&pm8226_l19>; |
| 415 | cam_vio-supply = <&pm8226_lvs1>; |
| 416 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; |
| 417 | qcom,cam-vreg-type = <0 1 0>; |
| 418 | qcom,cam-vreg-min-voltage = <1200000 0 2850000>; |
| 419 | qcom,cam-vreg-max-voltage = <1200000 0 2850000>; |
| 420 | qcom,cam-vreg-op-mode = <200000 0 80000>; |
| 421 | qcom,gpio-no-mux = <0>; |
| 422 | gpios = <&msmgpio 26 0>, |
| 423 | <&msmgpio 28 0>, |
| 424 | <&msmgpio 35 0>, |
| 425 | <&msmgpio 21 0>; |
| 426 | qcom,gpio-reset = <1>; |
| 427 | qcom,gpio-standby = <2>; |
| 428 | qcom,gpio-vdig = <3>; |
| 429 | qcom,gpio-req-tbl-num = <0 1 2 3>; |
| 430 | qcom,gpio-req-tbl-flags = <1 0 0 0>; |
| 431 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 432 | "CAM_RESET", |
| 433 | "CAM_STANDBY", |
| 434 | "CAM_VDIG"; |
| 435 | qcom,gpio-set-tbl-num = <1 1>; |
| 436 | qcom,gpio-set-tbl-flags = <0 2>; |
| 437 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 438 | qcom,csi-lane-assign = <0x4320>; |
| 439 | qcom,csi-lane-mask = <0x3>; |
Su Liu | 9a576d1 | 2013-08-05 10:12:29 +0800 | [diff] [blame] | 440 | qcom,sensor-position = <1>; |
Liu Su | fcb14d6 | 2013-06-09 09:39:15 +0800 | [diff] [blame] | 441 | qcom,sensor-mode = <1>; |
| 442 | qcom,cci-master = <0>; |
| 443 | status = "ok"; |
| 444 | }; |
Su Liu | e5bdf00 | 2013-03-22 15:33:41 -0700 | [diff] [blame] | 445 | }; |