Merge remote-tracking branches 'regulator/fix/88pm800', 'regulator/fix/max8973',...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / omap5.dtsi
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  * Based on "omap4.dtsi"
8  */
9
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/pinctrl/omap.h>
13
14 #include "skeleton.dtsi"
15
16 / {
17         #address-cells = <1>;
18         #size-cells = <1>;
19
20         compatible = "ti,omap5";
21         interrupt-parent = <&wakeupgen>;
22
23         aliases {
24                 i2c0 = &i2c1;
25                 i2c1 = &i2c2;
26                 i2c2 = &i2c3;
27                 i2c3 = &i2c4;
28                 i2c4 = &i2c5;
29                 serial0 = &uart1;
30                 serial1 = &uart2;
31                 serial2 = &uart3;
32                 serial3 = &uart4;
33                 serial4 = &uart5;
34                 serial5 = &uart6;
35         };
36
37         cpus {
38                 #address-cells = <1>;
39                 #size-cells = <0>;
40
41                 cpu0: cpu@0 {
42                         device_type = "cpu";
43                         compatible = "arm,cortex-a15";
44                         reg = <0x0>;
45
46                         operating-points = <
47                                 /* kHz    uV */
48                                 1000000 1060000
49                                 1500000 1250000
50                         >;
51
52                         clocks = <&dpll_mpu_ck>;
53                         clock-names = "cpu";
54
55                         clock-latency = <300000>; /* From omap-cpufreq driver */
56
57                         /* cooling options */
58                         cooling-min-level = <0>;
59                         cooling-max-level = <2>;
60                         #cooling-cells = <2>; /* min followed by max */
61                 };
62                 cpu@1 {
63                         device_type = "cpu";
64                         compatible = "arm,cortex-a15";
65                         reg = <0x1>;
66                 };
67         };
68
69         thermal-zones {
70                 #include "omap4-cpu-thermal.dtsi"
71                 #include "omap5-gpu-thermal.dtsi"
72                 #include "omap5-core-thermal.dtsi"
73         };
74
75         timer {
76                 compatible = "arm,armv7-timer";
77                 /* PPI secure/nonsecure IRQ */
78                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
79                              <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
80                              <GIC_PPI 11 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>,
81                              <GIC_PPI 10 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_LOW)>;
82                 interrupt-parent = <&gic>;
83         };
84
85         pmu {
86                 compatible = "arm,cortex-a15-pmu";
87                 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
88                              <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
89         };
90
91         gic: interrupt-controller@48211000 {
92                 compatible = "arm,cortex-a15-gic";
93                 interrupt-controller;
94                 #interrupt-cells = <3>;
95                 reg = <0x48211000 0x1000>,
96                       <0x48212000 0x1000>,
97                       <0x48214000 0x2000>,
98                       <0x48216000 0x2000>;
99                 interrupt-parent = <&gic>;
100         };
101
102         wakeupgen: interrupt-controller@48281000 {
103                 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
104                 interrupt-controller;
105                 #interrupt-cells = <3>;
106                 reg = <0x48281000 0x1000>;
107                 interrupt-parent = <&gic>;
108         };
109
110         /*
111          * The soc node represents the soc top level view. It is used for IPs
112          * that are not memory mapped in the MPU view or for the MPU itself.
113          */
114         soc {
115                 compatible = "ti,omap-infra";
116                 mpu {
117                         compatible = "ti,omap4-mpu";
118                         ti,hwmods = "mpu";
119                         sram = <&ocmcram>;
120                 };
121         };
122
123         /*
124          * XXX: Use a flat representation of the OMAP3 interconnect.
125          * The real OMAP interconnect network is quite complex.
126          * Since it will not bring real advantage to represent that in DT for
127          * the moment, just use a fake OCP bus entry to represent the whole bus
128          * hierarchy.
129          */
130         ocp {
131                 compatible = "ti,omap5-l3-noc", "simple-bus";
132                 #address-cells = <1>;
133                 #size-cells = <1>;
134                 ranges;
135                 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
136                 reg = <0x44000000 0x2000>,
137                       <0x44800000 0x3000>,
138                       <0x45000000 0x4000>;
139                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
140                              <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
141
142                 l4_cfg: l4@4a000000 {
143                         compatible = "ti,omap5-l4-cfg", "simple-bus";
144                         #address-cells = <1>;
145                         #size-cells = <1>;
146                         ranges = <0 0x4a000000 0x22a000>;
147
148                         scm_core: scm@2000 {
149                                 compatible = "ti,omap5-scm-core", "simple-bus";
150                                 reg = <0x2000 0x1000>;
151                                 #address-cells = <1>;
152                                 #size-cells = <1>;
153                                 ranges = <0 0x2000 0x800>;
154
155                                 scm_conf: scm_conf@0 {
156                                         compatible = "syscon";
157                                         reg = <0x0 0x800>;
158                                         #address-cells = <1>;
159                                         #size-cells = <1>;
160                                 };
161                         };
162
163                         scm_padconf_core: scm@2800 {
164                                 compatible = "ti,omap5-scm-padconf-core",
165                                              "simple-bus";
166                                 #address-cells = <1>;
167                                 #size-cells = <1>;
168                                 ranges = <0 0x2800 0x800>;
169
170                                 omap5_pmx_core: pinmux@40 {
171                                         compatible = "ti,omap5-padconf",
172                                                      "pinctrl-single";
173                                         reg = <0x40 0x01b6>;
174                                         #address-cells = <1>;
175                                         #size-cells = <0>;
176                                         #interrupt-cells = <1>;
177                                         interrupt-controller;
178                                         pinctrl-single,register-width = <16>;
179                                         pinctrl-single,function-mask = <0x7fff>;
180                                 };
181
182                                 omap5_padconf_global: omap5_padconf_global@5a0 {
183                                         compatible = "syscon";
184                                         reg = <0x5a0 0xec>;
185                                         #address-cells = <1>;
186                                         #size-cells = <1>;
187
188                                         pbias_regulator: pbias_regulator {
189                                                 compatible = "ti,pbias-omap";
190                                                 reg = <0x60 0x4>;
191                                                 syscon = <&omap5_padconf_global>;
192                                                 pbias_mmc_reg: pbias_mmc_omap5 {
193                                                         regulator-name = "pbias_mmc_omap5";
194                                                         regulator-min-microvolt = <1800000>;
195                                                         regulator-max-microvolt = <3000000>;
196                                                 };
197                                         };
198                                 };
199                         };
200
201                         cm_core_aon: cm_core_aon@4000 {
202                                 compatible = "ti,omap5-cm-core-aon";
203                                 reg = <0x4000 0x2000>;
204
205                                 cm_core_aon_clocks: clocks {
206                                         #address-cells = <1>;
207                                         #size-cells = <0>;
208                                 };
209
210                                 cm_core_aon_clockdomains: clockdomains {
211                                 };
212                         };
213
214                         cm_core: cm_core@8000 {
215                                 compatible = "ti,omap5-cm-core";
216                                 reg = <0x8000 0x3000>;
217
218                                 cm_core_clocks: clocks {
219                                         #address-cells = <1>;
220                                         #size-cells = <0>;
221                                 };
222
223                                 cm_core_clockdomains: clockdomains {
224                                 };
225                         };
226                 };
227
228                 l4_wkup: l4@4ae00000 {
229                         compatible = "ti,omap5-l4-wkup", "simple-bus";
230                         #address-cells = <1>;
231                         #size-cells = <1>;
232                         ranges = <0 0x4ae00000 0x2b000>;
233
234                         counter32k: counter@4000 {
235                                 compatible = "ti,omap-counter32k";
236                                 reg = <0x4000 0x40>;
237                                 ti,hwmods = "counter_32k";
238                         };
239
240                         prm: prm@6000 {
241                                 compatible = "ti,omap5-prm";
242                                 reg = <0x6000 0x3000>;
243                                 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
244
245                                 prm_clocks: clocks {
246                                         #address-cells = <1>;
247                                         #size-cells = <0>;
248                                 };
249
250                                 prm_clockdomains: clockdomains {
251                                 };
252                         };
253
254                         scrm: scrm@a000 {
255                                 compatible = "ti,omap5-scrm";
256                                 reg = <0xa000 0x2000>;
257
258                                 scrm_clocks: clocks {
259                                         #address-cells = <1>;
260                                         #size-cells = <0>;
261                                 };
262
263                                 scrm_clockdomains: clockdomains {
264                                 };
265                         };
266
267                         omap5_pmx_wkup: pinmux@c840 {
268                                 compatible = "ti,omap5-padconf",
269                                              "pinctrl-single";
270                                 reg = <0xc840 0x0038>;
271                                 #address-cells = <1>;
272                                 #size-cells = <0>;
273                                 #interrupt-cells = <1>;
274                                 interrupt-controller;
275                                 pinctrl-single,register-width = <16>;
276                                 pinctrl-single,function-mask = <0x7fff>;
277                         };
278                 };
279
280                 ocmcram: ocmcram@40300000 {
281                         compatible = "mmio-sram";
282                         reg = <0x40300000 0x20000>; /* 128k */
283                 };
284
285                 sdma: dma-controller@4a056000 {
286                         compatible = "ti,omap4430-sdma";
287                         reg = <0x4a056000 0x1000>;
288                         interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
289                                      <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
290                                      <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
291                                      <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
292                         #dma-cells = <1>;
293                         dma-channels = <32>;
294                         dma-requests = <127>;
295                 };
296
297                 gpio1: gpio@4ae10000 {
298                         compatible = "ti,omap4-gpio";
299                         reg = <0x4ae10000 0x200>;
300                         interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
301                         ti,hwmods = "gpio1";
302                         ti,gpio-always-on;
303                         gpio-controller;
304                         #gpio-cells = <2>;
305                         interrupt-controller;
306                         #interrupt-cells = <2>;
307                 };
308
309                 gpio2: gpio@48055000 {
310                         compatible = "ti,omap4-gpio";
311                         reg = <0x48055000 0x200>;
312                         interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
313                         ti,hwmods = "gpio2";
314                         gpio-controller;
315                         #gpio-cells = <2>;
316                         interrupt-controller;
317                         #interrupt-cells = <2>;
318                 };
319
320                 gpio3: gpio@48057000 {
321                         compatible = "ti,omap4-gpio";
322                         reg = <0x48057000 0x200>;
323                         interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
324                         ti,hwmods = "gpio3";
325                         gpio-controller;
326                         #gpio-cells = <2>;
327                         interrupt-controller;
328                         #interrupt-cells = <2>;
329                 };
330
331                 gpio4: gpio@48059000 {
332                         compatible = "ti,omap4-gpio";
333                         reg = <0x48059000 0x200>;
334                         interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
335                         ti,hwmods = "gpio4";
336                         gpio-controller;
337                         #gpio-cells = <2>;
338                         interrupt-controller;
339                         #interrupt-cells = <2>;
340                 };
341
342                 gpio5: gpio@4805b000 {
343                         compatible = "ti,omap4-gpio";
344                         reg = <0x4805b000 0x200>;
345                         interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
346                         ti,hwmods = "gpio5";
347                         gpio-controller;
348                         #gpio-cells = <2>;
349                         interrupt-controller;
350                         #interrupt-cells = <2>;
351                 };
352
353                 gpio6: gpio@4805d000 {
354                         compatible = "ti,omap4-gpio";
355                         reg = <0x4805d000 0x200>;
356                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
357                         ti,hwmods = "gpio6";
358                         gpio-controller;
359                         #gpio-cells = <2>;
360                         interrupt-controller;
361                         #interrupt-cells = <2>;
362                 };
363
364                 gpio7: gpio@48051000 {
365                         compatible = "ti,omap4-gpio";
366                         reg = <0x48051000 0x200>;
367                         interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
368                         ti,hwmods = "gpio7";
369                         gpio-controller;
370                         #gpio-cells = <2>;
371                         interrupt-controller;
372                         #interrupt-cells = <2>;
373                 };
374
375                 gpio8: gpio@48053000 {
376                         compatible = "ti,omap4-gpio";
377                         reg = <0x48053000 0x200>;
378                         interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
379                         ti,hwmods = "gpio8";
380                         gpio-controller;
381                         #gpio-cells = <2>;
382                         interrupt-controller;
383                         #interrupt-cells = <2>;
384                 };
385
386                 gpmc: gpmc@50000000 {
387                         compatible = "ti,omap4430-gpmc";
388                         reg = <0x50000000 0x1000>;
389                         #address-cells = <2>;
390                         #size-cells = <1>;
391                         interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
392                         gpmc,num-cs = <8>;
393                         gpmc,num-waitpins = <4>;
394                         ti,hwmods = "gpmc";
395                         clocks = <&l3_iclk_div>;
396                         clock-names = "fck";
397                 };
398
399                 i2c1: i2c@48070000 {
400                         compatible = "ti,omap4-i2c";
401                         reg = <0x48070000 0x100>;
402                         interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
403                         #address-cells = <1>;
404                         #size-cells = <0>;
405                         ti,hwmods = "i2c1";
406                 };
407
408                 i2c2: i2c@48072000 {
409                         compatible = "ti,omap4-i2c";
410                         reg = <0x48072000 0x100>;
411                         interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
412                         #address-cells = <1>;
413                         #size-cells = <0>;
414                         ti,hwmods = "i2c2";
415                 };
416
417                 i2c3: i2c@48060000 {
418                         compatible = "ti,omap4-i2c";
419                         reg = <0x48060000 0x100>;
420                         interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
421                         #address-cells = <1>;
422                         #size-cells = <0>;
423                         ti,hwmods = "i2c3";
424                 };
425
426                 i2c4: i2c@4807a000 {
427                         compatible = "ti,omap4-i2c";
428                         reg = <0x4807a000 0x100>;
429                         interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
430                         #address-cells = <1>;
431                         #size-cells = <0>;
432                         ti,hwmods = "i2c4";
433                 };
434
435                 i2c5: i2c@4807c000 {
436                         compatible = "ti,omap4-i2c";
437                         reg = <0x4807c000 0x100>;
438                         interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
439                         #address-cells = <1>;
440                         #size-cells = <0>;
441                         ti,hwmods = "i2c5";
442                 };
443
444                 hwspinlock: spinlock@4a0f6000 {
445                         compatible = "ti,omap4-hwspinlock";
446                         reg = <0x4a0f6000 0x1000>;
447                         ti,hwmods = "spinlock";
448                         #hwlock-cells = <1>;
449                 };
450
451                 mcspi1: spi@48098000 {
452                         compatible = "ti,omap4-mcspi";
453                         reg = <0x48098000 0x200>;
454                         interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
455                         #address-cells = <1>;
456                         #size-cells = <0>;
457                         ti,hwmods = "mcspi1";
458                         ti,spi-num-cs = <4>;
459                         dmas = <&sdma 35>,
460                                <&sdma 36>,
461                                <&sdma 37>,
462                                <&sdma 38>,
463                                <&sdma 39>,
464                                <&sdma 40>,
465                                <&sdma 41>,
466                                <&sdma 42>;
467                         dma-names = "tx0", "rx0", "tx1", "rx1",
468                                     "tx2", "rx2", "tx3", "rx3";
469                 };
470
471                 mcspi2: spi@4809a000 {
472                         compatible = "ti,omap4-mcspi";
473                         reg = <0x4809a000 0x200>;
474                         interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
475                         #address-cells = <1>;
476                         #size-cells = <0>;
477                         ti,hwmods = "mcspi2";
478                         ti,spi-num-cs = <2>;
479                         dmas = <&sdma 43>,
480                                <&sdma 44>,
481                                <&sdma 45>,
482                                <&sdma 46>;
483                         dma-names = "tx0", "rx0", "tx1", "rx1";
484                 };
485
486                 mcspi3: spi@480b8000 {
487                         compatible = "ti,omap4-mcspi";
488                         reg = <0x480b8000 0x200>;
489                         interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
490                         #address-cells = <1>;
491                         #size-cells = <0>;
492                         ti,hwmods = "mcspi3";
493                         ti,spi-num-cs = <2>;
494                         dmas = <&sdma 15>, <&sdma 16>;
495                         dma-names = "tx0", "rx0";
496                 };
497
498                 mcspi4: spi@480ba000 {
499                         compatible = "ti,omap4-mcspi";
500                         reg = <0x480ba000 0x200>;
501                         interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
502                         #address-cells = <1>;
503                         #size-cells = <0>;
504                         ti,hwmods = "mcspi4";
505                         ti,spi-num-cs = <1>;
506                         dmas = <&sdma 70>, <&sdma 71>;
507                         dma-names = "tx0", "rx0";
508                 };
509
510                 uart1: serial@4806a000 {
511                         compatible = "ti,omap4-uart";
512                         reg = <0x4806a000 0x100>;
513                         interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
514                         ti,hwmods = "uart1";
515                         clock-frequency = <48000000>;
516                 };
517
518                 uart2: serial@4806c000 {
519                         compatible = "ti,omap4-uart";
520                         reg = <0x4806c000 0x100>;
521                         interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
522                         ti,hwmods = "uart2";
523                         clock-frequency = <48000000>;
524                 };
525
526                 uart3: serial@48020000 {
527                         compatible = "ti,omap4-uart";
528                         reg = <0x48020000 0x100>;
529                         interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
530                         ti,hwmods = "uart3";
531                         clock-frequency = <48000000>;
532                 };
533
534                 uart4: serial@4806e000 {
535                         compatible = "ti,omap4-uart";
536                         reg = <0x4806e000 0x100>;
537                         interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
538                         ti,hwmods = "uart4";
539                         clock-frequency = <48000000>;
540                 };
541
542                 uart5: serial@48066000 {
543                         compatible = "ti,omap4-uart";
544                         reg = <0x48066000 0x100>;
545                         interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
546                         ti,hwmods = "uart5";
547                         clock-frequency = <48000000>;
548                 };
549
550                 uart6: serial@48068000 {
551                         compatible = "ti,omap4-uart";
552                         reg = <0x48068000 0x100>;
553                         interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
554                         ti,hwmods = "uart6";
555                         clock-frequency = <48000000>;
556                 };
557
558                 mmc1: mmc@4809c000 {
559                         compatible = "ti,omap4-hsmmc";
560                         reg = <0x4809c000 0x400>;
561                         interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
562                         ti,hwmods = "mmc1";
563                         ti,dual-volt;
564                         ti,needs-special-reset;
565                         dmas = <&sdma 61>, <&sdma 62>;
566                         dma-names = "tx", "rx";
567                         pbias-supply = <&pbias_mmc_reg>;
568                 };
569
570                 mmc2: mmc@480b4000 {
571                         compatible = "ti,omap4-hsmmc";
572                         reg = <0x480b4000 0x400>;
573                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
574                         ti,hwmods = "mmc2";
575                         ti,needs-special-reset;
576                         dmas = <&sdma 47>, <&sdma 48>;
577                         dma-names = "tx", "rx";
578                 };
579
580                 mmc3: mmc@480ad000 {
581                         compatible = "ti,omap4-hsmmc";
582                         reg = <0x480ad000 0x400>;
583                         interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
584                         ti,hwmods = "mmc3";
585                         ti,needs-special-reset;
586                         dmas = <&sdma 77>, <&sdma 78>;
587                         dma-names = "tx", "rx";
588                 };
589
590                 mmc4: mmc@480d1000 {
591                         compatible = "ti,omap4-hsmmc";
592                         reg = <0x480d1000 0x400>;
593                         interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
594                         ti,hwmods = "mmc4";
595                         ti,needs-special-reset;
596                         dmas = <&sdma 57>, <&sdma 58>;
597                         dma-names = "tx", "rx";
598                 };
599
600                 mmc5: mmc@480d5000 {
601                         compatible = "ti,omap4-hsmmc";
602                         reg = <0x480d5000 0x400>;
603                         interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
604                         ti,hwmods = "mmc5";
605                         ti,needs-special-reset;
606                         dmas = <&sdma 59>, <&sdma 60>;
607                         dma-names = "tx", "rx";
608                 };
609
610                 mmu_dsp: mmu@4a066000 {
611                         compatible = "ti,omap4-iommu";
612                         reg = <0x4a066000 0x100>;
613                         interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
614                         ti,hwmods = "mmu_dsp";
615                         #iommu-cells = <0>;
616                 };
617
618                 mmu_ipu: mmu@55082000 {
619                         compatible = "ti,omap4-iommu";
620                         reg = <0x55082000 0x100>;
621                         interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
622                         ti,hwmods = "mmu_ipu";
623                         #iommu-cells = <0>;
624                         ti,iommu-bus-err-back;
625                 };
626
627                 keypad: keypad@4ae1c000 {
628                         compatible = "ti,omap4-keypad";
629                         reg = <0x4ae1c000 0x400>;
630                         ti,hwmods = "kbd";
631                 };
632
633                 mcpdm: mcpdm@40132000 {
634                         compatible = "ti,omap4-mcpdm";
635                         reg = <0x40132000 0x7f>, /* MPU private access */
636                               <0x49032000 0x7f>; /* L3 Interconnect */
637                         reg-names = "mpu", "dma";
638                         interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
639                         ti,hwmods = "mcpdm";
640                         dmas = <&sdma 65>,
641                                <&sdma 66>;
642                         dma-names = "up_link", "dn_link";
643                         status = "disabled";
644                 };
645
646                 dmic: dmic@4012e000 {
647                         compatible = "ti,omap4-dmic";
648                         reg = <0x4012e000 0x7f>, /* MPU private access */
649                               <0x4902e000 0x7f>; /* L3 Interconnect */
650                         reg-names = "mpu", "dma";
651                         interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
652                         ti,hwmods = "dmic";
653                         dmas = <&sdma 67>;
654                         dma-names = "up_link";
655                         status = "disabled";
656                 };
657
658                 mcbsp1: mcbsp@40122000 {
659                         compatible = "ti,omap4-mcbsp";
660                         reg = <0x40122000 0xff>, /* MPU private access */
661                               <0x49022000 0xff>; /* L3 Interconnect */
662                         reg-names = "mpu", "dma";
663                         interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
664                         interrupt-names = "common";
665                         ti,buffer-size = <128>;
666                         ti,hwmods = "mcbsp1";
667                         dmas = <&sdma 33>,
668                                <&sdma 34>;
669                         dma-names = "tx", "rx";
670                         status = "disabled";
671                 };
672
673                 mcbsp2: mcbsp@40124000 {
674                         compatible = "ti,omap4-mcbsp";
675                         reg = <0x40124000 0xff>, /* MPU private access */
676                               <0x49024000 0xff>; /* L3 Interconnect */
677                         reg-names = "mpu", "dma";
678                         interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
679                         interrupt-names = "common";
680                         ti,buffer-size = <128>;
681                         ti,hwmods = "mcbsp2";
682                         dmas = <&sdma 17>,
683                                <&sdma 18>;
684                         dma-names = "tx", "rx";
685                         status = "disabled";
686                 };
687
688                 mcbsp3: mcbsp@40126000 {
689                         compatible = "ti,omap4-mcbsp";
690                         reg = <0x40126000 0xff>, /* MPU private access */
691                               <0x49026000 0xff>; /* L3 Interconnect */
692                         reg-names = "mpu", "dma";
693                         interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
694                         interrupt-names = "common";
695                         ti,buffer-size = <128>;
696                         ti,hwmods = "mcbsp3";
697                         dmas = <&sdma 19>,
698                                <&sdma 20>;
699                         dma-names = "tx", "rx";
700                         status = "disabled";
701                 };
702
703                 mailbox: mailbox@4a0f4000 {
704                         compatible = "ti,omap4-mailbox";
705                         reg = <0x4a0f4000 0x200>;
706                         interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
707                         ti,hwmods = "mailbox";
708                         #mbox-cells = <1>;
709                         ti,mbox-num-users = <3>;
710                         ti,mbox-num-fifos = <8>;
711                         mbox_ipu: mbox_ipu {
712                                 ti,mbox-tx = <0 0 0>;
713                                 ti,mbox-rx = <1 0 0>;
714                         };
715                         mbox_dsp: mbox_dsp {
716                                 ti,mbox-tx = <3 0 0>;
717                                 ti,mbox-rx = <2 0 0>;
718                         };
719                 };
720
721                 timer1: timer@4ae18000 {
722                         compatible = "ti,omap5430-timer";
723                         reg = <0x4ae18000 0x80>;
724                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
725                         ti,hwmods = "timer1";
726                         ti,timer-alwon;
727                 };
728
729                 timer2: timer@48032000 {
730                         compatible = "ti,omap5430-timer";
731                         reg = <0x48032000 0x80>;
732                         interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
733                         ti,hwmods = "timer2";
734                 };
735
736                 timer3: timer@48034000 {
737                         compatible = "ti,omap5430-timer";
738                         reg = <0x48034000 0x80>;
739                         interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
740                         ti,hwmods = "timer3";
741                 };
742
743                 timer4: timer@48036000 {
744                         compatible = "ti,omap5430-timer";
745                         reg = <0x48036000 0x80>;
746                         interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
747                         ti,hwmods = "timer4";
748                 };
749
750                 timer5: timer@40138000 {
751                         compatible = "ti,omap5430-timer";
752                         reg = <0x40138000 0x80>,
753                               <0x49038000 0x80>;
754                         interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
755                         ti,hwmods = "timer5";
756                         ti,timer-dsp;
757                         ti,timer-pwm;
758                 };
759
760                 timer6: timer@4013a000 {
761                         compatible = "ti,omap5430-timer";
762                         reg = <0x4013a000 0x80>,
763                               <0x4903a000 0x80>;
764                         interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
765                         ti,hwmods = "timer6";
766                         ti,timer-dsp;
767                         ti,timer-pwm;
768                 };
769
770                 timer7: timer@4013c000 {
771                         compatible = "ti,omap5430-timer";
772                         reg = <0x4013c000 0x80>,
773                               <0x4903c000 0x80>;
774                         interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
775                         ti,hwmods = "timer7";
776                         ti,timer-dsp;
777                 };
778
779                 timer8: timer@4013e000 {
780                         compatible = "ti,omap5430-timer";
781                         reg = <0x4013e000 0x80>,
782                               <0x4903e000 0x80>;
783                         interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
784                         ti,hwmods = "timer8";
785                         ti,timer-dsp;
786                         ti,timer-pwm;
787                 };
788
789                 timer9: timer@4803e000 {
790                         compatible = "ti,omap5430-timer";
791                         reg = <0x4803e000 0x80>;
792                         interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
793                         ti,hwmods = "timer9";
794                         ti,timer-pwm;
795                 };
796
797                 timer10: timer@48086000 {
798                         compatible = "ti,omap5430-timer";
799                         reg = <0x48086000 0x80>;
800                         interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
801                         ti,hwmods = "timer10";
802                         ti,timer-pwm;
803                 };
804
805                 timer11: timer@48088000 {
806                         compatible = "ti,omap5430-timer";
807                         reg = <0x48088000 0x80>;
808                         interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
809                         ti,hwmods = "timer11";
810                         ti,timer-pwm;
811                 };
812
813                 wdt2: wdt@4ae14000 {
814                         compatible = "ti,omap5-wdt", "ti,omap3-wdt";
815                         reg = <0x4ae14000 0x80>;
816                         interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
817                         ti,hwmods = "wd_timer2";
818                 };
819
820                 dmm@4e000000 {
821                         compatible = "ti,omap5-dmm";
822                         reg = <0x4e000000 0x800>;
823                         interrupts = <0 113 0x4>;
824                         ti,hwmods = "dmm";
825                 };
826
827                 emif1: emif@4c000000 {
828                         compatible      = "ti,emif-4d5";
829                         ti,hwmods       = "emif1";
830                         ti,no-idle-on-init;
831                         phy-type        = <2>; /* DDR PHY type: Intelli PHY */
832                         reg = <0x4c000000 0x400>;
833                         interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
834                         hw-caps-read-idle-ctrl;
835                         hw-caps-ll-interface;
836                         hw-caps-temp-alert;
837                 };
838
839                 emif2: emif@4d000000 {
840                         compatible      = "ti,emif-4d5";
841                         ti,hwmods       = "emif2";
842                         ti,no-idle-on-init;
843                         phy-type        = <2>; /* DDR PHY type: Intelli PHY */
844                         reg = <0x4d000000 0x400>;
845                         interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
846                         hw-caps-read-idle-ctrl;
847                         hw-caps-ll-interface;
848                         hw-caps-temp-alert;
849                 };
850
851                 omap_control_usb2phy: control-phy@4a002300 {
852                         compatible = "ti,control-phy-usb2";
853                         reg = <0x4a002300 0x4>;
854                         reg-names = "power";
855                 };
856
857                 omap_control_usb3phy: control-phy@4a002370 {
858                         compatible = "ti,control-phy-pipe3";
859                         reg = <0x4a002370 0x4>;
860                         reg-names = "power";
861                 };
862
863                 usb3: omap_dwc3@4a020000 {
864                         compatible = "ti,dwc3";
865                         ti,hwmods = "usb_otg_ss";
866                         reg = <0x4a020000 0x10000>;
867                         interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
868                         #address-cells = <1>;
869                         #size-cells = <1>;
870                         utmi-mode = <2>;
871                         ranges;
872                         dwc3@4a030000 {
873                                 compatible = "snps,dwc3";
874                                 reg = <0x4a030000 0x10000>;
875                                 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
876                                 phys = <&usb2_phy>, <&usb3_phy>;
877                                 phy-names = "usb2-phy", "usb3-phy";
878                                 dr_mode = "peripheral";
879                                 tx-fifo-resize;
880                         };
881                 };
882
883                 ocp2scp@4a080000 {
884                         compatible = "ti,omap-ocp2scp";
885                         #address-cells = <1>;
886                         #size-cells = <1>;
887                         reg = <0x4a080000 0x20>;
888                         ranges;
889                         ti,hwmods = "ocp2scp1";
890                         usb2_phy: usb2phy@4a084000 {
891                                 compatible = "ti,omap-usb2";
892                                 reg = <0x4a084000 0x7c>;
893                                 ctrl-module = <&omap_control_usb2phy>;
894                                 clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
895                                 clock-names = "wkupclk", "refclk";
896                                 #phy-cells = <0>;
897                         };
898
899                         usb3_phy: usb3phy@4a084400 {
900                                 compatible = "ti,omap-usb3";
901                                 reg = <0x4a084400 0x80>,
902                                       <0x4a084800 0x64>,
903                                       <0x4a084c00 0x40>;
904                                 reg-names = "phy_rx", "phy_tx", "pll_ctrl";
905                                 ctrl-module = <&omap_control_usb3phy>;
906                                 clocks = <&usb_phy_cm_clk32k>,
907                                          <&sys_clkin>,
908                                          <&usb_otg_ss_refclk960m>;
909                                 clock-names =   "wkupclk",
910                                                 "sysclk",
911                                                 "refclk";
912                                 #phy-cells = <0>;
913                         };
914                 };
915
916                 usbhstll: usbhstll@4a062000 {
917                         compatible = "ti,usbhs-tll";
918                         reg = <0x4a062000 0x1000>;
919                         interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
920                         ti,hwmods = "usb_tll_hs";
921                 };
922
923                 usbhshost: usbhshost@4a064000 {
924                         compatible = "ti,usbhs-host";
925                         reg = <0x4a064000 0x800>;
926                         ti,hwmods = "usb_host_hs";
927                         #address-cells = <1>;
928                         #size-cells = <1>;
929                         ranges;
930                         clocks = <&l3init_60m_fclk>,
931                                  <&xclk60mhsp1_ck>,
932                                  <&xclk60mhsp2_ck>;
933                         clock-names = "refclk_60m_int",
934                                       "refclk_60m_ext_p1",
935                                       "refclk_60m_ext_p2";
936
937                         usbhsohci: ohci@4a064800 {
938                                 compatible = "ti,ohci-omap3";
939                                 reg = <0x4a064800 0x400>;
940                                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
941                         };
942
943                         usbhsehci: ehci@4a064c00 {
944                                 compatible = "ti,ehci-omap";
945                                 reg = <0x4a064c00 0x400>;
946                                 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
947                         };
948                 };
949
950                 bandgap: bandgap@4a0021e0 {
951                         reg = <0x4a0021e0 0xc
952                                0x4a00232c 0xc
953                                0x4a002380 0x2c
954                                0x4a0023C0 0x3c>;
955                         interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
956                         compatible = "ti,omap5430-bandgap";
957
958                         #thermal-sensor-cells = <1>;
959                 };
960
961                 omap_control_sata: control-phy@4a002374 {
962                         compatible = "ti,control-phy-pipe3";
963                         reg = <0x4a002374 0x4>;
964                         reg-names = "power";
965                         clocks = <&sys_clkin>;
966                         clock-names = "sysclk";
967                 };
968
969                 /* OCP2SCP3 */
970                 ocp2scp@4a090000 {
971                         compatible = "ti,omap-ocp2scp";
972                         #address-cells = <1>;
973                         #size-cells = <1>;
974                         reg = <0x4a090000 0x20>;
975                         ranges;
976                         ti,hwmods = "ocp2scp3";
977                         sata_phy: phy@4a096000 {
978                                 compatible = "ti,phy-pipe3-sata";
979                                 reg = <0x4A096000 0x80>, /* phy_rx */
980                                       <0x4A096400 0x64>, /* phy_tx */
981                                       <0x4A096800 0x40>; /* pll_ctrl */
982                                 reg-names = "phy_rx", "phy_tx", "pll_ctrl";
983                                 ctrl-module = <&omap_control_sata>;
984                                 clocks = <&sys_clkin>, <&sata_ref_clk>;
985                                 clock-names = "sysclk", "refclk";
986                                 #phy-cells = <0>;
987                         };
988                 };
989
990                 sata: sata@4a141100 {
991                         compatible = "snps,dwc-ahci";
992                         reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
993                         interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
994                         phys = <&sata_phy>;
995                         phy-names = "sata-phy";
996                         clocks = <&sata_ref_clk>;
997                         ti,hwmods = "sata";
998                 };
999
1000                 dss: dss@58000000 {
1001                         compatible = "ti,omap5-dss";
1002                         reg = <0x58000000 0x80>;
1003                         status = "disabled";
1004                         ti,hwmods = "dss_core";
1005                         clocks = <&dss_dss_clk>;
1006                         clock-names = "fck";
1007                         #address-cells = <1>;
1008                         #size-cells = <1>;
1009                         ranges;
1010
1011                         dispc@58001000 {
1012                                 compatible = "ti,omap5-dispc";
1013                                 reg = <0x58001000 0x1000>;
1014                                 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1015                                 ti,hwmods = "dss_dispc";
1016                                 clocks = <&dss_dss_clk>;
1017                                 clock-names = "fck";
1018                         };
1019
1020                         rfbi: encoder@58002000  {
1021                                 compatible = "ti,omap5-rfbi";
1022                                 reg = <0x58002000 0x100>;
1023                                 status = "disabled";
1024                                 ti,hwmods = "dss_rfbi";
1025                                 clocks = <&dss_dss_clk>, <&l3_iclk_div>;
1026                                 clock-names = "fck", "ick";
1027                         };
1028
1029                         dsi1: encoder@58004000 {
1030                                 compatible = "ti,omap5-dsi";
1031                                 reg = <0x58004000 0x200>,
1032                                       <0x58004200 0x40>,
1033                                       <0x58004300 0x40>;
1034                                 reg-names = "proto", "phy", "pll";
1035                                 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1036                                 status = "disabled";
1037                                 ti,hwmods = "dss_dsi1";
1038                                 clocks = <&dss_dss_clk>, <&dss_sys_clk>;
1039                                 clock-names = "fck", "sys_clk";
1040                         };
1041
1042                         dsi2: encoder@58005000 {
1043                                 compatible = "ti,omap5-dsi";
1044                                 reg = <0x58009000 0x200>,
1045                                       <0x58009200 0x40>,
1046                                       <0x58009300 0x40>;
1047                                 reg-names = "proto", "phy", "pll";
1048                                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
1049                                 status = "disabled";
1050                                 ti,hwmods = "dss_dsi2";
1051                                 clocks = <&dss_dss_clk>, <&dss_sys_clk>;
1052                                 clock-names = "fck", "sys_clk";
1053                         };
1054
1055                         hdmi: encoder@58060000 {
1056                                 compatible = "ti,omap5-hdmi";
1057                                 reg = <0x58040000 0x200>,
1058                                       <0x58040200 0x80>,
1059                                       <0x58040300 0x80>,
1060                                       <0x58060000 0x19000>;
1061                                 reg-names = "wp", "pll", "phy", "core";
1062                                 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1063                                 status = "disabled";
1064                                 ti,hwmods = "dss_hdmi";
1065                                 clocks = <&dss_48mhz_clk>, <&dss_sys_clk>;
1066                                 clock-names = "fck", "sys_clk";
1067                                 dmas = <&sdma 76>;
1068                                 dma-names = "audio_tx";
1069                         };
1070                 };
1071
1072                 abb_mpu: regulator-abb-mpu {
1073                         compatible = "ti,abb-v2";
1074                         regulator-name = "abb_mpu";
1075                         #address-cells = <0>;
1076                         #size-cells = <0>;
1077                         clocks = <&sys_clkin>;
1078                         ti,settling-time = <50>;
1079                         ti,clock-cycles = <16>;
1080
1081                         reg = <0x4ae07cdc 0x8>, <0x4ae06014 0x4>,
1082                               <0x4a0021c4 0x8>, <0x4ae0c318 0x4>;
1083                         reg-names = "base-address", "int-address",
1084                                     "efuse-address", "ldo-address";
1085                         ti,tranxdone-status-mask = <0x80>;
1086                         /* LDOVBBMPU_MUX_CTRL */
1087                         ti,ldovbb-override-mask = <0x400>;
1088                         /* LDOVBBMPU_VSET_OUT */
1089                         ti,ldovbb-vset-mask = <0x1F>;
1090
1091                         /*
1092                          * NOTE: only FBB mode used but actual vset will
1093                          * determine final biasing
1094                          */
1095                         ti,abb_info = <
1096                         /*uV            ABB     efuse   rbb_m fbb_m     vset_m*/
1097                         1060000         0       0x0     0 0x02000000 0x01F00000
1098                         1250000         0       0x4     0 0x02000000 0x01F00000
1099                         >;
1100                 };
1101
1102                 abb_mm: regulator-abb-mm {
1103                         compatible = "ti,abb-v2";
1104                         regulator-name = "abb_mm";
1105                         #address-cells = <0>;
1106                         #size-cells = <0>;
1107                         clocks = <&sys_clkin>;
1108                         ti,settling-time = <50>;
1109                         ti,clock-cycles = <16>;
1110
1111                         reg = <0x4ae07ce4 0x8>, <0x4ae06010 0x4>,
1112                               <0x4a0021a4 0x8>, <0x4ae0c314 0x4>;
1113                         reg-names = "base-address", "int-address",
1114                                     "efuse-address", "ldo-address";
1115                         ti,tranxdone-status-mask = <0x80000000>;
1116                         /* LDOVBBMM_MUX_CTRL */
1117                         ti,ldovbb-override-mask = <0x400>;
1118                         /* LDOVBBMM_VSET_OUT */
1119                         ti,ldovbb-vset-mask = <0x1F>;
1120
1121                         /*
1122                          * NOTE: only FBB mode used but actual vset will
1123                          * determine final biasing
1124                          */
1125                         ti,abb_info = <
1126                         /*uV            ABB     efuse   rbb_m fbb_m     vset_m*/
1127                         1025000         0       0x0     0 0x02000000 0x01F00000
1128                         1120000         0       0x4     0 0x02000000 0x01F00000
1129                         >;
1130                 };
1131         };
1132 };
1133
1134 &cpu_thermal {
1135         polling-delay = <500>; /* milliseconds */
1136 };
1137
1138 /include/ "omap54xx-clocks.dtsi"