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