hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
....@@ -1,8 +1,9 @@
11 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22 /*
3
- * Device Tree Include file for Freescale Layerscape-1043A family SoC.
3
+ * Device Tree Include file for NXP Layerscape-1043A family SoC.
44 *
55 * Copyright 2014-2015 Freescale Semiconductor, Inc.
6
+ * Copyright 2018, 2020 NXP
67 *
78 * Mingkai Hu <Mingkai.hu@freescale.com>
89 */
....@@ -17,6 +18,7 @@
1718 #size-cells = <2>;
1819
1920 aliases {
21
+ crypto = &crypto;
2022 fman0 = &fman0;
2123 ethernet0 = &enet0;
2224 ethernet1 = &enet1;
....@@ -25,6 +27,7 @@
2527 ethernet4 = &enet4;
2628 ethernet5 = &enet5;
2729 ethernet6 = &enet6;
30
+ rtc1 = &ftm_alarm0;
2831 };
2932
3033 cpus {
....@@ -147,19 +150,79 @@
147150 };
148151
149152 thermal-zones {
150
- cpu_thermal: cpu-thermal {
153
+ ddr-controller {
151154 polling-delay-passive = <1000>;
152155 polling-delay = <5000>;
153
-
154
- thermal-sensors = <&tmu 3>;
156
+ thermal-sensors = <&tmu 0>;
155157
156158 trips {
157
- cpu_alert: cpu-alert {
159
+ ddr-ctrler-alert {
158160 temperature = <85000>;
159161 hysteresis = <2000>;
160162 type = "passive";
161163 };
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 {
163226 temperature = <95000>;
164227 hysteresis = <2000>;
165228 type = "critical";
....@@ -168,10 +231,32 @@
168231
169232 cooling-maps {
170233 map0 {
171
- trip = <&cpu_alert>;
234
+ trip = <&core_cluster_alert>;
172235 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";
175260 };
176261 };
177262 };
....@@ -281,7 +366,6 @@
281366 ifc: ifc@1530000 {
282367 compatible = "fsl,ifc", "simple-bus";
283368 reg = <0x0 0x1530000 0x0 0x10000>;
284
- big-endian;
285369 interrupts = <0 43 0x4>;
286370 };
287371
....@@ -295,7 +379,6 @@
295379 interrupts = <0 99 0x4>;
296380 clock-names = "qspi_en", "qspi";
297381 clocks = <&clockgen 4 0>, <&clockgen 4 0>;
298
- big-endian;
299382 status = "disabled";
300383 };
301384
....@@ -524,6 +607,71 @@
524607 #interrupt-cells = <2>;
525608 };
526609
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
+
527675 lpuart0: serial@2950000 {
528676 compatible = "fsl,ls1021a-lpuart";
529677 reg = <0x0 0x2950000 0x0 0x1000>;
....@@ -610,6 +758,8 @@
610758 dr_mode = "host";
611759 snps,quirk-frame-length-adjustment = <0x20>;
612760 snps,dis_rxdet_inp3_quirk;
761
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
762
+ status = "disabled";
613763 };
614764
615765 usb1: usb3@3000000 {
....@@ -619,6 +769,8 @@
619769 dr_mode = "host";
620770 snps,quirk-frame-length-adjustment = <0x20>;
621771 snps,dis_rxdet_inp3_quirk;
772
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
773
+ status = "disabled";
622774 };
623775
624776 usb2: usb3@3100000 {
....@@ -628,6 +780,8 @@
628780 dr_mode = "host";
629781 snps,quirk-frame-length-adjustment = <0x20>;
630782 snps,dis_rxdet_inp3_quirk;
783
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
784
+ status = "disabled";
631785 };
632786
633787 sata: sata@3200000 {
....@@ -661,8 +815,8 @@
661815 interrupts = <0 160 0x4>;
662816 };
663817
664
- pcie@3400000 {
665
- compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
818
+ pcie1: pcie@3400000 {
819
+ compatible = "fsl,ls1043a-pcie";
666820 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
667821 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
668822 reg-names = "regs", "config";
....@@ -673,7 +827,7 @@
673827 #size-cells = <2>;
674828 device_type = "pci";
675829 dma-coherent;
676
- num-lanes = <4>;
830
+ num-viewport = <6>;
677831 bus-range = <0x0 0xff>;
678832 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
679833 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
....@@ -684,10 +838,11 @@
684838 <0000 0 0 2 &gic 0 111 0x4>,
685839 <0000 0 0 3 &gic 0 112 0x4>,
686840 <0000 0 0 4 &gic 0 113 0x4>;
841
+ status = "disabled";
687842 };
688843
689
- pcie@3500000 {
690
- compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
844
+ pcie2: pcie@3500000 {
845
+ compatible = "fsl,ls1043a-pcie";
691846 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
692847 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
693848 reg-names = "regs", "config";
....@@ -698,7 +853,7 @@
698853 #size-cells = <2>;
699854 device_type = "pci";
700855 dma-coherent;
701
- num-lanes = <2>;
856
+ num-viewport = <6>;
702857 bus-range = <0x0 0xff>;
703858 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
704859 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
....@@ -709,10 +864,11 @@
709864 <0000 0 0 2 &gic 0 121 0x4>,
710865 <0000 0 0 3 &gic 0 122 0x4>,
711866 <0000 0 0 4 &gic 0 123 0x4>;
867
+ status = "disabled";
712868 };
713869
714
- pcie@3600000 {
715
- compatible = "fsl,ls1043a-pcie", "snps,dw-pcie";
870
+ pcie3: pcie@3600000 {
871
+ compatible = "fsl,ls1043a-pcie";
716872 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
717873 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
718874 reg-names = "regs", "config";
....@@ -723,7 +879,7 @@
723879 #size-cells = <2>;
724880 device_type = "pci";
725881 dma-coherent;
726
- num-lanes = <2>;
882
+ num-viewport = <6>;
727883 bus-range = <0x0 0xff>;
728884 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
729885 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
....@@ -734,6 +890,42 @@
734890 <0000 0 0 2 &gic 0 155 0x4>,
735891 <0000 0 0 3 &gic 0 156 0x4>,
736892 <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;
737929 };
738930 };
739931