| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
|---|
| 2 | 2 | /* |
|---|
| 3 | | - * Device Tree Include file for Freescale Layerscape-1043A family SoC. |
|---|
| 3 | + * Device Tree Include file for NXP Layerscape-1043A family SoC. |
|---|
| 4 | 4 | * |
|---|
| 5 | 5 | * Copyright 2014-2015 Freescale Semiconductor, Inc. |
|---|
| 6 | + * Copyright 2018, 2020 NXP |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Mingkai Hu <Mingkai.hu@freescale.com> |
|---|
| 8 | 9 | */ |
|---|
| .. | .. |
|---|
| 17 | 18 | #size-cells = <2>; |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | aliases { |
|---|
| 21 | + crypto = &crypto; |
|---|
| 20 | 22 | fman0 = &fman0; |
|---|
| 21 | 23 | ethernet0 = &enet0; |
|---|
| 22 | 24 | ethernet1 = &enet1; |
|---|
| .. | .. |
|---|
| 25 | 27 | ethernet4 = &enet4; |
|---|
| 26 | 28 | ethernet5 = &enet5; |
|---|
| 27 | 29 | ethernet6 = &enet6; |
|---|
| 30 | + rtc1 = &ftm_alarm0; |
|---|
| 28 | 31 | }; |
|---|
| 29 | 32 | |
|---|
| 30 | 33 | cpus { |
|---|
| .. | .. |
|---|
| 147 | 150 | }; |
|---|
| 148 | 151 | |
|---|
| 149 | 152 | thermal-zones { |
|---|
| 150 | | - cpu_thermal: cpu-thermal { |
|---|
| 153 | + ddr-controller { |
|---|
| 151 | 154 | polling-delay-passive = <1000>; |
|---|
| 152 | 155 | polling-delay = <5000>; |
|---|
| 153 | | - |
|---|
| 154 | | - thermal-sensors = <&tmu 3>; |
|---|
| 156 | + thermal-sensors = <&tmu 0>; |
|---|
| 155 | 157 | |
|---|
| 156 | 158 | trips { |
|---|
| 157 | | - cpu_alert: cpu-alert { |
|---|
| 159 | + ddr-ctrler-alert { |
|---|
| 158 | 160 | temperature = <85000>; |
|---|
| 159 | 161 | hysteresis = <2000>; |
|---|
| 160 | 162 | type = "passive"; |
|---|
| 161 | 163 | }; |
|---|
| 162 | | - cpu_crit: cpu-crit { |
|---|
| 164 | + |
|---|
| 165 | + ddr-ctrler-crit { |
|---|
| 166 | + temperature = <95000>; |
|---|
| 167 | + hysteresis = <2000>; |
|---|
| 168 | + type = "critical"; |
|---|
| 169 | + }; |
|---|
| 170 | + }; |
|---|
| 171 | + }; |
|---|
| 172 | + |
|---|
| 173 | + serdes { |
|---|
| 174 | + polling-delay-passive = <1000>; |
|---|
| 175 | + polling-delay = <5000>; |
|---|
| 176 | + thermal-sensors = <&tmu 1>; |
|---|
| 177 | + |
|---|
| 178 | + trips { |
|---|
| 179 | + serdes-alert { |
|---|
| 180 | + temperature = <85000>; |
|---|
| 181 | + hysteresis = <2000>; |
|---|
| 182 | + type = "passive"; |
|---|
| 183 | + }; |
|---|
| 184 | + |
|---|
| 185 | + serdes-crit { |
|---|
| 186 | + temperature = <95000>; |
|---|
| 187 | + hysteresis = <2000>; |
|---|
| 188 | + type = "critical"; |
|---|
| 189 | + }; |
|---|
| 190 | + }; |
|---|
| 191 | + }; |
|---|
| 192 | + |
|---|
| 193 | + fman { |
|---|
| 194 | + polling-delay-passive = <1000>; |
|---|
| 195 | + polling-delay = <5000>; |
|---|
| 196 | + thermal-sensors = <&tmu 2>; |
|---|
| 197 | + |
|---|
| 198 | + trips { |
|---|
| 199 | + fman-alert { |
|---|
| 200 | + temperature = <85000>; |
|---|
| 201 | + hysteresis = <2000>; |
|---|
| 202 | + type = "passive"; |
|---|
| 203 | + }; |
|---|
| 204 | + |
|---|
| 205 | + fman-crit { |
|---|
| 206 | + temperature = <95000>; |
|---|
| 207 | + hysteresis = <2000>; |
|---|
| 208 | + type = "critical"; |
|---|
| 209 | + }; |
|---|
| 210 | + }; |
|---|
| 211 | + }; |
|---|
| 212 | + |
|---|
| 213 | + core-cluster { |
|---|
| 214 | + polling-delay-passive = <1000>; |
|---|
| 215 | + polling-delay = <5000>; |
|---|
| 216 | + thermal-sensors = <&tmu 3>; |
|---|
| 217 | + |
|---|
| 218 | + trips { |
|---|
| 219 | + core_cluster_alert: core-cluster-alert { |
|---|
| 220 | + temperature = <85000>; |
|---|
| 221 | + hysteresis = <2000>; |
|---|
| 222 | + type = "passive"; |
|---|
| 223 | + }; |
|---|
| 224 | + |
|---|
| 225 | + core_cluster_crit: core-cluster-crit { |
|---|
| 163 | 226 | temperature = <95000>; |
|---|
| 164 | 227 | hysteresis = <2000>; |
|---|
| 165 | 228 | type = "critical"; |
|---|
| .. | .. |
|---|
| 168 | 231 | |
|---|
| 169 | 232 | cooling-maps { |
|---|
| 170 | 233 | map0 { |
|---|
| 171 | | - trip = <&cpu_alert>; |
|---|
| 234 | + trip = <&core_cluster_alert>; |
|---|
| 172 | 235 | cooling-device = |
|---|
| 173 | | - <&cpu0 THERMAL_NO_LIMIT |
|---|
| 174 | | - THERMAL_NO_LIMIT>; |
|---|
| 236 | + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
|---|
| 237 | + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
|---|
| 238 | + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
|---|
| 239 | + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 240 | + }; |
|---|
| 241 | + }; |
|---|
| 242 | + }; |
|---|
| 243 | + |
|---|
| 244 | + sec { |
|---|
| 245 | + polling-delay-passive = <1000>; |
|---|
| 246 | + polling-delay = <5000>; |
|---|
| 247 | + thermal-sensors = <&tmu 4>; |
|---|
| 248 | + |
|---|
| 249 | + trips { |
|---|
| 250 | + sec-alert { |
|---|
| 251 | + temperature = <85000>; |
|---|
| 252 | + hysteresis = <2000>; |
|---|
| 253 | + type = "passive"; |
|---|
| 254 | + }; |
|---|
| 255 | + |
|---|
| 256 | + sec-crit { |
|---|
| 257 | + temperature = <95000>; |
|---|
| 258 | + hysteresis = <2000>; |
|---|
| 259 | + type = "critical"; |
|---|
| 175 | 260 | }; |
|---|
| 176 | 261 | }; |
|---|
| 177 | 262 | }; |
|---|
| .. | .. |
|---|
| 281 | 366 | ifc: ifc@1530000 { |
|---|
| 282 | 367 | compatible = "fsl,ifc", "simple-bus"; |
|---|
| 283 | 368 | reg = <0x0 0x1530000 0x0 0x10000>; |
|---|
| 284 | | - big-endian; |
|---|
| 285 | 369 | interrupts = <0 43 0x4>; |
|---|
| 286 | 370 | }; |
|---|
| 287 | 371 | |
|---|
| .. | .. |
|---|
| 295 | 379 | interrupts = <0 99 0x4>; |
|---|
| 296 | 380 | clock-names = "qspi_en", "qspi"; |
|---|
| 297 | 381 | clocks = <&clockgen 4 0>, <&clockgen 4 0>; |
|---|
| 298 | | - big-endian; |
|---|
| 299 | 382 | status = "disabled"; |
|---|
| 300 | 383 | }; |
|---|
| 301 | 384 | |
|---|
| .. | .. |
|---|
| 524 | 607 | #interrupt-cells = <2>; |
|---|
| 525 | 608 | }; |
|---|
| 526 | 609 | |
|---|
| 610 | + uqe: uqe@2400000 { |
|---|
| 611 | + #address-cells = <1>; |
|---|
| 612 | + #size-cells = <1>; |
|---|
| 613 | + compatible = "fsl,qe", "simple-bus"; |
|---|
| 614 | + ranges = <0x0 0x0 0x2400000 0x40000>; |
|---|
| 615 | + reg = <0x0 0x2400000 0x0 0x480>; |
|---|
| 616 | + brg-frequency = <100000000>; |
|---|
| 617 | + bus-frequency = <200000000>; |
|---|
| 618 | + fsl,qe-num-riscs = <1>; |
|---|
| 619 | + fsl,qe-num-snums = <28>; |
|---|
| 620 | + |
|---|
| 621 | + qeic: qeic@80 { |
|---|
| 622 | + compatible = "fsl,qe-ic"; |
|---|
| 623 | + reg = <0x80 0x80>; |
|---|
| 624 | + #address-cells = <0>; |
|---|
| 625 | + interrupt-controller; |
|---|
| 626 | + #interrupt-cells = <1>; |
|---|
| 627 | + interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 628 | + <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 629 | + }; |
|---|
| 630 | + |
|---|
| 631 | + si1: si@700 { |
|---|
| 632 | + #address-cells = <1>; |
|---|
| 633 | + #size-cells = <0>; |
|---|
| 634 | + compatible = "fsl,ls1043-qe-si", |
|---|
| 635 | + "fsl,t1040-qe-si"; |
|---|
| 636 | + reg = <0x700 0x80>; |
|---|
| 637 | + }; |
|---|
| 638 | + |
|---|
| 639 | + siram1: siram@1000 { |
|---|
| 640 | + #address-cells = <1>; |
|---|
| 641 | + #size-cells = <1>; |
|---|
| 642 | + compatible = "fsl,ls1043-qe-siram", |
|---|
| 643 | + "fsl,t1040-qe-siram"; |
|---|
| 644 | + reg = <0x1000 0x800>; |
|---|
| 645 | + }; |
|---|
| 646 | + |
|---|
| 647 | + ucc@2000 { |
|---|
| 648 | + cell-index = <1>; |
|---|
| 649 | + reg = <0x2000 0x200>; |
|---|
| 650 | + interrupts = <32>; |
|---|
| 651 | + interrupt-parent = <&qeic>; |
|---|
| 652 | + }; |
|---|
| 653 | + |
|---|
| 654 | + ucc@2200 { |
|---|
| 655 | + cell-index = <3>; |
|---|
| 656 | + reg = <0x2200 0x200>; |
|---|
| 657 | + interrupts = <34>; |
|---|
| 658 | + interrupt-parent = <&qeic>; |
|---|
| 659 | + }; |
|---|
| 660 | + |
|---|
| 661 | + muram@10000 { |
|---|
| 662 | + #address-cells = <1>; |
|---|
| 663 | + #size-cells = <1>; |
|---|
| 664 | + compatible = "fsl,qe-muram", "fsl,cpm-muram"; |
|---|
| 665 | + ranges = <0x0 0x10000 0x6000>; |
|---|
| 666 | + |
|---|
| 667 | + data-only@0 { |
|---|
| 668 | + compatible = "fsl,qe-muram-data", |
|---|
| 669 | + "fsl,cpm-muram-data"; |
|---|
| 670 | + reg = <0x0 0x6000>; |
|---|
| 671 | + }; |
|---|
| 672 | + }; |
|---|
| 673 | + }; |
|---|
| 674 | + |
|---|
| 527 | 675 | lpuart0: serial@2950000 { |
|---|
| 528 | 676 | compatible = "fsl,ls1021a-lpuart"; |
|---|
| 529 | 677 | reg = <0x0 0x2950000 0x0 0x1000>; |
|---|
| .. | .. |
|---|
| 610 | 758 | dr_mode = "host"; |
|---|
| 611 | 759 | snps,quirk-frame-length-adjustment = <0x20>; |
|---|
| 612 | 760 | snps,dis_rxdet_inp3_quirk; |
|---|
| 761 | + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
|---|
| 762 | + status = "disabled"; |
|---|
| 613 | 763 | }; |
|---|
| 614 | 764 | |
|---|
| 615 | 765 | usb1: usb3@3000000 { |
|---|
| .. | .. |
|---|
| 619 | 769 | dr_mode = "host"; |
|---|
| 620 | 770 | snps,quirk-frame-length-adjustment = <0x20>; |
|---|
| 621 | 771 | snps,dis_rxdet_inp3_quirk; |
|---|
| 772 | + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
|---|
| 773 | + status = "disabled"; |
|---|
| 622 | 774 | }; |
|---|
| 623 | 775 | |
|---|
| 624 | 776 | usb2: usb3@3100000 { |
|---|
| .. | .. |
|---|
| 628 | 780 | dr_mode = "host"; |
|---|
| 629 | 781 | snps,quirk-frame-length-adjustment = <0x20>; |
|---|
| 630 | 782 | snps,dis_rxdet_inp3_quirk; |
|---|
| 783 | + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
|---|
| 784 | + status = "disabled"; |
|---|
| 631 | 785 | }; |
|---|
| 632 | 786 | |
|---|
| 633 | 787 | sata: sata@3200000 { |
|---|
| .. | .. |
|---|
| 661 | 815 | interrupts = <0 160 0x4>; |
|---|
| 662 | 816 | }; |
|---|
| 663 | 817 | |
|---|
| 664 | | - pcie@3400000 { |
|---|
| 665 | | - compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; |
|---|
| 818 | + pcie1: pcie@3400000 { |
|---|
| 819 | + compatible = "fsl,ls1043a-pcie"; |
|---|
| 666 | 820 | reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ |
|---|
| 667 | 821 | 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ |
|---|
| 668 | 822 | reg-names = "regs", "config"; |
|---|
| .. | .. |
|---|
| 673 | 827 | #size-cells = <2>; |
|---|
| 674 | 828 | device_type = "pci"; |
|---|
| 675 | 829 | dma-coherent; |
|---|
| 676 | | - num-lanes = <4>; |
|---|
| 830 | + num-viewport = <6>; |
|---|
| 677 | 831 | bus-range = <0x0 0xff>; |
|---|
| 678 | 832 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ |
|---|
| 679 | 833 | 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
|---|
| .. | .. |
|---|
| 684 | 838 | <0000 0 0 2 &gic 0 111 0x4>, |
|---|
| 685 | 839 | <0000 0 0 3 &gic 0 112 0x4>, |
|---|
| 686 | 840 | <0000 0 0 4 &gic 0 113 0x4>; |
|---|
| 841 | + status = "disabled"; |
|---|
| 687 | 842 | }; |
|---|
| 688 | 843 | |
|---|
| 689 | | - pcie@3500000 { |
|---|
| 690 | | - compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; |
|---|
| 844 | + pcie2: pcie@3500000 { |
|---|
| 845 | + compatible = "fsl,ls1043a-pcie"; |
|---|
| 691 | 846 | reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ |
|---|
| 692 | 847 | 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ |
|---|
| 693 | 848 | reg-names = "regs", "config"; |
|---|
| .. | .. |
|---|
| 698 | 853 | #size-cells = <2>; |
|---|
| 699 | 854 | device_type = "pci"; |
|---|
| 700 | 855 | dma-coherent; |
|---|
| 701 | | - num-lanes = <2>; |
|---|
| 856 | + num-viewport = <6>; |
|---|
| 702 | 857 | bus-range = <0x0 0xff>; |
|---|
| 703 | 858 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ |
|---|
| 704 | 859 | 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
|---|
| .. | .. |
|---|
| 709 | 864 | <0000 0 0 2 &gic 0 121 0x4>, |
|---|
| 710 | 865 | <0000 0 0 3 &gic 0 122 0x4>, |
|---|
| 711 | 866 | <0000 0 0 4 &gic 0 123 0x4>; |
|---|
| 867 | + status = "disabled"; |
|---|
| 712 | 868 | }; |
|---|
| 713 | 869 | |
|---|
| 714 | | - pcie@3600000 { |
|---|
| 715 | | - compatible = "fsl,ls1043a-pcie", "snps,dw-pcie"; |
|---|
| 870 | + pcie3: pcie@3600000 { |
|---|
| 871 | + compatible = "fsl,ls1043a-pcie"; |
|---|
| 716 | 872 | reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ |
|---|
| 717 | 873 | 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ |
|---|
| 718 | 874 | reg-names = "regs", "config"; |
|---|
| .. | .. |
|---|
| 723 | 879 | #size-cells = <2>; |
|---|
| 724 | 880 | device_type = "pci"; |
|---|
| 725 | 881 | dma-coherent; |
|---|
| 726 | | - num-lanes = <2>; |
|---|
| 882 | + num-viewport = <6>; |
|---|
| 727 | 883 | bus-range = <0x0 0xff>; |
|---|
| 728 | 884 | ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ |
|---|
| 729 | 885 | 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
|---|
| .. | .. |
|---|
| 734 | 890 | <0000 0 0 2 &gic 0 155 0x4>, |
|---|
| 735 | 891 | <0000 0 0 3 &gic 0 156 0x4>, |
|---|
| 736 | 892 | <0000 0 0 4 &gic 0 157 0x4>; |
|---|
| 893 | + status = "disabled"; |
|---|
| 894 | + }; |
|---|
| 895 | + |
|---|
| 896 | + qdma: dma-controller@8380000 { |
|---|
| 897 | + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma"; |
|---|
| 898 | + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ |
|---|
| 899 | + <0x0 0x8390000 0x0 0x10000>, /* Status regs */ |
|---|
| 900 | + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */ |
|---|
| 901 | + interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 902 | + <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 903 | + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 904 | + <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 905 | + <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 906 | + interrupt-names = "qdma-error", "qdma-queue0", |
|---|
| 907 | + "qdma-queue1", "qdma-queue2", "qdma-queue3"; |
|---|
| 908 | + dma-channels = <8>; |
|---|
| 909 | + block-number = <1>; |
|---|
| 910 | + block-offset = <0x10000>; |
|---|
| 911 | + fsl,dma-queues = <2>; |
|---|
| 912 | + status-sizes = <64>; |
|---|
| 913 | + queue-sizes = <64 64>; |
|---|
| 914 | + big-endian; |
|---|
| 915 | + }; |
|---|
| 916 | + |
|---|
| 917 | + rcpm: power-controller@1ee2140 { |
|---|
| 918 | + compatible = "fsl,ls1043a-rcpm", "fsl,qoriq-rcpm-2.1+"; |
|---|
| 919 | + reg = <0x0 0x1ee2140 0x0 0x4>; |
|---|
| 920 | + #fsl,rcpm-wakeup-cells = <1>; |
|---|
| 921 | + }; |
|---|
| 922 | + |
|---|
| 923 | + ftm_alarm0: timer@29d0000 { |
|---|
| 924 | + compatible = "fsl,ls1043a-ftm-alarm"; |
|---|
| 925 | + reg = <0x0 0x29d0000 0x0 0x10000>; |
|---|
| 926 | + fsl,rcpm-wakeup = <&rcpm 0x20000>; |
|---|
| 927 | + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 928 | + big-endian; |
|---|
| 737 | 929 | }; |
|---|
| 738 | 930 | }; |
|---|
| 739 | 931 | |
|---|