Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [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 | |
| 13 | &soc { |
| 14 | qcom,spm@f9089000 { |
| 15 | compatible = "qcom,spm-v2"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | reg = <0xf9089000 0x1000>; |
| 19 | qcom,core-id = <0>; |
| 20 | qcom,saw2-ver-reg = <0xfd0>; |
| 21 | qcom,saw2-cfg = <0x01>; |
| 22 | qcom,saw2-avs-ctl = <0>; |
| 23 | qcom,saw2-avs-hysteresis = <0>; |
| 24 | qcom,saw2-avs-limit = <0>; |
| 25 | qcom,saw2-avs-dly= <0>; |
| 26 | qcom,saw2-spm-dly= <0x3C102800>; |
| 27 | qcom,saw2-spm-ctl = <0x1>; |
| 28 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
| 29 | qcom,saw2-spm-cmd-ret = [42 1b 00 d8 5B 03 d8 5b 0b 00 42 1b 0f]; |
| 30 | qcom,saw2-spm-cmd-spc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 31 | 30 06 26 30 0F]; |
| 32 | qcom,saw2-spm-cmd-pc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 33 | 30 06 26 30 0F]; |
| 34 | }; |
| 35 | |
| 36 | qcom,spm@f9099000 { |
| 37 | compatible = "qcom,spm-v2"; |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <1>; |
| 40 | reg = <0xf9099000 0x1000>; |
| 41 | qcom,core-id = <1>; |
| 42 | qcom,saw2-ver-reg = <0xfd0>; |
| 43 | qcom,saw2-cfg = <0x01>; |
| 44 | qcom,saw2-avs-ctl = <0>; |
| 45 | qcom,saw2-avs-hysteresis = <0>; |
| 46 | qcom,saw2-avs-limit = <0>; |
| 47 | qcom,saw2-avs-dly= <0>; |
| 48 | qcom,saw2-spm-dly= <0x3C102800>; |
| 49 | qcom,saw2-spm-ctl = <0x1>; |
| 50 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
| 51 | qcom,saw2-spm-cmd-ret = [42 1b 00 d8 5B 03 d8 5b 0b 00 42 1b 0f]; |
| 52 | qcom,saw2-spm-cmd-spc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 53 | 30 06 26 30 0F]; |
| 54 | qcom,saw2-spm-cmd-pc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 55 | 30 06 26 30 0F]; |
| 56 | }; |
| 57 | |
| 58 | qcom,spm@f90a9000 { |
| 59 | compatible = "qcom,spm-v2"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | reg = <0xf90a9000 0x1000>; |
| 63 | qcom,core-id = <2>; |
| 64 | qcom,saw2-ver-reg = <0xfd0>; |
| 65 | qcom,saw2-cfg = <0x01>; |
| 66 | qcom,saw2-avs-ctl = <0>; |
| 67 | qcom,saw2-avs-hysteresis = <0>; |
| 68 | qcom,saw2-avs-limit = <0>; |
| 69 | qcom,saw2-avs-dly= <0>; |
| 70 | qcom,saw2-spm-dly= <0x3C102800>; |
| 71 | qcom,saw2-spm-ctl = <0x1>; |
| 72 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
| 73 | qcom,saw2-spm-cmd-ret = [42 1b 00 d8 5B 03 d8 5b 0b 00 42 1b 0f]; |
| 74 | qcom,saw2-spm-cmd-spc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 75 | 30 06 26 30 0F]; |
| 76 | qcom,saw2-spm-cmd-pc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 77 | 30 06 26 30 0F]; |
| 78 | }; |
| 79 | |
| 80 | qcom,spm@f90b9000 { |
| 81 | compatible = "qcom,spm-v2"; |
| 82 | #address-cells = <1>; |
| 83 | #size-cells = <1>; |
| 84 | reg = <0xf90b9000 0x1000>; |
| 85 | qcom,core-id = <3>; |
| 86 | qcom,saw2-ver-reg = <0xfd0>; |
| 87 | qcom,saw2-cfg = <0x01>; |
| 88 | qcom,saw2-avs-ctl = <0>; |
| 89 | qcom,saw2-avs-hysteresis = <0>; |
| 90 | qcom,saw2-avs-limit = <0>; |
| 91 | qcom,saw2-avs-dly= <0>; |
| 92 | qcom,saw2-spm-dly= <0x3C102800>; |
| 93 | qcom,saw2-spm-ctl = <0x1>; |
| 94 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
| 95 | qcom,saw2-spm-cmd-ret = [42 1b 00 d8 5B 03 d8 5b 0b 00 42 1b 0f]; |
| 96 | qcom,saw2-spm-cmd-spc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 97 | 30 06 26 30 0F]; |
| 98 | qcom,saw2-spm-cmd-pc = [00 20 80 10 E8 5B 03 3B E8 5B 82 10 0B |
| 99 | 30 06 26 30 0F]; |
| 100 | }; |
| 101 | |
| 102 | qcom,spm@f9012000 { |
| 103 | compatible = "qcom,spm-v2"; |
| 104 | #address-cells = <1>; |
| 105 | #size-cells = <1>; |
| 106 | reg = <0xf9012000 0x1000>; |
| 107 | qcom,core-id = <0xffff>; /* L2/APCS SAW */ |
| 108 | qcom,saw2-ver-reg = <0xfd0>; |
| 109 | qcom,saw2-cfg = <0x14>; |
| 110 | qcom,saw2-avs-ctl = <0>; |
| 111 | qcom,saw2-avs-hysteresis = <0>; |
| 112 | qcom,saw2-avs-limit = <0>; |
| 113 | qcom,saw2-avs-dly= <0>; |
| 114 | qcom,saw2-spm-dly= <0x3C102800>; |
| 115 | qcom,saw2-spm-ctl = <0x1>; |
| 116 | qcom,saw2-pmic-data0 = <0x02030080>; |
| 117 | qcom,saw2-pmic-data1 = <0x00030000>; |
| 118 | qcom,vctl-timeout-us = <50>; |
| 119 | qcom,vctl-port = <0x0>; |
| 120 | qcom,phase-port = <0x1>; |
| 121 | qcom,pfm-port = <0x2>; |
| 122 | qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; |
| 123 | qcom,saw2-spm-cmd-gdhs = [00 32 42 07 44 50 02 32 50 0f]; |
| 124 | qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 |
| 125 | 50 02 32 50 0f]; |
Stepan Moskovchenko | 49364d3 | 2013-08-27 17:58:47 -0700 | [diff] [blame] | 126 | qcom,L2-spm-is-apcs-master; |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 127 | }; |
| 128 | |
| 129 | qcom,lpm-levels { |
| 130 | compatible = "qcom,lpm-levels"; |
| 131 | qcom,default-l2-state = "l2_cache_retention"; |
| 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
| 134 | |
| 135 | qcom,lpm-level@0 { |
| 136 | reg = <0x0>; |
| 137 | qcom,mode = "wfi"; |
| 138 | qcom,l2 = "l2_cache_retention"; |
| 139 | qcom,latency-us = <1>; |
| 140 | qcom,ss-power = <715>; |
| 141 | qcom,energy-overhead = <17700>; |
| 142 | qcom,time-overhead = <2>; |
| 143 | }; |
| 144 | |
| 145 | qcom,lpm-level@1 { |
| 146 | reg = <0x1>; |
| 147 | qcom,mode = "retention"; |
| 148 | qcom,l2 = "l2_cache_retention"; |
| 149 | qcom,latency-us = <35>; |
| 150 | qcom,ss-power = <542>; |
| 151 | qcom,energy-overhead = <34920>; |
| 152 | qcom,time-overhead = <40>; |
| 153 | }; |
| 154 | |
| 155 | |
| 156 | qcom,lpm-level@2 { |
| 157 | reg = <0x2>; |
| 158 | qcom,mode = "standalone_pc"; |
| 159 | qcom,l2 = "l2_cache_retention"; |
| 160 | qcom,latency-us = <300>; |
| 161 | qcom,ss-power = <476>; |
| 162 | qcom,energy-overhead = <225300>; |
| 163 | qcom,time-overhead = <350>; |
| 164 | }; |
| 165 | |
| 166 | qcom,lpm-level@3 { |
| 167 | reg = <0x3>; |
| 168 | qcom,mode = "pc"; |
| 169 | qcom,l2 = "l2_cache_gdhs"; |
| 170 | qcom,gpio-detectable; |
| 171 | qcom,latency-us = <20000>; |
| 172 | qcom,ss-power = <163>; |
| 173 | qcom,energy-overhead = <1577736>; |
| 174 | qcom,time-overhead = <5067>; |
| 175 | }; |
| 176 | |
| 177 | qcom,lpm-level@4 { |
| 178 | reg = <0x4>; |
| 179 | qcom,mode = "pc"; |
| 180 | qcom,l2 = "l2_cache_pc"; |
| 181 | qcom,latency-us = <30000>; |
| 182 | qcom,ss-power = <83>; |
| 183 | qcom,energy-overhead = <2274420>; |
| 184 | qcom,time-overhead = <6605>; |
| 185 | }; |
| 186 | }; |
| 187 | |
| 188 | qcom,pm-boot { |
| 189 | compatible = "qcom,pm-boot"; |
| 190 | qcom,mode = "tz"; |
| 191 | }; |
| 192 | |
| 193 | qcom,mpm@fc4281d0 { |
| 194 | compatible = "qcom,mpm-v2"; |
| 195 | reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ |
| 196 | <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ |
| 197 | reg-names = "vmpm", "ipc"; |
| 198 | interrupts = <0 171 1>; |
| 199 | |
| 200 | qcom,ipc-bit-offset = <1>; |
| 201 | |
| 202 | qcom,gic-parent = <&intc>; |
| 203 | qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ |
| 204 | <47 165>, /* usb30_hs_phy_irq */ |
| 205 | <50 172>, /* usb1_hs_async_wakeup_irq */ |
| 206 | <53 104>, /* mdss_irq */ |
| 207 | <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 208 | <0xff 34>, /* APCC_qgicL2ErrorIrptReq */ |
| 209 | <0xff 35>, /* WDT_barkInt */ |
| 210 | <0xff 40>, /* qtimer_phy_irq */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 211 | <0xff 56>, /* modem_watchdog */ |
| 212 | <0xff 57>, /* mss_to_apps_irq(0) */ |
| 213 | <0xff 58>, /* mss_to_apps_irq(1) */ |
| 214 | <0xff 59>, /* mss_to_apps_irq(2) */ |
| 215 | <0xff 60>, /* mss_to_apps_irq(3) */ |
| 216 | <0xff 61>, /* mss_a2_bam_irq */ |
| 217 | <0xff 70>, /* iommu_pmon_nonsecure_irq */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 218 | <0xff 74>, /* osmmu_CIrpt[1] */ |
| 219 | <0xff 75>, /* osmmu_CIrpt[0] */ |
| 220 | <0xff 77>, /* osmmu_CIrpt[0] */ |
| 221 | <0xff 78>, /* osmmu_CIrpt[0] */ |
| 222 | <0xff 79>, /* osmmu_CIrpt[0] */ |
| 223 | <0xff 94>, /* osmmu_CIrpt[0] */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 224 | <0xff 97>, /* iommu_nonsecure_irq */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 225 | <0xff 99>, /* msm_iommu_pmon_nonsecure_irq */ |
| 226 | <0xff 102>, /* osmmu_CIrpt[1] */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 227 | <0xff 105>, /* iommu_pmon_nonsecure_irq */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 228 | <0xff 109>, /* ocmem_dm_nonsec_irq */ |
| 229 | <0xff 126>, /* bam_irq[0] */ |
| 230 | <0xff 155>, /* sdcc_irq[0] */ |
| 231 | <0xff 163>, /* usb30_ee1_irq */ |
| 232 | <0xff 170>, /* sdcc_pwr_cmd_irq */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 233 | <0xff 173>, /* o_wcss_apss_smd_hi */ |
| 234 | <0xff 174>, /* o_wcss_apss_smd_med */ |
| 235 | <0xff 175>, /* o_wcss_apss_smd_low */ |
| 236 | <0xff 176>, /* o_wcss_apss_smsm_irq */ |
| 237 | <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ |
| 238 | <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ |
| 239 | <0xff 179>, /* o_wcss_apss_asic_intr */ |
| 240 | |
| 241 | <0xff 181>, /* wcnss watchdog */ |
| 242 | <0xff 188>, /* lpass_irq_out_apcs(0) */ |
| 243 | <0xff 189>, /* lpass_irq_out_apcs(1) */ |
| 244 | <0xff 190>, /* lpass_irq_out_apcs(2) */ |
| 245 | <0xff 191>, /* lpass_irq_out_apcs(3) */ |
| 246 | <0xff 192>, /* lpass_irq_out_apcs(4) */ |
| 247 | <0xff 193>, /* lpass_irq_out_apcs(5) */ |
| 248 | <0xff 194>, /* lpass_irq_out_apcs(6) */ |
| 249 | <0xff 195>, /* lpass_irq_out_apcs(7) */ |
| 250 | <0xff 196>, /* lpass_irq_out_apcs(8) */ |
| 251 | <0xff 197>, /* lpass_irq_out_apcs(9) */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 252 | <0xff 198>, /* coresight-tmc-etr interrupt */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 253 | <0xff 200>, /* rpm_ipc(4) */ |
| 254 | <0xff 201>, /* rpm_ipc(5) */ |
| 255 | <0xff 202>, /* rpm_ipc(6) */ |
| 256 | <0xff 203>, /* rpm_ipc(7) */ |
| 257 | <0xff 204>, /* rpm_ipc(24) */ |
| 258 | <0xff 205>, /* rpm_ipc(25) */ |
| 259 | <0xff 206>, /* rpm_ipc(26) */ |
| 260 | <0xff 207>, /* rpm_ipc(27) */ |
| 261 | <0xff 211>, /* usb_dwc3_otg */ |
Anji Jonnala | c684fc0 | 2013-10-23 16:59:15 +0530 | [diff] [blame] | 262 | <0xff 240>, /* summary_irq_kpss */ |
| 263 | <0xff 268>, /* bam_irq[1] */ |
| 264 | <0xff 270>, /* bam_irq[0] */ |
| 265 | <0xff 271>; /* bam_irq[0] */ |
Mahesh Sivasubramanian | e5e0c04 | 2013-08-14 10:59:11 -0600 | [diff] [blame] | 266 | |
| 267 | qcom,gpio-parent = <&msmgpio>; |
| 268 | qcom,gpio-map = <3 102>, |
| 269 | <4 1 >, |
| 270 | <5 5 >, |
| 271 | <6 9 >, |
| 272 | <7 18>, |
| 273 | <8 20>, |
| 274 | <9 24>, |
| 275 | <10 27>, |
| 276 | <11 28>, |
| 277 | <12 34>, |
| 278 | <13 35>, |
| 279 | <14 37>, |
| 280 | <15 42>, |
| 281 | <16 44>, |
| 282 | <17 46>, |
| 283 | <18 50>, |
| 284 | <19 54>, |
| 285 | <20 59>, |
| 286 | <21 61>, |
| 287 | <22 62>, |
| 288 | <23 64>, |
| 289 | <24 65>, |
| 290 | <25 66>, |
| 291 | <26 67>, |
| 292 | <27 68>, |
| 293 | <28 71>, |
| 294 | <29 72>, |
| 295 | <30 73>, |
| 296 | <31 74>, |
| 297 | <32 75>, |
| 298 | <33 77>, |
| 299 | <34 79>, |
| 300 | <35 80>, |
| 301 | <36 82>, |
| 302 | <37 86>, |
| 303 | <38 92>, |
| 304 | <39 93>, |
| 305 | <40 95>, |
| 306 | <41 144>; |
| 307 | }; |
| 308 | |
| 309 | qcom,pm-8x60@fe805664 { |
| 310 | compatible = "qcom,pm-8x60"; |
| 311 | #address-cells = <1>; |
| 312 | #size-cells = <1>; |
| 313 | ranges; |
| 314 | reg = <0xfe805664 0x40>; |
| 315 | qcom,pc-mode = "tz_l2_int"; |
| 316 | qcom,use-sync-timer; |
| 317 | qcom,cpus-as-clocks; |
| 318 | |
| 319 | qcom,pm-snoc-client { |
| 320 | compatible = "qcom,pm-snoc-client"; |
| 321 | qcom,msm-bus,name = "ocimem_snoc"; |
| 322 | qcom,msm-bus,num-cases = <2>; |
| 323 | qcom,msm-bus,num-paths = <1>; |
| 324 | qcom,msm-bus,active-only; |
| 325 | qcom,msm-bus,vectors-KBps = |
| 326 | <54 585 0 0>, |
| 327 | <54 585 0 800000>; |
| 328 | }; |
| 329 | }; |
| 330 | |
| 331 | qcom,cpu-sleep-status@f9088008{ |
| 332 | compatible = "qcom,cpu-sleep-status"; |
| 333 | reg = <0xf9088008 0x100>; |
| 334 | qcom,cpu-alias-addr = <0x10000>; |
| 335 | qcom,sleep-status-mask= <0x80000>; |
| 336 | }; |
| 337 | |
| 338 | qcom,rpm-log@fc19dc00 { |
| 339 | compatible = "qcom,rpm-log"; |
| 340 | reg = <0xfc19dc00 0x4000>; |
| 341 | qcom,rpm-addr-phys = <0xfc000000>; |
| 342 | qcom,offset-version = <4>; |
| 343 | qcom,offset-page-buffer-addr = <36>; |
| 344 | qcom,offset-log-len = <40>; |
| 345 | qcom,offset-log-len-mask = <44>; |
| 346 | qcom,offset-page-indices = <56>; |
| 347 | }; |
| 348 | |
| 349 | qcom,rpm-stats@fc19dba0 { |
| 350 | compatible = "qcom,rpm-stats"; |
| 351 | reg = <0xfc19dba0 0x1000>; |
| 352 | reg-names = "phys_addr_base"; |
| 353 | qcom,sleep-stats-version = <2>; |
| 354 | }; |
| 355 | |
| 356 | qcom,rpm-rbcpr-stats@fc000000 { |
| 357 | compatible = "qcom,rpmrbcpr-stats"; |
| 358 | reg = <0xfc000000 0x1a0000>; |
| 359 | qcom,start-offset = <0x190010>; |
| 360 | }; |
| 361 | }; |