1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
7 * Mingkai Hu <Mingkai.hu@freescale.com>
10 #include <dt-bindings/thermal/thermal.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 compatible = "fsl,ls1043a";
15 interrupt-parent = <&gic>;
35 * We expect the enable-method for cpu's to be "psci", but this
36 * is dependent on the SoC FW, which will fill this in.
38 * Currently supported enable-method is psci v0.2
42 compatible = "arm,cortex-a53";
44 clocks = <&clockgen 1 0>;
45 next-level-cache = <&l2>;
46 cpu-idle-states = <&CPU_PH20>;
52 compatible = "arm,cortex-a53";
54 clocks = <&clockgen 1 0>;
55 next-level-cache = <&l2>;
56 cpu-idle-states = <&CPU_PH20>;
62 compatible = "arm,cortex-a53";
64 clocks = <&clockgen 1 0>;
65 next-level-cache = <&l2>;
66 cpu-idle-states = <&CPU_PH20>;
72 compatible = "arm,cortex-a53";
74 clocks = <&clockgen 1 0>;
75 next-level-cache = <&l2>;
76 cpu-idle-states = <&CPU_PH20>;
87 * PSCI node is not added default, U-boot will add missing
88 * parts if it determines to use PSCI.
90 entry-method = "psci";
93 compatible = "arm,idle-state";
94 idle-state-name = "PH20";
95 arm,psci-suspend-param = <0x0>;
96 entry-latency-us = <1000>;
97 exit-latency-us = <1000>;
98 min-residency-us = <3000>;
103 device_type = "memory";
104 reg = <0x0 0x80000000 0 0x80000000>;
105 /* DRAM space 1, size: 2GiB DRAM */
109 #address-cells = <2>;
113 bman_fbpr: bman-fbpr {
114 compatible = "shared-dma-pool";
115 size = <0 0x1000000>;
116 alignment = <0 0x1000000>;
121 compatible = "shared-dma-pool";
123 alignment = <0 0x400000>;
127 qman_pfdr: qman-pfdr {
128 compatible = "shared-dma-pool";
129 size = <0 0x2000000>;
130 alignment = <0 0x2000000>;
136 compatible = "fixed-clock";
138 clock-frequency = <100000000>;
139 clock-output-names = "sysclk";
143 compatible ="syscon-reboot";
150 cpu_thermal: cpu-thermal {
151 polling-delay-passive = <1000>;
152 polling-delay = <5000>;
154 thermal-sensors = <&tmu 3>;
157 cpu_alert: cpu-alert {
158 temperature = <85000>;
163 temperature = <95000>;
173 <&cpu0 THERMAL_NO_LIMIT
181 compatible = "arm,armv8-timer";
182 interrupts = <1 13 0xf08>, /* Physical Secure PPI */
183 <1 14 0xf08>, /* Physical Non-Secure PPI */
184 <1 11 0xf08>, /* Virtual PPI */
185 <1 10 0xf08>; /* Hypervisor PPI */
190 compatible = "arm,armv8-pmuv3";
191 interrupts = <0 106 0x4>,
195 interrupt-affinity = <&cpu0>,
201 gic: interrupt-controller@1400000 {
202 compatible = "arm,gic-400";
203 #interrupt-cells = <3>;
204 interrupt-controller;
205 reg = <0x0 0x1401000 0 0x1000>, /* GICD */
206 <0x0 0x1402000 0 0x2000>, /* GICC */
207 <0x0 0x1404000 0 0x2000>, /* GICH */
208 <0x0 0x1406000 0 0x2000>; /* GICV */
209 interrupts = <1 9 0xf08>;
213 compatible = "simple-bus";
214 #address-cells = <2>;
218 clockgen: clocking@1ee1000 {
219 compatible = "fsl,ls1043a-clockgen";
220 reg = <0x0 0x1ee1000 0x0 0x1000>;
226 compatible = "fsl,ls1043a-scfg", "syscon";
227 reg = <0x0 0x1570000 0x0 0x10000>;
231 crypto: crypto@1700000 {
232 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
235 #address-cells = <1>;
237 ranges = <0x0 0x00 0x1700000 0x100000>;
238 reg = <0x00 0x1700000 0x0 0x100000>;
239 interrupts = <0 75 0x4>;
242 compatible = "fsl,sec-v5.4-job-ring",
243 "fsl,sec-v5.0-job-ring",
244 "fsl,sec-v4.0-job-ring";
245 reg = <0x10000 0x10000>;
246 interrupts = <0 71 0x4>;
250 compatible = "fsl,sec-v5.4-job-ring",
251 "fsl,sec-v5.0-job-ring",
252 "fsl,sec-v4.0-job-ring";
253 reg = <0x20000 0x10000>;
254 interrupts = <0 72 0x4>;
258 compatible = "fsl,sec-v5.4-job-ring",
259 "fsl,sec-v5.0-job-ring",
260 "fsl,sec-v4.0-job-ring";
261 reg = <0x30000 0x10000>;
262 interrupts = <0 73 0x4>;
266 compatible = "fsl,sec-v5.4-job-ring",
267 "fsl,sec-v5.0-job-ring",
268 "fsl,sec-v4.0-job-ring";
269 reg = <0x40000 0x10000>;
270 interrupts = <0 74 0x4>;
275 compatible = "fsl,ls1043a-dcfg", "syscon";
276 reg = <0x0 0x1ee0000 0x0 0x10000>;
281 compatible = "fsl,ifc", "simple-bus";
282 reg = <0x0 0x1530000 0x0 0x10000>;
284 interrupts = <0 43 0x4>;
287 qspi: quadspi@1550000 {
288 compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi";
289 #address-cells = <1>;
291 reg = <0x0 0x1550000 0x0 0x10000>,
292 <0x0 0x40000000 0x0 0x4000000>;
293 reg-names = "QuadSPI", "QuadSPI-memory";
294 interrupts = <0 99 0x4>;
295 clock-names = "qspi_en", "qspi";
296 clocks = <&clockgen 4 0>, <&clockgen 4 0>;
301 esdhc: esdhc@1560000 {
302 compatible = "fsl,ls1043a-esdhc", "fsl,esdhc";
303 reg = <0x0 0x1560000 0x0 0x10000>;
304 interrupts = <0 62 0x4>;
305 clock-frequency = <0>;
306 voltage-ranges = <1800 1800 3300 3300>;
312 ddr: memory-controller@1080000 {
313 compatible = "fsl,qoriq-memory-controller";
314 reg = <0x0 0x1080000 0x0 0x1000>;
315 interrupts = <0 144 0x4>;
320 compatible = "fsl,qoriq-tmu";
321 reg = <0x0 0x1f00000 0x0 0x10000>;
322 interrupts = <0 33 0x4>;
323 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
324 fsl,tmu-calibration = <0x00000000 0x00000026
325 0x00000001 0x0000002d
326 0x00000002 0x00000032
327 0x00000003 0x00000039
328 0x00000004 0x0000003f
329 0x00000005 0x00000046
330 0x00000006 0x0000004d
331 0x00000007 0x00000054
332 0x00000008 0x0000005a
333 0x00000009 0x00000061
334 0x0000000a 0x0000006a
335 0x0000000b 0x00000071
337 0x00010000 0x00000025
338 0x00010001 0x0000002c
339 0x00010002 0x00000035
340 0x00010003 0x0000003d
341 0x00010004 0x00000045
342 0x00010005 0x0000004e
343 0x00010006 0x00000057
344 0x00010007 0x00000061
345 0x00010008 0x0000006b
346 0x00010009 0x00000076
348 0x00020000 0x00000029
349 0x00020001 0x00000033
350 0x00020002 0x0000003d
351 0x00020003 0x00000049
352 0x00020004 0x00000056
353 0x00020005 0x00000061
354 0x00020006 0x0000006d
356 0x00030000 0x00000021
357 0x00030001 0x0000002a
358 0x00030002 0x0000003c
359 0x00030003 0x0000004e>;
360 #thermal-sensor-cells = <1>;
364 compatible = "fsl,qman";
365 reg = <0x0 0x1880000 0x0 0x10000>;
366 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
367 memory-region = <&qman_fqd &qman_pfdr>;
371 compatible = "fsl,bman";
372 reg = <0x0 0x1890000 0x0 0x10000>;
373 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
374 memory-region = <&bman_fbpr>;
377 bportals: bman-portals@508000000 {
378 ranges = <0x0 0x5 0x08000000 0x8000000>;
381 qportals: qman-portals@500000000 {
382 ranges = <0x0 0x5 0x00000000 0x8000000>;
385 dspi0: dspi@2100000 {
386 compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
387 #address-cells = <1>;
389 reg = <0x0 0x2100000 0x0 0x10000>;
390 interrupts = <0 64 0x4>;
391 clock-names = "dspi";
392 clocks = <&clockgen 4 0>;
393 spi-num-chipselects = <5>;
398 dspi1: dspi@2110000 {
399 compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
400 #address-cells = <1>;
402 reg = <0x0 0x2110000 0x0 0x10000>;
403 interrupts = <0 65 0x4>;
404 clock-names = "dspi";
405 clocks = <&clockgen 4 0>;
406 spi-num-chipselects = <5>;
412 compatible = "fsl,vf610-i2c";
413 #address-cells = <1>;
415 reg = <0x0 0x2180000 0x0 0x10000>;
416 interrupts = <0 56 0x4>;
418 clocks = <&clockgen 4 0>;
419 dmas = <&edma0 1 39>,
421 dma-names = "tx", "rx";
426 compatible = "fsl,vf610-i2c";
427 #address-cells = <1>;
429 reg = <0x0 0x2190000 0x0 0x10000>;
430 interrupts = <0 57 0x4>;
432 clocks = <&clockgen 4 0>;
437 compatible = "fsl,vf610-i2c";
438 #address-cells = <1>;
440 reg = <0x0 0x21a0000 0x0 0x10000>;
441 interrupts = <0 58 0x4>;
443 clocks = <&clockgen 4 0>;
448 compatible = "fsl,vf610-i2c";
449 #address-cells = <1>;
451 reg = <0x0 0x21b0000 0x0 0x10000>;
452 interrupts = <0 59 0x4>;
454 clocks = <&clockgen 4 0>;
458 duart0: serial@21c0500 {
459 compatible = "fsl,ns16550", "ns16550a";
460 reg = <0x00 0x21c0500 0x0 0x100>;
461 interrupts = <0 54 0x4>;
462 clocks = <&clockgen 4 0>;
465 duart1: serial@21c0600 {
466 compatible = "fsl,ns16550", "ns16550a";
467 reg = <0x00 0x21c0600 0x0 0x100>;
468 interrupts = <0 54 0x4>;
469 clocks = <&clockgen 4 0>;
472 duart2: serial@21d0500 {
473 compatible = "fsl,ns16550", "ns16550a";
474 reg = <0x0 0x21d0500 0x0 0x100>;
475 interrupts = <0 55 0x4>;
476 clocks = <&clockgen 4 0>;
479 duart3: serial@21d0600 {
480 compatible = "fsl,ns16550", "ns16550a";
481 reg = <0x0 0x21d0600 0x0 0x100>;
482 interrupts = <0 55 0x4>;
483 clocks = <&clockgen 4 0>;
486 gpio1: gpio@2300000 {
487 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
488 reg = <0x0 0x2300000 0x0 0x10000>;
489 interrupts = <0 66 0x4>;
492 interrupt-controller;
493 #interrupt-cells = <2>;
496 gpio2: gpio@2310000 {
497 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
498 reg = <0x0 0x2310000 0x0 0x10000>;
499 interrupts = <0 67 0x4>;
502 interrupt-controller;
503 #interrupt-cells = <2>;
506 gpio3: gpio@2320000 {
507 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
508 reg = <0x0 0x2320000 0x0 0x10000>;
509 interrupts = <0 68 0x4>;
512 interrupt-controller;
513 #interrupt-cells = <2>;
516 gpio4: gpio@2330000 {
517 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
518 reg = <0x0 0x2330000 0x0 0x10000>;
519 interrupts = <0 134 0x4>;
522 interrupt-controller;
523 #interrupt-cells = <2>;
526 lpuart0: serial@2950000 {
527 compatible = "fsl,ls1021a-lpuart";
528 reg = <0x0 0x2950000 0x0 0x1000>;
529 interrupts = <0 48 0x4>;
530 clocks = <&clockgen 0 0>;
535 lpuart1: serial@2960000 {
536 compatible = "fsl,ls1021a-lpuart";
537 reg = <0x0 0x2960000 0x0 0x1000>;
538 interrupts = <0 49 0x4>;
539 clocks = <&clockgen 4 0>;
544 lpuart2: serial@2970000 {
545 compatible = "fsl,ls1021a-lpuart";
546 reg = <0x0 0x2970000 0x0 0x1000>;
547 interrupts = <0 50 0x4>;
548 clocks = <&clockgen 4 0>;
553 lpuart3: serial@2980000 {
554 compatible = "fsl,ls1021a-lpuart";
555 reg = <0x0 0x2980000 0x0 0x1000>;
556 interrupts = <0 51 0x4>;
557 clocks = <&clockgen 4 0>;
562 lpuart4: serial@2990000 {
563 compatible = "fsl,ls1021a-lpuart";
564 reg = <0x0 0x2990000 0x0 0x1000>;
565 interrupts = <0 52 0x4>;
566 clocks = <&clockgen 4 0>;
571 lpuart5: serial@29a0000 {
572 compatible = "fsl,ls1021a-lpuart";
573 reg = <0x0 0x29a0000 0x0 0x1000>;
574 interrupts = <0 53 0x4>;
575 clocks = <&clockgen 4 0>;
580 wdog0: wdog@2ad0000 {
581 compatible = "fsl,ls1043a-wdt", "fsl,imx21-wdt";
582 reg = <0x0 0x2ad0000 0x0 0x10000>;
583 interrupts = <0 83 0x4>;
584 clocks = <&clockgen 4 0>;
585 clock-names = "wdog";
589 edma0: edma@2c00000 {
591 compatible = "fsl,vf610-edma";
592 reg = <0x0 0x2c00000 0x0 0x10000>,
593 <0x0 0x2c10000 0x0 0x10000>,
594 <0x0 0x2c20000 0x0 0x10000>;
595 interrupts = <0 103 0x4>,
597 interrupt-names = "edma-tx", "edma-err";
600 clock-names = "dmamux0", "dmamux1";
601 clocks = <&clockgen 4 0>,
606 compatible = "snps,dwc3";
607 reg = <0x0 0x2f00000 0x0 0x10000>;
608 interrupts = <0 60 0x4>;
610 snps,quirk-frame-length-adjustment = <0x20>;
611 snps,dis_rxdet_inp3_quirk;
615 compatible = "snps,dwc3";
616 reg = <0x0 0x3000000 0x0 0x10000>;
617 interrupts = <0 61 0x4>;
619 snps,quirk-frame-length-adjustment = <0x20>;
620 snps,dis_rxdet_inp3_quirk;
624 compatible = "snps,dwc3";
625 reg = <0x0 0x3100000 0x0 0x10000>;
626 interrupts = <0 63 0x4>;
628 snps,quirk-frame-length-adjustment = <0x20>;
629 snps,dis_rxdet_inp3_quirk;
633 compatible = "fsl,ls1043a-ahci";
634 reg = <0x0 0x3200000 0x0 0x10000>,
635 <0x0 0x20140520 0x0 0x4>;
636 reg-names = "ahci", "sata-ecc";
637 interrupts = <0 69 0x4>;
638 clocks = <&clockgen 4 0>;
642 msi1: msi-controller1@1571000 {
643 compatible = "fsl,ls1043a-msi";
644 reg = <0x0 0x1571000 0x0 0x8>;
646 interrupts = <0 116 0x4>;
649 msi2: msi-controller2@1572000 {
650 compatible = "fsl,ls1043a-msi";
651 reg = <0x0 0x1572000 0x0 0x8>;
653 interrupts = <0 126 0x4>;
656 msi3: msi-controller3@1573000 {
657 compatible = "fsl,ls1043a-msi";
658 reg = <0x0 0x1573000 0x0 0x8>;
660 interrupts = <0 160 0x4>;
664 compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
665 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
666 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
667 reg-names = "regs", "config";
668 interrupts = <0 118 0x4>, /* controller interrupt */
669 <0 117 0x4>; /* PME interrupt */
670 interrupt-names = "intr", "pme";
671 #address-cells = <3>;
676 bus-range = <0x0 0xff>;
677 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
678 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
679 msi-parent = <&msi1>, <&msi2>, <&msi3>;
680 #interrupt-cells = <1>;
681 interrupt-map-mask = <0 0 0 7>;
682 interrupt-map = <0000 0 0 1 &gic 0 110 0x4>,
683 <0000 0 0 2 &gic 0 111 0x4>,
684 <0000 0 0 3 &gic 0 112 0x4>,
685 <0000 0 0 4 &gic 0 113 0x4>;
689 compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
690 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
691 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
692 reg-names = "regs", "config";
693 interrupts = <0 128 0x4>,
695 interrupt-names = "intr", "pme";
696 #address-cells = <3>;
701 bus-range = <0x0 0xff>;
702 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
703 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
704 msi-parent = <&msi1>, <&msi2>, <&msi3>;
705 #interrupt-cells = <1>;
706 interrupt-map-mask = <0 0 0 7>;
707 interrupt-map = <0000 0 0 1 &gic 0 120 0x4>,
708 <0000 0 0 2 &gic 0 121 0x4>,
709 <0000 0 0 3 &gic 0 122 0x4>,
710 <0000 0 0 4 &gic 0 123 0x4>;
714 compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
715 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
716 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
717 reg-names = "regs", "config";
718 interrupts = <0 162 0x4>,
720 interrupt-names = "intr", "pme";
721 #address-cells = <3>;
726 bus-range = <0x0 0xff>;
727 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
728 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
729 msi-parent = <&msi1>, <&msi2>, <&msi3>;
730 #interrupt-cells = <1>;
731 interrupt-map-mask = <0 0 0 7>;
732 interrupt-map = <0000 0 0 1 &gic 0 154 0x4>,
733 <0000 0 0 2 &gic 0 155 0x4>,
734 <0000 0 0 3 &gic 0 156 0x4>,
735 <0000 0 0 4 &gic 0 157 0x4>;
741 compatible = "linaro,optee-tz";
748 #include "qoriq-qman-portals.dtsi"
749 #include "qoriq-bman-portals.dtsi"