Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 1 | /* |
Jignesh Mehta | a06591f | 2012-10-31 17:18:08 -0700 | [diff] [blame] | 2 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -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 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 14 | &soc { |
Jignesh Mehta | a06591f | 2012-10-31 17:18:08 -0700 | [diff] [blame] | 15 | qcom,msm-cam@fd8C0000 { |
| 16 | compatible = "qcom,msm-cam"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 17 | reg = <0xfd8C0000 0x10000>; |
Jignesh Mehta | a06591f | 2012-10-31 17:18:08 -0700 | [diff] [blame] | 18 | reg-names = "msm-cam"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 19 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 20 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 21 | qcom,csiphy@fda0ac00 { |
| 22 | cell-index = <0>; |
| 23 | compatible = "qcom,csiphy"; |
Evgeniy Borisov | 4de5331 | 2013-03-27 05:14:41 -0700 | [diff] [blame] | 24 | reg = <0xfda0ac00 0x200>, |
| 25 | <0xfda00030 0x4>; |
| 26 | reg-names = "csiphy", "csiphy_clk_mux"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 27 | interrupts = <0 78 0>; |
| 28 | interrupt-names = "csiphy"; |
| 29 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 30 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 31 | qcom,csiphy@fda0b000 { |
| 32 | cell-index = <1>; |
| 33 | compatible = "qcom,csiphy"; |
Evgeniy Borisov | 4de5331 | 2013-03-27 05:14:41 -0700 | [diff] [blame] | 34 | reg = <0xfda0b000 0x200>, |
| 35 | <0xfda00038 0x4>; |
| 36 | reg-names = "csiphy", "csiphy_clk_mux"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 37 | interrupts = <0 79 0>; |
| 38 | interrupt-names = "csiphy"; |
| 39 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 40 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 41 | qcom,csiphy@fda0b400 { |
| 42 | cell-index = <2>; |
| 43 | compatible = "qcom,csiphy"; |
Evgeniy Borisov | 4de5331 | 2013-03-27 05:14:41 -0700 | [diff] [blame] | 44 | reg = <0xfda0b400 0x200>, |
| 45 | <0xfda00040 0x4>; |
| 46 | reg-names = "csiphy", "csiphy_clk_mux"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 47 | interrupts = <0 80 0>; |
| 48 | interrupt-names = "csiphy"; |
| 49 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 50 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 51 | qcom,csid@fda08000 { |
| 52 | cell-index = <0>; |
| 53 | compatible = "qcom,csid"; |
| 54 | reg = <0xfda08000 0x100>; |
| 55 | reg-names = "csid"; |
| 56 | interrupts = <0 51 0>; |
| 57 | interrupt-names = "csid"; |
Su Liu | 0850c5b | 2013-03-22 17:31:17 -0700 | [diff] [blame] | 58 | qcom,csi-vdd-voltage = <1800000>; |
| 59 | qcom,mipi-csi-vdd-supply = <&pm8941_l12>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 60 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 61 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 62 | qcom,csid@fda08400 { |
| 63 | cell-index = <1>; |
| 64 | compatible = "qcom,csid"; |
| 65 | reg = <0xfda08400 0x100>; |
| 66 | reg-names = "csid"; |
| 67 | interrupts = <0 52 0>; |
| 68 | interrupt-names = "csid"; |
Su Liu | 0850c5b | 2013-03-22 17:31:17 -0700 | [diff] [blame] | 69 | qcom,csi-vdd-voltage = <1800000>; |
| 70 | qcom,mipi-csi-vdd-supply = <&pm8941_l12>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 71 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 72 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 73 | qcom,csid@fda08800 { |
| 74 | cell-index = <2>; |
| 75 | compatible = "qcom,csid"; |
| 76 | reg = <0xfda08800 0x100>; |
| 77 | reg-names = "csid"; |
| 78 | interrupts = <0 53 0>; |
| 79 | interrupt-names = "csid"; |
Su Liu | 0850c5b | 2013-03-22 17:31:17 -0700 | [diff] [blame] | 80 | qcom,csi-vdd-voltage = <1800000>; |
| 81 | qcom,mipi-csi-vdd-supply = <&pm8941_l12>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 82 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 83 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 84 | qcom,csid@fda08C00 { |
| 85 | cell-index = <3>; |
| 86 | compatible = "qcom,csid"; |
| 87 | reg = <0xfda08C00 0x100>; |
| 88 | reg-names = "csid"; |
| 89 | interrupts = <0 54 0>; |
| 90 | interrupt-names = "csid"; |
Su Liu | 0850c5b | 2013-03-22 17:31:17 -0700 | [diff] [blame] | 91 | qcom,csi-vdd-voltage = <1800000>; |
| 92 | qcom,mipi-csi-vdd-supply = <&pm8941_l12>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 93 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 94 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 95 | qcom,ispif@fda0A000 { |
| 96 | cell-index = <0>; |
Petar Sivenov | 457edcb | 2013-07-11 13:00:43 -0700 | [diff] [blame] | 97 | compatible = "qcom,ispif-v3.0", "qcom,ispif"; |
Evgeniy Borisov | 4de5331 | 2013-03-27 05:14:41 -0700 | [diff] [blame] | 98 | reg = <0xfda0A000 0x500>, |
| 99 | <0xfda00020 0x10>; |
| 100 | reg-names = "ispif", "csi_clk_mux"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 101 | interrupts = <0 55 0>; |
| 102 | interrupt-names = "ispif"; |
Petar Sivenov | 457edcb | 2013-07-11 13:00:43 -0700 | [diff] [blame] | 103 | qcom,num-isps = <0x2>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 104 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 105 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 106 | qcom,vfe@fda10000 { |
| 107 | cell-index = <0>; |
| 108 | compatible = "qcom,vfe40"; |
Kevin Chan | 7303f59 | 2012-08-23 23:36:53 -0700 | [diff] [blame] | 109 | reg = <0xfda10000 0x1000>, |
Slavi Dimitrov | 8dec27c | 2013-07-25 00:16:18 -0700 | [diff] [blame] | 110 | <0xfda40000 0x200>, |
| 111 | <0xfd4a8000 0x4>; |
| 112 | reg-names = "vfe", "vfe_vbif", "tcsr"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 113 | interrupts = <0 57 0>; |
| 114 | interrupt-names = "vfe"; |
| 115 | vdd-supply = <&gdsc_vfe>; |
| 116 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 117 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 118 | qcom,vfe@fda14000 { |
| 119 | cell-index = <1>; |
| 120 | compatible = "qcom,vfe40"; |
Kevin Chan | 7303f59 | 2012-08-23 23:36:53 -0700 | [diff] [blame] | 121 | reg = <0xfda14000 0x1000>, |
Slavi Dimitrov | 8dec27c | 2013-07-25 00:16:18 -0700 | [diff] [blame] | 122 | <0xfda40000 0x200>, |
| 123 | <0xfd4a8000 0x4>; |
| 124 | reg-names = "vfe", "vfe_vbif", "tcsr"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 125 | interrupts = <0 58 0>; |
| 126 | interrupt-names = "vfe"; |
| 127 | vdd-supply = <&gdsc_vfe>; |
| 128 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 129 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 130 | qcom,jpeg@fda1c000 { |
| 131 | cell-index = <0>; |
| 132 | compatible = "qcom,jpeg"; |
| 133 | reg = <0xfda1c000 0x400>; |
| 134 | reg-names = "jpeg"; |
| 135 | interrupts = <0 59 0>; |
| 136 | interrupt-names = "jpeg"; |
Evgeniy Borisov | d965d44 | 2013-04-03 04:24:44 -0700 | [diff] [blame] | 137 | vdd-supply = <&gdsc_jpeg>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 138 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 139 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 140 | qcom,jpeg@fda20000 { |
| 141 | cell-index = <1>; |
| 142 | compatible = "qcom,jpeg"; |
| 143 | reg = <0xfda20000 0x400>; |
| 144 | reg-names = "jpeg"; |
| 145 | interrupts = <0 60 0>; |
| 146 | interrupt-names = "jpeg"; |
Ashwini Rao | 078b72d | 2012-08-28 16:25:58 -0700 | [diff] [blame] | 147 | vdd-supply = <&gdsc_jpeg>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 148 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 149 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 150 | qcom,jpeg@fda24000 { |
| 151 | cell-index = <2>; |
| 152 | compatible = "qcom,jpeg"; |
| 153 | reg = <0xfda24000 0x400>; |
| 154 | reg-names = "jpeg"; |
| 155 | interrupts = <0 61 0>; |
| 156 | interrupt-names = "jpeg"; |
Ashwini Rao | 078b72d | 2012-08-28 16:25:58 -0700 | [diff] [blame] | 157 | vdd-supply = <&gdsc_jpeg>; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 158 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 159 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 160 | qcom,irqrouter@fda00000 { |
| 161 | cell-index = <0>; |
| 162 | compatible = "qcom,irqrouter"; |
| 163 | reg = <0xfda00000 0x100>; |
| 164 | reg-names = "irqrouter"; |
| 165 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 166 | |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 167 | qcom,cpp@fda04000 { |
| 168 | cell-index = <0>; |
| 169 | compatible = "qcom,cpp"; |
Rajakumar Govindaram | 1534201 | 2013-02-09 14:58:40 -0800 | [diff] [blame] | 170 | reg = <0xfda04000 0x100>, |
Evgeniy Borisov | d965d44 | 2013-04-03 04:24:44 -0700 | [diff] [blame] | 171 | <0xfda40000 0x200>, |
Iliya Varadzhakov | 9f9b236 | 2013-08-23 10:03:31 -0700 | [diff] [blame] | 172 | <0xfda18000 0x018>; |
Rajakumar Govindaram | d359e4f | 2013-03-06 03:11:57 -0800 | [diff] [blame] | 173 | reg-names = "cpp", "cpp_vbif", "cpp_hw"; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 174 | interrupts = <0 49 0>; |
| 175 | interrupt-names = "cpp"; |
| 176 | vdd-supply = <&gdsc_vfe>; |
| 177 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 178 | |
Sreesudhan Ramakrish Ramkumar | d53503f | 2012-10-18 10:42:27 -0700 | [diff] [blame] | 179 | led_flash0: qcom,camera-led-flash { |
| 180 | cell-index = <0>; |
| 181 | compatible = "qcom,camera-led-flash"; |
| 182 | qcom,flash-type = <1>; |
| 183 | qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>; |
Evgeniy Borisov | db7251c | 2013-05-22 04:16:55 -0700 | [diff] [blame] | 184 | qcom,torch-source = <&pm8941_torch>; |
Sreesudhan Ramakrish Ramkumar | d53503f | 2012-10-18 10:42:27 -0700 | [diff] [blame] | 185 | }; |
| 186 | |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 187 | cci: qcom,cci@fda0C000 { |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 188 | cell-index = <0>; |
| 189 | compatible = "qcom,cci"; |
| 190 | reg = <0xfda0C000 0x1000>; |
Evgeniy Borisov | d965d44 | 2013-04-03 04:24:44 -0700 | [diff] [blame] | 191 | #address-cells = <1>; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 192 | #size-cells = <0>; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 193 | reg-names = "cci"; |
| 194 | interrupts = <0 50 0>; |
| 195 | interrupt-names = "cci"; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 196 | gpios = <&msmgpio 19 0>, |
| 197 | <&msmgpio 20 0>, |
| 198 | <&msmgpio 21 0>, |
| 199 | <&msmgpio 22 0>; |
| 200 | qcom,gpio-tbl-num = <0 1 2 3>; |
| 201 | qcom,gpio-tbl-flags = <1 1 1 1>; |
| 202 | qcom,gpio-tbl-label = "CCI_I2C_DATA0", |
Vasko Kalanoski | 18ba0d4 | 2013-04-15 21:18:54 -0700 | [diff] [blame] | 203 | "CCI_I2C_CLK0", |
| 204 | "CCI_I2C_DATA1", |
| 205 | "CCI_I2C_CLK1"; |
| 206 | master0: qcom,cci-master0 { |
| 207 | status = "disabled"; |
| 208 | }; |
| 209 | master1: qcom,cci-master1 { |
| 210 | status = "disabled"; |
| 211 | }; |
Kevin Chan | 57b41ee | 2012-08-24 09:02:22 -0700 | [diff] [blame] | 212 | }; |
Kevin Chan | 350b693 | 2012-08-01 02:21:00 -0700 | [diff] [blame] | 213 | }; |
Vasko Kalanoski | 18ba0d4 | 2013-04-15 21:18:54 -0700 | [diff] [blame] | 214 | |
| 215 | &master0 { |
| 216 | qcom,hw-thigh = <78>; |
| 217 | qcom,hw-tlow = <114>; |
| 218 | qcom,hw-tsu-sto = <28>; |
| 219 | qcom,hw-tsu-sta = <28>; |
| 220 | qcom,hw-thd-dat = <10>; |
| 221 | qcom,hw-thd-sta = <77>; |
| 222 | qcom,hw-tbuf = <118>; |
| 223 | qcom,hw-scl-stretch-en = <0>; |
| 224 | qcom,hw-trdhld = <6>; |
| 225 | qcom,hw-tsp = <1>; |
| 226 | status = "ok"; |
| 227 | }; |
| 228 | |
| 229 | &master1 { |
| 230 | qcom,hw-thigh = <78>; |
| 231 | qcom,hw-tlow = <114>; |
| 232 | qcom,hw-tsu-sto = <28>; |
| 233 | qcom,hw-tsu-sta = <28>; |
| 234 | qcom,hw-thd-dat = <10>; |
| 235 | qcom,hw-thd-sta = <77>; |
| 236 | qcom,hw-tbuf = <118>; |
| 237 | qcom,hw-scl-stretch-en = <0>; |
| 238 | qcom,hw-trdhld = <6>; |
| 239 | qcom,hw-tsp = <1>; |
| 240 | status = "ok"; |
| 241 | }; |