blob: 21643a1d951f38075f1f06a315d4afd3ad706523 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Gong Qianyu5e847792015-11-11 17:58:36 +08002/*
Wasim Khan05ee3882020-09-28 16:26:11 +05303 * Device Tree Include file for NXP Layerscape-1043A family SoC.
Gong Qianyu5e847792015-11-11 17:58:36 +08004 *
Gaurav Jain994824c2022-03-24 11:50:34 +05305 * Copyright 2020-2021 NXP
Gong Qianyu5e847792015-11-11 17:58:36 +08006 * Copyright (C) 2014-2015, Freescale Semiconductor
7 *
8 * Mingkai Hu <Mingkai.hu@freescale.com>
Gong Qianyu5e847792015-11-11 17:58:36 +08009 */
10
Camelia Groza8bac8e92023-06-16 16:18:32 +030011#include "skeleton64.dtsi"
12#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
13#include <dt-bindings/interrupt-controller/arm-gic.h>
Gong Qianyu5e847792015-11-11 17:58:36 +080014
15/ {
16 compatible = "fsl,ls1043a";
17 interrupt-parent = <&gic>;
Gong Qianyu5e847792015-11-11 17:58:36 +080018
19 sysclk: sysclk {
20 compatible = "fixed-clock";
21 #clock-cells = <0>;
22 clock-frequency = <100000000>;
23 clock-output-names = "sysclk";
24 };
25
26 gic: interrupt-controller@1400000 {
27 compatible = "arm,gic-400";
28 #interrupt-cells = <3>;
29 interrupt-controller;
30 reg = <0x0 0x1401000 0 0x1000>, /* GICD */
31 <0x0 0x1402000 0 0x2000>, /* GICC */
32 <0x0 0x1404000 0 0x2000>, /* GICH */
33 <0x0 0x1406000 0 0x2000>; /* GICV */
34 interrupts = <1 9 0xf08>;
35 };
36
Madalin Bucurd0d3e5e2020-04-23 16:25:13 +030037 soc: soc {
Gong Qianyu5e847792015-11-11 17:58:36 +080038 compatible = "simple-bus";
39 #address-cells = <2>;
40 #size-cells = <2>;
41 ranges;
42
Sean Anderson86995dd2022-04-22 14:34:20 -040043 sfp: efuse@1e80000 {
44 compatible = "fsl,ls1021a-sfp";
45 reg = <0x0 0x1e80000 0x0 0x1000>;
46 clocks = <&clockgen 4 3>;
47 clock-names = "sfp";
48 };
49
Gong Qianyu5e847792015-11-11 17:58:36 +080050 clockgen: clocking@1ee1000 {
51 compatible = "fsl,ls1043a-clockgen";
52 reg = <0x0 0x1ee1000 0x0 0x1000>;
53 #clock-cells = <2>;
54 clocks = <&sysclk>;
55 };
56
Gong Qianyu8a43f132015-11-11 17:58:39 +080057 dspi0: dspi@2100000 {
58 compatible = "fsl,vf610-dspi";
59 #address-cells = <1>;
60 #size-cells = <0>;
61 reg = <0x0 0x2100000 0x0 0x10000>;
62 interrupts = <0 64 0x4>;
63 clock-names = "dspi";
64 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020065 spi-num-chipselects = <6>;
Gong Qianyu8a43f132015-11-11 17:58:39 +080066 big-endian;
67 status = "disabled";
68 };
69
70 dspi1: dspi@2110000 {
71 compatible = "fsl,vf610-dspi";
72 #address-cells = <1>;
73 #size-cells = <0>;
74 reg = <0x0 0x2110000 0x0 0x10000>;
75 interrupts = <0 65 0x4>;
76 clock-names = "dspi";
77 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020078 spi-num-chipselects = <6>;
Gong Qianyu8a43f132015-11-11 17:58:39 +080079 big-endian;
80 status = "disabled";
81 };
82
Yinbo Zhuc106af62018-09-25 14:47:10 +080083 esdhc: esdhc@1560000 {
84 compatible = "fsl,esdhc";
85 reg = <0x0 0x1560000 0x0 0x10000>;
86 interrupts = <0 62 0x4>;
87 big-endian;
88 bus-width = <4>;
89 };
90
Biwen Li5c281f82021-02-05 19:01:51 +080091 gpio0: gpio@2300000 {
92 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
93 reg = <0x0 0x2300000 0x0 0x10000>;
94 interrupts = <0 66 0x4>;
95 gpio-controller;
96 #gpio-cells = <2>;
97 interrupt-controller;
98 #interrupt-cells = <2>;
99 };
100
101 gpio1: gpio@2310000 {
102 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
103 reg = <0x0 0x2310000 0x0 0x10000>;
104 interrupts = <0 67 0x4>;
105 gpio-controller;
106 #gpio-cells = <2>;
107 interrupt-controller;
108 #interrupt-cells = <2>;
109 };
110
111 gpio2: gpio@2320000 {
112 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
113 reg = <0x0 0x2320000 0x0 0x10000>;
114 interrupts = <0 68 0x4>;
115 gpio-controller;
116 #gpio-cells = <2>;
117 interrupt-controller;
118 #interrupt-cells = <2>;
119 };
120
121 gpio3: gpio@2330000 {
122 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
123 reg = <0x0 0x2330000 0x0 0x10000>;
124 interrupts = <0 134 0x4>;
125 gpio-controller;
126 #gpio-cells = <2>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
129 };
130
Gong Qianyu5e847792015-11-11 17:58:36 +0800131 ifc: ifc@1530000 {
132 compatible = "fsl,ifc", "simple-bus";
133 reg = <0x0 0x1530000 0x0 0x10000>;
134 interrupts = <0 43 0x4>;
135 };
136
Gaurav Jain994824c2022-03-24 11:50:34 +0530137 crypto: crypto@1700000 {
138 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
139 "fsl,sec-v4.0";
140 fsl,sec-era = <3>;
141 #address-cells = <1>;
142 #size-cells = <1>;
143 ranges = <0x0 0x00 0x1700000 0x100000>;
144 reg = <0x00 0x1700000 0x0 0x100000>;
145 interrupts = <0 75 0x4>;
146
147 sec_jr0: jr@10000 {
148 compatible = "fsl,sec-v5.4-job-ring",
149 "fsl,sec-v5.0-job-ring",
150 "fsl,sec-v4.0-job-ring";
151 reg = <0x10000 0x10000>;
152 interrupts = <0 71 0x4>;
153 };
154
155 sec_jr1: jr@20000 {
156 compatible = "fsl,sec-v5.4-job-ring",
157 "fsl,sec-v5.0-job-ring",
158 "fsl,sec-v4.0-job-ring";
159 reg = <0x20000 0x10000>;
160 interrupts = <0 72 0x4>;
161 };
162
163 sec_jr2: jr@30000 {
164 compatible = "fsl,sec-v5.4-job-ring",
165 "fsl,sec-v5.0-job-ring",
166 "fsl,sec-v4.0-job-ring";
167 reg = <0x30000 0x10000>;
168 interrupts = <0 73 0x4>;
169 };
170
171 sec_jr3: jr@40000 {
172 compatible = "fsl,sec-v5.4-job-ring",
173 "fsl,sec-v5.0-job-ring",
174 "fsl,sec-v4.0-job-ring";
175 reg = <0x40000 0x10000>;
176 interrupts = <0 74 0x4>;
177 };
178 };
179
Gong Qianyu5e847792015-11-11 17:58:36 +0800180 i2c0: i2c@2180000 {
181 compatible = "fsl,vf610-i2c";
182 #address-cells = <1>;
183 #size-cells = <0>;
184 reg = <0x0 0x2180000 0x0 0x10000>;
185 interrupts = <0 56 0x4>;
186 clock-names = "i2c";
187 clocks = <&clockgen 4 0>;
188 status = "disabled";
189 };
190
191 i2c1: i2c@2190000 {
192 compatible = "fsl,vf610-i2c";
193 #address-cells = <1>;
194 #size-cells = <0>;
195 reg = <0x0 0x2190000 0x0 0x10000>;
196 interrupts = <0 57 0x4>;
197 clock-names = "i2c";
198 clocks = <&clockgen 4 0>;
199 status = "disabled";
200 };
201
202 i2c2: i2c@21a0000 {
203 compatible = "fsl,vf610-i2c";
204 #address-cells = <1>;
205 #size-cells = <0>;
206 reg = <0x0 0x21a0000 0x0 0x10000>;
207 interrupts = <0 58 0x4>;
208 clock-names = "i2c";
209 clocks = <&clockgen 4 0>;
210 status = "disabled";
211 };
212
213 i2c3: i2c@21b0000 {
214 compatible = "fsl,vf610-i2c";
215 #address-cells = <1>;
216 #size-cells = <0>;
217 reg = <0x0 0x21b0000 0x0 0x10000>;
218 interrupts = <0 59 0x4>;
219 clock-names = "i2c";
220 clocks = <&clockgen 4 0>;
221 status = "disabled";
222 };
223
224 duart0: serial@21c0500 {
225 compatible = "fsl,ns16550", "ns16550a";
226 reg = <0x00 0x21c0500 0x0 0x100>;
227 interrupts = <0 54 0x4>;
Camelia Groza8bac8e92023-06-16 16:18:32 +0300228 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
229 QORIQ_CLK_PLL_DIV(1)>;
Gong Qianyu5e847792015-11-11 17:58:36 +0800230 };
231
232 duart1: serial@21c0600 {
233 compatible = "fsl,ns16550", "ns16550a";
234 reg = <0x00 0x21c0600 0x0 0x100>;
235 interrupts = <0 54 0x4>;
Camelia Groza8bac8e92023-06-16 16:18:32 +0300236 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
237 QORIQ_CLK_PLL_DIV(1)>;
Gong Qianyu5e847792015-11-11 17:58:36 +0800238 };
239
240 duart2: serial@21d0500 {
241 compatible = "fsl,ns16550", "ns16550a";
242 reg = <0x0 0x21d0500 0x0 0x100>;
243 interrupts = <0 55 0x4>;
Camelia Groza8bac8e92023-06-16 16:18:32 +0300244 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
245 QORIQ_CLK_PLL_DIV(1)>;
Gong Qianyu5e847792015-11-11 17:58:36 +0800246 };
247
248 duart3: serial@21d0600 {
249 compatible = "fsl,ns16550", "ns16550a";
250 reg = <0x0 0x21d0600 0x0 0x100>;
251 interrupts = <0 55 0x4>;
Camelia Groza8bac8e92023-06-16 16:18:32 +0300252 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
253 QORIQ_CLK_PLL_DIV(1)>;
Gong Qianyu5e847792015-11-11 17:58:36 +0800254 };
Wenbin Song7e6b49e2016-01-21 17:14:55 +0800255
256 lpuart0: serial@2950000 {
257 compatible = "fsl,ls1021a-lpuart";
258 reg = <0x0 0x2950000 0x0 0x1000>;
259 interrupts = <0 48 0x4>;
260 clocks = <&sysclk>;
261 clock-names = "ipg";
262 status = "disabled";
263 };
264
265 lpuart1: serial@2960000 {
266 compatible = "fsl,ls1021a-lpuart";
267 reg = <0x0 0x2960000 0x0 0x1000>;
268 interrupts = <0 49 0x4>;
269 clocks = <&sysclk>;
270 clock-names = "ipg";
271 status = "disabled";
272 };
273
274 lpuart2: serial@2970000 {
275 compatible = "fsl,ls1021a-lpuart";
276 reg = <0x0 0x2970000 0x0 0x1000>;
277 interrupts = <0 50 0x4>;
278 clock-names = "ipg";
279 clocks = <&sysclk>;
280 status = "disabled";
281 };
282
283 lpuart3: serial@2980000 {
284 compatible = "fsl,ls1021a-lpuart";
285 reg = <0x0 0x2980000 0x0 0x1000>;
286 interrupts = <0 51 0x4>;
287 clocks = <&sysclk>;
288 clock-names = "ipg";
289 status = "disabled";
290 };
291
292 lpuart4: serial@2990000 {
293 compatible = "fsl,ls1021a-lpuart";
294 reg = <0x0 0x2990000 0x0 0x1000>;
295 interrupts = <0 52 0x4>;
296 clocks = <&sysclk>;
297 clock-names = "ipg";
298 status = "disabled";
299 };
300
301 lpuart5: serial@29a0000 {
302 compatible = "fsl,ls1021a-lpuart";
303 reg = <0x0 0x29a0000 0x0 0x1000>;
304 interrupts = <0 53 0x4>;
305 clocks = <&sysclk>;
306 clock-names = "ipg";
307 status = "disabled";
308 };
Gong Qianyu760df892016-01-25 15:16:06 +0800309 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530310 compatible = "fsl,ls1021a-qspi";
Gong Qianyu760df892016-01-25 15:16:06 +0800311 #address-cells = <1>;
312 #size-cells = <0>;
Yuan Yao1a414ae2016-03-15 14:36:44 +0800313 reg = <0x0 0x1550000 0x0 0x10000>,
Kuldeep Singh4c380872019-12-12 11:49:24 +0530314 <0x0 0x40000000 0x0 0x1000000>;
Yuan Yao1a414ae2016-03-15 14:36:44 +0800315 reg-names = "QuadSPI", "QuadSPI-memory";
Gong Qianyu760df892016-01-25 15:16:06 +0800316 status = "disabled";
317 };
Sriram Dash0b7a1fc2016-09-30 11:06:27 +0530318
319 usb0: usb3@2f00000 {
320 compatible = "fsl,layerscape-dwc3";
321 reg = <0x0 0x2f00000 0x0 0x10000>;
322 interrupts = <0 60 0x4>;
323 dr_mode = "host";
324 };
325
326 usb1: usb3@3000000 {
327 compatible = "fsl,layerscape-dwc3";
328 reg = <0x0 0x3000000 0x0 0x10000>;
329 interrupts = <0 61 0x4>;
330 dr_mode = "host";
331 };
332
333 usb2: usb3@3100000 {
334 compatible = "fsl,layerscape-dwc3";
335 reg = <0x0 0x3100000 0x0 0x10000>;
336 interrupts = <0 63 0x4>;
337 dr_mode = "host";
338 };
Minghuan Lian64d156b2016-12-13 14:54:13 +0800339
Wasim Khan05ee3882020-09-28 16:26:11 +0530340 pcie1: pcie@3400000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800341 compatible = "fsl,ls-pcie", "snps,dw-pcie";
342 reg = <0x00 0x03400000 0x0 0x10000 /* dbi registers */
343 0x00 0x03410000 0x0 0x10000 /* lut registers */
344 0x40 0x00000000 0x0 0x20000>; /* configuration space */
345 reg-names = "dbi", "lut", "config";
346 big-endian;
347 #address-cells = <3>;
348 #size-cells = <2>;
349 device_type = "pci";
350 bus-range = <0x0 0xff>;
351 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
352 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
353 };
354
Wasim Khan05ee3882020-09-28 16:26:11 +0530355 pcie2: pcie@3500000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800356 compatible = "fsl,ls-pcie", "snps,dw-pcie";
357 reg = <0x00 0x03500000 0x0 0x10000 /* dbi registers */
358 0x00 0x03510000 0x0 0x10000 /* lut registers */
359 0x48 0x00000000 0x0 0x20000>; /* configuration space */
360 reg-names = "dbi", "lut", "config";
361 big-endian;
362 #address-cells = <3>;
363 #size-cells = <2>;
364 device_type = "pci";
365 num-lanes = <2>;
366 bus-range = <0x0 0xff>;
367 ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */
368 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
369 };
370
Wasim Khan05ee3882020-09-28 16:26:11 +0530371 pcie3: pcie@3600000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800372 compatible = "fsl,ls-pcie", "snps,dw-pcie";
373 reg = <0x00 0x03600000 0x0 0x10000 /* dbi registers */
374 0x00 0x03610000 0x0 0x10000 /* lut registers */
375 0x50 0x00000000 0x0 0x20000>; /* configuration space */
376 reg-names = "dbi", "lut", "config";
377 big-endian;
378 #address-cells = <3>;
379 #size-cells = <2>;
380 device_type = "pci";
381 bus-range = <0x0 0xff>;
382 ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */
383 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
384 };
Peng Mad2c851b2018-08-01 11:35:14 +0800385
386 sata: sata@3200000 {
387 compatible = "fsl,ls1043a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000388 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
389 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200390 reg-names = "ahci", "sata-ecc";
Peng Mad2c851b2018-08-01 11:35:14 +0800391 interrupts = <0 69 4>;
392 clocks = <&clockgen 4 0>;
393 status = "disabled";
394 };
Gong Qianyu5e847792015-11-11 17:58:36 +0800395 };
396};