Lokesh Kumar Aakulu | 2521350 | 2013-05-07 17:43:03 -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 | |
| 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 | |
Wei Ding | ce0432e | 2013-09-10 09:44:57 +0800 | [diff] [blame] | 41 | eeprom0: qcom,eeprom@6a { |
| 42 | cell-index = <0>; |
| 43 | reg = <0x6a 0x0>; |
| 44 | qcom,eeprom-name = "truly_cm7700"; |
| 45 | compatible = "qcom,msm_eeprom"; |
| 46 | qcom,slave-addr = <0x6c>; |
| 47 | qcom,num-blocks = <9>; |
| 48 | qcom,page0 = <1 0x0100 2 0x01 1 1>; |
| 49 | qcom,poll0 = <0 0x0 2 0 1 1>; |
| 50 | qcom,mem0 = <0 0x0 2 0 1 0>; |
| 51 | qcom,page1 = <1 0x3d84 2 0x8 1 1>; |
| 52 | qcom,pageen1 = <1 0x3d81 2 0x01 1 10>; |
| 53 | qcom,poll1 = <0 0x0 2 0 1 1>; |
| 54 | qcom,mem1 = <32 0x3d00 2 0 1 0>; |
| 55 | qcom,page2 = <1 0x3d84 2 0x9 1 1>; |
| 56 | qcom,pageen2 = <1 0x3d81 2 0x01 1 10>; |
| 57 | qcom,poll2 = <0 0x0 2 0 1 1>; |
| 58 | qcom,mem2 = <32 0x3d00 2 0 1 0>; |
| 59 | qcom,page3 = <1 0x3d84 2 0xa 1 1>; |
| 60 | qcom,pageen3 = <1 0x3d81 2 0x01 1 10>; |
| 61 | qcom,poll3 = <0 0x0 2 0 1 1>; |
| 62 | qcom,mem3 = <32 0x3d00 2 0 1 0>; |
| 63 | qcom,page4 = <1 0x3d84 2 0xb 1 1>; |
| 64 | qcom,pageen4 = <1 0x3d81 2 0x01 1 10>; |
| 65 | qcom,poll4 = <0 0x0 2 0 1 1>; |
| 66 | qcom,mem4 = <32 0x3d00 2 0 1 0>; |
| 67 | qcom,page5 = <1 0x3d84 2 0xc 1 1>; |
| 68 | qcom,pageen5 = <1 0x3d81 2 0x01 1 10>; |
| 69 | qcom,poll5 = <0 0x0 2 0 1 1>; |
| 70 | qcom,mem5 = <32 0x3d00 2 0 1 0>; |
| 71 | qcom,page6 = <1 0x3d84 2 0xd 1 1>; |
| 72 | qcom,pageen6 = <1 0x3d81 2 0x01 1 10>; |
| 73 | qcom,poll6 = <0 0x0 2 0 1 1>; |
| 74 | qcom,mem6 = <32 0x3d00 2 0 1 0>; |
| 75 | qcom,page7 = <1 0x3d84 2 0xe 1 1>; |
| 76 | qcom,pageen7 = <1 0x3d81 2 0x01 1 10>; |
| 77 | qcom,poll7 = <0 0x0 2 0 1 1>; |
| 78 | qcom,mem7 = <32 0x3d00 2 0 1 0>; |
| 79 | qcom,page8 = <1 0x3d84 2 0xf 1 1>; |
| 80 | qcom,pageen8 = <1 0x3d81 2 0x01 1 10>; |
| 81 | qcom,poll8 = <0 0x0 2 0 1 1>; |
| 82 | qcom,mem8 = <32 0x3d00 2 0 1 0>; |
| 83 | |
| 84 | cam_vdig-supply = <&pm8110_l2>; |
| 85 | cam_vio-supply = <&pm8110_l14>; |
| 86 | qcom,cam-vreg-name = "cam_vdig", "cam_vio"; |
| 87 | qcom,cam-vreg-type = <0 0 0 0>; |
| 88 | qcom,cam-vreg-min-voltage = <1200000 1800000>; |
| 89 | qcom,cam-vreg-max-voltage = <1200000 1800000>; |
| 90 | qcom,cam-vreg-op-mode = <200000 8000>; |
| 91 | qcom,gpio-no-mux = <0>; |
| 92 | gpios = <&msmgpio 13 0>, |
| 93 | <&msmgpio 21 0>, |
| 94 | <&msmgpio 20 0>; |
| 95 | qcom,gpio-reset = <1>; |
| 96 | qcom,gpio-standby = <2>; |
| 97 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 98 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 99 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 100 | "CAM_RESET1", |
| 101 | "CAM_STANDBY"; |
| 102 | qcom,cam-power-seq-type = "sensor_vreg", |
| 103 | "sensor_vreg", "sensor_clk", |
| 104 | "sensor_gpio", "sensor_gpio"; |
| 105 | qcom,cam-power-seq-val = "cam_vdig", |
| 106 | "cam_vio", "sensor_cam_mclk", |
| 107 | "sensor_gpio_reset", |
| 108 | "sensor_gpio_standby"; |
| 109 | qcom,cam-power-seq-cfg-val = <1 1 24000000 1 1>; |
| 110 | qcom,cam-power-seq-delay = <1 1 5 5 10>; |
| 111 | }; |
| 112 | |
Lokesh Kumar Aakulu | 2521350 | 2013-05-07 17:43:03 -0700 | [diff] [blame] | 113 | qcom,camera@6f { |
| 114 | compatible = "qcom,ov8825"; |
| 115 | reg = <0x6f>; |
| 116 | qcom,slave-id = <0x6c 0x300a 0x8825>; |
| 117 | qcom,csiphy-sd-index = <0>; |
| 118 | qcom,csid-sd-index = <0>; |
| 119 | qcom,actuator-src = <&actuator0>; |
| 120 | qcom,led-flash-src = <&led_flash0>; |
Wei Ding | ce0432e | 2013-09-10 09:44:57 +0800 | [diff] [blame] | 121 | qcom,eeprom-src = <&eeprom0>; |
Lokesh Kumar Aakulu | 2521350 | 2013-05-07 17:43:03 -0700 | [diff] [blame] | 122 | qcom,mount-angle = <90>; |
| 123 | qcom,sensor-name = "ov8825"; |
| 124 | cam_vdig-supply = <&pm8110_l2>; |
| 125 | cam_vana-supply = <&pm8110_l19>; |
| 126 | cam_vio-supply = <&pm8110_l14>; |
| 127 | cam_vaf-supply = <&pm8110_l16>; |
| 128 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 129 | "cam_vaf"; |
| 130 | qcom,cam-vreg-type = <0 0 0 0>; |
| 131 | qcom,cam-vreg-min-voltage = <1200000 1800000 2850000 3000000>; |
| 132 | qcom,cam-vreg-max-voltage = <1200000 1800000 2850000 3000000>; |
| 133 | qcom,cam-vreg-op-mode = <200000 8000 80000 100000>; |
| 134 | qcom,gpio-no-mux = <0>; |
| 135 | gpios = <&msmgpio 13 0>, |
| 136 | <&msmgpio 21 0>, |
| 137 | <&msmgpio 20 0>; |
| 138 | qcom,gpio-reset = <1>; |
| 139 | qcom,gpio-standby = <2>; |
| 140 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 141 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 142 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 143 | "CAM_RESET1", |
| 144 | "CAM_STANDBY"; |
| 145 | qcom,csi-lane-assign = <0xe4>; |
| 146 | qcom,csi-lane-mask = <0x3>; |
| 147 | qcom,sensor-position = <0>; |
| 148 | qcom,sensor-mode = <1>; |
| 149 | qcom,cci-master = <0>; |
| 150 | }; |
| 151 | |
| 152 | qcom,camera@6d { |
| 153 | compatible = "qcom,ov9724"; |
| 154 | reg = <0x6d>; |
| 155 | qcom,slave-id = <0x20 0x0 0x9724>; |
| 156 | qcom,csiphy-sd-index = <1>; |
| 157 | qcom,csid-sd-index = <0>; |
| 158 | qcom,mount-angle = <90>; |
| 159 | qcom,sensor-name = "ov9724"; |
| 160 | cam_vdig-supply = <&pm8110_l4>; |
| 161 | cam_vana-supply = <&pm8110_l19>; |
| 162 | cam_vio-supply = <&pm8110_l14>; |
| 163 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; |
| 164 | qcom,cam-vreg-type = <0 1 0>; |
| 165 | qcom,cam-vreg-min-voltage = <1200000 0 2850000>; |
| 166 | qcom,cam-vreg-max-voltage = <1200000 0 2850000>; |
| 167 | qcom,cam-vreg-op-mode = <200000 0 80000>; |
| 168 | qcom,gpio-no-mux = <0>; |
| 169 | gpios = <&msmgpio 14 0>, |
| 170 | <&msmgpio 15 0>, |
| 171 | <&msmgpio 8 0>; |
| 172 | qcom,gpio-reset = <1>; |
| 173 | qcom,gpio-standby = <2>; |
| 174 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 175 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 176 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 177 | "CAM_RESET", |
| 178 | "CAM_STANDBY"; |
| 179 | qcom,gpio-set-tbl-num = <1 1>; |
| 180 | qcom,gpio-set-tbl-flags = <0 2>; |
| 181 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 182 | qcom,csi-lane-assign = <0xe4>; |
| 183 | qcom,csi-lane-mask = <0x1>; |
| 184 | qcom,sensor-position = <1>; |
| 185 | qcom,sensor-mode = <1>; |
| 186 | qcom,cci-master = <0>; |
| 187 | status = "ok"; |
| 188 | }; |
Ju He | f437ef8 | 2013-06-07 15:50:04 -0700 | [diff] [blame] | 189 | |
| 190 | qcom,camera@78 { |
| 191 | compatible = "qcom,sp1628"; |
| 192 | reg = <0x78>; |
| 193 | qcom,slave-id = <0x78 0x0 0x1628>; |
| 194 | qcom,csiphy-sd-index = <1>; |
| 195 | qcom,csid-sd-index = <1>; |
| 196 | qcom,mount-angle = <90>; |
| 197 | qcom,sensor-name = "sp1628"; |
| 198 | cam_vdig-supply = <&pm8110_l2>; |
| 199 | cam_vana-supply = <&pm8110_l19>; |
| 200 | cam_vio-supply = <&pm8110_l14>; |
| 201 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana"; |
| 202 | qcom,cam-vreg-type = <0 0 0>; |
| 203 | qcom,cam-vreg-min-voltage = <1200000 1800000 2850000>; |
| 204 | qcom,cam-vreg-max-voltage = <1200000 1800000 2850000>; |
| 205 | qcom,cam-vreg-op-mode = <200000 80000 80000>; |
| 206 | qcom,gpio-no-mux = <0>; |
| 207 | gpios = <&msmgpio 14 0>, |
| 208 | <&msmgpio 15 0>, |
| 209 | <&msmgpio 8 0>; |
| 210 | qcom,gpio-reset = <1>; |
| 211 | qcom,gpio-standby = <2>; |
| 212 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 213 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 214 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 215 | "CAM_RESET", |
| 216 | "CAM_STANDBY"; |
| 217 | qcom,gpio-set-tbl-num = <1 1>; |
| 218 | qcom,gpio-set-tbl-flags = <0 2>; |
| 219 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 220 | qcom,csi-lane-assign = <0xe4>; |
| 221 | qcom,csi-lane-mask = <0x3>; |
| 222 | qcom,sensor-position = <1>; |
| 223 | qcom,sensor-mode = <1>; |
| 224 | qcom,cci-master = <0>; |
| 225 | }; |
| 226 | |
Lokesh Kumar Aakulu | 2521350 | 2013-05-07 17:43:03 -0700 | [diff] [blame] | 227 | }; |