Evgeniy Borisov | 572617f | 2013-10-17 14:04:46 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013-2014, 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 | &cci { |
| 15 | |
| 16 | actuator0: qcom,actuator@36 { |
| 17 | cell-index = <1>; |
| 18 | reg = <0x36>; |
| 19 | compatible = "qcom,actuator"; |
| 20 | qcom,cci-master = <0>; |
| 21 | }; |
| 22 | |
| 23 | qcom,camera@20 { |
| 24 | compatible = "qcom,imx135"; |
| 25 | reg = <0x20>; |
| 26 | qcom,slave-id = <0x20 0x0016 0x0135>; |
| 27 | qcom,csiphy-sd-index = <0>; |
| 28 | qcom,csid-sd-index = <0>; |
| 29 | qcom,mount-angle = <90>; |
| 30 | qcom,sensor-name = "imx135"; |
| 31 | qcom,actuator-src = <&actuator0>; |
| 32 | cam_vdig-supply = <&pma8084_l27>; |
| 33 | cam_vio-supply = <&pma8084_lvs4>; |
| 34 | cam_vana-supply = <&pma8084_l17>; |
| 35 | cam_vaf-supply = <&pma8084_l23>; |
| 36 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 37 | "cam_vaf"; |
| 38 | qcom,cam-vreg-type = <0 1 0 0>; |
| 39 | qcom,cam-vreg-min-voltage = <1050000 0 2800000 2700000>; |
| 40 | qcom,cam-vreg-max-voltage = <1050000 0 2800000 2700000>; |
| 41 | qcom,cam-vreg-op-mode = <105000 0 80000 100000>; |
| 42 | qcom,gpio-no-mux = <0>; |
| 43 | gpios = <&msmgpio 15 0>, |
| 44 | <&msmgpio 36 0>, |
| 45 | <&msmgpio 35 0>; |
| 46 | qcom,gpio-reset = <1>; |
| 47 | qcom,gpio-standby = <2>; |
| 48 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 49 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 50 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 51 | "CAM_RESET1", |
| 52 | "CAM_STANDBY"; |
| 53 | qcom,gpio-set-tbl-num = <1 1>; |
| 54 | qcom,gpio-set-tbl-flags = <0 2>; |
| 55 | qcom,gpio-set-tbl-delay = <1000 30000>; |
| 56 | qcom,csi-lane-assign = <0x4320>; |
| 57 | qcom,csi-lane-mask = <0x1F>; |
| 58 | qcom,sensor-position = <0>; |
| 59 | qcom,sensor-mode = <0>; |
| 60 | qcom,sensor-type = <0>; |
| 61 | qcom,cci-master = <0>; |
| 62 | status = "ok"; |
| 63 | }; |
| 64 | |
| 65 | qcom,camera@6d { |
| 66 | compatible = "qcom,imx132"; |
| 67 | reg = <0x6d>; |
| 68 | qcom,slave-id = <0x6c 0x0 0x0132>; |
| 69 | qcom,csiphy-sd-index = <2>; |
| 70 | qcom,csid-sd-index = <2>; |
| 71 | qcom,mount-angle = <270>; |
| 72 | qcom,sensor-name = "imx132"; |
| 73 | cam_vana-supply = <&pma8084_l17>; |
| 74 | cam_vdig-supply = <&pma8084_l15>; |
| 75 | cam_vio-supply = <&pma8084_lvs4>; |
| 76 | qcom,cam-vreg-name = "cam_vana", "cam_vdig", "cam_vio"; |
| 77 | qcom,cam-vreg-type = <0 0 1>; |
| 78 | qcom,cam-vreg-min-voltage = <2800000 1200000 0>; |
| 79 | qcom,cam-vreg-max-voltage = <2800000 1200000 0>; |
| 80 | qcom,cam-vreg-op-mode = <80000 105000 0>; |
| 81 | qcom,gpio-no-mux = <0>; |
| 82 | gpios = <&msmgpio 17 0>, |
| 83 | <&msmgpio 25 0>; |
| 84 | qcom,gpio-reset = <1>; |
| 85 | qcom,gpio-req-tbl-num = <0 1>; |
| 86 | qcom,gpio-req-tbl-flags = <1 0>; |
| 87 | qcom,gpio-req-tbl-label = "CAMIF_MCLK2", |
| 88 | "CAM_XSHUTDOWN"; |
| 89 | qcom,gpio-set-tbl-num = <1 1>; |
| 90 | qcom,gpio-set-tbl-flags = <0 2>; |
| 91 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 92 | qcom,csi-lane-assign = <0x4320>; |
| 93 | qcom,csi-lane-mask = <0x7>; |
| 94 | qcom,sensor-position = <1>; |
| 95 | qcom,sensor-mode = <1>; |
| 96 | qcom,cci-master = <0>; |
| 97 | status = "ok"; |
| 98 | }; |
| 99 | |
| 100 | qcom,camera@0 { |
| 101 | cell-index = <0>; |
| 102 | compatible = "qcom,camera"; |
| 103 | reg = <0x00>; |
| 104 | qcom,csiphy-sd-index = <0>; |
| 105 | qcom,csid-sd-index = <0>; |
| 106 | qcom,actuator-src = <&actuator0>; |
| 107 | cam_vdig-supply = <&pma8084_l27>; |
| 108 | cam_vio-supply = <&pma8084_lvs4>; |
| 109 | cam_vana-supply = <&pma8084_l17>; |
| 110 | cam_vaf-supply = <&pma8084_l23>; |
| 111 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 112 | "cam_vaf"; |
| 113 | qcom,cam-vreg-type = <0 1 0 0>; |
| 114 | qcom,cam-vreg-min-voltage = <1050000 0 2800000 2700000>; |
| 115 | qcom,cam-vreg-max-voltage = <1050000 0 2800000 2700000>; |
| 116 | qcom,cam-vreg-op-mode = <105000 0 80000 100000>; |
| 117 | qcom,gpio-no-mux = <0>; |
| 118 | gpios = <&msmgpio 15 0>, |
| 119 | <&msmgpio 36 0>, |
| 120 | <&msmgpio 35 0>; |
| 121 | qcom,gpio-reset = <1>; |
| 122 | qcom,gpio-standby = <2>; |
| 123 | qcom,gpio-req-tbl-num = <0 1 2>; |
| 124 | qcom,gpio-req-tbl-flags = <1 0 0>; |
| 125 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 126 | "CAM_RESET1", |
| 127 | "CAM_STANDBY"; |
| 128 | qcom,cci-master = <0>; |
| 129 | status = "ok"; |
| 130 | }; |
| 131 | |
| 132 | qcom,camera@1 { |
| 133 | cell-index = <1>; |
| 134 | compatible = "qcom,camera"; |
| 135 | reg = <0x01>; |
| 136 | qcom,slave-id = <0x6c 0x0 0x0132>; |
| 137 | qcom,csiphy-sd-index = <2>; |
| 138 | qcom,csid-sd-index = <2>; |
| 139 | qcom,mount-angle = <270>; |
| 140 | cam_vana-supply = <&pma8084_l17>; |
| 141 | cam_vdig-supply = <&pma8084_l15>; |
| 142 | cam_vio-supply = <&pma8084_lvs4>; |
| 143 | qcom,cam-vreg-name = "cam_vana", "cam_vdig", "cam_vio"; |
| 144 | qcom,cam-vreg-type = <0 0 1>; |
| 145 | qcom,cam-vreg-min-voltage = <2850000 1225000 0>; |
| 146 | qcom,cam-vreg-max-voltage = <2850000 1225000 0>; |
| 147 | qcom,cam-vreg-op-mode = <80000 105000 0>; |
| 148 | qcom,gpio-no-mux = <0>; |
| 149 | gpios = <&msmgpio 17 0>, |
| 150 | <&msmgpio 25 0>; |
| 151 | qcom,gpio-reset = <1>; |
| 152 | qcom,gpio-req-tbl-num = <0 1>; |
| 153 | qcom,gpio-req-tbl-flags = <1 0>; |
| 154 | qcom,gpio-req-tbl-label = "CAMIF_MCLK2", |
| 155 | "CAM_XSHUTDOWN"; |
| 156 | qcom,cci-master = <0>; |
| 157 | status = "ok"; |
| 158 | }; |
| 159 | }; |