Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
Stepan Moskovchenko | 920a101 | 2013-04-26 14:34:14 -0700 | [diff] [blame] | 13 | /include/ "skeleton64.dtsi" |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 14 | |
| 15 | / { |
Stepan Moskovchenko | e90cd65 | 2013-04-18 12:54:47 -0700 | [diff] [blame] | 16 | model = "Qualcomm APQ 8084"; |
| 17 | compatible = "qcom,apq8084"; |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 18 | interrupt-parent = <&intc>; |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 19 | soc: soc { }; |
| 20 | }; |
| 21 | |
| 22 | /include/ "apq8084-ion.dtsi" |
Jeff Hugo | 9468672 | 2013-05-17 17:37:33 -0600 | [diff] [blame] | 23 | /include/ "apq8084-smp2p.dtsi" |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 24 | |
| 25 | &soc { |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <1>; |
Stepan Moskovchenko | 920a101 | 2013-04-26 14:34:14 -0700 | [diff] [blame] | 28 | ranges = <0 0 0 0xffffffff>; |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 29 | |
| 30 | intc: interrupt-controller@f9000000 { |
| 31 | compatible = "qcom,msm-qgic2"; |
| 32 | interrupt-controller; |
| 33 | #interrupt-cells = <3>; |
| 34 | reg = <0xF9000000 0x1000>, |
| 35 | <0xF9002000 0x1000>; |
| 36 | }; |
| 37 | |
| 38 | msmgpio: gpio@fd510000 { |
| 39 | compatible = "qcom,msm-gpio"; |
| 40 | gpio-controller; |
| 41 | #gpio-cells = <2>; |
| 42 | interrupt-controller; |
| 43 | #interrupt-cells = <2>; |
| 44 | reg = <0xfd510000 0x4000>; |
| 45 | ngpio = <146>; |
| 46 | interrupts = <0 208 0>; |
| 47 | qcom,direct-connect-irqs = <8>; |
| 48 | }; |
| 49 | |
| 50 | timer { |
| 51 | compatible = "arm,armv7-timer"; |
| 52 | interrupts = <1 2 0 1 3 0>; |
| 53 | clock-frequency = <19200000>; |
| 54 | }; |
| 55 | |
| 56 | serial@f991f000 { |
| 57 | compatible = "qcom,msm-lsuart-v14"; |
| 58 | reg = <0xf991f000 0x1000>; |
| 59 | interrupts = <0 109 0>; |
| 60 | status = "disabled"; |
| 61 | }; |
| 62 | |
| 63 | qcom,cache_erp { |
| 64 | compatible = "qcom,cache_erp"; |
| 65 | interrupts = <1 9 0>, <0 2 0>; |
| 66 | interrupt-names = "l1_irq", "l2_irq"; |
| 67 | }; |
| 68 | |
| 69 | qcom,cache_dump { |
| 70 | compatible = "qcom,cache_dump"; |
| 71 | qcom,l1-dump-size = <0x100000>; |
| 72 | qcom,l2-dump-size = <0x500000>; |
| 73 | qcom,memory-reservation-type = "EBI1"; |
| 74 | qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */ |
| 75 | }; |
| 76 | |
| 77 | rpm_bus: qcom,rpm-smd { |
| 78 | compatible = "qcom,rpm-smd"; |
| 79 | rpm-channel-name = "rpm_requests"; |
| 80 | rpm-channel-type = <15>; /* SMD_APPS_RPM */ |
| 81 | rpm-standalone; |
| 82 | }; |
| 83 | |
Stepan Moskovchenko | b8dd6a9 | 2013-03-18 18:53:34 -0700 | [diff] [blame] | 84 | qcom,msm-imem@fe805000 { |
| 85 | compatible = "qcom,msm-imem"; |
| 86 | reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ |
Laura Abbott | 2fd1fc6 | 2013-03-05 14:30:47 -0800 | [diff] [blame] | 87 | }; |
| 88 | |
| 89 | qcom,msm-rtb { |
| 90 | compatible = "qcom,msm-rtb"; |
| 91 | qcom,memory-reservation-type = "EBI1"; |
| 92 | qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */ |
| 93 | }; |
Stepan Moskovchenko | b8dd6a9 | 2013-03-18 18:53:34 -0700 | [diff] [blame] | 94 | |
Venkat Gopalakrishnan | d7ba4e3 | 2013-03-29 19:51:19 -0700 | [diff] [blame] | 95 | sdcc1: qcom,sdcc@f9824000 { |
| 96 | cell-index = <1>; /* SDC1 eMMC slot */ |
| 97 | compatible = "qcom,msm-sdcc"; |
| 98 | reg = <0xf9824000 0x800>; |
| 99 | reg-names = "core_mem"; |
| 100 | interrupts = <0 123 0>; |
| 101 | interrupt-names = "core_irq"; |
| 102 | |
| 103 | qcom,bus-width = <8>; |
| 104 | status = "disabled"; |
| 105 | }; |
| 106 | |
| 107 | sdcc2: qcom,sdcc@f98a4000 { |
| 108 | cell-index = <2>; /* SDC2 SD card slot */ |
| 109 | compatible = "qcom,msm-sdcc"; |
| 110 | reg = <0xf98a4000 0x800>; |
| 111 | reg-names = "core_mem"; |
| 112 | interrupts = <0 125 0>; |
| 113 | interrupt-names = "core_irq"; |
| 114 | |
| 115 | |
| 116 | qcom,bus-width = <4>; |
| 117 | status = "disabled"; |
| 118 | }; |
Kenneth Heitke | 72e12c0 | 2013-04-22 17:30:58 -0600 | [diff] [blame] | 119 | |
Yan He | 4317365 | 2013-06-05 17:52:41 -0700 | [diff] [blame] | 120 | qcom,sps@f9980000 { |
| 121 | compatible = "qcom,msm_sps"; |
| 122 | reg = <0xf9984000 0x15000>, |
| 123 | <0xf9999000 0xb000>; |
| 124 | interrupts = <0 94 0>; |
| 125 | qcom,pipe-attr-ee; |
| 126 | }; |
| 127 | |
Kenneth Heitke | 72e12c0 | 2013-04-22 17:30:58 -0600 | [diff] [blame] | 128 | spmi_bus: qcom,spmi@fc4c0000 { |
| 129 | cell-index = <0>; |
| 130 | compatible = "qcom,spmi-pmic-arb"; |
| 131 | reg-names = "core", "intr", "cnfg"; |
| 132 | reg = <0xfc4cf000 0x1000>, |
| 133 | <0Xfc4cb000 0x1000>, |
| 134 | <0Xfc4ca000 0x1000>; |
| 135 | /* 190,ee0_krait_hlos_spmi_periph_irq */ |
| 136 | /* 187,channel_0_krait_hlos_trans_done_irq */ |
| 137 | interrupts = <0 190 0>, <0 187 0>; |
| 138 | qcom,not-wakeup; |
| 139 | qcom,pmic-arb-ee = <0>; |
| 140 | qcom,pmic-arb-channel = <0>; |
| 141 | #address-cells = <1>; |
| 142 | #size-cells = <0>; |
| 143 | interrupt-controller; |
| 144 | #interrupt-cells = <3>; |
| 145 | }; |
Hemant Kumar | 303c941 | 2013-04-19 12:33:31 -0700 | [diff] [blame] | 146 | |
Gilad Avidov | c3bbe60 | 2013-05-16 17:17:13 -0600 | [diff] [blame] | 147 | i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */ |
| 148 | cell-index = <0>; |
| 149 | compatible = "qcom,i2c-qup"; |
| 150 | #address-cells = <1>; |
| 151 | #size-cells = <0>; |
| 152 | reg-names = "qup_phys_addr"; |
| 153 | reg = <0xf9925000 0x1000>; |
| 154 | interrupt-names = "qup_err_intr"; |
| 155 | interrupts = <0 97 0>; |
| 156 | qcom,i2c-bus-freq = <100000>; |
| 157 | qcom,i2c-src-freq = <50000000>; |
| 158 | qcom,sda-gpio = <&msmgpio 10 0>; |
| 159 | qcom,scl-gpio = <&msmgpio 11 0>; |
| 160 | }; |
| 161 | |
Hemant Kumar | 303c941 | 2013-04-19 12:33:31 -0700 | [diff] [blame] | 162 | usb3: qcom,ssusb@f9200000 { |
| 163 | compatible = "qcom,dwc-usb3-msm"; |
| 164 | reg = <0xf9200000 0xfc000>, |
| 165 | <0xfd4ab000 0x4>; |
| 166 | #address-cells = <1>; |
| 167 | #size-cells = <1>; |
| 168 | ranges; |
| 169 | interrupts = <0 133 0>; |
| 170 | interrupt-names = "hs_phy_irq"; |
| 171 | ssusb_vdd_dig-supply = <&pma8084_s1>; |
| 172 | SSUSB_1p8-supply = <&pma8084_l6>; |
| 173 | hsusb_vdd_dig-supply = <&pma8084_s1>; |
| 174 | HSUSB_1p8-supply = <&pma8084_l6>; |
| 175 | HSUSB_3p3-supply = <&pma8084_l24>; |
| 176 | qcom,dwc-usb3-msm-dbm-eps = <4>; |
| 177 | qcom,vdd-voltage-level = <0 900000 1050000>; |
| 178 | |
| 179 | dwc3@f9200000 { |
| 180 | compatible = "synopsys,dwc3"; |
| 181 | reg = <0xf9200000 0xfc000>; |
| 182 | interrupt-parent = <&intc>; |
| 183 | interrupts = <0 131 0>, <0 179 0>; |
| 184 | interrupt-names = "irq", "otg_irq"; |
| 185 | tx-fifo-resize; |
| 186 | }; |
| 187 | }; |
| 188 | |
| 189 | android_usb { |
| 190 | compatible = "qcom,android-usb"; |
| 191 | }; |
Neeti Desai | 3db510c | 2013-04-29 14:31:31 -0700 | [diff] [blame] | 192 | |
Siddartha Mohanadoss | 6ee1091 | 2013-05-16 08:07:08 -0700 | [diff] [blame] | 193 | tsens: tsens@fc4a8000 { |
| 194 | compatible = "qcom,msm-tsens"; |
| 195 | reg = <0xfc4a8000 0x2000>, |
| 196 | <0xfc4b8000 0x1000>; |
| 197 | reg-names = "tsens_physical", "tsens_eeprom_physical"; |
| 198 | interrupts = <0 184 0>; |
| 199 | qcom,sensors = <11>; |
| 200 | qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 |
| 201 | 3200 3200>; |
| 202 | qcom,calib-mode = "fuse_map1"; |
| 203 | }; |
| 204 | |
Neeti Desai | 3db510c | 2013-04-29 14:31:31 -0700 | [diff] [blame] | 205 | qcom,ocmem@fdd00000 { |
| 206 | compatible = "qcom,msm-ocmem"; |
| 207 | reg = <0xfdd00000 0x2000>, |
| 208 | <0xfdd02000 0x2000>, |
| 209 | <0xfe039000 0x400>, |
| 210 | <0xfec00000 0x200000>; |
| 211 | reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical"; |
| 212 | interrupts = <0 76 0 0 77 0>; |
| 213 | interrupt-names = "ocmem_irq", "dm_irq"; |
| 214 | qcom,ocmem-num-regions = <0x4>; |
| 215 | qcom,ocmem-num-macros = <0x20>; |
| 216 | qcom,resource-type = <0x706d636f>; |
| 217 | #address-cells = <1>; |
| 218 | #size-cells = <1>; |
| 219 | ranges = <0x0 0xfec00000 0x200000>; |
| 220 | |
| 221 | partition@0 { |
| 222 | reg = <0x0 0x180000>; |
| 223 | qcom,ocmem-part-name = "graphics"; |
| 224 | qcom,ocmem-part-min = <0x80000>; |
| 225 | }; |
| 226 | |
| 227 | partition@80000 { |
| 228 | reg = <0x180000 0x80000>; |
| 229 | qcom,ocmem-part-name = "lp_audio"; |
| 230 | qcom,ocmem-part-min = <0x80000>; |
| 231 | }; |
| 232 | |
| 233 | partition@100000 { |
| 234 | reg = <0x180000 0x80000>; |
| 235 | qcom,ocmem-part-name = "video"; |
| 236 | qcom,ocmem-part-min = <0x55000>; |
| 237 | }; |
| 238 | |
| 239 | }; |
Laura Abbott | 8fadcbc | 2013-05-17 17:44:16 -0700 | [diff] [blame] | 240 | |
| 241 | memory_hole: qcom,msm-mem-hole { |
| 242 | compatible = "qcom,msm-mem-hole"; |
| 243 | qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */ |
| 244 | }; |
Jeff Hugo | 762c2cd | 2013-05-17 13:25:36 -0600 | [diff] [blame] | 245 | |
| 246 | qcom,ipc-spinlock@fd484000 { |
| 247 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 248 | reg = <0xfd484000 0x400>; |
| 249 | qcom,num-locks = <8>; |
| 250 | }; |
Jeff Hugo | a1d67b3 | 2013-05-17 17:26:34 -0600 | [diff] [blame] | 251 | |
| 252 | qcom,smem@fa00000 { |
| 253 | compatible = "qcom,smem"; |
| 254 | reg = <0xfa00000 0x200000>, |
| 255 | <0xf9011000 0x1000>, |
| 256 | <0xfc428000 0x4000>; |
| 257 | reg-names = "smem", "irq-reg-base", "aux-mem1"; |
| 258 | |
| 259 | qcom,smd-adsp { |
| 260 | compatible = "qcom,smd"; |
| 261 | qcom,smd-edge = <1>; |
| 262 | qcom,smd-irq-offset = <0x8>; |
| 263 | qcom,smd-irq-bitmask = <0x100>; |
| 264 | qcom,pil-string = "adsp"; |
| 265 | interrupts = <0 156 1>; |
| 266 | }; |
| 267 | |
| 268 | qcom,smsm-adsp { |
| 269 | compatible = "qcom,smsm"; |
| 270 | qcom,smsm-edge = <1>; |
| 271 | qcom,smsm-irq-offset = <0x8>; |
| 272 | qcom,smsm-irq-bitmask = <0x200>; |
| 273 | interrupts = <0 157 1>; |
| 274 | }; |
| 275 | |
| 276 | qcom,smd-rpm { |
| 277 | compatible = "qcom,smd"; |
| 278 | qcom,smd-edge = <15>; |
| 279 | qcom,smd-irq-offset = <0x8>; |
| 280 | qcom,smd-irq-bitmask = <0x1>; |
| 281 | interrupts = <0 168 1>; |
| 282 | qcom,irq-no-suspend; |
| 283 | }; |
| 284 | }; |
Stepan Moskovchenko | 632d416 | 2013-01-24 16:00:08 -0800 | [diff] [blame] | 285 | }; |
David Collins | ce8b116 | 2013-04-23 09:01:57 -0700 | [diff] [blame] | 286 | |
| 287 | /include/ "msm-pma8084.dtsi" |
David Collins | b8e4fe5 | 2013-04-23 09:04:30 -0700 | [diff] [blame] | 288 | /include/ "apq8084-regulator.dtsi" |
Siddartha Mohanadoss | 6298e99 | 2013-05-16 08:38:36 -0700 | [diff] [blame] | 289 | |
| 290 | &pma8084_vadc { |
| 291 | chan@b0 { |
| 292 | label = "apq_therm"; |
| 293 | reg = <0xb0>; |
| 294 | qcom,decimation = <0>; |
| 295 | qcom,pre-div-channel-scaling = <0>; |
| 296 | qcom,calibration-type = "ratiometric"; |
| 297 | qcom,scale-function = <2>; |
| 298 | qcom,hw-settle-time = <2>; |
| 299 | qcom,fast-avg-setup = <0>; |
| 300 | }; |
| 301 | |
| 302 | chan@b3 { |
| 303 | label = "quiet_therm"; |
| 304 | reg = <0xb3>; |
| 305 | qcom,decimation = <0>; |
| 306 | qcom,pre-div-channel-scaling = <0>; |
| 307 | qcom,calibration-type = "ratiometric"; |
| 308 | qcom,scale-function = <2>; |
| 309 | qcom,hw-settle-time = <2>; |
| 310 | qcom,fast-avg-setup = <0>; |
| 311 | }; |
| 312 | }; |
| 313 | |
| 314 | &pma8084_adc_tm { |
| 315 | chan@8 { |
| 316 | label = "die_temp"; |
| 317 | reg = <8>; |
| 318 | qcom,decimation = <0>; |
| 319 | qcom,pre-div-channel-scaling = <0>; |
| 320 | qcom,calibration-type = "absolute"; |
| 321 | qcom,scale-function = <3>; |
| 322 | qcom,hw-settle-time = <0>; |
| 323 | qcom,fast-avg-setup = <3>; |
| 324 | qcom,btm-channel-number = <0x48>; |
| 325 | }; |
| 326 | |
| 327 | chan@b0 { |
| 328 | label = "apq_therm"; |
| 329 | reg = <0xb0>; |
| 330 | qcom,decimation = <0>; |
| 331 | qcom,pre-div-channel-scaling = <0>; |
| 332 | qcom,calibration-type = "ratiometric"; |
| 333 | qcom,scale-function = <2>; |
| 334 | qcom,hw-settle-time = <2>; |
| 335 | qcom,fast-avg-setup = <3>; |
| 336 | qcom,btm-channel-number = <0x68>; |
| 337 | qcom,thermal-node; |
| 338 | }; |
| 339 | |
| 340 | chan@b3 { |
| 341 | label = "quiet_therm"; |
| 342 | reg = <0xb3>; |
| 343 | qcom,decimation = <0>; |
| 344 | qcom,pre-div-channel-scaling = <0>; |
| 345 | qcom,calibration-type = "ratiometric"; |
| 346 | qcom,scale-function = <2>; |
| 347 | qcom,hw-settle-time = <2>; |
| 348 | qcom,fast-avg-setup = <3>; |
| 349 | qcom,btm-channel-number = <0x70>; |
| 350 | qcom,thermal-node; |
| 351 | }; |
| 352 | }; |