blob: e6c7476036a40720eb0825ebacd64b39c6341468 [file] [log] [blame]
Kumar Galaf335b8a2014-04-03 14:48:22 -05001/dts-v1/;
2
3#include "skeleton.dtsi"
4#include <dt-bindings/clock/qcom,gcc-msm8960.h>
Srinivas Kandagatla223280b2015-04-10 21:43:30 +01005#include <dt-bindings/reset/qcom,gcc-msm8960.h>
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -07006#include <dt-bindings/clock/qcom,mmcc-msm8960.h>
Kumar Galaf335b8a2014-04-03 14:48:22 -05007#include <dt-bindings/soc/qcom,gsbi.h>
Pramod Gurav8b8936f2014-08-29 20:00:56 +05308#include <dt-bindings/interrupt-controller/arm-gic.h>
Kumar Galaf335b8a2014-04-03 14:48:22 -05009/ {
10 model = "Qualcomm APQ8064";
11 compatible = "qcom,apq8064";
12 interrupt-parent = <&intc>;
13
Bjorn Andersson24a9baf2015-10-22 11:13:48 -070014 reserved-memory {
15 #address-cells = <1>;
16 #size-cells = <1>;
17 ranges;
18
19 smem_region: smem@80000000 {
20 reg = <0x80000000 0x200000>;
21 no-map;
22 };
23 };
24
Kumar Galaf335b8a2014-04-03 14:48:22 -050025 cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 cpu@0 {
30 compatible = "qcom,krait";
31 enable-method = "qcom,kpss-acc-v1";
32 device_type = "cpu";
33 reg = <0>;
34 next-level-cache = <&L2>;
35 qcom,acc = <&acc0>;
36 qcom,saw = <&saw0>;
Lina Iyer06c49f22015-03-25 14:25:35 -060037 cpu-idle-states = <&CPU_SPC>;
Kumar Galaf335b8a2014-04-03 14:48:22 -050038 };
39
40 cpu@1 {
41 compatible = "qcom,krait";
42 enable-method = "qcom,kpss-acc-v1";
43 device_type = "cpu";
44 reg = <1>;
45 next-level-cache = <&L2>;
46 qcom,acc = <&acc1>;
47 qcom,saw = <&saw1>;
Lina Iyer06c49f22015-03-25 14:25:35 -060048 cpu-idle-states = <&CPU_SPC>;
Kumar Galaf335b8a2014-04-03 14:48:22 -050049 };
50
51 cpu@2 {
52 compatible = "qcom,krait";
53 enable-method = "qcom,kpss-acc-v1";
54 device_type = "cpu";
55 reg = <2>;
56 next-level-cache = <&L2>;
57 qcom,acc = <&acc2>;
58 qcom,saw = <&saw2>;
Lina Iyer06c49f22015-03-25 14:25:35 -060059 cpu-idle-states = <&CPU_SPC>;
Kumar Galaf335b8a2014-04-03 14:48:22 -050060 };
61
62 cpu@3 {
63 compatible = "qcom,krait";
64 enable-method = "qcom,kpss-acc-v1";
65 device_type = "cpu";
66 reg = <3>;
67 next-level-cache = <&L2>;
68 qcom,acc = <&acc3>;
69 qcom,saw = <&saw3>;
Lina Iyer06c49f22015-03-25 14:25:35 -060070 cpu-idle-states = <&CPU_SPC>;
Kumar Galaf335b8a2014-04-03 14:48:22 -050071 };
72
73 L2: l2-cache {
74 compatible = "cache";
75 cache-level = <2>;
76 };
Lina Iyer06c49f22015-03-25 14:25:35 -060077
78 idle-states {
79 CPU_SPC: spc {
80 compatible = "qcom,idle-state-spc",
81 "arm,idle-state";
82 entry-latency-us = <400>;
83 exit-latency-us = <900>;
84 min-residency-us = <3000>;
85 };
86 };
Kumar Galaf335b8a2014-04-03 14:48:22 -050087 };
88
89 cpu-pmu {
90 compatible = "qcom,krait-pmu";
91 interrupts = <1 10 0x304>;
92 };
93
Bjorn Andersson24a9baf2015-10-22 11:13:48 -070094 sfpb_mutex: hwmutex {
95 compatible = "qcom,sfpb-mutex";
96 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
97 #hwlock-cells = <1>;
98 };
99
100 smem {
101 compatible = "qcom,smem";
102 memory-region = <&smem_region>;
103
104 hwlocks = <&sfpb_mutex 3>;
105 };
106
Kumar Galaf335b8a2014-04-03 14:48:22 -0500107 soc: soc {
108 #address-cells = <1>;
109 #size-cells = <1>;
110 ranges;
111 compatible = "simple-bus";
112
Pramod Gurav8b8936f2014-08-29 20:00:56 +0530113 tlmm_pinmux: pinctrl@800000 {
114 compatible = "qcom,apq8064-pinctrl";
115 reg = <0x800000 0x4000>;
116
117 gpio-controller;
118 #gpio-cells = <2>;
119 interrupt-controller;
120 #interrupt-cells = <2>;
121 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
Pramod Guravcd6dd112014-08-29 20:00:57 +0530122
123 pinctrl-names = "default";
124 pinctrl-0 = <&ps_hold>;
125
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100126 sdc4_gpios: sdc4-gpios {
127 pios {
128 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
129 function = "sdc4";
130 };
131 };
132
Pramod Guravcd6dd112014-08-29 20:00:57 +0530133 ps_hold: ps_hold {
134 mux {
135 pins = "gpio78";
136 function = "ps_hold";
137 };
138 };
Srinivas Kandagatlabc0d3072015-04-10 21:44:40 +0100139
140 i2c1_pins: i2c1 {
141 mux {
142 pins = "gpio20", "gpio21";
143 function = "gsbi1";
144 };
145 };
Srinivas Kandagatla3f62b462015-04-10 21:44:48 +0100146
147 i2c3_pins: i2c3 {
148 mux {
149 pins = "gpio8", "gpio9";
150 function = "gsbi3";
151 };
152 };
Pramod Gurav86e252a2015-07-27 14:52:10 +0100153
Srinivas Kandagatla7648c7b2015-09-18 13:31:34 +0100154 gsbi6_uart_2pins: gsbi6_uart_2pins {
155 mux {
156 pins = "gpio14", "gpio15";
157 function = "gsbi6";
158 };
159 };
160
161 gsbi6_uart_4pins: gsbi6_uart_4pins {
Pramod Gurav86e252a2015-07-27 14:52:10 +0100162 mux {
163 pins = "gpio14", "gpio15", "gpio16", "gpio17";
164 function = "gsbi6";
165 };
166 };
Srinivas Kandagatla892d6732015-09-18 13:31:40 +0100167
168 gsbi7_uart_2pins: gsbi7_uart_2pins {
169 mux {
170 pins = "gpio82", "gpio83";
171 function = "gsbi7";
172 };
173 };
174
175 gsbi7_uart_4pins: gsbi7_uart_4pins {
176 mux {
177 pins = "gpio82", "gpio83", "gpio84", "gpio85";
178 function = "gsbi7";
179 };
180 };
Pramod Gurav8b8936f2014-08-29 20:00:56 +0530181 };
182
Bjorn Andersson24a9baf2015-10-22 11:13:48 -0700183 sfpb_wrapper_mutex: syscon@1200000 {
184 compatible = "syscon";
185 reg = <0x01200000 0x8000>;
186 };
187
Kumar Galaf335b8a2014-04-03 14:48:22 -0500188 intc: interrupt-controller@2000000 {
189 compatible = "qcom,msm-qgic2";
190 interrupt-controller;
191 #interrupt-cells = <3>;
192 reg = <0x02000000 0x1000>,
193 <0x02002000 0x1000>;
194 };
195
196 timer@200a000 {
197 compatible = "qcom,kpss-timer", "qcom,msm-timer";
198 interrupts = <1 1 0x301>,
199 <1 2 0x301>,
200 <1 3 0x301>;
201 reg = <0x0200a000 0x100>;
202 clock-frequency = <27000000>,
203 <32768>;
204 cpu-offset = <0x80000>;
205 };
206
207 acc0: clock-controller@2088000 {
208 compatible = "qcom,kpss-acc-v1";
209 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
210 };
211
212 acc1: clock-controller@2098000 {
213 compatible = "qcom,kpss-acc-v1";
214 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
215 };
216
217 acc2: clock-controller@20a8000 {
218 compatible = "qcom,kpss-acc-v1";
219 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
220 };
221
222 acc3: clock-controller@20b8000 {
223 compatible = "qcom,kpss-acc-v1";
224 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
225 };
226
Lina Iyer9fc23ce2015-03-25 14:25:32 -0600227 saw0: power-controller@2089000 {
228 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
Kumar Galaf335b8a2014-04-03 14:48:22 -0500229 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
230 regulator;
231 };
232
Lina Iyer9fc23ce2015-03-25 14:25:32 -0600233 saw1: power-controller@2099000 {
234 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
Kumar Galaf335b8a2014-04-03 14:48:22 -0500235 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
236 regulator;
237 };
238
Lina Iyer9fc23ce2015-03-25 14:25:32 -0600239 saw2: power-controller@20a9000 {
240 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
Kumar Galaf335b8a2014-04-03 14:48:22 -0500241 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
242 regulator;
243 };
244
Lina Iyer9fc23ce2015-03-25 14:25:32 -0600245 saw3: power-controller@20b9000 {
246 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
Kumar Galaf335b8a2014-04-03 14:48:22 -0500247 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
248 regulator;
249 };
250
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530251 gsbi1: gsbi@12440000 {
252 status = "disabled";
253 compatible = "qcom,gsbi-v1.0.0";
Andy Gross4105d9d2015-02-09 16:01:08 -0600254 cell-index = <1>;
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530255 reg = <0x12440000 0x100>;
256 clocks = <&gcc GSBI1_H_CLK>;
257 clock-names = "iface";
258 #address-cells = <1>;
259 #size-cells = <1>;
260 ranges;
261
Andy Gross4105d9d2015-02-09 16:01:08 -0600262 syscon-tcsr = <&tcsr>;
263
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530264 i2c1: i2c@12460000 {
265 compatible = "qcom,i2c-qup-v1.1.1";
Srinivas Kandagatla0fbf6102015-09-18 13:30:13 +0100266 pinctrl-0 = <&i2c1_pins>;
267 pinctrl-names = "default";
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530268 reg = <0x12460000 0x1000>;
269 interrupts = <0 194 IRQ_TYPE_NONE>;
270 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
271 clock-names = "core", "iface";
272 #address-cells = <1>;
273 #size-cells = <0>;
274 };
275 };
276
277 gsbi2: gsbi@12480000 {
278 status = "disabled";
279 compatible = "qcom,gsbi-v1.0.0";
Andy Gross4105d9d2015-02-09 16:01:08 -0600280 cell-index = <2>;
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530281 reg = <0x12480000 0x100>;
282 clocks = <&gcc GSBI2_H_CLK>;
283 clock-names = "iface";
284 #address-cells = <1>;
285 #size-cells = <1>;
286 ranges;
287
Andy Gross4105d9d2015-02-09 16:01:08 -0600288 syscon-tcsr = <&tcsr>;
289
kiran.padwal@smartplayin.com8c3166f2014-09-17 16:00:25 +0530290 i2c2: i2c@124a0000 {
291 compatible = "qcom,i2c-qup-v1.1.1";
292 reg = <0x124a0000 0x1000>;
293 interrupts = <0 196 IRQ_TYPE_NONE>;
294 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
295 clock-names = "core", "iface";
296 #address-cells = <1>;
297 #size-cells = <0>;
298 };
299 };
300
Srinivas Kandagatla3f62b462015-04-10 21:44:48 +0100301 gsbi3: gsbi@16200000 {
302 status = "disabled";
303 compatible = "qcom,gsbi-v1.0.0";
Srinivas Kandagatla504155c2015-07-27 14:52:19 +0100304 cell-index = <3>;
Srinivas Kandagatla3f62b462015-04-10 21:44:48 +0100305 reg = <0x16200000 0x100>;
306 clocks = <&gcc GSBI3_H_CLK>;
307 clock-names = "iface";
308 #address-cells = <1>;
309 #size-cells = <1>;
310 ranges;
Srinivas Kandagatla3f62b462015-04-10 21:44:48 +0100311 i2c3: i2c@16280000 {
312 compatible = "qcom,i2c-qup-v1.1.1";
Srinivas Kandagatla0fbf6102015-09-18 13:30:13 +0100313 pinctrl-0 = <&i2c3_pins>;
314 pinctrl-names = "default";
Srinivas Kandagatla3f62b462015-04-10 21:44:48 +0100315 reg = <0x16280000 0x1000>;
316 interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
317 clocks = <&gcc GSBI3_QUP_CLK>,
318 <&gcc GSBI3_H_CLK>;
319 clock-names = "core", "iface";
320 };
321 };
322
Bjorn Andersson1099b262015-10-22 11:13:50 -0700323 gsbi5: gsbi@1a200000 {
324 status = "disabled";
325 compatible = "qcom,gsbi-v1.0.0";
326 cell-index = <5>;
327 reg = <0x1a200000 0x03>;
328 clocks = <&gcc GSBI5_H_CLK>;
329 clock-names = "iface";
330 #address-cells = <1>;
331 #size-cells = <1>;
332 ranges;
333
334 gsbi5_serial: serial@1a240000 {
335 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
336 reg = <0x1a240000 0x100>,
337 <0x1a200000 0x03>;
338 interrupts = <0 154 0x0>;
339 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
340 clock-names = "core", "iface";
341 status = "disabled";
342 };
343 };
344
Pramod Gurav86e252a2015-07-27 14:52:10 +0100345 gsbi6: gsbi@16500000 {
346 status = "disabled";
347 compatible = "qcom,gsbi-v1.0.0";
348 cell-index = <6>;
349 reg = <0x16500000 0x03>;
350 clocks = <&gcc GSBI6_H_CLK>;
351 clock-names = "iface";
352 #address-cells = <1>;
353 #size-cells = <1>;
354 ranges;
355
356 gsbi6_serial: serial@16540000 {
357 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
358 reg = <0x16540000 0x100>,
359 <0x16500000 0x03>;
360 interrupts = <0 156 0x0>;
361 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
362 clock-names = "core", "iface";
363 status = "disabled";
364 };
365 };
366
Kumar Galaf335b8a2014-04-03 14:48:22 -0500367 gsbi7: gsbi@16600000 {
368 status = "disabled";
369 compatible = "qcom,gsbi-v1.0.0";
Andy Gross4105d9d2015-02-09 16:01:08 -0600370 cell-index = <7>;
Kumar Galaf335b8a2014-04-03 14:48:22 -0500371 reg = <0x16600000 0x100>;
372 clocks = <&gcc GSBI7_H_CLK>;
373 clock-names = "iface";
374 #address-cells = <1>;
375 #size-cells = <1>;
376 ranges;
Andy Gross4105d9d2015-02-09 16:01:08 -0600377 syscon-tcsr = <&tcsr>;
378
Pramod Guravd5d46542015-04-10 21:44:31 +0100379 gsbi7_serial: serial@16640000 {
Kumar Galaf335b8a2014-04-03 14:48:22 -0500380 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
381 reg = <0x16640000 0x1000>,
382 <0x16600000 0x1000>;
383 interrupts = <0 158 0x0>;
384 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
385 clock-names = "core", "iface";
386 status = "disabled";
387 };
388 };
389
John Stultz6a607e02015-09-18 13:31:12 +0100390 rng@1a500000 {
391 compatible = "qcom,prng";
392 reg = <0x1a500000 0x200>;
393 clocks = <&gcc PRNG_CLK>;
394 clock-names = "core";
395 };
396
Kumar Galaf335b8a2014-04-03 14:48:22 -0500397 qcom,ssbi@500000 {
398 compatible = "qcom,ssbi";
399 reg = <0x00500000 0x1000>;
400 qcom,controller-type = "pmic-arbiter";
Srinivas Kandagatla874443f2015-07-27 14:51:52 +0100401
402 pmicintc: pmic@0 {
403 compatible = "qcom,pm8921";
404 interrupt-parent = <&tlmm_pinmux>;
405 interrupts = <74 8>;
406 #interrupt-cells = <2>;
407 interrupt-controller;
408 #address-cells = <1>;
409 #size-cells = <0>;
410
411 pm8921_gpio: gpio@150 {
412
Stephen Boyd2ca9c2a42015-11-20 17:49:46 -0800413 compatible = "qcom,pm8921-gpio",
414 "qcom,ssbi-gpio";
Srinivas Kandagatla874443f2015-07-27 14:51:52 +0100415 reg = <0x150>;
416 interrupts = <192 1>, <193 1>, <194 1>,
417 <195 1>, <196 1>, <197 1>,
418 <198 1>, <199 1>, <200 1>,
419 <201 1>, <202 1>, <203 1>,
420 <204 1>, <205 1>, <206 1>,
421 <207 1>, <208 1>, <209 1>,
422 <210 1>, <211 1>, <212 1>,
423 <213 1>, <214 1>, <215 1>,
424 <216 1>, <217 1>, <218 1>,
425 <219 1>, <220 1>, <221 1>,
426 <222 1>, <223 1>, <224 1>,
427 <225 1>, <226 1>, <227 1>,
428 <228 1>, <229 1>, <230 1>,
429 <231 1>, <232 1>, <233 1>,
430 <234 1>, <235 1>;
431
432 gpio-controller;
433 #gpio-cells = <2>;
434
435 };
Srinivas Kandagatlabce360462015-07-27 14:52:02 +0100436
437 pm8921_mpps: mpps@50 {
Stephen Boyd2ca9c2a42015-11-20 17:49:46 -0800438 compatible = "qcom,pm8921-mpp",
439 "qcom,ssbi-mpp";
Srinivas Kandagatlabce360462015-07-27 14:52:02 +0100440 reg = <0x50>;
441 gpio-controller;
442 #gpio-cells = <2>;
443 interrupts =
444 <128 1>, <129 1>, <130 1>, <131 1>,
445 <132 1>, <133 1>, <134 1>, <135 1>,
446 <136 1>, <137 1>, <138 1>, <139 1>;
447 };
448
Srinivas Kandagatlabbf89b92015-09-18 13:31:19 +0100449 rtc@11d {
450 compatible = "qcom,pm8921-rtc";
451 interrupt-parent = <&pmicintc>;
452 interrupts = <39 1>;
453 reg = <0x11d>;
454 allow-set-time;
455 };
456
Srinivas Kandagatla3050c5f2015-09-18 13:31:25 +0100457 pwrkey@1c {
458 compatible = "qcom,pm8921-pwrkey";
459 reg = <0x1c>;
460 interrupt-parent = <&pmicintc>;
461 interrupts = <50 1>, <51 1>;
462 debounce = <15625>;
463 pull-up;
464 };
Srinivas Kandagatla874443f2015-07-27 14:51:52 +0100465 };
Kumar Galaf335b8a2014-04-03 14:48:22 -0500466 };
467
468 gcc: clock-controller@900000 {
469 compatible = "qcom,gcc-apq8064";
470 reg = <0x00900000 0x4000>;
471 #clock-cells = <1>;
472 #reset-cells = <1>;
473 };
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -0700474
Kumar Gala1e1177b2015-01-28 13:36:12 -0800475 lcc: clock-controller@28000000 {
476 compatible = "qcom,lcc-apq8064";
477 reg = <0x28000000 0x1000>;
478 #clock-cells = <1>;
479 #reset-cells = <1>;
480 };
481
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -0700482 mmcc: clock-controller@4000000 {
483 compatible = "qcom,mmcc-apq8064";
484 reg = <0x4000000 0x1000>;
485 #clock-cells = <1>;
486 #reset-cells = <1>;
487 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100488
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100489 l2cc: clock-controller@2011000 {
490 compatible = "syscon";
491 reg = <0x2011000 0x1000>;
492 };
493
494 rpm@108000 {
495 compatible = "qcom,rpm-apq8064";
496 reg = <0x108000 0x1000>;
497 qcom,ipc = <&l2cc 0x8 2>;
498
499 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
500 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
501 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
502 interrupt-names = "ack", "err", "wakeup";
503
504 regulators {
505 compatible = "qcom,rpm-pm8921-regulators";
506
Bjorn Andersson2bce6e22015-10-22 11:13:49 -0700507 pm8921_s1: s1 {};
508 pm8921_s2: s2 {};
509 pm8921_s3: s3 {};
510 pm8921_s4: s4 {};
511 pm8921_s7: s7 {};
512 pm8921_s8: s8 {};
513
514 pm8921_l1: l1 {};
515 pm8921_l2: l2 {};
516 pm8921_l3: l3 {};
517 pm8921_l4: l4 {};
518 pm8921_l5: l5 {};
519 pm8921_l6: l6 {};
520 pm8921_l7: l7 {};
521 pm8921_l8: l8 {};
522 pm8921_l9: l9 {};
523 pm8921_l10: l10 {};
524 pm8921_l11: l11 {};
525 pm8921_l12: l12 {};
526 pm8921_l14: l14 {};
527 pm8921_l15: l15 {};
528 pm8921_l16: l16 {};
529 pm8921_l17: l17 {};
530 pm8921_l18: l18 {};
531 pm8921_l21: l21 {};
532 pm8921_l22: l22 {};
533 pm8921_l23: l23 {};
534 pm8921_l24: l24 {};
535 pm8921_l25: l25 {};
536 pm8921_l26: l26 {};
537 pm8921_l27: l27 {};
538 pm8921_l28: l28 {};
539 pm8921_l29: l29 {};
540
541 pm8921_lvs1: lvs1 {};
542 pm8921_lvs2: lvs2 {};
543 pm8921_lvs3: lvs3 {};
544 pm8921_lvs4: lvs4 {};
545 pm8921_lvs5: lvs5 {};
546 pm8921_lvs6: lvs6 {};
547 pm8921_lvs7: lvs7 {};
548
549 pm8921_usb_switch: usb-switch {};
550
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100551 pm8921_hdmi_switch: hdmi-switch {
552 bias-pull-down;
553 };
Bjorn Andersson2bce6e22015-10-22 11:13:49 -0700554
555 pm8921_ncp: ncp {};
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100556 };
557 };
558
Srinivas Kandagatlaea986612015-04-10 21:43:42 +0100559 usb1_phy: phy@12500000 {
560 compatible = "qcom,usb-otg-ci";
561 reg = <0x12500000 0x400>;
562 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
563 status = "disabled";
564 dr_mode = "host";
565
566 clocks = <&gcc USB_HS1_XCVR_CLK>,
567 <&gcc USB_HS1_H_CLK>;
568 clock-names = "core", "iface";
569
570 resets = <&gcc USB_HS1_RESET>;
571 reset-names = "link";
572 };
573
Srinivas Kandagatla223280b2015-04-10 21:43:30 +0100574 usb3_phy: phy@12520000 {
575 compatible = "qcom,usb-otg-ci";
576 reg = <0x12520000 0x400>;
577 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
578 status = "disabled";
579 dr_mode = "host";
580
581 clocks = <&gcc USB_HS3_XCVR_CLK>,
582 <&gcc USB_HS3_H_CLK>;
583 clock-names = "core", "iface";
584
585 resets = <&gcc USB_HS3_RESET>;
586 reset-names = "link";
587 };
588
589 usb4_phy: phy@12530000 {
590 compatible = "qcom,usb-otg-ci";
591 reg = <0x12530000 0x400>;
592 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
593 status = "disabled";
594 dr_mode = "host";
595
596 clocks = <&gcc USB_HS4_XCVR_CLK>,
597 <&gcc USB_HS4_H_CLK>;
598 clock-names = "core", "iface";
599
600 resets = <&gcc USB_HS4_RESET>;
601 reset-names = "link";
602 };
603
Srinivas Kandagatlaea986612015-04-10 21:43:42 +0100604 gadget1: gadget@12500000 {
605 compatible = "qcom,ci-hdrc";
606 reg = <0x12500000 0x400>;
607 status = "disabled";
608 dr_mode = "peripheral";
609 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
610 usb-phy = <&usb1_phy>;
611 };
612
613 usb1: usb@12500000 {
614 compatible = "qcom,ehci-host";
615 reg = <0x12500000 0x400>;
616 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
617 status = "disabled";
618 usb-phy = <&usb1_phy>;
619 };
620
Srinivas Kandagatla223280b2015-04-10 21:43:30 +0100621 usb3: usb@12520000 {
622 compatible = "qcom,ehci-host";
623 reg = <0x12520000 0x400>;
624 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
625 status = "disabled";
626 usb-phy = <&usb3_phy>;
627 };
628
629 usb4: usb@12530000 {
630 compatible = "qcom,ehci-host";
631 reg = <0x12530000 0x400>;
632 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
633 status = "disabled";
634 usb-phy = <&usb4_phy>;
635 };
636
Srinivas Kandagatlae6293352015-04-10 21:43:56 +0100637 sata_phy0: phy@1b400000 {
638 compatible = "qcom,apq8064-sata-phy";
639 status = "disabled";
640 reg = <0x1b400000 0x200>;
641 reg-names = "phy_mem";
642 clocks = <&gcc SATA_PHY_CFG_CLK>;
643 clock-names = "cfg";
644 #phy-cells = <0>;
645 };
646
647 sata0: sata@29000000 {
648 compatible = "generic-ahci";
649 status = "disabled";
650 reg = <0x29000000 0x180>;
651 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
652
653 clocks = <&gcc SFAB_SATA_S_H_CLK>,
654 <&gcc SATA_H_CLK>,
655 <&gcc SATA_A_CLK>,
656 <&gcc SATA_RXOOB_CLK>,
657 <&gcc SATA_PMALIVE_CLK>;
658 clock-names = "slave_iface",
659 "iface",
660 "bus",
661 "rxoob",
662 "core_pmalive";
663
664 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
665 <&gcc SATA_PMALIVE_CLK>;
666 assigned-clock-rates = <100000000>, <100000000>;
667
668 phys = <&sata_phy0>;
669 phy-names = "sata-phy";
670 };
671
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100672 /* Temporary fixed regulator */
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100673 sdcc1bam:dma@12402000{
674 compatible = "qcom,bam-v1.3.0";
675 reg = <0x12402000 0x8000>;
676 interrupts = <0 98 0>;
677 clocks = <&gcc SDC1_H_CLK>;
678 clock-names = "bam_clk";
679 #dma-cells = <1>;
680 qcom,ee = <0>;
681 };
682
683 sdcc3bam:dma@12182000{
684 compatible = "qcom,bam-v1.3.0";
685 reg = <0x12182000 0x8000>;
686 interrupts = <0 96 0>;
687 clocks = <&gcc SDC3_H_CLK>;
688 clock-names = "bam_clk";
689 #dma-cells = <1>;
690 qcom,ee = <0>;
691 };
692
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100693 sdcc4bam:dma@121c2000{
694 compatible = "qcom,bam-v1.3.0";
695 reg = <0x121c2000 0x8000>;
696 interrupts = <0 95 0>;
697 clocks = <&gcc SDC4_H_CLK>;
698 clock-names = "bam_clk";
699 #dma-cells = <1>;
700 qcom,ee = <0>;
701 };
702
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100703 amba {
704 compatible = "arm,amba-bus";
705 #address-cells = <1>;
706 #size-cells = <1>;
707 ranges;
708 sdcc1: sdcc@12400000 {
709 status = "disabled";
710 compatible = "arm,pl18x", "arm,primecell";
711 arm,primecell-periphid = <0x00051180>;
712 reg = <0x12400000 0x2000>;
713 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
714 interrupt-names = "cmd_irq";
715 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
716 clock-names = "mclk", "apb_pclk";
717 bus-width = <8>;
718 max-frequency = <96000000>;
719 non-removable;
720 cap-sd-highspeed;
721 cap-mmc-highspeed;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100722 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
723 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100724 };
725
726 sdcc3: sdcc@12180000 {
727 compatible = "arm,pl18x", "arm,primecell";
728 arm,primecell-periphid = <0x00051180>;
729 status = "disabled";
730 reg = <0x12180000 0x2000>;
731 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
732 interrupt-names = "cmd_irq";
733 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
734 clock-names = "mclk", "apb_pclk";
735 bus-width = <4>;
736 cap-sd-highspeed;
737 cap-mmc-highspeed;
738 max-frequency = <192000000>;
739 no-1-8-v;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100740 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
741 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100742 };
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100743
744 sdcc4: sdcc@121c0000 {
745 compatible = "arm,pl18x", "arm,primecell";
746 arm,primecell-periphid = <0x00051180>;
747 status = "disabled";
748 reg = <0x121c0000 0x2000>;
749 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
750 interrupt-names = "cmd_irq";
751 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
752 clock-names = "mclk", "apb_pclk";
753 bus-width = <4>;
754 cap-sd-highspeed;
755 cap-mmc-highspeed;
756 max-frequency = <48000000>;
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100757 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
758 dma-names = "tx", "rx";
759 pinctrl-names = "default";
760 pinctrl-0 = <&sdc4_gpios>;
761 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100762 };
Andy Gross4105d9d2015-02-09 16:01:08 -0600763
764 tcsr: syscon@1a400000 {
765 compatible = "qcom,tcsr-apq8064", "syscon";
766 reg = <0x1a400000 0x100>;
767 };
Kumar Galaf335b8a2014-04-03 14:48:22 -0500768 };
769};