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 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 15 | &soc { |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 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 | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 142 | qcom,type = <0x62706d73>; /* "smpb" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 143 | qcom,id = <0x02>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 144 | qcom,key = <0x6e726f63>; /* "corn" */ |
Girish Mahadevan | 67d5f2f | 2013-04-10 11:03:24 -0600 | [diff] [blame] | 145 | qcom,init-value = <6>; /* Super Turbo */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 146 | }; |
| 147 | |
| 148 | qcom,lpm-resources@1 { |
| 149 | reg = <0x1>; |
| 150 | qcom,name = "vdd-mem"; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 151 | qcom,type = <0x62706d73>; /* "smpb" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 152 | qcom,id = <0x01>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 153 | qcom,key = <0x7675>; /* "uv" */ |
Mahesh Sivasubramanian | b76fb5e | 2012-11-05 14:40:09 -0700 | [diff] [blame] | 154 | qcom,init-value = <1050000>; /* Super Turbo */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 155 | }; |
| 156 | |
| 157 | qcom,lpm-resources@2 { |
| 158 | reg = <0x2>; |
| 159 | qcom,name = "pxo"; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 160 | qcom,type = <0x306b6c63>; /* "clk0" */ |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 161 | qcom,id = <0x00>; |
Girish Mahadevan | a9964a5 | 2012-06-29 10:14:09 -0600 | [diff] [blame] | 162 | qcom,key = <0x62616e45>; /* "Enab" */ |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 163 | qcom,init-value = "xo_on"; |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 164 | }; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 165 | |
| 166 | qcom,lpm-resources@3 { |
| 167 | reg = <0x3>; |
| 168 | qcom,name = "l2"; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 169 | qcom,local-resource-type; |
| 170 | qcom,init-value = "l2_cache_retention"; |
Girish Mahadevan | 6bd32df | 2012-09-25 09:31:30 -0600 | [diff] [blame] | 171 | }; |
Girish Mahadevan | 40abbe1 | 2012-04-25 14:58:13 -0600 | [diff] [blame] | 172 | }; |
| 173 | |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 174 | qcom,lpm-levels { |
| 175 | compatible = "qcom,lpm-levels"; |
| 176 | #address-cells = <1>; |
| 177 | #size-cells = <0>; |
| 178 | |
Priyanka Mathur | d61f67f | 2013-01-17 11:16:06 -0800 | [diff] [blame] | 179 | qcom,use-qtimer; |
| 180 | |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 181 | qcom,lpm-level@0 { |
| 182 | reg = <0x0>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 183 | qcom,mode = "wfi"; |
| 184 | qcom,xo = "xo_on"; |
| 185 | qcom,l2 = "l2_cache_active"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 186 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 187 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 188 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 189 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 190 | qcom,irqs-detectable; |
Priyanka Mathur | 0493382 | 2013-03-25 18:41:01 -0700 | [diff] [blame] | 191 | qcom,gpio-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 192 | qcom,latency-us = <1>; |
| 193 | qcom,ss-power = <784>; |
| 194 | qcom,energy-overhead = <190000>; |
| 195 | qcom,time-overhead = <100>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 196 | }; |
| 197 | |
| 198 | qcom,lpm-level@1 { |
| 199 | reg = <0x1>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 200 | qcom,mode = "retention"; |
| 201 | qcom,xo = "xo_on"; |
| 202 | qcom,l2 = "l2_cache_active"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 203 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 204 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 205 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 206 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 207 | qcom,irqs-detectable; |
Priyanka Mathur | 0493382 | 2013-03-25 18:41:01 -0700 | [diff] [blame] | 208 | qcom,gpio-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 209 | qcom,latency-us = <75>; |
| 210 | qcom,ss-power = <735>; |
| 211 | qcom,energy-overhead = <77341>; |
| 212 | qcom,time-overhead = <105>; |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 213 | }; |
| 214 | |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 215 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 216 | qcom,lpm-level@2 { |
| 217 | reg = <0x2>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 218 | qcom,mode = "standalone_pc"; |
| 219 | qcom,xo = "xo_on"; |
| 220 | qcom,l2 = "l2_cache_active"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 221 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 222 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 223 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 224 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 225 | qcom,irqs-detectable; |
Priyanka Mathur | 0493382 | 2013-03-25 18:41:01 -0700 | [diff] [blame] | 226 | qcom,gpio-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 227 | qcom,latency-us = <95>; |
| 228 | qcom,ss-power = <725>; |
| 229 | qcom,energy-overhead = <99500>; |
| 230 | qcom,time-overhead = <130>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 231 | }; |
| 232 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 233 | qcom,lpm-level@3 { |
| 234 | reg = <0x3>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 235 | qcom,mode = "pc"; |
| 236 | qcom,xo = "xo_on"; |
| 237 | qcom,l2 = "l2_cache_gdhs"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 238 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 239 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 240 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 241 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 242 | qcom,irqs-detectable; |
Priyanka Mathur | 0493382 | 2013-03-25 18:41:01 -0700 | [diff] [blame] | 243 | qcom,gpio-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 244 | qcom,latency-us = <2000>; |
| 245 | qcom,ss-power = <138>; |
| 246 | qcom,energy-overhead = <1208400>; |
| 247 | qcom,time-overhead = <3200>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 248 | }; |
| 249 | |
Priyanka Mathur | 60ac758 | 2012-10-03 15:13:32 -0700 | [diff] [blame] | 250 | qcom,lpm-level@4 { |
| 251 | reg = <0x4>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 252 | qcom,mode = "pc"; |
| 253 | qcom,xo = "xo_on"; |
| 254 | qcom,l2 = "l2_cache_pc"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 255 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 256 | qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ |
| 257 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 258 | qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ |
Mahesh Sivasubramanian | b71ce09 | 2013-01-08 13:44:23 -0700 | [diff] [blame] | 259 | qcom,irqs-detectable; |
Priyanka Mathur | 0493382 | 2013-03-25 18:41:01 -0700 | [diff] [blame] | 260 | qcom,gpio-detectable; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 261 | qcom,latency-us = <3000>; |
| 262 | qcom,ss-power = <110>; |
| 263 | qcom,energy-overhead = <1250300>; |
| 264 | qcom,time-overhead = <3500>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 265 | }; |
| 266 | |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 267 | qcom,lpm-level@5 { |
| 268 | reg = <0x5>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 269 | qcom,mode = "pc"; |
| 270 | qcom,xo = "xo_off"; |
| 271 | qcom,l2 = "l2_cache_gdhs"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 272 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 273 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 274 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 275 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 276 | qcom,latency-us = <3000>; |
| 277 | qcom,ss-power = <68>; |
| 278 | qcom,energy-overhead = <1350200>; |
| 279 | qcom,time-overhead = <4000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 280 | }; |
| 281 | |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 282 | qcom,lpm-level@6 { |
| 283 | reg = <0x6>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 284 | qcom,mode = "pc"; |
| 285 | qcom,xo = "xo_off"; |
| 286 | qcom,l2 = "l2_cache_pc"; |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 287 | qcom,vdd-mem-upper-bound = <1050000>; /* SUPER TURBO */ |
| 288 | qcom,vdd-mem-lower-bound = <950000>; /* NORMAL */ |
| 289 | qcom,vdd-dig-upper-bound = <6>; /* SUPER TURBO */ |
| 290 | qcom,vdd-dig-lower-bound = <4>; /* NORMAL */ |
| 291 | qcom,latency-us = <10300>; |
| 292 | qcom,ss-power = <63>; |
| 293 | qcom,energy-overhead = <2128000>; |
| 294 | qcom,time-overhead = <18200>; |
| 295 | }; |
| 296 | |
| 297 | qcom,lpm-level@7 { |
| 298 | reg = <0x7>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 299 | qcom,mode= "pc"; |
| 300 | qcom,xo = "xo_off"; |
| 301 | qcom,l2 = "l2_cache_pc"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 302 | qcom,vdd-mem-upper-bound = <950000>; /* NORMAL */ |
| 303 | qcom,vdd-mem-lower-bound = <950000>; /* SVS SOC */ |
| 304 | qcom,vdd-dig-upper-bound = <4>; /* NORMAL */ |
| 305 | qcom,vdd-dig-lower-bound = <3>; /* SVS SOC */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 306 | qcom,latency-us = <18000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 307 | qcom,ss-power = <10>; |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 308 | qcom,energy-overhead = <3202600>; |
| 309 | qcom,time-overhead = <27000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 310 | }; |
| 311 | |
Girish Mahadevan | 86a851c | 2013-02-08 17:21:33 -0700 | [diff] [blame] | 312 | qcom,lpm-level@8 { |
| 313 | reg = <0x8>; |
Archana Sathyakumar | e6a3510 | 2013-01-31 16:18:49 -0700 | [diff] [blame] | 314 | qcom,mode= "pc"; |
| 315 | qcom,xo = "xo_off"; |
| 316 | qcom,l2 = "l2_cache_pc"; |
Girish Mahadevan | 90a2f66 | 2012-11-01 09:34:46 -0600 | [diff] [blame] | 317 | qcom,vdd-mem-upper-bound = <950000>; /* SVS SOC */ |
| 318 | qcom,vdd-mem-lower-bound = <675000>; /* RETENTION */ |
| 319 | qcom,vdd-dig-upper-bound = <3>; /* SVS SOC */ |
| 320 | qcom,vdd-dig-lower-bound = <1>; /* RETENTION */ |
Girish Mahadevan | 02d7bba | 2012-11-16 17:11:04 -0700 | [diff] [blame] | 321 | qcom,latency-us = <20000>; |
| 322 | qcom,ss-power = <2>; |
| 323 | qcom,energy-overhead = <4252000>; |
| 324 | qcom,time-overhead = <32000>; |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 325 | }; |
| 326 | }; |
Praveen Chidambaram | 7d4167b | 2012-04-30 17:37:48 -0600 | [diff] [blame] | 327 | |
| 328 | qcom,pm-boot { |
| 329 | compatible = "qcom,pm-boot"; |
Archana Sathyakumar | 2844101 | 2013-02-01 17:45:38 -0700 | [diff] [blame] | 330 | qcom,mode = "tz"; |
Praveen Chidambaram | 7d4167b | 2012-04-30 17:37:48 -0600 | [diff] [blame] | 331 | }; |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 332 | |
| 333 | qcom,mpm@fc4281d0 { |
| 334 | compatible = "qcom,mpm-v2"; |
| 335 | reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */ |
Mahesh Sivasubramanian | 7517890 | 2012-08-24 19:43:50 -0600 | [diff] [blame] | 336 | <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 337 | reg-names = "vmpm", "ipc"; |
| 338 | interrupts = <0 171 1>; |
| 339 | |
Mahesh Sivasubramanian | 7517890 | 2012-08-24 19:43:50 -0600 | [diff] [blame] | 340 | qcom,ipc-bit-offset = <1>; |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 341 | |
| 342 | qcom,gic-parent = <&intc>; |
Siddartha Mohanadoss | e511a6e | 2013-05-10 09:54:02 -0700 | [diff] [blame] | 343 | qcom,gic-map = <2 216>, /* tsens_upper_lower_int */ |
| 344 | <47 165>, /* usb30_hs_phy_irq */ |
Manu Gautam | 512a690 | 2013-03-14 17:20:23 +0530 | [diff] [blame] | 345 | <50 172>, /* usb1_hs_async_wakeup_irq */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 346 | <53 104>, /* mdss_irq */ |
Mahesh Sivasubramanian | 512efcc | 2012-09-07 11:16:02 -0600 | [diff] [blame] | 347 | <62 222>, /* ee0_krait_hlos_spmi_periph_irq */ |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 348 | <0xff 57>, /* mss_to_apps_irq(0) */ |
| 349 | <0xff 58>, /* mss_to_apps_irq(1) */ |
| 350 | <0xff 59>, /* mss_to_apps_irq(2) */ |
| 351 | <0xff 60>, /* mss_to_apps_irq(3) */ |
| 352 | <0xff 173>, /* o_wcss_apss_smd_hi */ |
| 353 | <0xff 174>, /* o_wcss_apss_smd_med */ |
| 354 | <0xff 175>, /* o_wcss_apss_smd_low */ |
| 355 | <0xff 176>, /* o_wcss_apss_smsm_irq */ |
| 356 | <0xff 177>, /* o_wcss_apss_wlan_data_xfer_done */ |
| 357 | <0xff 178>, /* o_wcss_apss_wlan_rx_data_avail */ |
| 358 | <0xff 179>, /* o_wcss_apss_asic_intr |
| 359 | |
| 360 | <0xff 188>, /* lpass_irq_out_apcs(0) */ |
| 361 | <0xff 189>, /* lpass_irq_out_apcs(1) */ |
| 362 | <0xff 190>, /* lpass_irq_out_apcs(2) */ |
| 363 | <0xff 191>, /* lpass_irq_out_apcs(3) */ |
| 364 | <0xff 192>, /* lpass_irq_out_apcs(4) */ |
| 365 | <0xff 193>, /* lpass_irq_out_apcs(5) */ |
| 366 | <0xff 194>, /* lpass_irq_out_apcs(6) */ |
| 367 | <0xff 195>, /* lpass_irq_out_apcs(7) */ |
| 368 | <0xff 196>, /* lpass_irq_out_apcs(8) */ |
| 369 | <0xff 197>, /* lpass_irq_out_apcs(9) */ |
| 370 | <0xff 200>, /* rpm_ipc(4) */ |
| 371 | <0xff 201>, /* rpm_ipc(5) */ |
| 372 | <0xff 202>, /* rpm_ipc(6) */ |
| 373 | <0xff 203>, /* rpm_ipc(7) */ |
| 374 | <0xff 204>, /* rpm_ipc(24) */ |
| 375 | <0xff 205>, /* rpm_ipc(25) */ |
| 376 | <0xff 206>, /* rpm_ipc(26) */ |
| 377 | <0xff 207>, /* rpm_ipc(27) */ |
| 378 | <0xff 240>; /* summary_irq_kpss */ |
| 379 | |
| 380 | qcom,gpio-parent = <&msmgpio>; |
| 381 | qcom,gpio-map = <3 102>, |
| 382 | <4 1 >, |
| 383 | <5 5 >, |
| 384 | <6 9 >, |
| 385 | <7 18>, |
| 386 | <8 20>, |
| 387 | <9 24>, |
| 388 | <10 27>, |
| 389 | <11 28>, |
| 390 | <12 34>, |
| 391 | <13 35>, |
| 392 | <14 37>, |
| 393 | <15 42>, |
| 394 | <16 44>, |
| 395 | <17 46>, |
| 396 | <18 50>, |
| 397 | <19 54>, |
| 398 | <20 59>, |
| 399 | <21 61>, |
| 400 | <22 62>, |
| 401 | <23 64>, |
| 402 | <24 65>, |
| 403 | <25 66>, |
| 404 | <26 67>, |
| 405 | <27 68>, |
| 406 | <28 71>, |
| 407 | <29 72>, |
| 408 | <30 73>, |
| 409 | <31 74>, |
| 410 | <32 75>, |
| 411 | <33 77>, |
| 412 | <34 79>, |
| 413 | <35 80>, |
| 414 | <36 82>, |
| 415 | <37 86>, |
| 416 | <38 92>, |
| 417 | <39 93>, |
Manu Gautam | 57c8812 | 2013-03-11 14:27:11 +0530 | [diff] [blame] | 418 | <40 95>, |
| 419 | <41 144>; |
Mahesh Sivasubramanian | 01df14d | 2012-05-04 17:35:55 -0600 | [diff] [blame] | 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>; |
Archana Sathyakumar | 2b91dc8 | 2013-02-01 17:38:23 -0700 | [diff] [blame] | 428 | qcom,pc-mode = "tz_l2_int"; |
Girish Mahadevan | 1dfeae9 | 2012-10-30 15:28:01 -0600 | [diff] [blame] | 429 | qcom,use-sync-timer; |
Mahesh Sivasubramanian | 59ffcb0 | 2013-05-31 15:08:15 -0600 | [diff] [blame^] | 430 | }; |
Mahesh Sivasubramanian | 2de89eb | 2013-03-11 16:53:37 -0600 | [diff] [blame] | 431 | |
Mahesh Sivasubramanian | 59ffcb0 | 2013-05-31 15:08:15 -0600 | [diff] [blame^] | 432 | qcom,cpu-sleep-status@f9088008 { |
| 433 | compatible = "qcom,cpu-sleep-status"; |
| 434 | reg = <0xf9088008 0x4>; |
| 435 | qcom,cpu-alias-addr = <0x10000>; |
| 436 | qcom,sleep-status-mask= <0x80000>; |
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 | 953b34a | 2013-04-11 16:13:30 -0700 | [diff] [blame] | 450 | qcom,rpm-stats@fc19dba0 { |
Priyanka Mathur | c3c2e29 | 2012-10-31 12:51:38 -0700 | [diff] [blame] | 451 | compatible = "qcom,rpm-stats"; |
Priyanka Mathur | 953b34a | 2013-04-11 16:13:30 -0700 | [diff] [blame] | 452 | reg = <0xfc19dba0 0x1000>; |
Priyanka Mathur | c3c2e29 | 2012-10-31 12:51:38 -0700 | [diff] [blame] | 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 | }; |