blob: 2de5fad8a5ed5ed0abf7e6c05e1c9082bec824f5 [file] [log] [blame]
Girish Mahadevan90a2f662012-11-01 09:34:46 -06001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -06002 *
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 Sivasubramanian635237e2012-08-10 10:14:35 -060023 qcom,saw2-cfg = <0x01>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -060024 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 Sivasubramanian11373322012-06-14 11:17:20 -060030 qcom,saw2-spm-cmd-wfi = [03 0b 0f];
Priyanka Mathur60ac7582012-10-03 15:13:32 -070031 qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0
32 0b 00 42 1b 0f];
Mahesh Sivasubramanian635237e2012-08-10 10:14:35 -060033 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 Chidambaramaa9d52b2012-04-02 11:09:47 -060037 };
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 Sivasubramanian635237e2012-08-10 10:14:35 -060046 qcom,saw2-cfg = <0x01>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -060047 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 Sivasubramanian11373322012-06-14 11:17:20 -060053 qcom,saw2-spm-cmd-wfi = [03 0b 0f];
Priyanka Mathur60ac7582012-10-03 15:13:32 -070054 qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0
55 0b 00 42 1b 0f];
Mahesh Sivasubramanian635237e2012-08-10 10:14:35 -060056 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 Chidambaramaa9d52b2012-04-02 11:09:47 -060060 };
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 Sivasubramanian635237e2012-08-10 10:14:35 -060069 qcom,saw2-cfg = <0x01>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -060070 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 Sivasubramanian11373322012-06-14 11:17:20 -060076 qcom,saw2-spm-cmd-wfi = [03 0b 0f];
Priyanka Mathur60ac7582012-10-03 15:13:32 -070077 qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0
78 0b 00 42 1b 0f];
Mahesh Sivasubramanian635237e2012-08-10 10:14:35 -060079 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 Chidambaramaa9d52b2012-04-02 11:09:47 -060083 };
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 Sivasubramanian635237e2012-08-10 10:14:35 -060092 qcom,saw2-cfg = <0x01>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -060093 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 Sivasubramanian11373322012-06-14 11:17:20 -060099 qcom,saw2-spm-cmd-wfi = [03 0b 0f];
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700100 qcom,saw2-spm-cmd-ret = [42 1b 00 d0 c0 a0 90 03 d0 98 a2 c0
101 0b 00 42 1b 0f];
Mahesh Sivasubramanian635237e2012-08-10 10:14:35 -0600102 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 Chidambaramaa9d52b2012-04-02 11:09:47 -0600106 };
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 Sivasubramanian635237e2012-08-10 10:14:35 -0600115 qcom,saw2-cfg = <0x14>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600116 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 Sivasubramanian635237e2012-08-10 10:14:35 -0600121 qcom,saw2-spm-ctl = <0x1>;
Praveen Chidambaram32e3a9e2012-08-22 11:32:52 -0600122 qcom,saw2-pmic-data0 = <0x02030080>;
123 qcom,saw2-pmic-data1 = <0x00030000>;
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600124 qcom,vctl-timeout-us = <50>;
Mahesh Sivasubramanian635237e2012-08-10 10:14:35 -0600125 qcom,vctl-port = <0x0>;
126 qcom,phase-port = <0x1>;
Praveen Chidambaramb7253e42012-07-12 16:20:48 -0600127 qcom,pfm-port = <0x2>;
Mahesh Sivasubramaniana6af6182012-11-01 17:19:51 -0600128 qcom,saw2-spm-cmd-ret = [1f 00 20 03 22 00 0f];
Mahesh Sivasubramanianb9297082012-10-03 18:01:26 -0600129 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 Chidambaramaa9d52b2012-04-02 11:09:47 -0600132 };
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600133
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600134 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 Mahadevan6bd32df2012-09-25 09:31:30 -0600142 qcom,resource-type = <0>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600143 qcom,type = <0x62706d73>; /* "smpb" */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600144 qcom,id = <0x02>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600145 qcom,key = <0x6e726f63>; /* "corn" */
Mahesh Sivasubramanianb76fb5e2012-11-05 14:40:09 -0700146 qcom,init-value = <5>; /* Super Turbo */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600147 };
148
149 qcom,lpm-resources@1 {
150 reg = <0x1>;
151 qcom,name = "vdd-mem";
Girish Mahadevan6bd32df2012-09-25 09:31:30 -0600152 qcom,resource-type = <0>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600153 qcom,type = <0x62706d73>; /* "smpb" */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600154 qcom,id = <0x01>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600155 qcom,key = <0x7675>; /* "uv" */
Mahesh Sivasubramanianb76fb5e2012-11-05 14:40:09 -0700156 qcom,init-value = <1050000>; /* Super Turbo */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600157 };
158
159 qcom,lpm-resources@2 {
160 reg = <0x2>;
161 qcom,name = "pxo";
Girish Mahadevan6bd32df2012-09-25 09:31:30 -0600162 qcom,resource-type = <0>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600163 qcom,type = <0x306b6c63>; /* "clk0" */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600164 qcom,id = <0x00>;
Girish Mahadevana9964a52012-06-29 10:14:09 -0600165 qcom,key = <0x62616e45>; /* "Enab" */
Mahesh Sivasubramanianb76fb5e2012-11-05 14:40:09 -0700166 qcom,init-value = <1>; /* On */
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600167 };
Girish Mahadevan6bd32df2012-09-25 09:31:30 -0600168
169 qcom,lpm-resources@3 {
170 reg = <0x3>;
171 qcom,name = "l2";
172 qcom,resource-type = <1>;
Mahesh Sivasubramanian09fce7f2012-11-01 18:01:21 -0600173 qcom,init-value = <2>; /* Retention */
Girish Mahadevan6bd32df2012-09-25 09:31:30 -0600174 };
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600175 };
176
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600177 qcom,lpm-levels {
178 compatible = "qcom,lpm-levels";
179 #address-cells = <1>;
180 #size-cells = <0>;
181
Priyanka Mathurd61f67f2013-01-17 11:16:06 -0800182 qcom,use-qtimer;
183
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600184 qcom,lpm-level@0 {
185 reg = <0x0>;
186 qcom,mode = <0>; /* MSM_PM_SLEEP_MODE_WAIT_FOR_INTERRUPT */
187 qcom,xo = <1>; /* ON */
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700188 qcom,l2 = <3>; /* ACTIVE */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600189 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 Sivasubramanianb71ce092013-01-08 13:44:23 -0700193 qcom,irqs-detectable;
194 qcom.gpios-detectable;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700195 qcom,latency-us = <1>;
196 qcom,ss-power = <784>;
197 qcom,energy-overhead = <190000>;
198 qcom,time-overhead = <100>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600199 };
200
201 qcom,lpm-level@1 {
202 reg = <0x1>;
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700203 qcom,mode = <4>; /* MSM_PM_SLEEP_MODE_RETENTION*/
204 qcom,xo = <1>; /* ON */
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700205 qcom,l2 = <3>; /* ACTIVE */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600206 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 Sivasubramanianb71ce092013-01-08 13:44:23 -0700210 qcom,irqs-detectable;
211 qcom.gpios-detectable;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700212 qcom,latency-us = <75>;
213 qcom,ss-power = <735>;
214 qcom,energy-overhead = <77341>;
215 qcom,time-overhead = <105>;
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700216 };
217
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700218
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700219 qcom,lpm-level@2 {
220 reg = <0x2>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600221 qcom,mode = <2>; /* MSM_PM_SLEEP_MODE_STANDALONE_POWER_COLLAPSE */
222 qcom,xo = <1>; /* ON */
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700223 qcom,l2 = <3>; /* ACTIVE */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600224 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 Sivasubramanianb71ce092013-01-08 13:44:23 -0700228 qcom,irqs-detectable;
229 qcom.gpios-detectable;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700230 qcom,latency-us = <95>;
231 qcom,ss-power = <725>;
232 qcom,energy-overhead = <99500>;
233 qcom,time-overhead = <130>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600234 };
235
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700236 qcom,lpm-level@3 {
237 reg = <0x3>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600238 qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */
239 qcom,xo = <1>; /* ON */
240 qcom,l2 = <1>; /* GDHS */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600241 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 Sivasubramanianb71ce092013-01-08 13:44:23 -0700245 qcom,irqs-detectable;
246 qcom.gpios-detectable;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700247 qcom,latency-us = <2000>;
248 qcom,ss-power = <138>;
249 qcom,energy-overhead = <1208400>;
250 qcom,time-overhead = <3200>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600251 };
252
Priyanka Mathur60ac7582012-10-03 15:13:32 -0700253 qcom,lpm-level@4 {
254 reg = <0x4>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600255 qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */
256 qcom,xo = <1>; /* ON */
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700257 qcom,l2 = <0>; /* OFF */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600258 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 Sivasubramanianb71ce092013-01-08 13:44:23 -0700262 qcom,irqs-detectable;
263 qcom.gpios-detectable;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700264 qcom,latency-us = <3000>;
265 qcom,ss-power = <110>;
266 qcom,energy-overhead = <1250300>;
267 qcom,time-overhead = <3500>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600268 };
269
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700270 qcom,lpm-level@5 {
271 reg = <0x5>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600272 qcom,mode = <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */
273 qcom,xo = <0>; /* OFF */
274 qcom,l2 = <1>; /* GDHS */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600275 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 Mahadevan02d7bba2012-11-16 17:11:04 -0700279 qcom,latency-us = <3000>;
280 qcom,ss-power = <68>;
281 qcom,energy-overhead = <1350200>;
282 qcom,time-overhead = <4000>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600283 };
284
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700285 qcom,lpm-level@6 {
286 reg = <0x6>;
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700287 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 Chidambaram85b7b282012-04-16 13:45:15 -0600302 qcom,mode= <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */
303 qcom,xo = <0>; /* OFF */
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700304 qcom,l2 = <0>; /* OFF */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600305 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 Mahadevan02d7bba2012-11-16 17:11:04 -0700309 qcom,latency-us = <18000>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600310 qcom,ss-power = <10>;
Girish Mahadevan02d7bba2012-11-16 17:11:04 -0700311 qcom,energy-overhead = <3202600>;
312 qcom,time-overhead = <27000>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600313 };
314
Girish Mahadevan86a851c2013-02-08 17:21:33 -0700315 qcom,lpm-level@8 {
316 reg = <0x8>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600317 qcom,mode= <3>; /* MSM_PM_SLEEP_MODE_POWER_COLLAPSE */
318 qcom,xo = <0>; /* OFF */
319 qcom,l2 = <0>; /* OFF */
Girish Mahadevan90a2f662012-11-01 09:34:46 -0600320 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 Mahadevan02d7bba2012-11-16 17:11:04 -0700324 qcom,latency-us = <20000>;
325 qcom,ss-power = <2>;
326 qcom,energy-overhead = <4252000>;
327 qcom,time-overhead = <32000>;
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600328 };
329 };
Praveen Chidambaram7d4167b2012-04-30 17:37:48 -0600330
331 qcom,pm-boot {
332 compatible = "qcom,pm-boot";
333 qcom,mode = <0>; /* MSM_PM_BOOT_CONFIG_TZ */
334 };
Mahesh Sivasubramanian01df14d2012-05-04 17:35:55 -0600335
336 qcom,mpm@fc4281d0 {
337 compatible = "qcom,mpm-v2";
338 reg = <0xfc4281d0 0x1000>, /* MSM_RPM_MPM_BASE 4K */
Mahesh Sivasubramanian75178902012-08-24 19:43:50 -0600339 <0xf9011008 0x4>; /* MSM_APCS_GCC_BASE 4K */
Mahesh Sivasubramanian01df14d2012-05-04 17:35:55 -0600340 reg-names = "vmpm", "ipc";
341 interrupts = <0 171 1>;
342
Mahesh Sivasubramanian75178902012-08-24 19:43:50 -0600343 qcom,ipc-bit-offset = <1>;
Mahesh Sivasubramanian01df14d2012-05-04 17:35:55 -0600344
345 qcom,gic-parent = <&intc>;
Mahesh Sivasubramanian25cb44d2012-09-07 11:16:02 -0600346 qcom,gic-map = <47 172>, /* usb2_hsic_async_wakeup_irq */
Mahesh Sivasubramanian01df14d2012-05-04 17:35:55 -0600347 <53 104>, /* mdss_irq */
Mahesh Sivasubramanian512efcc2012-09-07 11:16:02 -0600348 <62 222>, /* ee0_krait_hlos_spmi_periph_irq */
Mahesh Sivasubramanian01df14d2012-05-04 17:35:55 -0600349 <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 Sivasubramanianaa684392012-08-14 14:56:33 -0600421
Praveen Chidambaramf27a5152013-02-01 11:44:53 -0700422 qcom,pm-8x60@fe805664 {
Girish Mahadevan1dfeae92012-10-30 15:28:01 -0600423 compatible = "qcom,pm-8x60";
Praveen Chidambaramf27a5152013-02-01 11:44:53 -0700424 reg = <0xfe805664 0x40>;
Girish Mahadevan1dfeae92012-10-30 15:28:01 -0600425 qcom,pc-mode = <0>; /*MSM_PC_TZ_L2_INT */
426 qcom,use-sync-timer;
427 };
Priyanka Mathurc3c2e292012-10-31 12:51:38 -0700428
Priyanka Mathur787ebcd2012-12-10 15:06:19 -0800429 qcom,rpm-log@fc19dc00 {
430 compatible = "qcom,rpm-log";
431 reg = <0xfc19dc00 0x4000>;
432 qcom,rpm-addr-phys = <0xfc000000>;
433 qcom,offset-version = <4>;
434 qcom,offset-page-buffer-addr = <36>;
435 qcom,offset-log-len = <40>;
436 qcom,offset-log-len-mask = <44>;
437 qcom,offset-page-indices = <56>;
438 };
439
Priyanka Mathurc3c2e292012-10-31 12:51:38 -0700440 qcom,rpm-stats@0xfc19dbd0{
441 compatible = "qcom,rpm-stats";
442 reg = <0xfc19dbd0 0x1000>;
443 reg-names = "phys_addr_base";
444 qcom,sleep-stats-version = <2>;
445 };
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600446};