618378fa3d59aede9afc1272686793dbf057a14b
[oweals/u-boot.git] / arch / arm / dts / zynqmp.dtsi
1 /*
2  * dts file for Xilinx ZynqMP
3  *
4  * (C) Copyright 2014 - 2015, Xilinx, Inc.
5  *
6  * Michal Simek <michal.simek@xilinx.com>
7  *
8  * SPDX-License-Identifier:     GPL-2.0+
9  */
10 / {
11         compatible = "xlnx,zynqmp";
12         #address-cells = <2>;
13         #size-cells = <2>;
14
15         cpus {
16                 #address-cells = <1>;
17                 #size-cells = <0>;
18
19                 cpu@0 {
20                         compatible = "arm,cortex-a53", "arm,armv8";
21                         device_type = "cpu";
22                         enable-method = "psci";
23                         reg = <0x0>;
24                 };
25
26                 cpu@1 {
27                         compatible = "arm,cortex-a53", "arm,armv8";
28                         device_type = "cpu";
29                         enable-method = "psci";
30                         reg = <0x1>;
31                 };
32
33                 cpu@2 {
34                         compatible = "arm,cortex-a53", "arm,armv8";
35                         device_type = "cpu";
36                         enable-method = "psci";
37                         reg = <0x2>;
38                 };
39
40                 cpu@3 {
41                         compatible = "arm,cortex-a53", "arm,armv8";
42                         device_type = "cpu";
43                         enable-method = "psci";
44                         reg = <0x3>;
45                 };
46         };
47
48         dcc: dcc {
49                 compatible = "arm,dcc";
50                 status = "disabled";
51                 u-boot,dm-pre-reloc;
52         };
53
54         power-domains {
55                 compatible = "xlnx,zynqmp-genpd";
56
57                 pd_usb0: pd-usb0 {
58                         #power-domain-cells = <0x0>;
59                         pd-id = <0x16>;
60                 };
61
62                 pd_usb1: pd-usb1 {
63                         #power-domain-cells = <0x0>;
64                         pd-id = <0x17>;
65                 };
66
67                 pd_sata: pd-sata {
68                         #power-domain-cells = <0x0>;
69                         pd-id = <0x1c>;
70                 };
71
72                 pd_spi0: pd-spi0 {
73                         #power-domain-cells = <0x0>;
74                         pd-id = <0x23>;
75                 };
76
77                 pd_spi1: pd-spi1 {
78                         #power-domain-cells = <0x0>;
79                         pd-id = <0x24>;
80                 };
81
82                 pd_uart0: pd-uart0 {
83                         #power-domain-cells = <0x0>;
84                         pd-id = <0x21>;
85                 };
86
87                 pd_uart1: pd-uart1 {
88                         #power-domain-cells = <0x0>;
89                         pd-id = <0x22>;
90                 };
91
92                 pd_eth0: pd-eth0 {
93                         #power-domain-cells = <0x0>;
94                         pd-id = <0x1d>;
95                 };
96
97                 pd_eth1: pd-eth1 {
98                         #power-domain-cells = <0x0>;
99                         pd-id = <0x1e>;
100                 };
101
102                 pd_eth2: pd-eth2 {
103                         #power-domain-cells = <0x0>;
104                         pd-id = <0x1f>;
105                 };
106
107                 pd_eth3: pd-eth3 {
108                         #power-domain-cells = <0x0>;
109                         pd-id = <0x20>;
110                 };
111
112                 pd_i2c0: pd-i2c0 {
113                         #power-domain-cells = <0x0>;
114                         pd-id = <0x25>;
115                 };
116
117                 pd_i2c1: pd-i2c1 {
118                         #power-domain-cells = <0x0>;
119                         pd-id = <0x26>;
120                 };
121
122                 pd_dp: pd-dp {
123                         /* fixme: what to attach to */
124                         #power-domain-cells = <0x0>;
125                         pd-id = <0x29>;
126                 };
127
128                 pd_gdma: pd-gdma {
129                         #power-domain-cells = <0x0>;
130                         pd-id = <0x2a>;
131                 };
132
133                 pd_adma: pd-adma {
134                         #power-domain-cells = <0x0>;
135                         pd-id = <0x2b>;
136                 };
137
138                 pd_ttc0: pd-ttc0 {
139                         #power-domain-cells = <0x0>;
140                         pd-id = <0x18>;
141                 };
142
143                 pd_ttc1: pd-ttc1 {
144                         #power-domain-cells = <0x0>;
145                         pd-id = <0x19>;
146                 };
147
148                 pd_ttc2: pd-ttc2 {
149                         #power-domain-cells = <0x0>;
150                         pd-id = <0x1a>;
151                 };
152
153                 pd_ttc3: pd-ttc3 {
154                         #power-domain-cells = <0x0>;
155                         pd-id = <0x1b>;
156                 };
157
158                 pd_sd0: pd-sd0 {
159                         #power-domain-cells = <0x0>;
160                         pd-id = <0x27>;
161                 };
162
163                 pd_sd1: pd-sd1 {
164                         #power-domain-cells = <0x0>;
165                         pd-id = <0x28>;
166                 };
167
168                 pd_nand: pd-nand {
169                         #power-domain-cells = <0x0>;
170                         pd-id = <0x2c>;
171                 };
172
173                 pd_qspi: pd-qspi {
174                         #power-domain-cells = <0x0>;
175                         pd-id = <0x2d>;
176                 };
177
178                 pd_gpio: pd-gpio {
179                         #power-domain-cells = <0x0>;
180                         pd-id = <0x2e>;
181                 };
182
183                 pd_can0: pd-can0 {
184                         #power-domain-cells = <0x0>;
185                         pd-id = <0x2f>;
186                 };
187
188                 pd_can1: pd-can1 {
189                         #power-domain-cells = <0x0>;
190                         pd-id = <0x30>;
191                 };
192
193                 pd_pcie: pd-pcie {
194                         #power-domain-cells = <0x0>;
195                         pd-id = <0x3b>;
196                 };
197
198                 pd_gpu: pd-gpu {
199                         #power-domain-cells = <0x0>;
200                         pd-id = <0x3a 0x14 0x15>;
201                 };
202         };
203
204         pmu {
205                 compatible = "arm,armv8-pmuv3";
206                 interrupt-parent = <&gic>;
207                 interrupts = <0 143 4>,
208                              <0 144 4>,
209                              <0 145 4>,
210                              <0 146 4>;
211         };
212
213         psci {
214                 compatible = "arm,psci-0.2";
215                 method = "smc";
216         };
217
218         firmware {
219                 compatible = "xlnx,zynqmp-pm";
220                 method = "smc";
221         };
222
223         timer {
224                 compatible = "arm,armv8-timer";
225                 interrupt-parent = <&gic>;
226                 interrupts = <1 13 0xf01>,
227                              <1 14 0xf01>,
228                              <1 11 0xf01>,
229                              <1 10 0xf01>;
230         };
231
232         edac {
233                 compatible = "arm,cortex-a53-edac";
234         };
235
236         pcap {
237                 compatible = "xlnx,zynqmp-pcap-fpga";
238         };
239
240         amba_apu: amba_apu@0 {
241                 compatible = "simple-bus";
242                 #address-cells = <2>;
243                 #size-cells = <1>;
244                 ranges = <0 0 0 0 0xffffffff>;
245
246                 gic: interrupt-controller@f9010000 {
247                         compatible = "arm,gic-400", "arm,cortex-a15-gic";
248                         #interrupt-cells = <3>;
249                         reg = <0x0 0xf9010000 0x10000>,
250                               <0x0 0xf9020000 0x20000>,
251                               <0x0 0xf9040000 0x20000>,
252                               <0x0 0xf9060000 0x20000>;
253                         interrupt-controller;
254                         interrupt-parent = <&gic>;
255                         interrupts = <1 9 0xf04>;
256                 };
257         };
258
259         amba: amba@0 {
260                 compatible = "simple-bus";
261                 u-boot,dm-pre-reloc;
262                 #address-cells = <2>;
263                 #size-cells = <1>;
264                 ranges = <0 0 0 0 0xffffffff>;
265
266                 can0: can@ff060000 {
267                         compatible = "xlnx,zynq-can-1.0";
268                         status = "disabled";
269                         clock-names = "can_clk", "pclk";
270                         reg = <0x0 0xff060000 0x1000>;
271                         interrupts = <0 23 4>;
272                         interrupt-parent = <&gic>;
273                         tx-fifo-depth = <0x40>;
274                         rx-fifo-depth = <0x40>;
275                         power-domains = <&pd_can0>;
276                 };
277
278                 can1: can@ff070000 {
279                         compatible = "xlnx,zynq-can-1.0";
280                         status = "disabled";
281                         clock-names = "can_clk", "pclk";
282                         reg = <0x0 0xff070000 0x1000>;
283                         interrupts = <0 24 4>;
284                         interrupt-parent = <&gic>;
285                         tx-fifo-depth = <0x40>;
286                         rx-fifo-depth = <0x40>;
287                         power-domains = <&pd_can1>;
288                 };
289
290                 cci: cci@fd6e0000 {
291                         compatible = "arm,cci-400";
292                         reg = <0x0 0xfd6e0000 0x9000>;
293                         ranges = <0x0 0x0 0xfd6e0000 0x10000>;
294                         #address-cells = <1>;
295                         #size-cells = <1>;
296
297                         pmu@9000 {
298                                 compatible = "arm,cci-400-pmu,r1";
299                                 reg = <0x9000 0x5000>;
300                                 interrupt-parent = <&gic>;
301                                 interrupts = <0 123 4>,
302                                              <0 123 4>,
303                                              <0 123 4>,
304                                              <0 123 4>,
305                                              <0 123 4>;
306                         };
307                 };
308
309                 /* GDMA */
310                 fpd_dma_chan1: dma@fd500000 {
311                         status = "disabled";
312                         compatible = "xlnx,zynqmp-dma-1.0";
313                         reg = <0x0 0xfd500000 0x1000>;
314                         interrupt-parent = <&gic>;
315                         interrupts = <0 124 4>;
316                         clock-names = "clk_main", "clk_apb";
317                         xlnx,bus-width = <128>;
318                         #stream-id-cells = <1>;
319                         iommus = <&smmu 0x14e8>;
320                         power-domains = <&pd_gdma>;
321                 };
322
323                 fpd_dma_chan2: dma@fd510000 {
324                         status = "disabled";
325                         compatible = "xlnx,zynqmp-dma-1.0";
326                         reg = <0x0 0xfd510000 0x1000>;
327                         interrupt-parent = <&gic>;
328                         interrupts = <0 125 4>;
329                         clock-names = "clk_main", "clk_apb";
330                         xlnx,bus-width = <128>;
331                         #stream-id-cells = <1>;
332                         iommus = <&smmu 0x14e9>;
333                         power-domains = <&pd_gdma>;
334                 };
335
336                 fpd_dma_chan3: dma@fd520000 {
337                         status = "disabled";
338                         compatible = "xlnx,zynqmp-dma-1.0";
339                         reg = <0x0 0xfd520000 0x1000>;
340                         interrupt-parent = <&gic>;
341                         interrupts = <0 126 4>;
342                         clock-names = "clk_main", "clk_apb";
343                         xlnx,bus-width = <128>;
344                         #stream-id-cells = <1>;
345                         iommus = <&smmu 0x14ea>;
346                         power-domains = <&pd_gdma>;
347                 };
348
349                 fpd_dma_chan4: dma@fd530000 {
350                         status = "disabled";
351                         compatible = "xlnx,zynqmp-dma-1.0";
352                         reg = <0x0 0xfd530000 0x1000>;
353                         interrupt-parent = <&gic>;
354                         interrupts = <0 127 4>;
355                         clock-names = "clk_main", "clk_apb";
356                         xlnx,bus-width = <128>;
357                         #stream-id-cells = <1>;
358                         iommus = <&smmu 0x14eb>;
359                         power-domains = <&pd_gdma>;
360                 };
361
362                 fpd_dma_chan5: dma@fd540000 {
363                         status = "disabled";
364                         compatible = "xlnx,zynqmp-dma-1.0";
365                         reg = <0x0 0xfd540000 0x1000>;
366                         interrupt-parent = <&gic>;
367                         interrupts = <0 128 4>;
368                         clock-names = "clk_main", "clk_apb";
369                         xlnx,bus-width = <128>;
370                         #stream-id-cells = <1>;
371                         iommus = <&smmu 0x14ec>;
372                         power-domains = <&pd_gdma>;
373                 };
374
375                 fpd_dma_chan6: dma@fd550000 {
376                         status = "disabled";
377                         compatible = "xlnx,zynqmp-dma-1.0";
378                         reg = <0x0 0xfd550000 0x1000>;
379                         interrupt-parent = <&gic>;
380                         interrupts = <0 129 4>;
381                         clock-names = "clk_main", "clk_apb";
382                         xlnx,bus-width = <128>;
383                         #stream-id-cells = <1>;
384                         iommus = <&smmu 0x14ed>;
385                         power-domains = <&pd_gdma>;
386                 };
387
388                 fpd_dma_chan7: dma@fd560000 {
389                         status = "disabled";
390                         compatible = "xlnx,zynqmp-dma-1.0";
391                         reg = <0x0 0xfd560000 0x1000>;
392                         interrupt-parent = <&gic>;
393                         interrupts = <0 130 4>;
394                         clock-names = "clk_main", "clk_apb";
395                         xlnx,bus-width = <128>;
396                         #stream-id-cells = <1>;
397                         iommus = <&smmu 0x14ee>;
398                         power-domains = <&pd_gdma>;
399                 };
400
401                 fpd_dma_chan8: dma@fd570000 {
402                         status = "disabled";
403                         compatible = "xlnx,zynqmp-dma-1.0";
404                         reg = <0x0 0xfd570000 0x1000>;
405                         interrupt-parent = <&gic>;
406                         interrupts = <0 131 4>;
407                         clock-names = "clk_main", "clk_apb";
408                         xlnx,bus-width = <128>;
409                         #stream-id-cells = <1>;
410                         iommus = <&smmu 0x14ef>;
411                         power-domains = <&pd_gdma>;
412                 };
413
414                 gpu: gpu@fd4b0000 {
415                         status = "disabled";
416                         compatible = "arm,mali-400", "arm,mali-utgard";
417                         reg = <0x0 0xfd4b0000 0x30000>;
418                         interrupt-parent = <&gic>;
419                         interrupts = <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>;
420                         interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1";
421                         power-domains = <&pd_gpu>;
422                 };
423
424                 /* ADMA */
425                 lpd_dma_chan1: dma@ffa80000 {
426                         status = "disabled";
427                         compatible = "xlnx,zynqmp-dma-1.0";
428                         reg = <0x0 0xffa80000 0x1000>;
429                         interrupt-parent = <&gic>;
430                         interrupts = <0 77 4>;
431                         xlnx,bus-width = <64>;
432                         #stream-id-cells = <1>;
433                         iommus = <&smmu 0x868>;
434                         power-domains = <&pd_adma>;
435                 };
436
437                 lpd_dma_chan2: dma@ffa90000 {
438                         status = "disabled";
439                         compatible = "xlnx,zynqmp-dma-1.0";
440                         reg = <0x0 0xffa90000 0x1000>;
441                         interrupt-parent = <&gic>;
442                         interrupts = <0 78 4>;
443                         xlnx,bus-width = <64>;
444                         #stream-id-cells = <1>;
445                         iommus = <&smmu 0x869>;
446                         power-domains = <&pd_adma>;
447                 };
448
449                 lpd_dma_chan3: dma@ffaa0000 {
450                         status = "disabled";
451                         compatible = "xlnx,zynqmp-dma-1.0";
452                         reg = <0x0 0xffaa0000 0x1000>;
453                         interrupt-parent = <&gic>;
454                         interrupts = <0 79 4>;
455                         xlnx,bus-width = <64>;
456                         #stream-id-cells = <1>;
457                         iommus = <&smmu 0x86a>;
458                         power-domains = <&pd_adma>;
459                 };
460
461                 lpd_dma_chan4: dma@ffab0000 {
462                         status = "disabled";
463                         compatible = "xlnx,zynqmp-dma-1.0";
464                         reg = <0x0 0xffab0000 0x1000>;
465                         interrupt-parent = <&gic>;
466                         interrupts = <0 80 4>;
467                         xlnx,bus-width = <64>;
468                         #stream-id-cells = <1>;
469                         iommus = <&smmu 0x86b>;
470                         power-domains = <&pd_adma>;
471                 };
472
473                 lpd_dma_chan5: dma@ffac0000 {
474                         status = "disabled";
475                         compatible = "xlnx,zynqmp-dma-1.0";
476                         reg = <0x0 0xffac0000 0x1000>;
477                         interrupt-parent = <&gic>;
478                         interrupts = <0 81 4>;
479                         xlnx,bus-width = <64>;
480                         #stream-id-cells = <1>;
481                         iommus = <&smmu 0x86c>;
482                         power-domains = <&pd_adma>;
483                 };
484
485                 lpd_dma_chan6: dma@ffad0000 {
486                         status = "disabled";
487                         compatible = "xlnx,zynqmp-dma-1.0";
488                         reg = <0x0 0xffad0000 0x1000>;
489                         interrupt-parent = <&gic>;
490                         interrupts = <0 82 4>;
491                         xlnx,bus-width = <64>;
492                         #stream-id-cells = <1>;
493                         iommus = <&smmu 0x86d>;
494                         power-domains = <&pd_adma>;
495                 };
496
497                 lpd_dma_chan7: dma@ffae0000 {
498                         status = "disabled";
499                         compatible = "xlnx,zynqmp-dma-1.0";
500                         reg = <0x0 0xffae0000 0x1000>;
501                         interrupt-parent = <&gic>;
502                         interrupts = <0 83 4>;
503                         xlnx,bus-width = <64>;
504                         #stream-id-cells = <1>;
505                         iommus = <&smmu 0x86e>;
506                         power-domains = <&pd_adma>;
507                 };
508
509                 lpd_dma_chan8: dma@ffaf0000 {
510                         status = "disabled";
511                         compatible = "xlnx,zynqmp-dma-1.0";
512                         reg = <0x0 0xffaf0000 0x1000>;
513                         interrupt-parent = <&gic>;
514                         interrupts = <0 84 4>;
515                         xlnx,bus-width = <64>;
516                         #stream-id-cells = <1>;
517                         iommus = <&smmu 0x86f>;
518                         power-domains = <&pd_adma>;
519                 };
520
521                 mc: memory-controller@fd070000 {
522                         compatible = "xlnx,zynqmp-ddrc-2.40a";
523                         reg = <0x0 0xfd070000 0x30000>;
524                         interrupt-parent = <&gic>;
525                         interrupts = <0 112 4>;
526                 };
527
528                 nand0: nand@ff100000 {
529                         compatible = "arasan,nfc-v3p10";
530                         status = "disabled";
531                         reg = <0x0 0xff100000 0x1000>;
532                         clock-names = "clk_sys", "clk_flash";
533                         interrupt-parent = <&gic>;
534                         interrupts = <0 14 4>;
535                         #address-cells = <2>;
536                         #size-cells = <1>;
537                         #stream-id-cells = <1>;
538                         iommus = <&smmu 0x872>;
539                         power-domains = <&pd_nand>;
540                 };
541
542                 gem0: ethernet@ff0b0000 {
543                         compatible = "cdns,zynqmp-gem";
544                         status = "disabled";
545                         interrupt-parent = <&gic>;
546                         interrupts = <0 57 4>, <0 57 4>;
547                         reg = <0x0 0xff0b0000 0x1000>;
548                         clock-names = "pclk", "hclk", "tx_clk";
549                         #address-cells = <1>;
550                         #size-cells = <0>;
551                         #stream-id-cells = <1>;
552                         iommus = <&smmu 0x874>;
553                         power-domains = <&pd_eth0>;
554                 };
555
556                 gem1: ethernet@ff0c0000 {
557                         compatible = "cdns,zynqmp-gem";
558                         status = "disabled";
559                         interrupt-parent = <&gic>;
560                         interrupts = <0 59 4>, <0 59 4>;
561                         reg = <0x0 0xff0c0000 0x1000>;
562                         clock-names = "pclk", "hclk", "tx_clk";
563                         #address-cells = <1>;
564                         #size-cells = <0>;
565                         #stream-id-cells = <1>;
566                         iommus = <&smmu 0x875>;
567                         power-domains = <&pd_eth1>;
568                 };
569
570                 gem2: ethernet@ff0d0000 {
571                         compatible = "cdns,zynqmp-gem";
572                         status = "disabled";
573                         interrupt-parent = <&gic>;
574                         interrupts = <0 61 4>, <0 61 4>;
575                         reg = <0x0 0xff0d0000 0x1000>;
576                         clock-names = "pclk", "hclk", "tx_clk";
577                         #address-cells = <1>;
578                         #size-cells = <0>;
579                         #stream-id-cells = <1>;
580                         iommus = <&smmu 0x876>;
581                         power-domains = <&pd_eth2>;
582                 };
583
584                 gem3: ethernet@ff0e0000 {
585                         compatible = "cdns,zynqmp-gem";
586                         status = "disabled";
587                         interrupt-parent = <&gic>;
588                         interrupts = <0 63 4>, <0 63 4>;
589                         reg = <0x0 0xff0e0000 0x1000>;
590                         clock-names = "pclk", "hclk", "tx_clk";
591                         #address-cells = <1>;
592                         #size-cells = <0>;
593                         #stream-id-cells = <1>;
594                         iommus = <&smmu 0x877>;
595                         power-domains = <&pd_eth3>;
596                 };
597
598                 gpio: gpio@ff0a0000 {
599                         compatible = "xlnx,zynqmp-gpio-1.0";
600                         status = "disabled";
601                         #gpio-cells = <0x2>;
602                         interrupt-parent = <&gic>;
603                         interrupts = <0 16 4>;
604                         interrupt-controller;
605                         #interrupt-cells = <2>;
606                         reg = <0x0 0xff0a0000 0x1000>;
607                         power-domains = <&pd_gpio>;
608                 };
609
610                 i2c0: i2c@ff020000 {
611                         compatible = "cdns,i2c-r1p10";
612                         status = "disabled";
613                         interrupt-parent = <&gic>;
614                         interrupts = <0 17 4>;
615                         reg = <0x0 0xff020000 0x1000>;
616                         #address-cells = <1>;
617                         #size-cells = <0>;
618                         power-domains = <&pd_i2c0>;
619                 };
620
621                 i2c1: i2c@ff030000 {
622                         compatible = "cdns,i2c-r1p10";
623                         status = "disabled";
624                         interrupt-parent = <&gic>;
625                         interrupts = <0 18 4>;
626                         reg = <0x0 0xff030000 0x1000>;
627                         #address-cells = <1>;
628                         #size-cells = <0>;
629                         power-domains = <&pd_i2c1>;
630                 };
631
632                 pcie: pcie@fd0e0000 {
633                         compatible = "xlnx,nwl-pcie-2.11";
634                         status = "disabled";
635                         #address-cells = <3>;
636                         #size-cells = <2>;
637                         #interrupt-cells = <1>;
638                         msi-controller;
639                         device_type = "pci";
640                         interrupt-parent = <&gic>;
641                         interrupts = <0 118 4>,
642                                      <0 117 4>,
643                                      <0 116 4>,
644                                      <0 115 4>, /* MSI_1 [63...32] */
645                                      <0 114 4>; /* MSI_0 [31...0] */
646                         interrupt-names = "misc","dummy","intx", "msi1", "msi0";
647                         msi-parent = <&pcie>;
648                         reg = <0x0 0xfd0e0000 0x1000>,
649                               <0x0 0xfd480000 0x1000>,
650                               <0x0 0xe0000000 0x1000000>;
651                         reg-names = "breg", "pcireg", "cfg";
652                         ranges = <0x02000000 0x00000000 0xe1000000 0x00000000 0xe1000000 0 0x0f000000>;
653                         interrupt-map-mask = <0x0 0x0 0x0 0x7>;
654                         interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
655                                         <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
656                                         <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
657                                         <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
658                         power-domains = <&pd_pcie>;
659                         pcie_intc: legacy-interrupt-controller {
660                                 interrupt-controller;
661                                 #address-cells = <0>;
662                                 #interrupt-cells = <1>;
663                         };
664                 };
665
666                 qspi: spi@ff0f0000 {
667                         compatible = "xlnx,zynqmp-qspi-1.0";
668                         status = "disabled";
669                         clock-names = "ref_clk", "pclk";
670                         interrupts = <0 15 4>;
671                         interrupt-parent = <&gic>;
672                         num-cs = <1>;
673                         reg = <0x0 0xff0f0000 0x1000>,
674                               <0x0 0xc0000000 0x8000000>;
675                         #address-cells = <1>;
676                         #size-cells = <0>;
677                         #stream-id-cells = <1>;
678                         iommus = <&smmu 0x873>;
679                         power-domains = <&pd_qspi>;
680                 };
681
682                 rtc: rtc@ffa60000 {
683                         compatible = "xlnx,zynqmp-rtc";
684                         status = "disabled";
685                         reg = <0x0 0xffa60000 0x100>;
686                         interrupt-parent = <&gic>;
687                         interrupts = <0 26 4>, <0 27 4>;
688                         interrupt-names = "alarm", "sec";
689                 };
690
691                 sata: ahci@fd0c0000 {
692                         compatible = "ceva,ahci-1v84";
693                         status = "disabled";
694                         reg = <0x0 0xfd0c0000 0x2000>;
695                         interrupt-parent = <&gic>;
696                         interrupts = <0 133 4>;
697                         power-domains = <&pd_sata>;
698                 };
699
700                 sdhci0: sdhci@ff160000 {
701                         u-boot,dm-pre-reloc;
702                         compatible = "arasan,sdhci-8.9a";
703                         status = "disabled";
704                         interrupt-parent = <&gic>;
705                         interrupts = <0 48 4>;
706                         reg = <0x0 0xff160000 0x1000>;
707                         clock-names = "clk_xin", "clk_ahb";
708                         broken-tuning;
709                         #stream-id-cells = <1>;
710                         iommus = <&smmu 0x870>;
711                         power-domains = <&pd_sd0>;
712                 };
713
714                 sdhci1: sdhci@ff170000 {
715                         u-boot,dm-pre-reloc;
716                         compatible = "arasan,sdhci-8.9a";
717                         status = "disabled";
718                         interrupt-parent = <&gic>;
719                         interrupts = <0 49 4>;
720                         reg = <0x0 0xff170000 0x1000>;
721                         clock-names = "clk_xin", "clk_ahb";
722                         broken-tuning;
723                         #stream-id-cells = <1>;
724                         iommus = <&smmu 0x871>;
725                         power-domains = <&pd_sd1>;
726                 };
727
728                 smmu: smmu@fd800000 {
729                         compatible = "arm,mmu-500";
730                         reg = <0x0 0xfd800000 0x20000>;
731                         #iommu-cells = <1>;
732                         #global-interrupts = <1>;
733                         interrupt-parent = <&gic>;
734                         interrupts = <0 155 4>,
735                                 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
736                                 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
737                                 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
738                                 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>;
739                         mmu-masters = < &gem0 0x874
740                                         &gem1 0x875
741                                         &gem2 0x876
742                                         &gem3 0x877
743                                         &usb0 0x860
744                                         &usb1 0x861
745                                         &qspi 0x873
746                                         &lpd_dma_chan1 0x868
747                                         &lpd_dma_chan2 0x869
748                                         &lpd_dma_chan3 0x86a
749                                         &lpd_dma_chan4 0x86b
750                                         &lpd_dma_chan5 0x86c
751                                         &lpd_dma_chan6 0x86d
752                                         &lpd_dma_chan7 0x86e
753                                         &lpd_dma_chan8 0x86f
754                                         &fpd_dma_chan1 0x14e8
755                                         &fpd_dma_chan2 0x14e9
756                                         &fpd_dma_chan3 0x14ea
757                                         &fpd_dma_chan4 0x14eb
758                                         &fpd_dma_chan5 0x14ec
759                                         &fpd_dma_chan6 0x14ed
760                                         &fpd_dma_chan7 0x14ee
761                                         &fpd_dma_chan8 0x14ef
762                                         &sdhci0 0x870
763                                         &sdhci1 0x871
764                                         &nand0 0x872>;
765                 };
766
767                 spi0: spi@ff040000 {
768                         compatible = "cdns,spi-r1p6";
769                         status = "disabled";
770                         interrupt-parent = <&gic>;
771                         interrupts = <0 19 4>;
772                         reg = <0x0 0xff040000 0x1000>;
773                         clock-names = "ref_clk", "pclk";
774                         #address-cells = <1>;
775                         #size-cells = <0>;
776                         power-domains = <&pd_spi0>;
777                 };
778
779                 spi1: spi@ff050000 {
780                         compatible = "cdns,spi-r1p6";
781                         status = "disabled";
782                         interrupt-parent = <&gic>;
783                         interrupts = <0 20 4>;
784                         reg = <0x0 0xff050000 0x1000>;
785                         clock-names = "ref_clk", "pclk";
786                         #address-cells = <1>;
787                         #size-cells = <0>;
788                         power-domains = <&pd_spi1>;
789                 };
790
791                 ttc0: timer@ff110000 {
792                         compatible = "cdns,ttc";
793                         status = "disabled";
794                         interrupt-parent = <&gic>;
795                         interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
796                         reg = <0x0 0xff110000 0x1000>;
797                         timer-width = <32>;
798                         power-domains = <&pd_ttc0>;
799                 };
800
801                 ttc1: timer@ff120000 {
802                         compatible = "cdns,ttc";
803                         status = "disabled";
804                         interrupt-parent = <&gic>;
805                         interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
806                         reg = <0x0 0xff120000 0x1000>;
807                         timer-width = <32>;
808                         power-domains = <&pd_ttc1>;
809                 };
810
811                 ttc2: timer@ff130000 {
812                         compatible = "cdns,ttc";
813                         status = "disabled";
814                         interrupt-parent = <&gic>;
815                         interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
816                         reg = <0x0 0xff130000 0x1000>;
817                         timer-width = <32>;
818                         power-domains = <&pd_ttc2>;
819                 };
820
821                 ttc3: timer@ff140000 {
822                         compatible = "cdns,ttc";
823                         status = "disabled";
824                         interrupt-parent = <&gic>;
825                         interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
826                         reg = <0x0 0xff140000 0x1000>;
827                         timer-width = <32>;
828                         power-domains = <&pd_ttc3>;
829                 };
830
831                 uart0: serial@ff000000 {
832                         u-boot,dm-pre-reloc;
833                         compatible = "cdns,uart-r1p12", "xlnx,xuartps";
834                         status = "disabled";
835                         interrupt-parent = <&gic>;
836                         interrupts = <0 21 4>;
837                         reg = <0x0 0xff000000 0x1000>;
838                         clock-names = "uart_clk", "pclk";
839                         power-domains = <&pd_uart0>;
840                 };
841
842                 uart1: serial@ff010000 {
843                         u-boot,dm-pre-reloc;
844                         compatible = "cdns,uart-r1p12", "xlnx,xuartps";
845                         status = "disabled";
846                         interrupt-parent = <&gic>;
847                         interrupts = <0 22 4>;
848                         reg = <0x0 0xff010000 0x1000>;
849                         clock-names = "uart_clk", "pclk";
850                         power-domains = <&pd_uart1>;
851                 };
852
853                 usb0: usb0 {
854                         #address-cells = <2>;
855                         #size-cells = <1>;
856                         status = "disabled";
857                         compatible = "xlnx,zynqmp-dwc3";
858                         clock-names = "bus_clk", "ref_clk";
859                         clocks = <&clk125>, <&clk125>;
860                         #stream-id-cells = <1>;
861                         iommus = <&smmu 0x860>;
862                         power-domains = <&pd_usb0>;
863                         ranges;
864
865                         dwc3_0: dwc3@fe200000 {
866                                 compatible = "snps,dwc3";
867                                 status = "disabled";
868                                 reg = <0x0 0xfe200000 0x40000>;
869                                 interrupt-parent = <&gic>;
870                                 interrupts = <0 65 4>;
871                                 /* snps,quirk-frame-length-adjustment = <0x20>; */
872                                 snps,refclk_fladj;
873                         };
874                 };
875
876                 usb1: usb1 {
877                         #address-cells = <2>;
878                         #size-cells = <1>;
879                         status = "disabled";
880                         compatible = "xlnx,zynqmp-dwc3";
881                         clock-names = "bus_clk", "ref_clk";
882                         clocks = <&clk125>, <&clk125>;
883                         #stream-id-cells = <1>;
884                         iommus = <&smmu 0x861>;
885                         power-domains = <&pd_usb1>;
886                         ranges;
887
888                         dwc3_1: dwc3@fe300000 {
889                                 compatible = "snps,dwc3";
890                                 status = "disabled";
891                                 reg = <0x0 0xfe300000 0x40000>;
892                                 interrupt-parent = <&gic>;
893                                 interrupts = <0 70 4>;
894                                 /* snps,quirk-frame-length-adjustment = <0x20>; */
895                                 snps,refclk_fladj;
896                         };
897                 };
898
899                 watchdog0: watchdog@fd4d0000 {
900                         compatible = "cdns,wdt-r1p2";
901                         status = "disabled";
902                         interrupt-parent = <&gic>;
903                         interrupts = <0 113 1>;
904                         reg = <0x0 0xfd4d0000 0x1000>;
905                         timeout-sec = <10>;
906                 };
907
908                 xilinx_drm: xilinx_drm {
909                         compatible = "xlnx,drm";
910                         status = "disabled";
911                         xlnx,encoder-slave = <&xlnx_dp>;
912                         xlnx,connector-type = "DisplayPort";
913                         xlnx,dp-sub = <&xlnx_dp_sub>;
914                         planes {
915                                 xlnx,pixel-format = "rgb565";
916                                 plane0 {
917                                         dmas = <&xlnx_dpdma 3>;
918                                         dma-names = "dma0";
919                                 };
920                                 plane1 {
921                                         dmas = <&xlnx_dpdma 0>,
922                                                <&xlnx_dpdma 1>,
923                                                <&xlnx_dpdma 2>;
924                                         dma-names = "dma0", "dma1", "dma2";
925                                 };
926                         };
927                 };
928
929                 xlnx_dp: dp@fd4a0000 {
930                         compatible = "xlnx,v-dp";
931                         status = "disabled";
932                         reg = <0x0 0xfd4a0000 0x1000>;
933                         interrupts = <0 119 4>;
934                         interrupt-parent = <&gic>;
935                         clock-names = "aclk", "aud_clk";
936                         xlnx,dp-version = "v1.2";
937                         xlnx,max-lanes = <2>;
938                         xlnx,max-link-rate = <540000>;
939                         xlnx,max-bpc = <16>;
940                         xlnx,enable-ycrcb;
941                         xlnx,colormetry = "rgb";
942                         xlnx,bpc = <8>;
943                         xlnx,audio-chan = <2>;
944                         xlnx,dp-sub = <&xlnx_dp_sub>;
945                         xlnx,max-pclock-frequency = <300000>;
946                 };
947
948                 xlnx_dp_snd_card: dp_snd_card {
949                         compatible = "xlnx,dp-snd-card";
950                         status = "disabled";
951                         xlnx,dp-snd-pcm = <&xlnx_dp_snd_pcm0>, <&xlnx_dp_snd_pcm1>;
952                         xlnx,dp-snd-codec = <&xlnx_dp_snd_codec0>;
953                 };
954
955                 xlnx_dp_snd_codec0: dp_snd_codec0 {
956                         compatible = "xlnx,dp-snd-codec";
957                         status = "disabled";
958                         clock-names = "aud_clk";
959                 };
960
961                 xlnx_dp_snd_pcm0: dp_snd_pcm0 {
962                         compatible = "xlnx,dp-snd-pcm";
963                         status = "disabled";
964                         dmas = <&xlnx_dpdma 4>;
965                         dma-names = "tx";
966                 };
967
968                 xlnx_dp_snd_pcm1: dp_snd_pcm1 {
969                         compatible = "xlnx,dp-snd-pcm";
970                         status = "disabled";
971                         dmas = <&xlnx_dpdma 5>;
972                         dma-names = "tx";
973                 };
974
975                 xlnx_dp_sub: dp_sub@fd4aa000 {
976                         compatible = "xlnx,dp-sub";
977                         status = "disabled";
978                         reg = <0x0 0xfd4aa000 0x1000>,
979                               <0x0 0xfd4ab000 0x1000>,
980                               <0x0 0xfd4ac000 0x1000>;
981                         reg-names = "blend", "av_buf", "aud";
982                         xlnx,output-fmt = "rgb";
983                         xlnx,vid-fmt = "yuyv";
984                         xlnx,gfx-fmt = "rgb565";
985                 };
986
987                 xlnx_dpdma: dma@fd4c0000 {
988                         compatible = "xlnx,dpdma";
989                         status = "disabled";
990                         reg = <0x0 0xfd4c0000 0x1000>;
991                         interrupts = <0 122 4>;
992                         interrupt-parent = <&gic>;
993                         clock-names = "axi_clk";
994                         dma-channels = <6>;
995                         #dma-cells = <1>;
996                         dma-video0channel {
997                                 compatible = "xlnx,video0";
998                         };
999                         dma-video1channel {
1000                                 compatible = "xlnx,video1";
1001                         };
1002                         dma-video2channel {
1003                                 compatible = "xlnx,video2";
1004                         };
1005                         dma-graphicschannel {
1006                                 compatible = "xlnx,graphics";
1007                         };
1008                         dma-audio0channel {
1009                                 compatible = "xlnx,audio0";
1010                         };
1011                         dma-audio1channel {
1012                                 compatible = "xlnx,audio1";
1013                         };
1014                 };
1015         };
1016 };