blob: fc771b3360270e15a2f5762bbe4b559b4d05d36b [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
413 compatible = "qcom,pm8921-gpio";
414 reg = <0x150>;
415 interrupts = <192 1>, <193 1>, <194 1>,
416 <195 1>, <196 1>, <197 1>,
417 <198 1>, <199 1>, <200 1>,
418 <201 1>, <202 1>, <203 1>,
419 <204 1>, <205 1>, <206 1>,
420 <207 1>, <208 1>, <209 1>,
421 <210 1>, <211 1>, <212 1>,
422 <213 1>, <214 1>, <215 1>,
423 <216 1>, <217 1>, <218 1>,
424 <219 1>, <220 1>, <221 1>,
425 <222 1>, <223 1>, <224 1>,
426 <225 1>, <226 1>, <227 1>,
427 <228 1>, <229 1>, <230 1>,
428 <231 1>, <232 1>, <233 1>,
429 <234 1>, <235 1>;
430
431 gpio-controller;
432 #gpio-cells = <2>;
433
434 };
Srinivas Kandagatlabce36042015-07-27 14:52:02 +0100435
436 pm8921_mpps: mpps@50 {
437 compatible = "qcom,pm8921-mpp";
438 reg = <0x50>;
439 gpio-controller;
440 #gpio-cells = <2>;
441 interrupts =
442 <128 1>, <129 1>, <130 1>, <131 1>,
443 <132 1>, <133 1>, <134 1>, <135 1>,
444 <136 1>, <137 1>, <138 1>, <139 1>;
445 };
446
Srinivas Kandagatlabbf89b92015-09-18 13:31:19 +0100447 rtc@11d {
448 compatible = "qcom,pm8921-rtc";
449 interrupt-parent = <&pmicintc>;
450 interrupts = <39 1>;
451 reg = <0x11d>;
452 allow-set-time;
453 };
454
Srinivas Kandagatla3050c5f2015-09-18 13:31:25 +0100455 pwrkey@1c {
456 compatible = "qcom,pm8921-pwrkey";
457 reg = <0x1c>;
458 interrupt-parent = <&pmicintc>;
459 interrupts = <50 1>, <51 1>;
460 debounce = <15625>;
461 pull-up;
462 };
Srinivas Kandagatla874443f2015-07-27 14:51:52 +0100463 };
Kumar Galaf335b8a2014-04-03 14:48:22 -0500464 };
465
466 gcc: clock-controller@900000 {
467 compatible = "qcom,gcc-apq8064";
468 reg = <0x00900000 0x4000>;
469 #clock-cells = <1>;
470 #reset-cells = <1>;
471 };
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -0700472
Kumar Gala1e1177b2015-01-28 13:36:12 -0800473 lcc: clock-controller@28000000 {
474 compatible = "qcom,lcc-apq8064";
475 reg = <0x28000000 0x1000>;
476 #clock-cells = <1>;
477 #reset-cells = <1>;
478 };
479
Stephen Boyd3fe5e3c2014-07-16 13:49:43 -0700480 mmcc: clock-controller@4000000 {
481 compatible = "qcom,mmcc-apq8064";
482 reg = <0x4000000 0x1000>;
483 #clock-cells = <1>;
484 #reset-cells = <1>;
485 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100486
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100487 l2cc: clock-controller@2011000 {
488 compatible = "syscon";
489 reg = <0x2011000 0x1000>;
490 };
491
492 rpm@108000 {
493 compatible = "qcom,rpm-apq8064";
494 reg = <0x108000 0x1000>;
495 qcom,ipc = <&l2cc 0x8 2>;
496
497 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
498 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
499 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
500 interrupt-names = "ack", "err", "wakeup";
501
502 regulators {
503 compatible = "qcom,rpm-pm8921-regulators";
504
Bjorn Andersson2bce6e22015-10-22 11:13:49 -0700505 pm8921_s1: s1 {};
506 pm8921_s2: s2 {};
507 pm8921_s3: s3 {};
508 pm8921_s4: s4 {};
509 pm8921_s7: s7 {};
510 pm8921_s8: s8 {};
511
512 pm8921_l1: l1 {};
513 pm8921_l2: l2 {};
514 pm8921_l3: l3 {};
515 pm8921_l4: l4 {};
516 pm8921_l5: l5 {};
517 pm8921_l6: l6 {};
518 pm8921_l7: l7 {};
519 pm8921_l8: l8 {};
520 pm8921_l9: l9 {};
521 pm8921_l10: l10 {};
522 pm8921_l11: l11 {};
523 pm8921_l12: l12 {};
524 pm8921_l14: l14 {};
525 pm8921_l15: l15 {};
526 pm8921_l16: l16 {};
527 pm8921_l17: l17 {};
528 pm8921_l18: l18 {};
529 pm8921_l21: l21 {};
530 pm8921_l22: l22 {};
531 pm8921_l23: l23 {};
532 pm8921_l24: l24 {};
533 pm8921_l25: l25 {};
534 pm8921_l26: l26 {};
535 pm8921_l27: l27 {};
536 pm8921_l28: l28 {};
537 pm8921_l29: l29 {};
538
539 pm8921_lvs1: lvs1 {};
540 pm8921_lvs2: lvs2 {};
541 pm8921_lvs3: lvs3 {};
542 pm8921_lvs4: lvs4 {};
543 pm8921_lvs5: lvs5 {};
544 pm8921_lvs6: lvs6 {};
545 pm8921_lvs7: lvs7 {};
546
547 pm8921_usb_switch: usb-switch {};
548
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100549 pm8921_hdmi_switch: hdmi-switch {
550 bias-pull-down;
551 };
Bjorn Andersson2bce6e22015-10-22 11:13:49 -0700552
553 pm8921_ncp: ncp {};
Srinivas Kandagatladc2f8152015-04-10 21:42:44 +0100554 };
555 };
556
Srinivas Kandagatlaea986612015-04-10 21:43:42 +0100557 usb1_phy: phy@12500000 {
558 compatible = "qcom,usb-otg-ci";
559 reg = <0x12500000 0x400>;
560 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
561 status = "disabled";
562 dr_mode = "host";
563
564 clocks = <&gcc USB_HS1_XCVR_CLK>,
565 <&gcc USB_HS1_H_CLK>;
566 clock-names = "core", "iface";
567
568 resets = <&gcc USB_HS1_RESET>;
569 reset-names = "link";
570 };
571
Srinivas Kandagatla223280b2015-04-10 21:43:30 +0100572 usb3_phy: phy@12520000 {
573 compatible = "qcom,usb-otg-ci";
574 reg = <0x12520000 0x400>;
575 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
576 status = "disabled";
577 dr_mode = "host";
578
579 clocks = <&gcc USB_HS3_XCVR_CLK>,
580 <&gcc USB_HS3_H_CLK>;
581 clock-names = "core", "iface";
582
583 resets = <&gcc USB_HS3_RESET>;
584 reset-names = "link";
585 };
586
587 usb4_phy: phy@12530000 {
588 compatible = "qcom,usb-otg-ci";
589 reg = <0x12530000 0x400>;
590 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
591 status = "disabled";
592 dr_mode = "host";
593
594 clocks = <&gcc USB_HS4_XCVR_CLK>,
595 <&gcc USB_HS4_H_CLK>;
596 clock-names = "core", "iface";
597
598 resets = <&gcc USB_HS4_RESET>;
599 reset-names = "link";
600 };
601
Srinivas Kandagatlaea986612015-04-10 21:43:42 +0100602 gadget1: gadget@12500000 {
603 compatible = "qcom,ci-hdrc";
604 reg = <0x12500000 0x400>;
605 status = "disabled";
606 dr_mode = "peripheral";
607 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
608 usb-phy = <&usb1_phy>;
609 };
610
611 usb1: usb@12500000 {
612 compatible = "qcom,ehci-host";
613 reg = <0x12500000 0x400>;
614 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
615 status = "disabled";
616 usb-phy = <&usb1_phy>;
617 };
618
Srinivas Kandagatla223280b2015-04-10 21:43:30 +0100619 usb3: usb@12520000 {
620 compatible = "qcom,ehci-host";
621 reg = <0x12520000 0x400>;
622 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
623 status = "disabled";
624 usb-phy = <&usb3_phy>;
625 };
626
627 usb4: usb@12530000 {
628 compatible = "qcom,ehci-host";
629 reg = <0x12530000 0x400>;
630 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
631 status = "disabled";
632 usb-phy = <&usb4_phy>;
633 };
634
Srinivas Kandagatlae6293352015-04-10 21:43:56 +0100635 sata_phy0: phy@1b400000 {
636 compatible = "qcom,apq8064-sata-phy";
637 status = "disabled";
638 reg = <0x1b400000 0x200>;
639 reg-names = "phy_mem";
640 clocks = <&gcc SATA_PHY_CFG_CLK>;
641 clock-names = "cfg";
642 #phy-cells = <0>;
643 };
644
645 sata0: sata@29000000 {
646 compatible = "generic-ahci";
647 status = "disabled";
648 reg = <0x29000000 0x180>;
649 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
650
651 clocks = <&gcc SFAB_SATA_S_H_CLK>,
652 <&gcc SATA_H_CLK>,
653 <&gcc SATA_A_CLK>,
654 <&gcc SATA_RXOOB_CLK>,
655 <&gcc SATA_PMALIVE_CLK>;
656 clock-names = "slave_iface",
657 "iface",
658 "bus",
659 "rxoob",
660 "core_pmalive";
661
662 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
663 <&gcc SATA_PMALIVE_CLK>;
664 assigned-clock-rates = <100000000>, <100000000>;
665
666 phys = <&sata_phy0>;
667 phy-names = "sata-phy";
668 };
669
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100670 /* Temporary fixed regulator */
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100671 sdcc1bam:dma@12402000{
672 compatible = "qcom,bam-v1.3.0";
673 reg = <0x12402000 0x8000>;
674 interrupts = <0 98 0>;
675 clocks = <&gcc SDC1_H_CLK>;
676 clock-names = "bam_clk";
677 #dma-cells = <1>;
678 qcom,ee = <0>;
679 };
680
681 sdcc3bam:dma@12182000{
682 compatible = "qcom,bam-v1.3.0";
683 reg = <0x12182000 0x8000>;
684 interrupts = <0 96 0>;
685 clocks = <&gcc SDC3_H_CLK>;
686 clock-names = "bam_clk";
687 #dma-cells = <1>;
688 qcom,ee = <0>;
689 };
690
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100691 sdcc4bam:dma@121c2000{
692 compatible = "qcom,bam-v1.3.0";
693 reg = <0x121c2000 0x8000>;
694 interrupts = <0 95 0>;
695 clocks = <&gcc SDC4_H_CLK>;
696 clock-names = "bam_clk";
697 #dma-cells = <1>;
698 qcom,ee = <0>;
699 };
700
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100701 amba {
702 compatible = "arm,amba-bus";
703 #address-cells = <1>;
704 #size-cells = <1>;
705 ranges;
706 sdcc1: sdcc@12400000 {
707 status = "disabled";
708 compatible = "arm,pl18x", "arm,primecell";
709 arm,primecell-periphid = <0x00051180>;
710 reg = <0x12400000 0x2000>;
711 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
712 interrupt-names = "cmd_irq";
713 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
714 clock-names = "mclk", "apb_pclk";
715 bus-width = <8>;
716 max-frequency = <96000000>;
717 non-removable;
718 cap-sd-highspeed;
719 cap-mmc-highspeed;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100720 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
721 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100722 };
723
724 sdcc3: sdcc@12180000 {
725 compatible = "arm,pl18x", "arm,primecell";
726 arm,primecell-periphid = <0x00051180>;
727 status = "disabled";
728 reg = <0x12180000 0x2000>;
729 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
730 interrupt-names = "cmd_irq";
731 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
732 clock-names = "mclk", "apb_pclk";
733 bus-width = <4>;
734 cap-sd-highspeed;
735 cap-mmc-highspeed;
736 max-frequency = <192000000>;
737 no-1-8-v;
Srinivas Kandagatlaedb81ca2014-05-16 20:18:53 +0100738 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
739 dma-names = "tx", "rx";
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100740 };
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100741
742 sdcc4: sdcc@121c0000 {
743 compatible = "arm,pl18x", "arm,primecell";
744 arm,primecell-periphid = <0x00051180>;
745 status = "disabled";
746 reg = <0x121c0000 0x2000>;
747 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
748 interrupt-names = "cmd_irq";
749 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
750 clock-names = "mclk", "apb_pclk";
751 bus-width = <4>;
752 cap-sd-highspeed;
753 cap-mmc-highspeed;
754 max-frequency = <48000000>;
Srinivas Kandagatla0be5fef2014-09-17 06:39:35 +0100755 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
756 dma-names = "tx", "rx";
757 pinctrl-names = "default";
758 pinctrl-0 = <&sdc4_gpios>;
759 };
Srinivas Kandagatla045644f2014-04-29 08:33:52 +0100760 };
Andy Gross4105d9d2015-02-09 16:01:08 -0600761
762 tcsr: syscon@1a400000 {
763 compatible = "qcom,tcsr-apq8064", "syscon";
764 reg = <0x1a400000 0x100>;
765 };
Kumar Galaf335b8a2014-04-03 14:48:22 -0500766 };
767};