Lakshmi Narayana Kalavala | c0dac06 | 2016-12-01 17:20:09 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, 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 | &soc { |
| 15 | qcom,cam-req-mgr { |
| 16 | compatible = "qcom,cam-req-mgr"; |
| 17 | status = "ok"; |
| 18 | }; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 19 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 20 | cam_csiphy0: qcom,csiphy@ac65000 { |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 21 | cell-index = <0>; |
| 22 | compatible = "qcom,csiphy-v1.0", "qcom,csiphy"; |
| 23 | reg = <0x0ac65000 0x1000>; |
| 24 | reg-names = "csiphy"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 25 | reg-cam-base = <0x65000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 26 | interrupts = <0 477 0>; |
| 27 | interrupt-names = "csiphy"; |
| 28 | gdscr-supply = <&titan_top_gdsc>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 29 | regulator-names = "gdscr"; |
| 30 | csi-vdd-voltage = <1200000>; |
| 31 | mipi-csi-vdd-supply = <&pm8998_l26>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 32 | clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 33 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 34 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 35 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 36 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 37 | <&clock_camcc CAM_CC_CSIPHY0_CLK>, |
| 38 | <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>, |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 39 | <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 40 | clock-names = "camnoc_axi_clk", |
| 41 | "soc_ahb_clk", |
| 42 | "slow_ahb_src_clk", |
| 43 | "cpas_ahb_clk", |
| 44 | "cphy_rx_clk_src", |
| 45 | "csiphy0_clk", |
| 46 | "csi0phytimer_clk_src", |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 47 | "csi0phytimer_clk"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 48 | clock-cntl-level = "turbo"; |
| 49 | clock-rates = |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 50 | <0 0 0 0 320000000 0 269333333 0>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 51 | status = "ok"; |
| 52 | }; |
| 53 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 54 | cam_csiphy1: qcom,csiphy@ac66000{ |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 55 | cell-index = <1>; |
| 56 | compatible = "qcom,csiphy-v1.0", "qcom,csiphy"; |
| 57 | reg = <0xac66000 0x1000>; |
| 58 | reg-names = "csiphy"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 59 | reg-cam-base = <0x66000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 60 | interrupts = <0 478 0>; |
| 61 | interrupt-names = "csiphy"; |
| 62 | gdscr-supply = <&titan_top_gdsc>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 63 | regulator-names = "gdscr"; |
| 64 | csi-vdd-voltage = <1200000>; |
| 65 | mipi-csi-vdd-supply = <&pm8998_l26>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 66 | clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 67 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 68 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 69 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 70 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 71 | <&clock_camcc CAM_CC_CSIPHY1_CLK>, |
| 72 | <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>, |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 73 | <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 74 | clock-names = "camnoc_axi_clk", |
| 75 | "soc_ahb_clk", |
| 76 | "slow_ahb_src_clk", |
| 77 | "cpas_ahb_clk", |
| 78 | "cphy_rx_clk_src", |
| 79 | "csiphy1_clk", |
| 80 | "csi1phytimer_clk_src", |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 81 | "csi1phytimer_clk"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 82 | clock-cntl-level = "turbo"; |
| 83 | clock-rates = |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 84 | <0 0 0 0 320000000 0 269333333 0>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 85 | |
| 86 | status = "ok"; |
| 87 | }; |
| 88 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 89 | cam_csiphy2: qcom,csiphy@ac67000 { |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 90 | cell-index = <2>; |
| 91 | compatible = "qcom,csiphy-v1.0", "qcom,csiphy"; |
| 92 | reg = <0xac67000 0x1000>; |
| 93 | reg-names = "csiphy"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 94 | reg-cam-base = <0x67000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 95 | interrupts = <0 479 0>; |
| 96 | interrupt-names = "csiphy"; |
| 97 | gdscr-supply = <&titan_top_gdsc>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 98 | regulator-names = "gdscr"; |
| 99 | csi-vdd-voltage = <1200000>; |
| 100 | mipi-csi-vdd-supply = <&pm8998_l26>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 101 | clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 102 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 103 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 104 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 105 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 106 | <&clock_camcc CAM_CC_CSIPHY2_CLK>, |
| 107 | <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>, |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 108 | <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 109 | clock-names = "camnoc_axi_clk", |
| 110 | "soc_ahb_clk", |
| 111 | "slow_ahb_src_clk", |
| 112 | "cpas_ahb_clk", |
| 113 | "cphy_rx_clk_src", |
| 114 | "csiphy2_clk", |
| 115 | "csi2phytimer_clk_src", |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 116 | "csi2phytimer_clk"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 117 | clock-cntl-level = "turbo"; |
| 118 | clock-rates = |
Soundrapandian Jeyaprakash | b163875 | 2017-07-25 15:14:53 -0700 | [diff] [blame] | 119 | <0 0 0 0 320000000 0 269333333 0>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 120 | status = "ok"; |
| 121 | }; |
| 122 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 123 | cam_cci: qcom,cci@ac4a000 { |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 124 | cell-index = <0>; |
| 125 | compatible = "qcom,cci"; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 128 | reg = <0xac4a000 0x4000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 129 | reg-names = "cci"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 130 | reg-cam-base = <0x4a000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 131 | interrupt-names = "cci"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 132 | interrupts = <0 460 0>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 133 | status = "ok"; |
| 134 | gdscr-supply = <&titan_top_gdsc>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 135 | regulator-names = "gdscr"; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 136 | clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 137 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 138 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 139 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 140 | <&clock_camcc CAM_CC_CCI_CLK>, |
| 141 | <&clock_camcc CAM_CC_CCI_CLK_SRC>; |
| 142 | clock-names = "camnoc_axi_clk", |
| 143 | "soc_ahb_clk", |
| 144 | "slow_ahb_src_clk", |
| 145 | "cpas_ahb_clk", |
| 146 | "cci_clk", |
| 147 | "cci_clk_src"; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 148 | src-clock-name = "cci_clk_src"; |
| 149 | clock-cntl-level = "turbo"; |
| 150 | clock-rates = <0 0 0 0 0 37500000>; |
| 151 | pinctrl-names = "cam_default", "cam_suspend"; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 152 | pinctrl-0 = <&cci0_active &cci1_active>; |
| 153 | pinctrl-1 = <&cci0_suspend &cci1_suspend>; |
| 154 | gpios = <&tlmm 17 0>, |
| 155 | <&tlmm 18 0>, |
| 156 | <&tlmm 19 0>, |
| 157 | <&tlmm 20 0>; |
Alok Pandey | 1837a20 | 2017-06-25 20:39:56 +0530 | [diff] [blame] | 158 | gpio-req-tbl-num = <0 1 2 3>; |
| 159 | gpio-req-tbl-flags = <1 1 1 1>; |
| 160 | gpio-req-tbl-label = "CCI_I2C_DATA0", |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 161 | "CCI_I2C_CLK0", |
| 162 | "CCI_I2C_DATA1", |
| 163 | "CCI_I2C_CLK1"; |
| 164 | |
| 165 | i2c_freq_100Khz: qcom,i2c_standard_mode { |
Jigarkumar Zala | ebfabb1 | 2017-08-15 16:32:19 -0700 | [diff] [blame] | 166 | hw-thigh = <201>; |
| 167 | hw-tlow = <174>; |
| 168 | hw-tsu-sto = <204>; |
| 169 | hw-tsu-sta = <231>; |
| 170 | hw-thd-dat = <22>; |
| 171 | hw-thd-sta = <162>; |
| 172 | hw-tbuf = <227>; |
| 173 | hw-scl-stretch-en = <0>; |
| 174 | hw-trdhld = <6>; |
| 175 | hw-tsp = <3>; |
| 176 | cci-clk-src = <37500000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 177 | status = "ok"; |
| 178 | }; |
| 179 | |
| 180 | i2c_freq_400Khz: qcom,i2c_fast_mode { |
Jigarkumar Zala | ebfabb1 | 2017-08-15 16:32:19 -0700 | [diff] [blame] | 181 | hw-thigh = <38>; |
| 182 | hw-tlow = <56>; |
| 183 | hw-tsu-sto = <40>; |
| 184 | hw-tsu-sta = <40>; |
| 185 | hw-thd-dat = <22>; |
| 186 | hw-thd-sta = <35>; |
| 187 | hw-tbuf = <62>; |
| 188 | hw-scl-stretch-en = <0>; |
| 189 | hw-trdhld = <6>; |
| 190 | hw-tsp = <3>; |
| 191 | cci-clk-src = <37500000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 192 | status = "ok"; |
| 193 | }; |
| 194 | |
| 195 | i2c_freq_custom: qcom,i2c_custom_mode { |
Jigarkumar Zala | ebfabb1 | 2017-08-15 16:32:19 -0700 | [diff] [blame] | 196 | hw-thigh = <38>; |
| 197 | hw-tlow = <56>; |
| 198 | hw-tsu-sto = <40>; |
| 199 | hw-tsu-sta = <40>; |
| 200 | hw-thd-dat = <22>; |
| 201 | hw-thd-sta = <35>; |
| 202 | hw-tbuf = <62>; |
| 203 | hw-scl-stretch-en = <1>; |
| 204 | hw-trdhld = <6>; |
| 205 | hw-tsp = <3>; |
| 206 | cci-clk-src = <37500000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 207 | status = "ok"; |
| 208 | }; |
| 209 | |
| 210 | i2c_freq_1Mhz: qcom,i2c_fast_plus_mode { |
Jigarkumar Zala | ebfabb1 | 2017-08-15 16:32:19 -0700 | [diff] [blame] | 211 | hw-thigh = <16>; |
| 212 | hw-tlow = <22>; |
| 213 | hw-tsu-sto = <17>; |
| 214 | hw-tsu-sta = <18>; |
| 215 | hw-thd-dat = <16>; |
| 216 | hw-thd-sta = <15>; |
| 217 | hw-tbuf = <24>; |
| 218 | hw-scl-stretch-en = <0>; |
| 219 | hw-trdhld = <3>; |
| 220 | hw-tsp = <3>; |
| 221 | cci-clk-src = <37500000>; |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 222 | status = "ok"; |
| 223 | }; |
| 224 | }; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 225 | |
| 226 | qcom,cam_smmu { |
| 227 | compatible = "qcom,msm-cam-smmu"; |
| 228 | status = "ok"; |
| 229 | |
| 230 | msm_cam_smmu_ife { |
| 231 | compatible = "qcom,msm-cam-smmu-cb"; |
Patrick Daly | 8cb8d96 | 2017-05-08 14:46:09 -0700 | [diff] [blame] | 232 | iommus = <&apps_smmu 0x808 0x0>, |
| 233 | <&apps_smmu 0x810 0x8>, |
| 234 | <&apps_smmu 0xc08 0x0>, |
| 235 | <&apps_smmu 0xc10 0x8>; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 236 | label = "ife"; |
| 237 | ife_iova_mem_map: iova-mem-map { |
| 238 | /* IO region is approximately 3.4 GB */ |
| 239 | iova-mem-region-io { |
| 240 | iova-region-name = "io"; |
| 241 | iova-region-start = <0x7400000>; |
| 242 | iova-region-len = <0xd8c00000>; |
| 243 | iova-region-id = <0x3>; |
| 244 | status = "ok"; |
| 245 | }; |
| 246 | }; |
| 247 | }; |
| 248 | |
Rajakumar Govindaram | 0e33b71 | 2017-07-19 15:31:04 -0700 | [diff] [blame] | 249 | msm_cam_smmu_jpeg { |
| 250 | compatible = "qcom,msm-cam-smmu-cb"; |
| 251 | iommus = <&apps_smmu 0x1060 0x8>, |
| 252 | <&apps_smmu 0x1068 0x8>; |
| 253 | label = "jpeg"; |
| 254 | jpeg_iova_mem_map: iova-mem-map { |
| 255 | /* IO region is approximately 3.4 GB */ |
| 256 | iova-mem-region-io { |
| 257 | iova-region-name = "io"; |
| 258 | iova-region-start = <0x7400000>; |
| 259 | iova-region-len = <0xd8c00000>; |
| 260 | iova-region-id = <0x3>; |
| 261 | status = "ok"; |
| 262 | }; |
| 263 | }; |
| 264 | }; |
| 265 | |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 266 | msm_cam_icp_fw { |
| 267 | compatible = "qcom,msm-cam-smmu-fw-dev"; |
| 268 | label="icp"; |
| 269 | memory-region = <&pil_camera_mem>; |
| 270 | }; |
| 271 | |
| 272 | msm_cam_smmu_icp { |
| 273 | compatible = "qcom,msm-cam-smmu-cb"; |
Patrick Daly | 8cb8d96 | 2017-05-08 14:46:09 -0700 | [diff] [blame] | 274 | iommus = <&apps_smmu 0x1078 0x2>, |
| 275 | <&apps_smmu 0x1020 0x8>, |
| 276 | <&apps_smmu 0x1040 0x8>, |
| 277 | <&apps_smmu 0x1030 0x0>, |
| 278 | <&apps_smmu 0x1050 0x0>; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 279 | label = "icp"; |
| 280 | icp_iova_mem_map: iova-mem-map { |
| 281 | iova-mem-region-firmware { |
| 282 | /* Firmware region is 5MB */ |
| 283 | iova-region-name = "firmware"; |
| 284 | iova-region-start = <0x0>; |
| 285 | iova-region-len = <0x500000>; |
| 286 | iova-region-id = <0x0>; |
| 287 | status = "ok"; |
| 288 | }; |
| 289 | |
| 290 | iova-mem-region-shared { |
| 291 | /* Shared region is 100MB long */ |
| 292 | iova-region-name = "shared"; |
| 293 | iova-region-start = <0x7400000>; |
| 294 | iova-region-len = <0x6400000>; |
| 295 | iova-region-id = <0x1>; |
| 296 | status = "ok"; |
| 297 | }; |
| 298 | |
| 299 | iova-mem-region-io { |
| 300 | /* IO region is approximately 3.3 GB */ |
| 301 | iova-region-name = "io"; |
| 302 | iova-region-start = <0xd800000>; |
| 303 | iova-region-len = <0xd2800000>; |
| 304 | iova-region-id = <0x3>; |
| 305 | status = "ok"; |
| 306 | }; |
| 307 | }; |
| 308 | }; |
| 309 | |
| 310 | msm_cam_smmu_cpas_cdm { |
| 311 | compatible = "qcom,msm-cam-smmu-cb"; |
Patrick Daly | 8cb8d96 | 2017-05-08 14:46:09 -0700 | [diff] [blame] | 312 | iommus = <&apps_smmu 0x1000 0x0>; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 313 | label = "cpas-cdm0"; |
| 314 | cpas_cdm_iova_mem_map: iova-mem-map { |
| 315 | iova-mem-region-io { |
| 316 | /* IO region is approximately 3.4 GB */ |
| 317 | iova-region-name = "io"; |
| 318 | iova-region-start = <0x7400000>; |
| 319 | iova-region-len = <0xd8c00000>; |
| 320 | iova-region-id = <0x3>; |
| 321 | status = "ok"; |
| 322 | }; |
| 323 | }; |
| 324 | }; |
| 325 | |
| 326 | msm_cam_smmu_secure { |
| 327 | compatible = "qcom,msm-cam-smmu-cb"; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 328 | label = "cam-secure"; |
Lakshmi Narayana Kalavala | 2c71428 | 2017-09-08 12:27:36 -0700 | [diff] [blame^] | 329 | qcom,secure-cb; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 330 | }; |
Pavan Kumar Chilamkurthi | b2cd6dd | 2017-07-30 02:25:23 -0700 | [diff] [blame] | 331 | |
| 332 | msm_cam_smmu_fd { |
| 333 | compatible = "qcom,msm-cam-smmu-cb"; |
| 334 | iommus = <&apps_smmu 0x1070 0x0>; |
| 335 | label = "fd"; |
| 336 | fd_iova_mem_map: iova-mem-map { |
| 337 | iova-mem-region-io { |
| 338 | /* IO region is approximately 3.4 GB */ |
| 339 | iova-region-name = "io"; |
| 340 | iova-region-start = <0x7400000>; |
| 341 | iova-region-len = <0xd8c00000>; |
| 342 | iova-region-id = <0x3>; |
| 343 | status = "ok"; |
| 344 | }; |
| 345 | }; |
| 346 | }; |
Seemanta Dutta | df1dde7 | 2017-04-05 17:33:02 -0700 | [diff] [blame] | 347 | }; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 348 | |
| 349 | qcom,cam-cpas@ac40000 { |
| 350 | cell-index = <0>; |
| 351 | compatible = "qcom,cam-cpas"; |
| 352 | label = "cpas"; |
| 353 | arch-compat = "cpas_top"; |
| 354 | status = "ok"; |
| 355 | reg-names = "cam_cpas_top", "cam_camnoc"; |
| 356 | reg = <0xac40000 0x1000>, |
| 357 | <0xac42000 0x5000>; |
| 358 | reg-cam-base = <0x40000 0x42000>; |
| 359 | interrupt-names = "cpas_camnoc"; |
| 360 | interrupts = <0 459 0>; |
| 361 | regulator-names = "camss-vdd"; |
| 362 | camss-vdd-supply = <&titan_top_gdsc>; |
| 363 | clock-names = "gcc_ahb_clk", |
| 364 | "gcc_axi_clk", |
| 365 | "soc_ahb_clk", |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 366 | "slow_ahb_clk_src", |
Lakshmi Narayana Kalavala | 238c2b2 | 2017-06-08 17:43:57 -0700 | [diff] [blame] | 367 | "cpas_ahb_clk", |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 368 | "camnoc_axi_clk"; |
| 369 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 370 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 371 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 372 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
Lakshmi Narayana Kalavala | 238c2b2 | 2017-06-08 17:43:57 -0700 | [diff] [blame] | 373 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 374 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>; |
| 375 | src-clock-name = "slow_ahb_clk_src"; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 376 | clock-rates = <0 0 0 0 0 0>, |
| 377 | <0 0 0 19200000 0 0>, |
| 378 | <0 0 0 60000000 0 0>, |
| 379 | <0 0 0 66660000 0 0>, |
| 380 | <0 0 0 73840000 0 0>, |
| 381 | <0 0 0 80000000 0 0>, |
| 382 | <0 0 0 80000000 0 0>; |
| 383 | clock-cntl-level = "suspend", "minsvs", "lowsvs", "svs", |
| 384 | "svs_l1", "nominal", "turbo"; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 385 | qcom,msm-bus,name = "cam_ahb"; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 386 | qcom,msm-bus,num-cases = <7>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 387 | qcom,msm-bus,num-paths = <1>; |
| 388 | qcom,msm-bus,vectors-KBps = |
| 389 | <MSM_BUS_MASTER_AMPSS_M0 |
| 390 | MSM_BUS_SLAVE_CAMERA_CFG 0 0>, |
| 391 | <MSM_BUS_MASTER_AMPSS_M0 |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 392 | MSM_BUS_SLAVE_CAMERA_CFG 0 180000>, |
| 393 | <MSM_BUS_MASTER_AMPSS_M0 |
| 394 | MSM_BUS_SLAVE_CAMERA_CFG 0 180000>, |
| 395 | <MSM_BUS_MASTER_AMPSS_M0 |
| 396 | MSM_BUS_SLAVE_CAMERA_CFG 0 300000>, |
| 397 | <MSM_BUS_MASTER_AMPSS_M0 |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 398 | MSM_BUS_SLAVE_CAMERA_CFG 0 300000>, |
| 399 | <MSM_BUS_MASTER_AMPSS_M0 |
| 400 | MSM_BUS_SLAVE_CAMERA_CFG 0 640000>, |
| 401 | <MSM_BUS_MASTER_AMPSS_M0 |
| 402 | MSM_BUS_SLAVE_CAMERA_CFG 0 640000>; |
Pavan Kumar Chilamkurthi | 071f3d2 | 2017-05-31 22:33:48 -0700 | [diff] [blame] | 403 | vdd-corners = <RPMH_REGULATOR_LEVEL_OFF |
| 404 | RPMH_REGULATOR_LEVEL_RETENTION |
| 405 | RPMH_REGULATOR_LEVEL_MIN_SVS |
| 406 | RPMH_REGULATOR_LEVEL_LOW_SVS |
| 407 | RPMH_REGULATOR_LEVEL_SVS |
| 408 | RPMH_REGULATOR_LEVEL_SVS_L1 |
| 409 | RPMH_REGULATOR_LEVEL_NOM |
| 410 | RPMH_REGULATOR_LEVEL_NOM_L1 |
| 411 | RPMH_REGULATOR_LEVEL_NOM_L2 |
| 412 | RPMH_REGULATOR_LEVEL_TURBO |
| 413 | RPMH_REGULATOR_LEVEL_TURBO_L1>; |
| 414 | vdd-corner-ahb-mapping = "suspend", "suspend", |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 415 | "minsvs", "lowsvs", "svs", "svs_l1", |
Pavan Kumar Chilamkurthi | 071f3d2 | 2017-05-31 22:33:48 -0700 | [diff] [blame] | 416 | "nominal", "nominal", "nominal", |
| 417 | "turbo", "turbo"; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 418 | client-id-based; |
| 419 | client-names = |
| 420 | "csiphy0", "csiphy1", "csiphy2", "cci0", |
Pavan Kumar Chilamkurthi | 4e070ba | 2017-05-12 14:47:04 -0700 | [diff] [blame] | 421 | "csid0", "csid1", "csid2", |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 422 | "ife0", "ife1", "ife2", "ipe0", |
| 423 | "ipe1", "cam-cdm-intf0", "cpas-cdm0", "bps0", |
Rajakumar Govindaram | 0e33b71 | 2017-07-19 15:31:04 -0700 | [diff] [blame] | 424 | "icp0", "jpeg-dma0", "jpeg-enc0", "fd0"; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 425 | client-axi-port-names = |
| 426 | "cam_hf_1", "cam_hf_2", "cam_hf_2", "cam_sf_1", |
Pavan Kumar Chilamkurthi | 4e070ba | 2017-05-12 14:47:04 -0700 | [diff] [blame] | 427 | "cam_hf_1", "cam_hf_2", "cam_hf_2", |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 428 | "cam_hf_1", "cam_hf_2", "cam_hf_2", "cam_sf_1", |
| 429 | "cam_sf_1", "cam_sf_1", "cam_sf_1", "cam_sf_1", |
| 430 | "cam_sf_1", "cam_sf_1", "cam_sf_1", "cam_sf_1"; |
| 431 | client-bus-camnoc-based; |
| 432 | qcom,axi-port-list { |
| 433 | qcom,axi-port1 { |
| 434 | qcom,axi-port-name = "cam_hf_1"; |
| 435 | qcom,axi-port-mnoc { |
| 436 | qcom,msm-bus,name = "cam_hf_1_mnoc"; |
| 437 | qcom,msm-bus-vector-dyn-vote; |
| 438 | qcom,msm-bus,num-cases = <2>; |
| 439 | qcom,msm-bus,num-paths = <1>; |
| 440 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 441 | <MSM_BUS_MASTER_CAMNOC_HF0 |
| 442 | MSM_BUS_SLAVE_EBI_CH0 0 0>, |
| 443 | <MSM_BUS_MASTER_CAMNOC_HF0 |
| 444 | MSM_BUS_SLAVE_EBI_CH0 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 445 | }; |
| 446 | qcom,axi-port-camnoc { |
| 447 | qcom,msm-bus,name = "cam_hf_1_camnoc"; |
| 448 | qcom,msm-bus-vector-dyn-vote; |
| 449 | qcom,msm-bus,num-cases = <2>; |
| 450 | qcom,msm-bus,num-paths = <1>; |
| 451 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 452 | <MSM_BUS_MASTER_CAMNOC_HF0_UNCOMP |
| 453 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>, |
| 454 | <MSM_BUS_MASTER_CAMNOC_HF0_UNCOMP |
| 455 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 456 | }; |
| 457 | }; |
| 458 | qcom,axi-port2 { |
| 459 | qcom,axi-port-name = "cam_hf_2"; |
| 460 | qcom,axi-port-mnoc { |
| 461 | qcom,msm-bus,name = "cam_hf_2_mnoc"; |
| 462 | qcom,msm-bus-vector-dyn-vote; |
| 463 | qcom,msm-bus,num-cases = <2>; |
| 464 | qcom,msm-bus,num-paths = <1>; |
| 465 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 466 | <MSM_BUS_MASTER_CAMNOC_HF1 |
| 467 | MSM_BUS_SLAVE_EBI_CH0 0 0>, |
| 468 | <MSM_BUS_MASTER_CAMNOC_HF1 |
| 469 | MSM_BUS_SLAVE_EBI_CH0 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 470 | }; |
| 471 | qcom,axi-port-camnoc { |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 472 | qcom,msm-bus,name = "cam_hf_2_camnoc"; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 473 | qcom,msm-bus-vector-dyn-vote; |
| 474 | qcom,msm-bus,num-cases = <2>; |
| 475 | qcom,msm-bus,num-paths = <1>; |
| 476 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 477 | <MSM_BUS_MASTER_CAMNOC_HF1_UNCOMP |
| 478 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>, |
| 479 | <MSM_BUS_MASTER_CAMNOC_HF1_UNCOMP |
| 480 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 481 | }; |
| 482 | }; |
| 483 | qcom,axi-port3 { |
| 484 | qcom,axi-port-name = "cam_sf_1"; |
| 485 | qcom,axi-port-mnoc { |
| 486 | qcom,msm-bus,name = "cam_sf_1_mnoc"; |
| 487 | qcom,msm-bus-vector-dyn-vote; |
| 488 | qcom,msm-bus,num-cases = <2>; |
| 489 | qcom,msm-bus,num-paths = <1>; |
| 490 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 491 | <MSM_BUS_MASTER_CAMNOC_SF |
| 492 | MSM_BUS_SLAVE_EBI_CH0 0 0>, |
| 493 | <MSM_BUS_MASTER_CAMNOC_SF |
| 494 | MSM_BUS_SLAVE_EBI_CH0 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 495 | }; |
| 496 | qcom,axi-port-camnoc { |
| 497 | qcom,msm-bus,name = "cam_sf_1_camnoc"; |
| 498 | qcom,msm-bus-vector-dyn-vote; |
| 499 | qcom,msm-bus,num-cases = <2>; |
| 500 | qcom,msm-bus,num-paths = <1>; |
| 501 | qcom,msm-bus,vectors-KBps = |
Pavan Kumar Chilamkurthi | d34fd88 | 2017-06-01 01:53:09 -0700 | [diff] [blame] | 502 | <MSM_BUS_MASTER_CAMNOC_SF_UNCOMP |
| 503 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>, |
| 504 | <MSM_BUS_MASTER_CAMNOC_SF_UNCOMP |
| 505 | MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>; |
Pavan Kumar Chilamkurthi | b6aa86d | 2017-05-01 23:47:11 -0700 | [diff] [blame] | 506 | }; |
| 507 | }; |
| 508 | }; |
| 509 | }; |
Hariram Purushothaman | e87b44e0 | 2017-03-29 13:53:01 -0700 | [diff] [blame] | 510 | |
| 511 | qcom,cam-cdm-intf { |
| 512 | compatible = "qcom,cam-cdm-intf"; |
| 513 | cell-index = <0>; |
| 514 | label = "cam-cdm-intf"; |
| 515 | num-hw-cdm = <1>; |
Hariram Purushothaman | 91c8cb5 | 2017-04-24 21:53:36 -0700 | [diff] [blame] | 516 | cdm-client-names = "vfe", |
Rajakumar Govindaram | 0e33b71 | 2017-07-19 15:31:04 -0700 | [diff] [blame] | 517 | "jpegdma", |
| 518 | "jpegenc", |
Hariram Purushothaman | e87b44e0 | 2017-03-29 13:53:01 -0700 | [diff] [blame] | 519 | "fd"; |
| 520 | status = "ok"; |
| 521 | }; |
| 522 | |
| 523 | qcom,cpas-cdm0@ac48000 { |
| 524 | cell-index = <0>; |
| 525 | compatible = "qcom,cam170-cpas-cdm0"; |
| 526 | label = "cpas-cdm"; |
| 527 | reg = <0xac48000 0x1000>; |
| 528 | reg-names = "cpas-cdm"; |
| 529 | reg-cam-base = <0x48000>; |
| 530 | interrupts = <0 461 0>; |
| 531 | interrupt-names = "cpas-cdm"; |
| 532 | regulator-names = "camss"; |
| 533 | camss-supply = <&titan_top_gdsc>; |
| 534 | clock-names = "gcc_camera_ahb", |
| 535 | "gcc_camera_axi", |
| 536 | "cam_cc_soc_ahb_clk", |
| 537 | "cam_cc_cpas_ahb_clk", |
| 538 | "cam_cc_camnoc_axi_clk"; |
| 539 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 540 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 541 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 542 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 543 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>; |
| 544 | clock-rates = <0 0 0 0 0>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 545 | clock-cntl-level = "svs"; |
Hariram Purushothaman | 91c8cb5 | 2017-04-24 21:53:36 -0700 | [diff] [blame] | 546 | cdm-client-names = "ife"; |
Hariram Purushothaman | e87b44e0 | 2017-03-29 13:53:01 -0700 | [diff] [blame] | 547 | status = "ok"; |
| 548 | }; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 549 | |
| 550 | qcom,cam-isp { |
| 551 | compatible = "qcom,cam-isp"; |
| 552 | arch-compat = "ife"; |
| 553 | status = "ok"; |
| 554 | }; |
| 555 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 556 | cam_csid0: qcom,csid0@acb3000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 557 | cell-index = <0>; |
| 558 | compatible = "qcom,csid170"; |
| 559 | reg-names = "csid"; |
| 560 | reg = <0xacb3000 0x1000>; |
| 561 | reg-cam-base = <0xb3000>; |
| 562 | interrupt-names = "csid"; |
| 563 | interrupts = <0 464 0>; |
| 564 | regulator-names = "camss", "ife0"; |
| 565 | camss-supply = <&titan_top_gdsc>; |
| 566 | ife0-supply = <&ife_0_gdsc>; |
| 567 | clock-names = "camera_ahb", |
| 568 | "camera_axi", |
| 569 | "soc_ahb_clk", |
| 570 | "cpas_ahb_clk", |
| 571 | "slow_ahb_clk_src", |
| 572 | "ife_csid_clk", |
| 573 | "ife_csid_clk_src", |
| 574 | "ife_cphy_rx_clk", |
| 575 | "cphy_rx_clk_src", |
| 576 | "ife_clk", |
| 577 | "ife_clk_src", |
| 578 | "camnoc_axi_clk", |
| 579 | "ife_axi_clk"; |
| 580 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 581 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 582 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 583 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 584 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 585 | <&clock_camcc CAM_CC_IFE_0_CSID_CLK>, |
| 586 | <&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>, |
| 587 | <&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>, |
| 588 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 589 | <&clock_camcc CAM_CC_IFE_0_CLK>, |
| 590 | <&clock_camcc CAM_CC_IFE_0_CLK_SRC>, |
| 591 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 592 | <&clock_camcc CAM_CC_IFE_0_AXI_CLK>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 593 | clock-rates = <0 0 0 0 0 0 500000000 0 0 0 600000000 0 0>; |
| 594 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 595 | src-clock-name = "ife_csid_clk_src"; |
| 596 | status = "ok"; |
| 597 | }; |
| 598 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 599 | cam_vfe0: qcom,vfe0@acaf000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 600 | cell-index = <0>; |
| 601 | compatible = "qcom,vfe170"; |
| 602 | reg-names = "ife"; |
| 603 | reg = <0xacaf000 0x4000>; |
| 604 | reg-cam-base = <0xaf000>; |
| 605 | interrupt-names = "ife"; |
| 606 | interrupts = <0 465 0>; |
| 607 | regulator-names = "camss", "ife0"; |
| 608 | camss-supply = <&titan_top_gdsc>; |
| 609 | ife0-supply = <&ife_0_gdsc>; |
| 610 | clock-names = "camera_ahb", |
| 611 | "camera_axi", |
| 612 | "soc_ahb_clk", |
| 613 | "cpas_ahb_clk", |
| 614 | "slow_ahb_clk_src", |
| 615 | "ife_clk", |
| 616 | "ife_clk_src", |
| 617 | "camnoc_axi_clk", |
| 618 | "ife_axi_clk"; |
| 619 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 620 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 621 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 622 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 623 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 624 | <&clock_camcc CAM_CC_IFE_0_CLK>, |
| 625 | <&clock_camcc CAM_CC_IFE_0_CLK_SRC>, |
| 626 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 627 | <&clock_camcc CAM_CC_IFE_0_AXI_CLK>; |
Harsh Shah | ff6bc35 | 2017-05-16 18:03:08 -0700 | [diff] [blame] | 628 | clock-rates = <0 0 0 0 0 0 600000000 0 0>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 629 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 630 | src-clock-name = "ife_clk_src"; |
| 631 | clock-names-option = "ife_dsp_clk"; |
| 632 | clocks-option = <&clock_camcc CAM_CC_IFE_0_DSP_CLK>; |
| 633 | clock-rates-option = <404000000>; |
| 634 | status = "ok"; |
| 635 | }; |
| 636 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 637 | cam_csid1: qcom,csid1@acba000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 638 | cell-index = <1>; |
| 639 | compatible = "qcom,csid170"; |
| 640 | reg-names = "csid"; |
| 641 | reg = <0xacba000 0x1000>; |
| 642 | reg-cam-base = <0xba000>; |
| 643 | interrupt-names = "csid"; |
| 644 | interrupts = <0 466 0>; |
| 645 | regulator-names = "camss", "ife1"; |
| 646 | camss-supply = <&titan_top_gdsc>; |
| 647 | ife1-supply = <&ife_1_gdsc>; |
| 648 | clock-names = "camera_ahb", |
| 649 | "camera_axi", |
| 650 | "soc_ahb_clk", |
| 651 | "cpas_ahb_clk", |
| 652 | "slow_ahb_clk_src", |
| 653 | "ife_csid_clk", |
| 654 | "ife_csid_clk_src", |
| 655 | "ife_cphy_rx_clk", |
| 656 | "cphy_rx_clk_src", |
| 657 | "ife_clk", |
| 658 | "ife_clk_src", |
| 659 | "camnoc_axi_clk", |
| 660 | "ife_axi_clk"; |
| 661 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 662 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 663 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 664 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 665 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 666 | <&clock_camcc CAM_CC_IFE_1_CSID_CLK>, |
| 667 | <&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>, |
| 668 | <&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>, |
| 669 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 670 | <&clock_camcc CAM_CC_IFE_1_CLK>, |
| 671 | <&clock_camcc CAM_CC_IFE_1_CLK_SRC>, |
| 672 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 673 | <&clock_camcc CAM_CC_IFE_1_AXI_CLK>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 674 | clock-rates = <0 0 0 0 0 0 500000000 0 0 0 600000000 0 0>; |
| 675 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 676 | src-clock-name = "ife_csid_clk_src"; |
| 677 | status = "ok"; |
| 678 | }; |
| 679 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 680 | cam_vfe1: qcom,vfe1@acb6000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 681 | cell-index = <1>; |
| 682 | compatible = "qcom,vfe170"; |
| 683 | reg-names = "ife"; |
| 684 | reg = <0xacb6000 0x4000>; |
| 685 | reg-cam-base = <0xb6000>; |
| 686 | interrupt-names = "ife"; |
| 687 | interrupts = <0 467 0>; |
| 688 | regulator-names = "camss", "ife1"; |
| 689 | camss-supply = <&titan_top_gdsc>; |
| 690 | ife1-supply = <&ife_1_gdsc>; |
| 691 | clock-names = "camera_ahb", |
| 692 | "camera_axi", |
| 693 | "soc_ahb_clk", |
| 694 | "cpas_ahb_clk", |
| 695 | "slow_ahb_clk_src", |
| 696 | "ife_clk", |
| 697 | "ife_clk_src", |
| 698 | "camnoc_axi_clk", |
| 699 | "ife_axi_clk"; |
| 700 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 701 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 702 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 703 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 704 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 705 | <&clock_camcc CAM_CC_IFE_1_CLK>, |
| 706 | <&clock_camcc CAM_CC_IFE_1_CLK_SRC>, |
| 707 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 708 | <&clock_camcc CAM_CC_IFE_1_AXI_CLK>; |
Harsh Shah | ff6bc35 | 2017-05-16 18:03:08 -0700 | [diff] [blame] | 709 | clock-rates = <0 0 0 0 0 0 600000000 0 0>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 710 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 711 | src-clock-name = "ife_clk_src"; |
| 712 | clock-names-option = "ife_dsp_clk"; |
| 713 | clocks-option = <&clock_camcc CAM_CC_IFE_1_DSP_CLK>; |
| 714 | clock-rates-option = <404000000>; |
| 715 | status = "ok"; |
| 716 | }; |
| 717 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 718 | cam_csid_lite: qcom,csid-lite@acc8000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 719 | cell-index = <2>; |
| 720 | compatible = "qcom,csid-lite170"; |
| 721 | reg-names = "csid-lite"; |
| 722 | reg = <0xacc8000 0x1000>; |
| 723 | reg-cam-base = <0xc8000>; |
| 724 | interrupt-names = "csid-lite"; |
| 725 | interrupts = <0 468 0>; |
| 726 | regulator-names = "camss"; |
| 727 | camss-supply = <&titan_top_gdsc>; |
| 728 | clock-names = "camera_ahb", |
| 729 | "camera_axi", |
| 730 | "soc_ahb_clk", |
| 731 | "cpas_ahb_clk", |
| 732 | "slow_ahb_clk_src", |
| 733 | "ife_csid_clk", |
| 734 | "ife_csid_clk_src", |
| 735 | "ife_cphy_rx_clk", |
| 736 | "cphy_rx_clk_src", |
| 737 | "ife_clk", |
| 738 | "ife_clk_src", |
| 739 | "camnoc_axi_clk"; |
| 740 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 741 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 742 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 743 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 744 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 745 | <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>, |
| 746 | <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>, |
| 747 | <&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, |
| 748 | <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, |
| 749 | <&clock_camcc CAM_CC_IFE_LITE_CLK>, |
| 750 | <&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>, |
| 751 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 752 | clock-rates = <0 0 0 0 0 0 384000000 0 0 0 404000000 0>; |
| 753 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 754 | src-clock-name = "ife_csid_clk_src"; |
| 755 | status = "ok"; |
| 756 | }; |
| 757 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 758 | cam_vfe_lite: qcom,vfe-lite@acc4000 { |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 759 | cell-index = <2>; |
| 760 | compatible = "qcom,vfe-lite170"; |
| 761 | reg-names = "ife-lite"; |
| 762 | reg = <0xacc4000 0x4000>; |
| 763 | reg-cam-base = <0xc4000>; |
| 764 | interrupt-names = "ife-lite"; |
| 765 | interrupts = <0 469 0>; |
| 766 | regulator-names = "camss"; |
| 767 | camss-supply = <&titan_top_gdsc>; |
| 768 | clock-names = "camera_ahb", |
| 769 | "camera_axi", |
| 770 | "soc_ahb_clk", |
| 771 | "cpas_ahb_clk", |
| 772 | "slow_ahb_clk_src", |
| 773 | "ife_clk", |
| 774 | "ife_clk_src", |
| 775 | "camnoc_axi_clk"; |
| 776 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 777 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 778 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 779 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 780 | <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, |
| 781 | <&clock_camcc CAM_CC_IFE_LITE_CLK>, |
| 782 | <&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>, |
| 783 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 784 | clock-rates = <0 0 0 0 0 0 404000000 0>; |
| 785 | clock-cntl-level = "turbo"; |
Jing Zhou | d402069 | 2017-02-09 15:16:49 -0800 | [diff] [blame] | 786 | src-clock-name = "ife_clk_src"; |
| 787 | status = "ok"; |
| 788 | }; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 789 | |
| 790 | qcom,cam-icp { |
| 791 | compatible = "qcom,cam-icp"; |
| 792 | compat-hw-name = "qcom,a5", |
| 793 | "qcom,ipe0", |
| 794 | "qcom,ipe1", |
| 795 | "qcom,bps"; |
| 796 | num-a5 = <1>; |
| 797 | num-ipe = <2>; |
| 798 | num-bps = <1>; |
| 799 | status = "ok"; |
| 800 | }; |
| 801 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 802 | cam_a5: qcom,a5@ac00000 { |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 803 | cell-index = <0>; |
Suresh Vankadara | 22697d3 | 2017-07-03 12:14:09 -0700 | [diff] [blame] | 804 | compatible = "qcom,cam-a5"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 805 | reg = <0xac00000 0x6000>, |
| 806 | <0xac10000 0x8000>, |
| 807 | <0xac18000 0x3000>; |
| 808 | reg-names = "a5_qgic", "a5_sierra", "a5_csr"; |
| 809 | reg-cam-base = <0x00000 0x10000 0x18000>; |
| 810 | interrupts = <0 463 0>; |
| 811 | interrupt-names = "a5"; |
| 812 | regulator-names = "camss-vdd"; |
| 813 | camss-vdd-supply = <&titan_top_gdsc>; |
| 814 | clock-names = "gcc_cam_ahb_clk", |
| 815 | "gcc_cam_axi_clk", |
Lakshmi Narayana Kalavala | 238c2b2 | 2017-06-08 17:43:57 -0700 | [diff] [blame] | 816 | "soc_fast_ahb", |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 817 | "soc_ahb_clk", |
| 818 | "cpas_ahb_clk", |
| 819 | "camnoc_axi_clk", |
| 820 | "icp_apb_clk", |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 821 | "icp_clk", |
Lakshmi Narayana Kalavala | e5f367a | 2017-05-25 11:36:18 -0700 | [diff] [blame] | 822 | "icp_clk_src"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 823 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 824 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
Lakshmi Narayana Kalavala | 238c2b2 | 2017-06-08 17:43:57 -0700 | [diff] [blame] | 825 | <&clock_camcc CAM_CC_FAST_AHB_CLK_SRC>, |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 826 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 827 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 828 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 829 | <&clock_camcc CAM_CC_ICP_APB_CLK>, |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 830 | <&clock_camcc CAM_CC_ICP_CLK>, |
Lakshmi Narayana Kalavala | e5f367a | 2017-05-25 11:36:18 -0700 | [diff] [blame] | 831 | <&clock_camcc CAM_CC_ICP_CLK_SRC>; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 832 | |
Lakshmi Narayana Kalavala | 238c2b2 | 2017-06-08 17:43:57 -0700 | [diff] [blame] | 833 | clock-rates = <0 0 400000000 0 0 0 0 0 600000000>; |
Jeyaprakash Soundrapandian | 33362ba | 2017-06-23 22:18:50 -0700 | [diff] [blame] | 834 | clock-cntl-level = "turbo"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 835 | fw_name = "CAMERA_ICP.elf"; |
| 836 | status = "ok"; |
| 837 | }; |
| 838 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 839 | cam_ipe0: qcom,ipe0 { |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 840 | cell-index = <0>; |
Suresh Vankadara | 22697d3 | 2017-07-03 12:14:09 -0700 | [diff] [blame] | 841 | compatible = "qcom,cam-ipe"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 842 | regulator-names = "ipe0-vdd"; |
| 843 | ipe0-vdd-supply = <&ipe_0_gdsc>; |
| 844 | clock-names = "ipe_0_ahb_clk", |
| 845 | "ipe_0_areg_clk", |
| 846 | "ipe_0_axi_clk", |
| 847 | "ipe_0_clk", |
| 848 | "ipe_0_clk_src"; |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 849 | src-clock-name = "ipe_0_clk_src"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 850 | clocks = <&clock_camcc CAM_CC_IPE_0_AHB_CLK>, |
| 851 | <&clock_camcc CAM_CC_IPE_0_AREG_CLK>, |
| 852 | <&clock_camcc CAM_CC_IPE_0_AXI_CLK>, |
| 853 | <&clock_camcc CAM_CC_IPE_0_CLK>, |
| 854 | <&clock_camcc CAM_CC_IPE_0_CLK_SRC>; |
| 855 | |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 856 | clock-rates = <0 0 0 0 240000000>, |
| 857 | <0 0 0 0 404000000>, |
| 858 | <0 0 0 0 480000000>, |
| 859 | <0 0 0 0 538000000>, |
| 860 | <0 0 0 0 600000000>; |
| 861 | clock-cntl-level = "lowsvs", "svs", |
| 862 | "svs_l1", "nominal", "turbo"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 863 | status = "ok"; |
| 864 | }; |
| 865 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 866 | cam_ipe1: qcom,ipe1 { |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 867 | cell-index = <1>; |
Suresh Vankadara | 22697d3 | 2017-07-03 12:14:09 -0700 | [diff] [blame] | 868 | compatible = "qcom,cam-ipe"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 869 | regulator-names = "ipe1-vdd"; |
| 870 | ipe1-vdd-supply = <&ipe_1_gdsc>; |
| 871 | clock-names = "ipe_1_ahb_clk", |
| 872 | "ipe_1_areg_clk", |
| 873 | "ipe_1_axi_clk", |
| 874 | "ipe_1_clk", |
| 875 | "ipe_1_clk_src"; |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 876 | src-clock-name = "ipe_1_clk_src"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 877 | clocks = <&clock_camcc CAM_CC_IPE_1_AHB_CLK>, |
| 878 | <&clock_camcc CAM_CC_IPE_1_AREG_CLK>, |
| 879 | <&clock_camcc CAM_CC_IPE_1_AXI_CLK>, |
| 880 | <&clock_camcc CAM_CC_IPE_1_CLK>, |
| 881 | <&clock_camcc CAM_CC_IPE_1_CLK_SRC>; |
| 882 | |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 883 | clock-rates = <0 0 0 0 240000000>, |
| 884 | <0 0 0 0 404000000>, |
| 885 | <0 0 0 0 480000000>, |
| 886 | <0 0 0 0 538000000>, |
| 887 | <0 0 0 0 600000000>; |
| 888 | clock-cntl-level = "lowsvs", "svs", |
| 889 | "svs_l1", "nominal", "turbo"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 890 | status = "ok"; |
| 891 | }; |
| 892 | |
Pavan Kumar Chilamkurthi | 6bc57c1 | 2017-05-31 22:16:55 -0700 | [diff] [blame] | 893 | cam_bps: qcom,bps { |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 894 | cell-index = <0>; |
Suresh Vankadara | 22697d3 | 2017-07-03 12:14:09 -0700 | [diff] [blame] | 895 | compatible = "qcom,cam-bps"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 896 | regulator-names = "bps-vdd"; |
| 897 | bps-vdd-supply = <&bps_gdsc>; |
| 898 | clock-names = "bps_ahb_clk", |
| 899 | "bps_areg_clk", |
| 900 | "bps_axi_clk", |
| 901 | "bps_clk", |
| 902 | "bps_clk_src"; |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 903 | src-clock-name = "bps_clk_src"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 904 | clocks = <&clock_camcc CAM_CC_BPS_AHB_CLK>, |
| 905 | <&clock_camcc CAM_CC_BPS_AREG_CLK>, |
| 906 | <&clock_camcc CAM_CC_BPS_AXI_CLK>, |
| 907 | <&clock_camcc CAM_CC_BPS_CLK>, |
| 908 | <&clock_camcc CAM_CC_BPS_CLK_SRC>; |
| 909 | |
Suresh Vankadara | 34494fc | 2017-08-12 18:18:09 +0530 | [diff] [blame] | 910 | clock-rates = <0 0 0 0 200000000>, |
| 911 | <0 0 0 0 404000000>, |
| 912 | <0 0 0 0 480000000>, |
| 913 | <0 0 0 0 600000000>, |
| 914 | <0 0 0 0 600000000>; |
| 915 | clock-cntl-level = "lowsvs", "svs", |
| 916 | "svs_l1", "nominal", "turbo"; |
Hariram Purushothaman | 71b8d63 | 2017-05-15 14:49:59 -0700 | [diff] [blame] | 917 | status = "ok"; |
| 918 | }; |
Rajakumar Govindaram | 0e33b71 | 2017-07-19 15:31:04 -0700 | [diff] [blame] | 919 | |
| 920 | qcom,cam-jpeg { |
| 921 | compatible = "qcom,cam-jpeg"; |
| 922 | compat-hw-name = "qcom,jpegenc", |
| 923 | "qcom,jpegdma"; |
| 924 | num-jpeg-enc = <1>; |
| 925 | num-jpeg-dma = <1>; |
| 926 | status = "ok"; |
| 927 | }; |
| 928 | |
| 929 | cam_jpeg_enc: qcom,jpegenc@ac4e000 { |
| 930 | cell-index = <0>; |
| 931 | compatible = "qcom,cam_jpeg_enc"; |
| 932 | reg-names = "jpege_hw"; |
| 933 | reg = <0xac4e000 0x4000>; |
| 934 | reg-cam-base = <0x4e000>; |
| 935 | interrupt-names = "jpeg"; |
| 936 | interrupts = <0 474 0>; |
| 937 | regulator-names = "camss-vdd"; |
| 938 | camss-vdd-supply = <&titan_top_gdsc>; |
| 939 | clock-names = "camera_ahb", |
| 940 | "camera_axi", |
| 941 | "soc_ahb_clk", |
| 942 | "cpas_ahb_clk", |
| 943 | "camnoc_axi_clk", |
| 944 | "jpegenc_clk_src", |
| 945 | "jpegenc_clk"; |
| 946 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 947 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 948 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 949 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 950 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 951 | <&clock_camcc CAM_CC_JPEG_CLK_SRC>, |
| 952 | <&clock_camcc CAM_CC_JPEG_CLK>; |
| 953 | |
| 954 | clock-rates = <0 0 0 0 0 600000000 0>; |
| 955 | src-clock-name = "jpegenc_clk_src"; |
| 956 | clock-cntl-level = "nominal"; |
| 957 | status = "ok"; |
| 958 | }; |
| 959 | |
| 960 | cam_jpeg_dma: qcom,jpegdma@0xac52000{ |
| 961 | cell-index = <0>; |
| 962 | compatible = "qcom,cam_jpeg_dma"; |
| 963 | reg-names = "jpegdma_hw"; |
| 964 | reg = <0xac52000 0x4000>; |
| 965 | reg-cam-base = <0x52000>; |
| 966 | interrupt-names = "jpegdma"; |
| 967 | interrupts = <0 475 0>; |
| 968 | regulator-names = "camss-vdd"; |
| 969 | camss-vdd-supply = <&titan_top_gdsc>; |
| 970 | clock-names = "camera_ahb", |
| 971 | "camera_axi", |
| 972 | "soc_ahb_clk", |
| 973 | "cpas_ahb_clk", |
| 974 | "camnoc_axi_clk", |
| 975 | "jpegdma_clk_src", |
| 976 | "jpegdma_clk"; |
| 977 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 978 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 979 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 980 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 981 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 982 | <&clock_camcc CAM_CC_JPEG_CLK_SRC>, |
| 983 | <&clock_camcc CAM_CC_JPEG_CLK>; |
| 984 | |
| 985 | clock-rates = <0 0 0 0 0 600000000 0>; |
| 986 | src-clock-name = "jpegdma_clk_src"; |
| 987 | clock-cntl-level = "nominal"; |
| 988 | status = "ok"; |
| 989 | }; |
| 990 | |
Pavan Kumar Chilamkurthi | b2cd6dd | 2017-07-30 02:25:23 -0700 | [diff] [blame] | 991 | qcom,cam-fd { |
| 992 | compatible = "qcom,cam-fd"; |
| 993 | compat-hw-name = "qcom,fd"; |
| 994 | num-fd = <1>; |
| 995 | status = "ok"; |
| 996 | }; |
| 997 | |
| 998 | cam_fd: qcom,fd@ac5a000 { |
| 999 | cell-index = <0>; |
| 1000 | compatible = "qcom,fd41"; |
| 1001 | reg-names = "fd_core", "fd_wrapper"; |
| 1002 | reg = <0xac5a000 0x1000>, |
| 1003 | <0xac5b000 0x400>; |
| 1004 | reg-cam-base = <0x5a000 0x5b000>; |
| 1005 | interrupt-names = "fd"; |
| 1006 | interrupts = <0 462 0>; |
| 1007 | regulator-names = "camss-vdd"; |
| 1008 | camss-vdd-supply = <&titan_top_gdsc>; |
| 1009 | clock-names = "gcc_ahb_clk", |
| 1010 | "gcc_axi_clk", |
| 1011 | "soc_ahb_clk", |
| 1012 | "cpas_ahb_clk", |
| 1013 | "camnoc_axi_clk", |
| 1014 | "fd_core_clk_src", |
| 1015 | "fd_core_clk", |
| 1016 | "fd_core_uar_clk"; |
| 1017 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>, |
| 1018 | <&clock_gcc GCC_CAMERA_AXI_CLK>, |
| 1019 | <&clock_camcc CAM_CC_SOC_AHB_CLK>, |
| 1020 | <&clock_camcc CAM_CC_CPAS_AHB_CLK>, |
| 1021 | <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, |
| 1022 | <&clock_camcc CAM_CC_FD_CORE_CLK_SRC>, |
| 1023 | <&clock_camcc CAM_CC_FD_CORE_CLK>, |
| 1024 | <&clock_camcc CAM_CC_FD_CORE_UAR_CLK>; |
| 1025 | src-clock-name = "fd_core_clk_src"; |
| 1026 | clock-cntl-level = "svs"; |
| 1027 | clock-rates = <0 0 0 0 0 400000000 0 0>; |
| 1028 | status = "ok"; |
| 1029 | }; |
Lakshmi Narayana Kalavala | c0dac06 | 2016-12-01 17:20:09 -0800 | [diff] [blame] | 1030 | }; |