Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 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 | /include/ "skeleton.dtsi" |
| 14 | |
| 15 | / { |
| 16 | qcom,spm@f9089000 { |
| 17 | compatible = "qcom,spm-v2"; |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | reg = <0xf9089000 0x1000>; |
| 21 | qcom,core-id = <0>; |
| 22 | qcom,saw2-ver-reg = <0xfd0>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 23 | qcom,saw2-cfg = <0x01>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 24 | qcom,saw2-avs-ctl = <0>; |
| 25 | qcom,saw2-avs-hysteresis = <0>; |
| 26 | qcom,saw2-avs-limit = <0>; |
| 27 | qcom,saw2-avs-dly= <0>; |
| 28 | qcom,saw2-spm-dly= <0x20000400>; |
| 29 | qcom,saw2-spm-ctl = <0x1>; |
Mahesh Sivasubramanian | 1137332 | 2012-06-14 11:17:20 -0600 | [diff] [blame] | 30 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 31 | qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 |
| 32 | 0b 00 42 1b 0f]; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 33 | qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 |
| 34 | 10 0b 30 06 26 30 0f]; |
| 35 | qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 |
| 36 | 10 0b 30 06 26 30 0f]; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | qcom,spm@f9099000 { |
| 40 | compatible = "qcom,spm-v2"; |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | reg = <0xf9099000 0x1000>; |
| 44 | qcom,core-id = <1>; |
| 45 | qcom,saw2-ver-reg = <0xfd0>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 46 | qcom,saw2-cfg = <0x01>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 47 | qcom,saw2-avs-ctl = <0>; |
| 48 | qcom,saw2-avs-hysteresis = <0>; |
| 49 | qcom,saw2-avs-limit = <0>; |
| 50 | qcom,saw2-avs-dly= <0>; |
| 51 | qcom,saw2-spm-dly= <0x20000400>; |
| 52 | qcom,saw2-spm-ctl = <0x1>; |
Mahesh Sivasubramanian | 1137332 | 2012-06-14 11:17:20 -0600 | [diff] [blame] | 53 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 54 | qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 |
| 55 | 0b 00 42 1b 0f]; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 56 | qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 |
| 57 | 10 0b 30 06 26 30 0f]; |
| 58 | qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 |
| 59 | 10 0b 30 06 26 30 0f]; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | qcom,spm@f90a9000 { |
| 63 | compatible = "qcom,spm-v2"; |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <1>; |
| 66 | reg = <0xf90a9000 0x1000>; |
| 67 | qcom,core-id = <2>; |
| 68 | qcom,saw2-ver-reg = <0xfd0>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 69 | qcom,saw2-cfg = <0x01>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 70 | qcom,saw2-avs-ctl = <0>; |
| 71 | qcom,saw2-avs-hysteresis = <0>; |
| 72 | qcom,saw2-avs-limit = <0>; |
| 73 | qcom,saw2-avs-dly= <0>; |
| 74 | qcom,saw2-spm-dly= <0x20000400>; |
| 75 | qcom,saw2-spm-ctl = <0x1>; |
Mahesh Sivasubramanian | 1137332 | 2012-06-14 11:17:20 -0600 | [diff] [blame] | 76 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 77 | qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 |
| 78 | 0b 00 42 1b 0f]; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 79 | qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 |
| 80 | 10 0b 30 06 26 30 0f]; |
| 81 | qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 |
| 82 | 10 0b 30 06 26 30 0f]; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | qcom,spm@f90b9000 { |
| 86 | compatible = "qcom,spm-v2"; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <1>; |
| 89 | reg = <0xf90b9000 0x1000>; |
| 90 | qcom,core-id = <3>; |
| 91 | qcom,saw2-ver-reg = <0xfd0>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 92 | qcom,saw2-cfg = <0x01>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 93 | qcom,saw2-avs-ctl = <0>; |
| 94 | qcom,saw2-avs-hysteresis = <0>; |
| 95 | qcom,saw2-avs-limit = <0>; |
| 96 | qcom,saw2-avs-dly= <0>; |
| 97 | qcom,saw2-spm-dly= <0x20000400>; |
| 98 | qcom,saw2-spm-ctl = <0x1>; |
Mahesh Sivasubramanian | 1137332 | 2012-06-14 11:17:20 -0600 | [diff] [blame] | 99 | qcom,saw2-spm-cmd-wfi = [03 0b 0f]; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 100 | qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0 |
| 101 | 0b 00 42 1b 0f]; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 102 | qcom,saw2-spm-cmd-spc = [00 20 80 10 90 a0 b0 03 3b 98 a2 b0 82 |
| 103 | 10 0b 30 06 26 30 0f]; |
| 104 | qcom,saw2-spm-cmd-pc = [00 20 80 10 90 a0 b0 07 3b 98 a2 b0 82 |
| 105 | 10 0b 30 06 26 30 0f]; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | qcom,spm@f9012000 { |
| 109 | compatible = "qcom,spm-v2"; |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <1>; |
| 112 | reg = <0xf9012000 0x1000>; |
| 113 | qcom,core-id = <0xffff>; /* L2/APCS SAW */ |
| 114 | qcom,saw2-ver-reg = <0xfd0>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 115 | qcom,saw2-cfg = <0x14>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 116 | qcom,saw2-avs-ctl = <0>; |
| 117 | qcom,saw2-avs-hysteresis = <0>; |
| 118 | qcom,saw2-avs-limit = <0>; |
| 119 | qcom,saw2-avs-dly= <0>; |
| 120 | qcom,saw2-spm-dly= <0x20000400>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 121 | qcom,saw2-spm-ctl = <0x1>; |
Praveen Chidambaram | 32e3a9e | 2012-08-22 11:32:52 -0600 | [diff] [blame] | 122 | qcom,saw2-pmic-data0 = <0x02030080>; |
| 123 | qcom,saw2-pmic-data1 = <0x00030000>; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 124 | qcom,vctl-timeout-us = <50>; |
Mahesh Sivasubramanian | 635237e | 2012-08-10 10:14:35 -0600 | [diff] [blame] | 125 | qcom,vctl-port = <0x0>; |
| 126 | qcom,phase-port = <0x1>; |
Praveen Chidambaram | b7253e4 | 2012-07-12 16:20:48 -0600 | [diff] [blame] | 127 | qcom,pfm-port = <0x2>; |
Mahesh Sivasubramanian | a6af618 | 2012-11-01 17:19:51 -0600 | [diff] [blame] | 128 | qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f]; |
Mahesh Sivasubramanian | b929708 | 2012-10-03 18:01:26 -0600 | [diff] [blame] | 129 | qcom,saw2-spm-cmd-gdhs = [00 20 32 42 07 44 22 50 02 32 50 0f]; |
| 130 | qcom,saw2-spm-cmd-pc = [00 10 32 b0 11 42 07 01 b0 12 44 |
| 131 | 50 02 32 50 0f]; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 132 | }; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 133 | |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 134 | qcom,lpm-resources { |
| 135 | compatible = "qcom,lpm-resources"; |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
| 138 | |
| 139 | qcom,lpm-resources@0 { |
| 140 | reg = <0x0>; |
| 141 | qcom,name = "vdd-dig"; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 142 | qcom,resource-type = <0>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 143 | qcom,type = <0x62706d73>; /* "smpb" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 144 | qcom,id = <0x02>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 145 | qcom,key = <0x6e726f63>; /* "corn" */ |
Mahesh Sivasubramanian | b76fb5e | 2012-11-05 14:40:09 -0700 | [diff] [blame] | 146 | qcom,init-value = <5>; /* Super Turbo */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 147 | }; |
| 148 | |
| 149 | qcom,lpm-resources@1 { |
| 150 | reg = <0x1>; |
| 151 | qcom,name = "vdd-mem"; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 152 | qcom,resource-type = <0>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 153 | qcom,type = <0x62706d73>; /* "smpb" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 154 | qcom,id = <0x01>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 155 | qcom,key = <0x7675>; /* "uv" */ |
Mahesh Sivasubramanian | b76fb5e | 2012-11-05 14:40:09 -0700 | [diff] [blame] | 156 | qcom,init-value = <1050000>; /* Super Turbo */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 157 | }; |
| 158 | |
| 159 | qcom,lpm-resources@2 { |
| 160 | reg = <0x2>; |
| 161 | qcom,name = "pxo"; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 162 | qcom,resource-type = <0>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 163 | qcom,type = <0x306b6c63>; /* "clk0" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 164 | qcom,id = <0x00>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 165 | qcom,key = <0x62616e45>; /* "Enab" */ |
Mahesh Sivasubramanian | b76fb5e | 2012-11-05 14:40:09 -0700 | [diff] [blame] | 166 | qcom,init-value = <1>; /* On */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 167 | }; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 168 | |
| 169 | qcom,lpm-resources@3 { |
| 170 | reg = <0x3>; |
| 171 | qcom,name = "l2"; |
| 172 | qcom,resource-type = <1>; |
Mahesh Sivasubramanian | 09fce7f | 2012-11-01 18:01:21 -0600 | [diff] [blame] | 173 | qcom,init-value = <2>; /* Retention */ |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 174 | }; |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 175 | }; |
| 176 | |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 177 | qcom,lpm-levels { |
| 178 | compatible = "qcom,lpm-levels"; |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
| 181 | |
Priyanka Mathur | d61f67f | 2013-01-17 11:16:06 -0800 | [diff] [blame] | 182 | qcom,use-qtimer; |
| 183 | |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 184 | qcom,lpm-level@0 { |
| 185 | reg = <0x0>; |
| 186 | qcom,mode = <0>; /* MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT */ |
| 187 | qcom,xo = <1>; /* ON */ |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 188 | qcom,l2 = <3>; /* ACTIVE */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 189 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 190 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 191 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 192 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 193 | qcom,irqs-detectable; |
| 194 | qcom.gpios-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 195 | qcom,latency-us = <1>; |
| 196 | qcom,ss-power = <784>; |
| 197 | qcom,energy-overhead = <190000>; |
| 198 | qcom,time-overhead = <100>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 199 | }; |
| 200 | |
| 201 | qcom,lpm-level@1 { |
| 202 | reg = <0x1>; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 203 | qcom,mode = <4>; /* MSM_PM_SLEEP_MODE_RETENTION*/ |
| 204 | qcom,xo = <1>; /* ON */ |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 205 | qcom,l2 = <3>; /* ACTIVE */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 206 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 207 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 208 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 209 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 210 | qcom,irqs-detectable; |
| 211 | qcom.gpios-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 212 | qcom,latency-us = <75>; |
| 213 | qcom,ss-power = <735>; |
| 214 | qcom,energy-overhead = <77341>; |
| 215 | qcom,time-overhead = <105>; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 216 | }; |
| 217 | |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 218 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 219 | qcom,lpm-level@2 { |
| 220 | reg = <0x2>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 221 | qcom,mode = <2>; /* MSM_PM_SLEEP_MODE_STANDALONE_POWER_COLLAPSE */ |
| 222 | qcom,xo = <1>; /* ON */ |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 223 | qcom,l2 = <3>; /* ACTIVE */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 224 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 225 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 226 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 227 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 228 | qcom,irqs-detectable; |
| 229 | qcom.gpios-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 230 | qcom,latency-us = <95>; |
| 231 | qcom,ss-power = <725>; |
| 232 | qcom,energy-overhead = <99500>; |
| 233 | qcom,time-overhead = <130>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 234 | }; |
| 235 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 236 | qcom,lpm-level@3 { |
| 237 | reg = <0x3>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 238 | qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 239 | qcom,xo = <1>; /* ON */ |
| 240 | qcom,l2 = <1>; /* GDHS */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 241 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 242 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 243 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 244 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 245 | qcom,irqs-detectable; |
| 246 | qcom.gpios-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 247 | qcom,latency-us = <2000>; |
| 248 | qcom,ss-power = <138>; |
| 249 | qcom,energy-overhead = <1208400>; |
| 250 | qcom,time-overhead = <3200>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 251 | }; |
| 252 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 253 | qcom,lpm-level@4 { |
| 254 | reg = <0x4>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 255 | qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 256 | qcom,xo = <1>; /* ON */ |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 257 | qcom,l2 = <0>; /* OFF */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 258 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 259 | qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ |
| 260 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 261 | qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 262 | qcom,irqs-detectable; |
| 263 | qcom.gpios-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 264 | qcom,latency-us = <3000>; |
| 265 | qcom,ss-power = <110>; |
| 266 | qcom,energy-overhead = <1250300>; |
| 267 | qcom,time-overhead = <3500>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 268 | }; |
| 269 | |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 270 | qcom,lpm-level@5 { |
| 271 | reg = <0x5>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 272 | qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 273 | qcom,xo = <0>; /* OFF */ |
| 274 | qcom,l2 = <1>; /* GDHS */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 275 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 276 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 277 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 278 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 279 | qcom,latency-us = <3000>; |
| 280 | qcom,ss-power = <68>; |
| 281 | qcom,energy-overhead = <1350200>; |
| 282 | qcom,time-overhead = <4000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 283 | }; |
| 284 | |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 285 | qcom,lpm-level@6 { |
| 286 | reg = <0x6>; |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 287 | qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 288 | qcom,xo = <0>; /* OFF */ |
| 289 | qcom,l2 = <0>; /* OFF */ |
| 290 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 291 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 292 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 293 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
| 294 | qcom,latency-us = <10300>; |
| 295 | qcom,ss-power = <63>; |
| 296 | qcom,energy-overhead = <2128000>; |
| 297 | qcom,time-overhead = <18200>; |
| 298 | }; |
| 299 | |
| 300 | qcom,lpm-level@7 { |
| 301 | reg = <0x7>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 302 | qcom,mode= <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 303 | qcom,xo = <0>; /* OFF */ |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 304 | qcom,l2 = <0>; /* OFF */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 305 | qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ |
| 306 | qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ |
| 307 | qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ |
| 308 | qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 309 | qcom,latency-us = <18000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 310 | qcom,ss-power = <10>; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 311 | qcom,energy-overhead = <3202600>; |
| 312 | qcom,time-overhead = <27000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 313 | }; |
| 314 | |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 315 | qcom,lpm-level@8 { |
| 316 | reg = <0x8>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 317 | qcom,mode= <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */ |
| 318 | qcom,xo = <0>; /* OFF */ |
| 319 | qcom,l2 = <0>; /* OFF */ |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 320 | qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ |
| 321 | qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ |
| 322 | qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ |
| 323 | qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 324 | qcom,latency-us = <20000>; |
| 325 | qcom,ss-power = <2>; |
| 326 | qcom,energy-overhead = <4252000>; |
| 327 | qcom,time-overhead = <32000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 328 | }; |
| 329 | }; |
Praveen Chidambaram | 7d4167b | 2012-04-30 17:37:48 -0600 | [diff] [blame] | 330 | |
| 331 | qcom,pm-boot { |
| 332 | compatible = "qcom,pm-boot"; |
| 333 | qcom,mode = <0>; /* MSM_PM_BOOT_CONFIG_TZ */ |
| 334 | }; |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 335 | |
| 336 | qcom,mpm@fc4281d0 { |
| 337 | compatible = "qcom,mpm-v2"; |
| 338 | reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ |
Mahesh Sivasubramanian | 7517890 | 2012-08-24 19:43:50 -0600 | [diff] [blame] | 339 | <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 340 | reg-names = "vmpm", "ipc"; |
| 341 | interrupts = <0 171 1>; |
| 342 | |
Mahesh Sivasubramanian | 7517890 | 2012-08-24 19:43:50 -0600 | [diff] [blame] | 343 | qcom,ipc-bit-offset = <1>; |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 344 | |
| 345 | qcom,gic-parent = <&intc>; |
Mahesh Sivasubramanian | 25cb44d | 2012-09-07 11:16:02 -0600 | [diff] [blame] | 346 | qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 347 | <53 104>, /* mdss_irq */ |
Mahesh Sivasubramanian | 512efcc | 2012-09-07 11:16:02 -0600 | [diff] [blame] | 348 | <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 349 | <0xff 57>, /* mss_to_apps_irq(0) */ |
| 350 | <0xff 58>, /* mss_to_apps_irq(1) */ |
| 351 | <0xff 59>, /* mss_to_apps_irq(2) */ |
| 352 | <0xff 60>, /* mss_to_apps_irq(3) */ |
| 353 | <0xff 173>, /* o_wcss_apss_smd_hi */ |
| 354 | <0xff 174>, /* o_wcss_apss_smd_med */ |
| 355 | <0xff 175>, /* o_wcss_apss_smd_low */ |
| 356 | <0xff 176>, /* o_wcss_apss_smsm_irq */ |
| 357 | <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ |
| 358 | <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ |
| 359 | <0xff 179>, /* o_wcss_apss_asic_intr |
| 360 | |
| 361 | <0xff 188>, /* lpass_irq_out_apcs(0) */ |
| 362 | <0xff 189>, /* lpass_irq_out_apcs(1) */ |
| 363 | <0xff 190>, /* lpass_irq_out_apcs(2) */ |
| 364 | <0xff 191>, /* lpass_irq_out_apcs(3) */ |
| 365 | <0xff 192>, /* lpass_irq_out_apcs(4) */ |
| 366 | <0xff 193>, /* lpass_irq_out_apcs(5) */ |
| 367 | <0xff 194>, /* lpass_irq_out_apcs(6) */ |
| 368 | <0xff 195>, /* lpass_irq_out_apcs(7) */ |
| 369 | <0xff 196>, /* lpass_irq_out_apcs(8) */ |
| 370 | <0xff 197>, /* lpass_irq_out_apcs(9) */ |
| 371 | <0xff 200>, /* rpm_ipc(4) */ |
| 372 | <0xff 201>, /* rpm_ipc(5) */ |
| 373 | <0xff 202>, /* rpm_ipc(6) */ |
| 374 | <0xff 203>, /* rpm_ipc(7) */ |
| 375 | <0xff 204>, /* rpm_ipc(24) */ |
| 376 | <0xff 205>, /* rpm_ipc(25) */ |
| 377 | <0xff 206>, /* rpm_ipc(26) */ |
| 378 | <0xff 207>, /* rpm_ipc(27) */ |
| 379 | <0xff 240>; /* summary_irq_kpss */ |
| 380 | |
| 381 | qcom,gpio-parent = <&msmgpio>; |
| 382 | qcom,gpio-map = <3 102>, |
| 383 | <4 1 >, |
| 384 | <5 5 >, |
| 385 | <6 9 >, |
| 386 | <7 18>, |
| 387 | <8 20>, |
| 388 | <9 24>, |
| 389 | <10 27>, |
| 390 | <11 28>, |
| 391 | <12 34>, |
| 392 | <13 35>, |
| 393 | <14 37>, |
| 394 | <15 42>, |
| 395 | <16 44>, |
| 396 | <17 46>, |
| 397 | <18 50>, |
| 398 | <19 54>, |
| 399 | <20 59>, |
| 400 | <21 61>, |
| 401 | <22 62>, |
| 402 | <23 64>, |
| 403 | <24 65>, |
| 404 | <25 66>, |
| 405 | <26 67>, |
| 406 | <27 68>, |
| 407 | <28 71>, |
| 408 | <29 72>, |
| 409 | <30 73>, |
| 410 | <31 74>, |
| 411 | <32 75>, |
| 412 | <33 77>, |
| 413 | <34 79>, |
| 414 | <35 80>, |
| 415 | <36 82>, |
| 416 | <37 86>, |
| 417 | <38 92>, |
| 418 | <39 93>, |
| 419 | <40 95>; |
| 420 | }; |
Mahesh Sivasubramanian | aa68439 | 2012-08-14 14:56:33 -0600 | [diff] [blame] | 421 | |
Praveen Chidambaram | f27a515 | 2013-02-01 11:44:53 -0700 | [diff] [blame] | 422 | qcom,pm-8x60@fe805664 { |
Girish Mahadevan | 1dfeae9 | 2012-10-30 15:28:01 -0600 | [diff] [blame] | 423 | compatible = "qcom,pm-8x60"; |
Mahesh Sivasubramanian | 2de89eb | 2013-03-11 16:53:37 -0600 | [diff] [blame^] | 424 | #address-cells = <1>; |
| 425 | #size-cells = <1>; |
| 426 | ranges; |
Praveen Chidambaram | f27a515 | 2013-02-01 11:44:53 -0700 | [diff] [blame] | 427 | reg = <0xfe805664 0x40>; |
Girish Mahadevan | 1dfeae9 | 2012-10-30 15:28:01 -0600 | [diff] [blame] | 428 | qcom,pc-mode = <0>; /*MSM_PC_TZ_L2_INT */ |
| 429 | qcom,use-sync-timer; |
Mahesh Sivasubramanian | 2de89eb | 2013-03-11 16:53:37 -0600 | [diff] [blame^] | 430 | |
| 431 | qcom,cpu-sleep-status@f9088008 { |
| 432 | compatible = "qcom,cpu-sleep-status"; |
| 433 | reg = <0xf9088008 0x4>; |
| 434 | qcom,cpu-alias-addr = <0x10000>; |
| 435 | qcom,sleep-status-mask= <0x80000>; |
| 436 | }; |
Girish Mahadevan | 1dfeae9 | 2012-10-30 15:28:01 -0600 | [diff] [blame] | 437 | }; |
Priyanka Mathur | c3c2e29 | 2012-10-31 12:51:38 -0700 | [diff] [blame] | 438 | |
Priyanka Mathur | 787ebcd | 2012-12-10 15:06:19 -0800 | [diff] [blame] | 439 | qcom,rpm-log@fc19dc00 { |
| 440 | compatible = "qcom,rpm-log"; |
| 441 | reg = <0xfc19dc00 0x4000>; |
| 442 | qcom,rpm-addr-phys = <0xfc000000>; |
| 443 | qcom,offset-version = <4>; |
| 444 | qcom,offset-page-buffer-addr = <36>; |
| 445 | qcom,offset-log-len = <40>; |
| 446 | qcom,offset-log-len-mask = <44>; |
| 447 | qcom,offset-page-indices = <56>; |
| 448 | }; |
| 449 | |
Priyanka Mathur | c3c2e29 | 2012-10-31 12:51:38 -0700 | [diff] [blame] | 450 | qcom,rpm-stats@0xfc19dbd0{ |
| 451 | compatible = "qcom,rpm-stats"; |
| 452 | reg = <0xfc19dbd0 0x1000>; |
| 453 | reg-names = "phys_addr_base"; |
| 454 | qcom,sleep-stats-version = <2>; |
| 455 | }; |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 456 | }; |