WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / freescale / fsl-lx2160a.dtsi
blob197397777c8374012312caf15e44c3288e9e5344
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Device Tree Include file for Layerscape-LX2160A family SoC.
4 //
5 // Copyright 2018-2020 NXP
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/thermal/thermal.h>
11 /memreserve/ 0x80000000 0x00010000;
13 / {
14         compatible = "fsl,lx2160a";
15         interrupt-parent = <&gic>;
16         #address-cells = <2>;
17         #size-cells = <2>;
19         aliases {
20                 rtc1 = &ftm_alarm0;
21         };
23         cpus {
24                 #address-cells = <1>;
25                 #size-cells = <0>;
27                 // 8 clusters having 2 Cortex-A72 cores each
28                 cpu0: cpu@0 {
29                         device_type = "cpu";
30                         compatible = "arm,cortex-a72";
31                         enable-method = "psci";
32                         reg = <0x0>;
33                         clocks = <&clockgen 1 0>;
34                         d-cache-size = <0x8000>;
35                         d-cache-line-size = <64>;
36                         d-cache-sets = <128>;
37                         i-cache-size = <0xC000>;
38                         i-cache-line-size = <64>;
39                         i-cache-sets = <192>;
40                         next-level-cache = <&cluster0_l2>;
41                         cpu-idle-states = <&cpu_pw15>;
42                         #cooling-cells = <2>;
43                 };
45                 cpu1: cpu@1 {
46                         device_type = "cpu";
47                         compatible = "arm,cortex-a72";
48                         enable-method = "psci";
49                         reg = <0x1>;
50                         clocks = <&clockgen 1 0>;
51                         d-cache-size = <0x8000>;
52                         d-cache-line-size = <64>;
53                         d-cache-sets = <128>;
54                         i-cache-size = <0xC000>;
55                         i-cache-line-size = <64>;
56                         i-cache-sets = <192>;
57                         next-level-cache = <&cluster0_l2>;
58                         cpu-idle-states = <&cpu_pw15>;
59                         #cooling-cells = <2>;
60                 };
62                 cpu100: cpu@100 {
63                         device_type = "cpu";
64                         compatible = "arm,cortex-a72";
65                         enable-method = "psci";
66                         reg = <0x100>;
67                         clocks = <&clockgen 1 1>;
68                         d-cache-size = <0x8000>;
69                         d-cache-line-size = <64>;
70                         d-cache-sets = <128>;
71                         i-cache-size = <0xC000>;
72                         i-cache-line-size = <64>;
73                         i-cache-sets = <192>;
74                         next-level-cache = <&cluster1_l2>;
75                         cpu-idle-states = <&cpu_pw15>;
76                         #cooling-cells = <2>;
77                 };
79                 cpu101: cpu@101 {
80                         device_type = "cpu";
81                         compatible = "arm,cortex-a72";
82                         enable-method = "psci";
83                         reg = <0x101>;
84                         clocks = <&clockgen 1 1>;
85                         d-cache-size = <0x8000>;
86                         d-cache-line-size = <64>;
87                         d-cache-sets = <128>;
88                         i-cache-size = <0xC000>;
89                         i-cache-line-size = <64>;
90                         i-cache-sets = <192>;
91                         next-level-cache = <&cluster1_l2>;
92                         cpu-idle-states = <&cpu_pw15>;
93                         #cooling-cells = <2>;
94                 };
96                 cpu200: cpu@200 {
97                         device_type = "cpu";
98                         compatible = "arm,cortex-a72";
99                         enable-method = "psci";
100                         reg = <0x200>;
101                         clocks = <&clockgen 1 2>;
102                         d-cache-size = <0x8000>;
103                         d-cache-line-size = <64>;
104                         d-cache-sets = <128>;
105                         i-cache-size = <0xC000>;
106                         i-cache-line-size = <64>;
107                         i-cache-sets = <192>;
108                         next-level-cache = <&cluster2_l2>;
109                         cpu-idle-states = <&cpu_pw15>;
110                         #cooling-cells = <2>;
111                 };
113                 cpu201: cpu@201 {
114                         device_type = "cpu";
115                         compatible = "arm,cortex-a72";
116                         enable-method = "psci";
117                         reg = <0x201>;
118                         clocks = <&clockgen 1 2>;
119                         d-cache-size = <0x8000>;
120                         d-cache-line-size = <64>;
121                         d-cache-sets = <128>;
122                         i-cache-size = <0xC000>;
123                         i-cache-line-size = <64>;
124                         i-cache-sets = <192>;
125                         next-level-cache = <&cluster2_l2>;
126                         cpu-idle-states = <&cpu_pw15>;
127                         #cooling-cells = <2>;
128                 };
130                 cpu300: cpu@300 {
131                         device_type = "cpu";
132                         compatible = "arm,cortex-a72";
133                         enable-method = "psci";
134                         reg = <0x300>;
135                         clocks = <&clockgen 1 3>;
136                         d-cache-size = <0x8000>;
137                         d-cache-line-size = <64>;
138                         d-cache-sets = <128>;
139                         i-cache-size = <0xC000>;
140                         i-cache-line-size = <64>;
141                         i-cache-sets = <192>;
142                         next-level-cache = <&cluster3_l2>;
143                         cpu-idle-states = <&cpu_pw15>;
144                         #cooling-cells = <2>;
145                 };
147                 cpu301: cpu@301 {
148                         device_type = "cpu";
149                         compatible = "arm,cortex-a72";
150                         enable-method = "psci";
151                         reg = <0x301>;
152                         clocks = <&clockgen 1 3>;
153                         d-cache-size = <0x8000>;
154                         d-cache-line-size = <64>;
155                         d-cache-sets = <128>;
156                         i-cache-size = <0xC000>;
157                         i-cache-line-size = <64>;
158                         i-cache-sets = <192>;
159                         next-level-cache = <&cluster3_l2>;
160                         cpu-idle-states = <&cpu_pw15>;
161                         #cooling-cells = <2>;
162                 };
164                 cpu400: cpu@400 {
165                         device_type = "cpu";
166                         compatible = "arm,cortex-a72";
167                         enable-method = "psci";
168                         reg = <0x400>;
169                         clocks = <&clockgen 1 4>;
170                         d-cache-size = <0x8000>;
171                         d-cache-line-size = <64>;
172                         d-cache-sets = <128>;
173                         i-cache-size = <0xC000>;
174                         i-cache-line-size = <64>;
175                         i-cache-sets = <192>;
176                         next-level-cache = <&cluster4_l2>;
177                         cpu-idle-states = <&cpu_pw15>;
178                         #cooling-cells = <2>;
179                 };
181                 cpu401: cpu@401 {
182                         device_type = "cpu";
183                         compatible = "arm,cortex-a72";
184                         enable-method = "psci";
185                         reg = <0x401>;
186                         clocks = <&clockgen 1 4>;
187                         d-cache-size = <0x8000>;
188                         d-cache-line-size = <64>;
189                         d-cache-sets = <128>;
190                         i-cache-size = <0xC000>;
191                         i-cache-line-size = <64>;
192                         i-cache-sets = <192>;
193                         next-level-cache = <&cluster4_l2>;
194                         cpu-idle-states = <&cpu_pw15>;
195                         #cooling-cells = <2>;
196                 };
198                 cpu500: cpu@500 {
199                         device_type = "cpu";
200                         compatible = "arm,cortex-a72";
201                         enable-method = "psci";
202                         reg = <0x500>;
203                         clocks = <&clockgen 1 5>;
204                         d-cache-size = <0x8000>;
205                         d-cache-line-size = <64>;
206                         d-cache-sets = <128>;
207                         i-cache-size = <0xC000>;
208                         i-cache-line-size = <64>;
209                         i-cache-sets = <192>;
210                         next-level-cache = <&cluster5_l2>;
211                         cpu-idle-states = <&cpu_pw15>;
212                         #cooling-cells = <2>;
213                 };
215                 cpu501: cpu@501 {
216                         device_type = "cpu";
217                         compatible = "arm,cortex-a72";
218                         enable-method = "psci";
219                         reg = <0x501>;
220                         clocks = <&clockgen 1 5>;
221                         d-cache-size = <0x8000>;
222                         d-cache-line-size = <64>;
223                         d-cache-sets = <128>;
224                         i-cache-size = <0xC000>;
225                         i-cache-line-size = <64>;
226                         i-cache-sets = <192>;
227                         next-level-cache = <&cluster5_l2>;
228                         cpu-idle-states = <&cpu_pw15>;
229                         #cooling-cells = <2>;
230                 };
232                 cpu600: cpu@600 {
233                         device_type = "cpu";
234                         compatible = "arm,cortex-a72";
235                         enable-method = "psci";
236                         reg = <0x600>;
237                         clocks = <&clockgen 1 6>;
238                         d-cache-size = <0x8000>;
239                         d-cache-line-size = <64>;
240                         d-cache-sets = <128>;
241                         i-cache-size = <0xC000>;
242                         i-cache-line-size = <64>;
243                         i-cache-sets = <192>;
244                         next-level-cache = <&cluster6_l2>;
245                         cpu-idle-states = <&cpu_pw15>;
246                         #cooling-cells = <2>;
247                 };
249                 cpu601: cpu@601 {
250                         device_type = "cpu";
251                         compatible = "arm,cortex-a72";
252                         enable-method = "psci";
253                         reg = <0x601>;
254                         clocks = <&clockgen 1 6>;
255                         d-cache-size = <0x8000>;
256                         d-cache-line-size = <64>;
257                         d-cache-sets = <128>;
258                         i-cache-size = <0xC000>;
259                         i-cache-line-size = <64>;
260                         i-cache-sets = <192>;
261                         next-level-cache = <&cluster6_l2>;
262                         cpu-idle-states = <&cpu_pw15>;
263                         #cooling-cells = <2>;
264                 };
266                 cpu700: cpu@700 {
267                         device_type = "cpu";
268                         compatible = "arm,cortex-a72";
269                         enable-method = "psci";
270                         reg = <0x700>;
271                         clocks = <&clockgen 1 7>;
272                         d-cache-size = <0x8000>;
273                         d-cache-line-size = <64>;
274                         d-cache-sets = <128>;
275                         i-cache-size = <0xC000>;
276                         i-cache-line-size = <64>;
277                         i-cache-sets = <192>;
278                         next-level-cache = <&cluster7_l2>;
279                         cpu-idle-states = <&cpu_pw15>;
280                         #cooling-cells = <2>;
281                 };
283                 cpu701: cpu@701 {
284                         device_type = "cpu";
285                         compatible = "arm,cortex-a72";
286                         enable-method = "psci";
287                         reg = <0x701>;
288                         clocks = <&clockgen 1 7>;
289                         d-cache-size = <0x8000>;
290                         d-cache-line-size = <64>;
291                         d-cache-sets = <128>;
292                         i-cache-size = <0xC000>;
293                         i-cache-line-size = <64>;
294                         i-cache-sets = <192>;
295                         next-level-cache = <&cluster7_l2>;
296                         cpu-idle-states = <&cpu_pw15>;
297                         #cooling-cells = <2>;
298                 };
300                 cluster0_l2: l2-cache0 {
301                         compatible = "cache";
302                         cache-size = <0x100000>;
303                         cache-line-size = <64>;
304                         cache-sets = <1024>;
305                         cache-level = <2>;
306                 };
308                 cluster1_l2: l2-cache1 {
309                         compatible = "cache";
310                         cache-size = <0x100000>;
311                         cache-line-size = <64>;
312                         cache-sets = <1024>;
313                         cache-level = <2>;
314                 };
316                 cluster2_l2: l2-cache2 {
317                         compatible = "cache";
318                         cache-size = <0x100000>;
319                         cache-line-size = <64>;
320                         cache-sets = <1024>;
321                         cache-level = <2>;
322                 };
324                 cluster3_l2: l2-cache3 {
325                         compatible = "cache";
326                         cache-size = <0x100000>;
327                         cache-line-size = <64>;
328                         cache-sets = <1024>;
329                         cache-level = <2>;
330                 };
332                 cluster4_l2: l2-cache4 {
333                         compatible = "cache";
334                         cache-size = <0x100000>;
335                         cache-line-size = <64>;
336                         cache-sets = <1024>;
337                         cache-level = <2>;
338                 };
340                 cluster5_l2: l2-cache5 {
341                         compatible = "cache";
342                         cache-size = <0x100000>;
343                         cache-line-size = <64>;
344                         cache-sets = <1024>;
345                         cache-level = <2>;
346                 };
348                 cluster6_l2: l2-cache6 {
349                         compatible = "cache";
350                         cache-size = <0x100000>;
351                         cache-line-size = <64>;
352                         cache-sets = <1024>;
353                         cache-level = <2>;
354                 };
356                 cluster7_l2: l2-cache7 {
357                         compatible = "cache";
358                         cache-size = <0x100000>;
359                         cache-line-size = <64>;
360                         cache-sets = <1024>;
361                         cache-level = <2>;
362                 };
364                 cpu_pw15: cpu-pw15 {
365                         compatible = "arm,idle-state";
366                         idle-state-name = "PW15";
367                         arm,psci-suspend-param = <0x0>;
368                         entry-latency-us = <2000>;
369                         exit-latency-us = <2000>;
370                         min-residency-us = <6000>;
371                   };
372         };
374         gic: interrupt-controller@6000000 {
375                 compatible = "arm,gic-v3";
376                 reg = <0x0 0x06000000 0 0x10000>, // GIC Dist
377                         <0x0 0x06200000 0 0x200000>, // GICR (RD_base +
378                                                      // SGI_base)
379                         <0x0 0x0c0c0000 0 0x2000>, // GICC
380                         <0x0 0x0c0d0000 0 0x1000>, // GICH
381                         <0x0 0x0c0e0000 0 0x20000>; // GICV
382                 #interrupt-cells = <3>;
383                 #address-cells = <2>;
384                 #size-cells = <2>;
385                 ranges;
386                 interrupt-controller;
387                 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
389                 its: gic-its@6020000 {
390                         compatible = "arm,gic-v3-its";
391                         msi-controller;
392                         reg = <0x0 0x6020000 0 0x20000>;
393                 };
394         };
396         timer {
397                 compatible = "arm,armv8-timer";
398                 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>,
399                              <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>,
400                              <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>,
401                              <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>;
402         };
404         pmu {
405                 compatible = "arm,cortex-a72-pmu";
406                 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
407         };
409         psci {
410                 compatible = "arm,psci-0.2";
411                 method = "smc";
412         };
414         memory@80000000 {
415                 // DRAM space - 1, size : 2 GB DRAM
416                 device_type = "memory";
417                 reg = <0x00000000 0x80000000 0 0x80000000>;
418         };
420         ddr1: memory-controller@1080000 {
421                 compatible = "fsl,qoriq-memory-controller";
422                 reg = <0x0 0x1080000 0x0 0x1000>;
423                 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
424                 little-endian;
425         };
427         ddr2: memory-controller@1090000 {
428                 compatible = "fsl,qoriq-memory-controller";
429                 reg = <0x0 0x1090000 0x0 0x1000>;
430                 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
431                 little-endian;
432         };
434         // One clock unit-sysclk node which bootloader require during DT fix-up
435         sysclk: sysclk {
436                 compatible = "fixed-clock";
437                 #clock-cells = <0>;
438                 clock-frequency = <100000000>; // fixed up by bootloader
439                 clock-output-names = "sysclk";
440         };
442         thermal-zones {
443                 cluster6-7 {
444                         polling-delay-passive = <1000>;
445                         polling-delay = <5000>;
446                         thermal-sensors = <&tmu 0>;
448                         trips {
449                                 cluster6_7_alert: cluster6-7-alert {
450                                         temperature = <85000>;
451                                         hysteresis = <2000>;
452                                         type = "passive";
453                                 };
455                                 cluster6_7_crit: cluster6-7-crit {
456                                         temperature = <95000>;
457                                         hysteresis = <2000>;
458                                         type = "critical";
459                                 };
460                         };
462                         cooling-maps {
463                                 map0 {
464                                         trip = <&cluster6_7_alert>;
465                                         cooling-device =
466                                                 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
467                                                 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
468                                                 <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
469                                                 <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
470                                                 <&cpu200 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
471                                                 <&cpu201 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
472                                                 <&cpu300 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
473                                                 <&cpu301 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
474                                                 <&cpu400 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
475                                                 <&cpu401 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
476                                                 <&cpu500 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
477                                                 <&cpu501 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
478                                                 <&cpu600 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
479                                                 <&cpu601 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
480                                                 <&cpu700 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
481                                                 <&cpu701 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
482                                 };
483                         };
484                 };
486                 ddr-cluster5 {
487                         polling-delay-passive = <1000>;
488                         polling-delay = <5000>;
489                         thermal-sensors = <&tmu 1>;
491                         trips {
492                                 ddr-cluster5-alert {
493                                         temperature = <85000>;
494                                         hysteresis = <2000>;
495                                         type = "passive";
496                                 };
498                                 ddr-cluster5-crit {
499                                         temperature = <95000>;
500                                         hysteresis = <2000>;
501                                         type = "critical";
502                                 };
503                         };
504                 };
506                 wriop {
507                         polling-delay-passive = <1000>;
508                         polling-delay = <5000>;
509                         thermal-sensors = <&tmu 2>;
511                         trips {
512                                 wriop-alert {
513                                         temperature = <85000>;
514                                         hysteresis = <2000>;
515                                         type = "passive";
516                                 };
518                                 wriop-crit {
519                                         temperature = <95000>;
520                                         hysteresis = <2000>;
521                                         type = "critical";
522                                 };
523                         };
524                 };
526                 dce-qbman-hsio2 {
527                         polling-delay-passive = <1000>;
528                         polling-delay = <5000>;
529                         thermal-sensors = <&tmu 3>;
531                         trips {
532                                 dce-qbman-alert {
533                                         temperature = <85000>;
534                                         hysteresis = <2000>;
535                                         type = "passive";
536                                 };
538                                 dce-qbman-crit {
539                                         temperature = <95000>;
540                                         hysteresis = <2000>;
541                                         type = "critical";
542                                 };
543                         };
544                 };
546                 ccn-dpaa-tbu {
547                         polling-delay-passive = <1000>;
548                         polling-delay = <5000>;
549                         thermal-sensors = <&tmu 4>;
551                         trips {
552                                 ccn-dpaa-alert {
553                                         temperature = <85000>;
554                                         hysteresis = <2000>;
555                                         type = "passive";
556                                 };
558                                 ccn-dpaa-crit {
559                                         temperature = <95000>;
560                                         hysteresis = <2000>;
561                                         type = "critical";
562                                 };
563                         };
564                 };
566                 cluster4-hsio3 {
567                         polling-delay-passive = <1000>;
568                         polling-delay = <5000>;
569                         thermal-sensors = <&tmu 5>;
571                         trips {
572                                 clust4-hsio3-alert {
573                                         temperature = <85000>;
574                                         hysteresis = <2000>;
575                                         type = "passive";
576                                 };
578                                 clust4-hsio3-crit {
579                                         temperature = <95000>;
580                                         hysteresis = <2000>;
581                                         type = "critical";
582                                 };
583                         };
584                 };
586                 cluster2-3 {
587                         polling-delay-passive = <1000>;
588                         polling-delay = <5000>;
589                         thermal-sensors = <&tmu 6>;
591                         trips {
592                                 cluster2-3-alert {
593                                         temperature = <85000>;
594                                         hysteresis = <2000>;
595                                         type = "passive";
596                                 };
598                                 cluster2-3-crit {
599                                         temperature = <95000>;
600                                         hysteresis = <2000>;
601                                         type = "critical";
602                                 };
603                         };
604                 };
605         };
607         soc {
608                 compatible = "simple-bus";
609                 #address-cells = <2>;
610                 #size-cells = <2>;
611                 ranges;
612                 dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
614                 crypto: crypto@8000000 {
615                         compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
616                         fsl,sec-era = <10>;
617                         #address-cells = <1>;
618                         #size-cells = <1>;
619                         ranges = <0x0 0x00 0x8000000 0x100000>;
620                         reg = <0x00 0x8000000 0x0 0x100000>;
621                         interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
622                         dma-coherent;
623                         status = "disabled";
625                         sec_jr0: jr@10000 {
626                                 compatible = "fsl,sec-v5.0-job-ring",
627                                              "fsl,sec-v4.0-job-ring";
628                                 reg        = <0x10000 0x10000>;
629                                 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
630                         };
632                         sec_jr1: jr@20000 {
633                                 compatible = "fsl,sec-v5.0-job-ring",
634                                              "fsl,sec-v4.0-job-ring";
635                                 reg        = <0x20000 0x10000>;
636                                 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
637                         };
639                         sec_jr2: jr@30000 {
640                                 compatible = "fsl,sec-v5.0-job-ring",
641                                              "fsl,sec-v4.0-job-ring";
642                                 reg        = <0x30000 0x10000>;
643                                 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
644                         };
646                         sec_jr3: jr@40000 {
647                                 compatible = "fsl,sec-v5.0-job-ring",
648                                              "fsl,sec-v4.0-job-ring";
649                                 reg        = <0x40000 0x10000>;
650                                 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
651                         };
652                 };
654                 clockgen: clock-controller@1300000 {
655                         compatible = "fsl,lx2160a-clockgen";
656                         reg = <0 0x1300000 0 0xa0000>;
657                         #clock-cells = <2>;
658                         clocks = <&sysclk>;
659                 };
661                 dcfg: syscon@1e00000 {
662                         compatible = "fsl,lx2160a-dcfg", "syscon";
663                         reg = <0x0 0x1e00000 0x0 0x10000>;
664                         little-endian;
665                 };
667                 tmu: tmu@1f80000 {
668                         compatible = "fsl,qoriq-tmu";
669                         reg = <0x0 0x1f80000 0x0 0x10000>;
670                         interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
671                         fsl,tmu-range = <0x800000e6 0x8001017d>;
672                         fsl,tmu-calibration =
673                                 /* Calibration data group 1 */
674                                 <0x00000000 0x00000035
675                                 /* Calibration data group 2 */
676                                 0x00000001 0x00000154>;
677                         little-endian;
678                         #thermal-sensor-cells = <1>;
679                 };
681                 i2c0: i2c@2000000 {
682                         compatible = "fsl,vf610-i2c";
683                         #address-cells = <1>;
684                         #size-cells = <0>;
685                         reg = <0x0 0x2000000 0x0 0x10000>;
686                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
687                         clock-names = "i2c";
688                         clocks = <&clockgen 4 15>;
689                         scl-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>;
690                         status = "disabled";
691                 };
693                 i2c1: i2c@2010000 {
694                         compatible = "fsl,vf610-i2c";
695                         #address-cells = <1>;
696                         #size-cells = <0>;
697                         reg = <0x0 0x2010000 0x0 0x10000>;
698                         interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
699                         clock-names = "i2c";
700                         clocks = <&clockgen 4 15>;
701                         status = "disabled";
702                 };
704                 i2c2: i2c@2020000 {
705                         compatible = "fsl,vf610-i2c";
706                         #address-cells = <1>;
707                         #size-cells = <0>;
708                         reg = <0x0 0x2020000 0x0 0x10000>;
709                         interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
710                         clock-names = "i2c";
711                         clocks = <&clockgen 4 15>;
712                         status = "disabled";
713                 };
715                 i2c3: i2c@2030000 {
716                         compatible = "fsl,vf610-i2c";
717                         #address-cells = <1>;
718                         #size-cells = <0>;
719                         reg = <0x0 0x2030000 0x0 0x10000>;
720                         interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
721                         clock-names = "i2c";
722                         clocks = <&clockgen 4 15>;
723                         status = "disabled";
724                 };
726                 i2c4: i2c@2040000 {
727                         compatible = "fsl,vf610-i2c";
728                         #address-cells = <1>;
729                         #size-cells = <0>;
730                         reg = <0x0 0x2040000 0x0 0x10000>;
731                         interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
732                         clock-names = "i2c";
733                         clocks = <&clockgen 4 15>;
734                         scl-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;
735                         status = "disabled";
736                 };
738                 i2c5: i2c@2050000 {
739                         compatible = "fsl,vf610-i2c";
740                         #address-cells = <1>;
741                         #size-cells = <0>;
742                         reg = <0x0 0x2050000 0x0 0x10000>;
743                         interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
744                         clock-names = "i2c";
745                         clocks = <&clockgen 4 15>;
746                         status = "disabled";
747                 };
749                 i2c6: i2c@2060000 {
750                         compatible = "fsl,vf610-i2c";
751                         #address-cells = <1>;
752                         #size-cells = <0>;
753                         reg = <0x0 0x2060000 0x0 0x10000>;
754                         interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
755                         clock-names = "i2c";
756                         clocks = <&clockgen 4 15>;
757                         status = "disabled";
758                 };
760                 i2c7: i2c@2070000 {
761                         compatible = "fsl,vf610-i2c";
762                         #address-cells = <1>;
763                         #size-cells = <0>;
764                         reg = <0x0 0x2070000 0x0 0x10000>;
765                         interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
766                         clock-names = "i2c";
767                         clocks = <&clockgen 4 15>;
768                         status = "disabled";
769                 };
771                 fspi: spi@20c0000 {
772                         compatible = "nxp,lx2160a-fspi";
773                         #address-cells = <1>;
774                         #size-cells = <0>;
775                         reg = <0x0 0x20c0000 0x0 0x10000>,
776                               <0x0 0x20000000 0x0 0x10000000>;
777                         reg-names = "fspi_base", "fspi_mmap";
778                         interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
779                         clocks = <&clockgen 4 3>, <&clockgen 4 3>;
780                         clock-names = "fspi_en", "fspi";
781                         status = "disabled";
782                 };
784                 dspi0: spi@2100000 {
785                         compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
786                         #address-cells = <1>;
787                         #size-cells = <0>;
788                         reg = <0x0 0x2100000 0x0 0x10000>;
789                         interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
790                         clocks = <&clockgen 4 7>;
791                         clock-names = "dspi";
792                         spi-num-chipselects = <5>;
793                         bus-num = <0>;
794                         status = "disabled";
795                 };
797                 dspi1: spi@2110000 {
798                         compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
799                         #address-cells = <1>;
800                         #size-cells = <0>;
801                         reg = <0x0 0x2110000 0x0 0x10000>;
802                         interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
803                         clocks = <&clockgen 4 7>;
804                         clock-names = "dspi";
805                         spi-num-chipselects = <5>;
806                         bus-num = <1>;
807                         status = "disabled";
808                 };
810                 dspi2: spi@2120000 {
811                         compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
812                         #address-cells = <1>;
813                         #size-cells = <0>;
814                         reg = <0x0 0x2120000 0x0 0x10000>;
815                         interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
816                         clocks = <&clockgen 4 7>;
817                         clock-names = "dspi";
818                         spi-num-chipselects = <5>;
819                         bus-num = <2>;
820                         status = "disabled";
821                 };
823                 esdhc0: esdhc@2140000 {
824                         compatible = "fsl,esdhc";
825                         reg = <0x0 0x2140000 0x0 0x10000>;
826                         interrupts = <0 28 0x4>; /* Level high type */
827                         clocks = <&clockgen 4 1>;
828                         dma-coherent;
829                         voltage-ranges = <1800 1800 3300 3300>;
830                         sdhci,auto-cmd12;
831                         little-endian;
832                         bus-width = <4>;
833                         status = "disabled";
834                 };
836                 esdhc1: esdhc@2150000 {
837                         compatible = "fsl,esdhc";
838                         reg = <0x0 0x2150000 0x0 0x10000>;
839                         interrupts = <0 63 0x4>; /* Level high type */
840                         clocks = <&clockgen 4 1>;
841                         dma-coherent;
842                         voltage-ranges = <1800 1800 3300 3300>;
843                         sdhci,auto-cmd12;
844                         broken-cd;
845                         little-endian;
846                         bus-width = <4>;
847                         status = "disabled";
848                 };
850                 uart0: serial@21c0000 {
851                         compatible = "arm,sbsa-uart","arm,pl011";
852                         reg = <0x0 0x21c0000 0x0 0x1000>;
853                         interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
854                         current-speed = <115200>;
855                         status = "disabled";
856                 };
858                 uart1: serial@21d0000 {
859                         compatible = "arm,sbsa-uart","arm,pl011";
860                         reg = <0x0 0x21d0000 0x0 0x1000>;
861                         interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
862                         current-speed = <115200>;
863                         status = "disabled";
864                 };
866                 uart2: serial@21e0000 {
867                         compatible = "arm,sbsa-uart","arm,pl011";
868                         reg = <0x0 0x21e0000 0x0 0x1000>;
869                         interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
870                         current-speed = <115200>;
871                         status = "disabled";
872                 };
874                 uart3: serial@21f0000 {
875                         compatible = "arm,sbsa-uart","arm,pl011";
876                         reg = <0x0 0x21f0000 0x0 0x1000>;
877                         interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
878                         current-speed = <115200>;
879                         status = "disabled";
880                 };
882                 gpio0: gpio@2300000 {
883                         compatible = "fsl,qoriq-gpio";
884                         reg = <0x0 0x2300000 0x0 0x10000>;
885                         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
886                         gpio-controller;
887                         little-endian;
888                         #gpio-cells = <2>;
889                         interrupt-controller;
890                         #interrupt-cells = <2>;
891                 };
893                 gpio1: gpio@2310000 {
894                         compatible = "fsl,qoriq-gpio";
895                         reg = <0x0 0x2310000 0x0 0x10000>;
896                         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
897                         gpio-controller;
898                         little-endian;
899                         #gpio-cells = <2>;
900                         interrupt-controller;
901                         #interrupt-cells = <2>;
902                 };
904                 gpio2: gpio@2320000 {
905                         compatible = "fsl,qoriq-gpio";
906                         reg = <0x0 0x2320000 0x0 0x10000>;
907                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
908                         gpio-controller;
909                         little-endian;
910                         #gpio-cells = <2>;
911                         interrupt-controller;
912                         #interrupt-cells = <2>;
913                 };
915                 gpio3: gpio@2330000 {
916                         compatible = "fsl,qoriq-gpio";
917                         reg = <0x0 0x2330000 0x0 0x10000>;
918                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
919                         gpio-controller;
920                         little-endian;
921                         #gpio-cells = <2>;
922                         interrupt-controller;
923                         #interrupt-cells = <2>;
924                 };
926                 watchdog@23a0000 {
927                         compatible = "arm,sbsa-gwdt";
928                         reg = <0x0 0x23a0000 0 0x1000>,
929                               <0x0 0x2390000 0 0x1000>;
930                         interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
931                         timeout-sec = <30>;
932                 };
934                 rcpm: power-controller@1e34040 {
935                         compatible = "fsl,lx2160a-rcpm", "fsl,qoriq-rcpm-2.1+";
936                         reg = <0x0 0x1e34040 0x0 0x1c>;
937                         #fsl,rcpm-wakeup-cells = <7>;
938                         little-endian;
939                 };
941                 ftm_alarm0: timer@2800000 {
942                         compatible = "fsl,lx2160a-ftm-alarm";
943                         reg = <0x0 0x2800000 0x0 0x10000>;
944                         fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
945                         interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
946                 };
948                 usb0: usb@3100000 {
949                         compatible = "snps,dwc3";
950                         reg = <0x0 0x3100000 0x0 0x10000>;
951                         interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
952                         dr_mode = "host";
953                         snps,quirk-frame-length-adjustment = <0x20>;
954                         snps,dis_rxdet_inp3_quirk;
955                         snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
956                         status = "disabled";
957                 };
959                 usb1: usb@3110000 {
960                         compatible = "snps,dwc3";
961                         reg = <0x0 0x3110000 0x0 0x10000>;
962                         interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
963                         dr_mode = "host";
964                         snps,quirk-frame-length-adjustment = <0x20>;
965                         snps,dis_rxdet_inp3_quirk;
966                         snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
967                         status = "disabled";
968                 };
970                 sata0: sata@3200000 {
971                         compatible = "fsl,lx2160a-ahci";
972                         reg = <0x0 0x3200000 0x0 0x10000>,
973                               <0x7 0x100520 0x0 0x4>;
974                         reg-names = "ahci", "sata-ecc";
975                         interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
976                         clocks = <&clockgen 4 3>;
977                         dma-coherent;
978                         status = "disabled";
979                 };
981                 sata1: sata@3210000 {
982                         compatible = "fsl,lx2160a-ahci";
983                         reg = <0x0 0x3210000 0x0 0x10000>,
984                               <0x7 0x100520 0x0 0x4>;
985                         reg-names = "ahci", "sata-ecc";
986                         interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
987                         clocks = <&clockgen 4 3>;
988                         dma-coherent;
989                         status = "disabled";
990                 };
992                 sata2: sata@3220000 {
993                         compatible = "fsl,lx2160a-ahci";
994                         reg = <0x0 0x3220000 0x0 0x10000>,
995                               <0x7 0x100520 0x0 0x4>;
996                         reg-names = "ahci", "sata-ecc";
997                         interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
998                         clocks = <&clockgen 4 3>;
999                         dma-coherent;
1000                         status = "disabled";
1001                 };
1003                 sata3: sata@3230000 {
1004                         compatible = "fsl,lx2160a-ahci";
1005                         reg = <0x0 0x3230000 0x0 0x10000>,
1006                               <0x7 0x100520 0x0 0x4>;
1007                         reg-names = "ahci", "sata-ecc";
1008                         interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
1009                         clocks = <&clockgen 4 3>;
1010                         dma-coherent;
1011                         status = "disabled";
1012                 };
1014                 pcie1: pcie@3400000 {
1015                         compatible = "fsl,lx2160a-pcie";
1016                         reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
1017                                0x80 0x00000000 0x0 0x00002000>; /* configuration space */
1018                         reg-names = "csr_axi_slave", "config_axi_slave";
1019                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1020                                      <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1021                                      <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1022                         interrupt-names = "aer", "pme", "intr";
1023                         #address-cells = <3>;
1024                         #size-cells = <2>;
1025                         device_type = "pci";
1026                         dma-coherent;
1027                         apio-wins = <8>;
1028                         ppio-wins = <8>;
1029                         bus-range = <0x0 0xff>;
1030                         ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1031                         msi-parent = <&its>;
1032                         #interrupt-cells = <1>;
1033                         interrupt-map-mask = <0 0 0 7>;
1034                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1035                                         <0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1036                                         <0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1037                                         <0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1038                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1039                         status = "disabled";
1040                 };
1042                 pcie2: pcie@3500000 {
1043                         compatible = "fsl,lx2160a-pcie";
1044                         reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
1045                                0x88 0x00000000 0x0 0x00002000>; /* configuration space */
1046                         reg-names = "csr_axi_slave", "config_axi_slave";
1047                         interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1048                                      <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1049                                      <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1050                         interrupt-names = "aer", "pme", "intr";
1051                         #address-cells = <3>;
1052                         #size-cells = <2>;
1053                         device_type = "pci";
1054                         dma-coherent;
1055                         apio-wins = <8>;
1056                         ppio-wins = <8>;
1057                         bus-range = <0x0 0xff>;
1058                         ranges = <0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1059                         msi-parent = <&its>;
1060                         #interrupt-cells = <1>;
1061                         interrupt-map-mask = <0 0 0 7>;
1062                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1063                                         <0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1064                                         <0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1065                                         <0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
1066                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1067                         status = "disabled";
1068                 };
1070                 pcie3: pcie@3600000 {
1071                         compatible = "fsl,lx2160a-pcie";
1072                         reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
1073                                0x90 0x00000000 0x0 0x00002000>; /* configuration space */
1074                         reg-names = "csr_axi_slave", "config_axi_slave";
1075                         interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1076                                      <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1077                                      <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1078                         interrupt-names = "aer", "pme", "intr";
1079                         #address-cells = <3>;
1080                         #size-cells = <2>;
1081                         device_type = "pci";
1082                         dma-coherent;
1083                         apio-wins = <256>;
1084                         ppio-wins = <24>;
1085                         bus-range = <0x0 0xff>;
1086                         ranges = <0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1087                         msi-parent = <&its>;
1088                         #interrupt-cells = <1>;
1089                         interrupt-map-mask = <0 0 0 7>;
1090                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1091                                         <0000 0 0 2 &gic 0 0 GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1092                                         <0000 0 0 3 &gic 0 0 GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1093                                         <0000 0 0 4 &gic 0 0 GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
1094                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1095                         status = "disabled";
1096                 };
1098                 pcie4: pcie@3700000 {
1099                         compatible = "fsl,lx2160a-pcie";
1100                         reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
1101                                0x98 0x00000000 0x0 0x00002000>; /* configuration space */
1102                         reg-names = "csr_axi_slave", "config_axi_slave";
1103                         interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1104                                      <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1105                                      <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1106                         interrupt-names = "aer", "pme", "intr";
1107                         #address-cells = <3>;
1108                         #size-cells = <2>;
1109                         device_type = "pci";
1110                         dma-coherent;
1111                         apio-wins = <8>;
1112                         ppio-wins = <8>;
1113                         bus-range = <0x0 0xff>;
1114                         ranges = <0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1115                         msi-parent = <&its>;
1116                         #interrupt-cells = <1>;
1117                         interrupt-map-mask = <0 0 0 7>;
1118                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1119                                         <0000 0 0 2 &gic 0 0 GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1120                                         <0000 0 0 3 &gic 0 0 GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1121                                         <0000 0 0 4 &gic 0 0 GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1122                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1123                         status = "disabled";
1124                 };
1126                 pcie5: pcie@3800000 {
1127                         compatible = "fsl,lx2160a-pcie";
1128                         reg = <0x00 0x03800000 0x0 0x00100000   /* controller registers */
1129                                0xa0 0x00000000 0x0 0x00002000>; /* configuration space */
1130                         reg-names = "csr_axi_slave", "config_axi_slave";
1131                         interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1132                                      <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1133                                      <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1134                         interrupt-names = "aer", "pme", "intr";
1135                         #address-cells = <3>;
1136                         #size-cells = <2>;
1137                         device_type = "pci";
1138                         dma-coherent;
1139                         apio-wins = <256>;
1140                         ppio-wins = <24>;
1141                         bus-range = <0x0 0xff>;
1142                         ranges = <0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1143                         msi-parent = <&its>;
1144                         #interrupt-cells = <1>;
1145                         interrupt-map-mask = <0 0 0 7>;
1146                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
1147                                         <0000 0 0 2 &gic 0 0 GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
1148                                         <0000 0 0 3 &gic 0 0 GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1149                                         <0000 0 0 4 &gic 0 0 GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
1150                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1151                         status = "disabled";
1152                 };
1154                 pcie6: pcie@3900000 {
1155                         compatible = "fsl,lx2160a-pcie";
1156                         reg = <0x00 0x03900000 0x0 0x00100000   /* controller registers */
1157                                0xa8 0x00000000 0x0 0x00002000>; /* configuration space */
1158                         reg-names = "csr_axi_slave", "config_axi_slave";
1159                         interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1160                                      <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
1161                                      <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
1162                         interrupt-names = "aer", "pme", "intr";
1163                         #address-cells = <3>;
1164                         #size-cells = <2>;
1165                         device_type = "pci";
1166                         dma-coherent;
1167                         apio-wins = <8>;
1168                         ppio-wins = <8>;
1169                         bus-range = <0x0 0xff>;
1170                         ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1171                         msi-parent = <&its>;
1172                         #interrupt-cells = <1>;
1173                         interrupt-map-mask = <0 0 0 7>;
1174                         interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1175                                         <0000 0 0 2 &gic 0 0 GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1176                                         <0000 0 0 3 &gic 0 0 GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1177                                         <0000 0 0 4 &gic 0 0 GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1178                         iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
1179                         status = "disabled";
1180                 };
1182                 smmu: iommu@5000000 {
1183                         compatible = "arm,mmu-500";
1184                         reg = <0 0x5000000 0 0x800000>;
1185                         #iommu-cells = <1>;
1186                         #global-interrupts = <14>;
1187                                      // global secure fault
1188                         interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
1189                                      // combined secure
1190                                      <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
1191                                      // global non-secure fault
1192                                      <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
1193                                      // combined non-secure
1194                                      <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
1195                                      // performance counter interrupts 0-9
1196                                      <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
1197                                      <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
1198                                      <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
1199                                      <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
1200                                      <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
1201                                      <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
1202                                      <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1203                                      <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
1204                                      <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
1205                                      <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
1206                                      // per context interrupt, 64 interrupts
1207                                      <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
1208                                      <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
1209                                      <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1210                                      <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1211                                      <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
1212                                      <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
1213                                      <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
1214                                      <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
1215                                      <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
1216                                      <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
1217                                      <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
1218                                      <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
1219                                      <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
1220                                      <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
1221                                      <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
1222                                      <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
1223                                      <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
1224                                      <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
1225                                      <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
1226                                      <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
1227                                      <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
1228                                      <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
1229                                      <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
1230                                      <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
1231                                      <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
1232                                      <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
1233                                      <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>,
1234                                      <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
1235                                      <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
1236                                      <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
1237                                      <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
1238                                      <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
1239                                      <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
1240                                      <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
1241                                      <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
1242                                      <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1243                                      <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1244                                      <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1245                                      <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1246                                      <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1247                                      <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1248                                      <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1249                                      <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1250                                      <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1251                                      <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
1252                                      <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
1253                                      <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
1254                                      <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
1255                                      <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
1256                                      <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
1257                                      <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
1258                                      <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
1259                                      <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1260                                      <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
1261                                      <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
1262                                      <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
1263                                      <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
1264                                      <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1265                                      <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1266                                      <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
1267                                      <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
1268                                      <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
1269                                      <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
1270                                      <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1271                         dma-coherent;
1272                 };
1274                 console@8340020 {
1275                         compatible = "fsl,dpaa2-console";
1276                         reg = <0x00000000 0x08340020 0 0x2>;
1277                 };
1279                 ptp-timer@8b95000 {
1280                         compatible = "fsl,dpaa2-ptp";
1281                         reg = <0x0 0x8b95000 0x0 0x100>;
1282                         clocks = <&clockgen 4 1>;
1283                         little-endian;
1284                         fsl,extts-fifo;
1285                 };
1287                 /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
1288                 emdio1: mdio@8b96000 {
1289                         compatible = "fsl,fman-memac-mdio";
1290                         reg = <0x0 0x8b96000 0x0 0x1000>;
1291                         interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
1292                         #address-cells = <1>;
1293                         #size-cells = <0>;
1294                         little-endian;
1295                         status = "disabled";
1296                 };
1298                 emdio2: mdio@8b97000 {
1299                         compatible = "fsl,fman-memac-mdio";
1300                         reg = <0x0 0x8b97000 0x0 0x1000>;
1301                         interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1302                         little-endian;
1303                         #address-cells = <1>;
1304                         #size-cells = <0>;
1305                         status = "disabled";
1306                 };
1308                 pcs_mdio1: mdio@8c07000 {
1309                         compatible = "fsl,fman-memac-mdio";
1310                         reg = <0x0 0x8c07000 0x0 0x1000>;
1311                         little-endian;
1312                         #address-cells = <1>;
1313                         #size-cells = <0>;
1314                         status = "disabled";
1316                         pcs1: ethernet-phy@0 {
1317                                 reg = <0>;
1318                         };
1319                 };
1321                 pcs_mdio2: mdio@8c0b000 {
1322                         compatible = "fsl,fman-memac-mdio";
1323                         reg = <0x0 0x8c0b000 0x0 0x1000>;
1324                         little-endian;
1325                         #address-cells = <1>;
1326                         #size-cells = <0>;
1327                         status = "disabled";
1329                         pcs2: ethernet-phy@0 {
1330                                 reg = <0>;
1331                         };
1332                 };
1334                 pcs_mdio3: mdio@8c0f000 {
1335                         compatible = "fsl,fman-memac-mdio";
1336                         reg = <0x0 0x8c0f000 0x0 0x1000>;
1337                         little-endian;
1338                         #address-cells = <1>;
1339                         #size-cells = <0>;
1340                         status = "disabled";
1342                         pcs3: ethernet-phy@0 {
1343                                 reg = <0>;
1344                         };
1345                 };
1347                 pcs_mdio4: mdio@8c13000 {
1348                         compatible = "fsl,fman-memac-mdio";
1349                         reg = <0x0 0x8c13000 0x0 0x1000>;
1350                         little-endian;
1351                         #address-cells = <1>;
1352                         #size-cells = <0>;
1353                         status = "disabled";
1355                         pcs4: ethernet-phy@0 {
1356                                 reg = <0>;
1357                         };
1358                 };
1360                 pcs_mdio5: mdio@8c17000 {
1361                         compatible = "fsl,fman-memac-mdio";
1362                         reg = <0x0 0x8c17000 0x0 0x1000>;
1363                         little-endian;
1364                         #address-cells = <1>;
1365                         #size-cells = <0>;
1366                         status = "disabled";
1368                         pcs5: ethernet-phy@0 {
1369                                 reg = <0>;
1370                         };
1371                 };
1373                 pcs_mdio6: mdio@8c1b000 {
1374                         compatible = "fsl,fman-memac-mdio";
1375                         reg = <0x0 0x8c1b000 0x0 0x1000>;
1376                         little-endian;
1377                         #address-cells = <1>;
1378                         #size-cells = <0>;
1379                         status = "disabled";
1381                         pcs6: ethernet-phy@0 {
1382                                 reg = <0>;
1383                         };
1384                 };
1386                 pcs_mdio7: mdio@8c1f000 {
1387                         compatible = "fsl,fman-memac-mdio";
1388                         reg = <0x0 0x8c1f000 0x0 0x1000>;
1389                         little-endian;
1390                         #address-cells = <1>;
1391                         #size-cells = <0>;
1392                         status = "disabled";
1394                         pcs7: ethernet-phy@0 {
1395                                 reg = <0>;
1396                         };
1397                 };
1399                 pcs_mdio8: mdio@8c23000 {
1400                         compatible = "fsl,fman-memac-mdio";
1401                         reg = <0x0 0x8c23000 0x0 0x1000>;
1402                         little-endian;
1403                         #address-cells = <1>;
1404                         #size-cells = <0>;
1405                         status = "disabled";
1407                         pcs8: ethernet-phy@0 {
1408                                 reg = <0>;
1409                         };
1410                 };
1412                 pcs_mdio9: mdio@8c27000 {
1413                         compatible = "fsl,fman-memac-mdio";
1414                         reg = <0x0 0x8c27000 0x0 0x1000>;
1415                         little-endian;
1416                         #address-cells = <1>;
1417                         #size-cells = <0>;
1418                         status = "disabled";
1420                         pcs9: ethernet-phy@0 {
1421                                 reg = <0>;
1422                         };
1423                 };
1425                 pcs_mdio10: mdio@8c2b000 {
1426                         compatible = "fsl,fman-memac-mdio";
1427                         reg = <0x0 0x8c2b000 0x0 0x1000>;
1428                         little-endian;
1429                         #address-cells = <1>;
1430                         #size-cells = <0>;
1431                         status = "disabled";
1433                         pcs10: ethernet-phy@0 {
1434                                 reg = <0>;
1435                         };
1436                 };
1438                 pcs_mdio11: mdio@8c2f000 {
1439                         compatible = "fsl,fman-memac-mdio";
1440                         reg = <0x0 0x8c2f000 0x0 0x1000>;
1441                         little-endian;
1442                         #address-cells = <1>;
1443                         #size-cells = <0>;
1444                         status = "disabled";
1446                         pcs11: ethernet-phy@0 {
1447                                 reg = <0>;
1448                         };
1449                 };
1451                 pcs_mdio12: mdio@8c33000 {
1452                         compatible = "fsl,fman-memac-mdio";
1453                         reg = <0x0 0x8c33000 0x0 0x1000>;
1454                         little-endian;
1455                         #address-cells = <1>;
1456                         #size-cells = <0>;
1457                         status = "disabled";
1459                         pcs12: ethernet-phy@0 {
1460                                 reg = <0>;
1461                         };
1462                 };
1464                 pcs_mdio13: mdio@8c37000 {
1465                         compatible = "fsl,fman-memac-mdio";
1466                         reg = <0x0 0x8c37000 0x0 0x1000>;
1467                         little-endian;
1468                         #address-cells = <1>;
1469                         #size-cells = <0>;
1470                         status = "disabled";
1472                         pcs13: ethernet-phy@0 {
1473                                 reg = <0>;
1474                         };
1475                 };
1477                 pcs_mdio14: mdio@8c3b000 {
1478                         compatible = "fsl,fman-memac-mdio";
1479                         reg = <0x0 0x8c3b000 0x0 0x1000>;
1480                         little-endian;
1481                         #address-cells = <1>;
1482                         #size-cells = <0>;
1483                         status = "disabled";
1485                         pcs14: ethernet-phy@0 {
1486                                 reg = <0>;
1487                         };
1488                 };
1490                 pcs_mdio15: mdio@8c3f000 {
1491                         compatible = "fsl,fman-memac-mdio";
1492                         reg = <0x0 0x8c3f000 0x0 0x1000>;
1493                         little-endian;
1494                         #address-cells = <1>;
1495                         #size-cells = <0>;
1496                         status = "disabled";
1498                         pcs15: ethernet-phy@0 {
1499                                 reg = <0>;
1500                         };
1501                 };
1503                 pcs_mdio16: mdio@8c43000 {
1504                         compatible = "fsl,fman-memac-mdio";
1505                         reg = <0x0 0x8c43000 0x0 0x1000>;
1506                         little-endian;
1507                         #address-cells = <1>;
1508                         #size-cells = <0>;
1509                         status = "disabled";
1511                         pcs16: ethernet-phy@0 {
1512                                 reg = <0>;
1513                         };
1514                 };
1516                 pcs_mdio17: mdio@8c47000 {
1517                         compatible = "fsl,fman-memac-mdio";
1518                         reg = <0x0 0x8c47000 0x0 0x1000>;
1519                         little-endian;
1520                         #address-cells = <1>;
1521                         #size-cells = <0>;
1522                         status = "disabled";
1524                         pcs17: ethernet-phy@0 {
1525                                 reg = <0>;
1526                         };
1527                 };
1529                 pcs_mdio18: mdio@8c4b000 {
1530                         compatible = "fsl,fman-memac-mdio";
1531                         reg = <0x0 0x8c4b000 0x0 0x1000>;
1532                         little-endian;
1533                         #address-cells = <1>;
1534                         #size-cells = <0>;
1535                         status = "disabled";
1537                         pcs18: ethernet-phy@0 {
1538                                 reg = <0>;
1539                         };
1540                 };
1542                 fsl_mc: fsl-mc@80c000000 {
1543                         compatible = "fsl,qoriq-mc";
1544                         reg = <0x00000008 0x0c000000 0 0x40>,
1545                               <0x00000000 0x08340000 0 0x40000>;
1546                         msi-parent = <&its>;
1547                         /* iommu-map property is fixed up by u-boot */
1548                         iommu-map = <0 &smmu 0 0>;
1549                         dma-coherent;
1550                         #address-cells = <3>;
1551                         #size-cells = <1>;
1553                         /*
1554                          * Region type 0x0 - MC portals
1555                          * Region type 0x1 - QBMAN portals
1556                          */
1557                         ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
1558                                   0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
1560                         /*
1561                          * Define the maximum number of MACs present on the SoC.
1562                          */
1563                         dpmacs {
1564                                 #address-cells = <1>;
1565                                 #size-cells = <0>;
1567                                 dpmac1: ethernet@1 {
1568                                         compatible = "fsl,qoriq-mc-dpmac";
1569                                         reg = <0x1>;
1570                                         pcs-handle = <&pcs1>;
1571                                 };
1573                                 dpmac2: ethernet@2 {
1574                                         compatible = "fsl,qoriq-mc-dpmac";
1575                                         reg = <0x2>;
1576                                         pcs-handle = <&pcs2>;
1577                                 };
1579                                 dpmac3: ethernet@3 {
1580                                         compatible = "fsl,qoriq-mc-dpmac";
1581                                         reg = <0x3>;
1582                                         pcs-handle = <&pcs3>;
1583                                 };
1585                                 dpmac4: ethernet@4 {
1586                                         compatible = "fsl,qoriq-mc-dpmac";
1587                                         reg = <0x4>;
1588                                         pcs-handle = <&pcs4>;
1589                                 };
1591                                 dpmac5: ethernet@5 {
1592                                         compatible = "fsl,qoriq-mc-dpmac";
1593                                         reg = <0x5>;
1594                                         pcs-handle = <&pcs5>;
1595                                 };
1597                                 dpmac6: ethernet@6 {
1598                                         compatible = "fsl,qoriq-mc-dpmac";
1599                                         reg = <0x6>;
1600                                         pcs-handle = <&pcs6>;
1601                                 };
1603                                 dpmac7: ethernet@7 {
1604                                         compatible = "fsl,qoriq-mc-dpmac";
1605                                         reg = <0x7>;
1606                                         pcs-handle = <&pcs7>;
1607                                 };
1609                                 dpmac8: ethernet@8 {
1610                                         compatible = "fsl,qoriq-mc-dpmac";
1611                                         reg = <0x8>;
1612                                         pcs-handle = <&pcs8>;
1613                                 };
1615                                 dpmac9: ethernet@9 {
1616                                         compatible = "fsl,qoriq-mc-dpmac";
1617                                         reg = <0x9>;
1618                                         pcs-handle = <&pcs9>;
1619                                 };
1621                                 dpmac10: ethernet@a {
1622                                         compatible = "fsl,qoriq-mc-dpmac";
1623                                         reg = <0xa>;
1624                                         pcs-handle = <&pcs10>;
1625                                 };
1627                                 dpmac11: ethernet@b {
1628                                         compatible = "fsl,qoriq-mc-dpmac";
1629                                         reg = <0xb>;
1630                                         pcs-handle = <&pcs11>;
1631                                 };
1633                                 dpmac12: ethernet@c {
1634                                         compatible = "fsl,qoriq-mc-dpmac";
1635                                         reg = <0xc>;
1636                                         pcs-handle = <&pcs12>;
1637                                 };
1639                                 dpmac13: ethernet@d {
1640                                         compatible = "fsl,qoriq-mc-dpmac";
1641                                         reg = <0xd>;
1642                                         pcs-handle = <&pcs13>;
1643                                 };
1645                                 dpmac14: ethernet@e {
1646                                         compatible = "fsl,qoriq-mc-dpmac";
1647                                         reg = <0xe>;
1648                                         pcs-handle = <&pcs14>;
1649                                 };
1651                                 dpmac15: ethernet@f {
1652                                         compatible = "fsl,qoriq-mc-dpmac";
1653                                         reg = <0xf>;
1654                                         pcs-handle = <&pcs15>;
1655                                 };
1657                                 dpmac16: ethernet@10 {
1658                                         compatible = "fsl,qoriq-mc-dpmac";
1659                                         reg = <0x10>;
1660                                         pcs-handle = <&pcs16>;
1661                                 };
1663                                 dpmac17: ethernet@11 {
1664                                         compatible = "fsl,qoriq-mc-dpmac";
1665                                         reg = <0x11>;
1666                                         pcs-handle = <&pcs17>;
1667                                 };
1669                                 dpmac18: ethernet@12 {
1670                                         compatible = "fsl,qoriq-mc-dpmac";
1671                                         reg = <0x12>;
1672                                         pcs-handle = <&pcs18>;
1673                                 };
1674                         };
1675                 };
1676         };