blob: 72877d2ff58e5201e529236c468b25c576095ff0 [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
11/include/ "skeleton64.dtsi"
12
13/ {
14 compatible = "fsl,ls1043a";
15 interrupt-parent = <&gic>;
Gong Qianyu5e847792015-11-11 17:58:36 +080016
17 sysclk: sysclk {
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <100000000>;
21 clock-output-names = "sysclk";
22 };
23
24 gic: interrupt-controller@1400000 {
25 compatible = "arm,gic-400";
26 #interrupt-cells = <3>;
27 interrupt-controller;
28 reg = <0x0 0x1401000 0 0x1000>, /* GICD */
29 <0x0 0x1402000 0 0x2000>, /* GICC */
30 <0x0 0x1404000 0 0x2000>, /* GICH */
31 <0x0 0x1406000 0 0x2000>; /* GICV */
32 interrupts = <1 9 0xf08>;
33 };
34
Madalin Bucurd0d3e5e2020-04-23 16:25:13 +030035 soc: soc {
Gong Qianyu5e847792015-11-11 17:58:36 +080036 compatible = "simple-bus";
37 #address-cells = <2>;
38 #size-cells = <2>;
39 ranges;
40
41 clockgen: clocking@1ee1000 {
42 compatible = "fsl,ls1043a-clockgen";
43 reg = <0x0 0x1ee1000 0x0 0x1000>;
44 #clock-cells = <2>;
45 clocks = <&sysclk>;
46 };
47
Gong Qianyu8a43f132015-11-11 17:58:39 +080048 dspi0: dspi@2100000 {
49 compatible = "fsl,vf610-dspi";
50 #address-cells = <1>;
51 #size-cells = <0>;
52 reg = <0x0 0x2100000 0x0 0x10000>;
53 interrupts = <0 64 0x4>;
54 clock-names = "dspi";
55 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020056 spi-num-chipselects = <6>;
Gong Qianyu8a43f132015-11-11 17:58:39 +080057 big-endian;
58 status = "disabled";
59 };
60
61 dspi1: dspi@2110000 {
62 compatible = "fsl,vf610-dspi";
63 #address-cells = <1>;
64 #size-cells = <0>;
65 reg = <0x0 0x2110000 0x0 0x10000>;
66 interrupts = <0 65 0x4>;
67 clock-names = "dspi";
68 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020069 spi-num-chipselects = <6>;
Gong Qianyu8a43f132015-11-11 17:58:39 +080070 big-endian;
71 status = "disabled";
72 };
73
Yinbo Zhuc106af62018-09-25 14:47:10 +080074 esdhc: esdhc@1560000 {
75 compatible = "fsl,esdhc";
76 reg = <0x0 0x1560000 0x0 0x10000>;
77 interrupts = <0 62 0x4>;
78 big-endian;
79 bus-width = <4>;
80 };
81
Biwen Li5c281f82021-02-05 19:01:51 +080082 gpio0: gpio@2300000 {
83 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
84 reg = <0x0 0x2300000 0x0 0x10000>;
85 interrupts = <0 66 0x4>;
86 gpio-controller;
87 #gpio-cells = <2>;
88 interrupt-controller;
89 #interrupt-cells = <2>;
90 };
91
92 gpio1: gpio@2310000 {
93 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
94 reg = <0x0 0x2310000 0x0 0x10000>;
95 interrupts = <0 67 0x4>;
96 gpio-controller;
97 #gpio-cells = <2>;
98 interrupt-controller;
99 #interrupt-cells = <2>;
100 };
101
102 gpio2: gpio@2320000 {
103 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
104 reg = <0x0 0x2320000 0x0 0x10000>;
105 interrupts = <0 68 0x4>;
106 gpio-controller;
107 #gpio-cells = <2>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 };
111
112 gpio3: gpio@2330000 {
113 compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio";
114 reg = <0x0 0x2330000 0x0 0x10000>;
115 interrupts = <0 134 0x4>;
116 gpio-controller;
117 #gpio-cells = <2>;
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 };
121
Gong Qianyu5e847792015-11-11 17:58:36 +0800122 ifc: ifc@1530000 {
123 compatible = "fsl,ifc", "simple-bus";
124 reg = <0x0 0x1530000 0x0 0x10000>;
125 interrupts = <0 43 0x4>;
126 };
127
Gaurav Jain994824c2022-03-24 11:50:34 +0530128 crypto: crypto@1700000 {
129 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
130 "fsl,sec-v4.0";
131 fsl,sec-era = <3>;
132 #address-cells = <1>;
133 #size-cells = <1>;
134 ranges = <0x0 0x00 0x1700000 0x100000>;
135 reg = <0x00 0x1700000 0x0 0x100000>;
136 interrupts = <0 75 0x4>;
137
138 sec_jr0: jr@10000 {
139 compatible = "fsl,sec-v5.4-job-ring",
140 "fsl,sec-v5.0-job-ring",
141 "fsl,sec-v4.0-job-ring";
142 reg = <0x10000 0x10000>;
143 interrupts = <0 71 0x4>;
144 };
145
146 sec_jr1: jr@20000 {
147 compatible = "fsl,sec-v5.4-job-ring",
148 "fsl,sec-v5.0-job-ring",
149 "fsl,sec-v4.0-job-ring";
150 reg = <0x20000 0x10000>;
151 interrupts = <0 72 0x4>;
152 };
153
154 sec_jr2: jr@30000 {
155 compatible = "fsl,sec-v5.4-job-ring",
156 "fsl,sec-v5.0-job-ring",
157 "fsl,sec-v4.0-job-ring";
158 reg = <0x30000 0x10000>;
159 interrupts = <0 73 0x4>;
160 };
161
162 sec_jr3: jr@40000 {
163 compatible = "fsl,sec-v5.4-job-ring",
164 "fsl,sec-v5.0-job-ring",
165 "fsl,sec-v4.0-job-ring";
166 reg = <0x40000 0x10000>;
167 interrupts = <0 74 0x4>;
168 };
169 };
170
Gong Qianyu5e847792015-11-11 17:58:36 +0800171 i2c0: i2c@2180000 {
172 compatible = "fsl,vf610-i2c";
173 #address-cells = <1>;
174 #size-cells = <0>;
175 reg = <0x0 0x2180000 0x0 0x10000>;
176 interrupts = <0 56 0x4>;
177 clock-names = "i2c";
178 clocks = <&clockgen 4 0>;
179 status = "disabled";
180 };
181
182 i2c1: i2c@2190000 {
183 compatible = "fsl,vf610-i2c";
184 #address-cells = <1>;
185 #size-cells = <0>;
186 reg = <0x0 0x2190000 0x0 0x10000>;
187 interrupts = <0 57 0x4>;
188 clock-names = "i2c";
189 clocks = <&clockgen 4 0>;
190 status = "disabled";
191 };
192
193 i2c2: i2c@21a0000 {
194 compatible = "fsl,vf610-i2c";
195 #address-cells = <1>;
196 #size-cells = <0>;
197 reg = <0x0 0x21a0000 0x0 0x10000>;
198 interrupts = <0 58 0x4>;
199 clock-names = "i2c";
200 clocks = <&clockgen 4 0>;
201 status = "disabled";
202 };
203
204 i2c3: i2c@21b0000 {
205 compatible = "fsl,vf610-i2c";
206 #address-cells = <1>;
207 #size-cells = <0>;
208 reg = <0x0 0x21b0000 0x0 0x10000>;
209 interrupts = <0 59 0x4>;
210 clock-names = "i2c";
211 clocks = <&clockgen 4 0>;
212 status = "disabled";
213 };
214
215 duart0: serial@21c0500 {
216 compatible = "fsl,ns16550", "ns16550a";
217 reg = <0x00 0x21c0500 0x0 0x100>;
218 interrupts = <0 54 0x4>;
219 clocks = <&clockgen 4 0>;
220 };
221
222 duart1: serial@21c0600 {
223 compatible = "fsl,ns16550", "ns16550a";
224 reg = <0x00 0x21c0600 0x0 0x100>;
225 interrupts = <0 54 0x4>;
226 clocks = <&clockgen 4 0>;
227 };
228
229 duart2: serial@21d0500 {
230 compatible = "fsl,ns16550", "ns16550a";
231 reg = <0x0 0x21d0500 0x0 0x100>;
232 interrupts = <0 55 0x4>;
233 clocks = <&clockgen 4 0>;
234 };
235
236 duart3: serial@21d0600 {
237 compatible = "fsl,ns16550", "ns16550a";
238 reg = <0x0 0x21d0600 0x0 0x100>;
239 interrupts = <0 55 0x4>;
240 clocks = <&clockgen 4 0>;
241 };
Wenbin Song7e6b49e2016-01-21 17:14:55 +0800242
243 lpuart0: serial@2950000 {
244 compatible = "fsl,ls1021a-lpuart";
245 reg = <0x0 0x2950000 0x0 0x1000>;
246 interrupts = <0 48 0x4>;
247 clocks = <&sysclk>;
248 clock-names = "ipg";
249 status = "disabled";
250 };
251
252 lpuart1: serial@2960000 {
253 compatible = "fsl,ls1021a-lpuart";
254 reg = <0x0 0x2960000 0x0 0x1000>;
255 interrupts = <0 49 0x4>;
256 clocks = <&sysclk>;
257 clock-names = "ipg";
258 status = "disabled";
259 };
260
261 lpuart2: serial@2970000 {
262 compatible = "fsl,ls1021a-lpuart";
263 reg = <0x0 0x2970000 0x0 0x1000>;
264 interrupts = <0 50 0x4>;
265 clock-names = "ipg";
266 clocks = <&sysclk>;
267 status = "disabled";
268 };
269
270 lpuart3: serial@2980000 {
271 compatible = "fsl,ls1021a-lpuart";
272 reg = <0x0 0x2980000 0x0 0x1000>;
273 interrupts = <0 51 0x4>;
274 clocks = <&sysclk>;
275 clock-names = "ipg";
276 status = "disabled";
277 };
278
279 lpuart4: serial@2990000 {
280 compatible = "fsl,ls1021a-lpuart";
281 reg = <0x0 0x2990000 0x0 0x1000>;
282 interrupts = <0 52 0x4>;
283 clocks = <&sysclk>;
284 clock-names = "ipg";
285 status = "disabled";
286 };
287
288 lpuart5: serial@29a0000 {
289 compatible = "fsl,ls1021a-lpuart";
290 reg = <0x0 0x29a0000 0x0 0x1000>;
291 interrupts = <0 53 0x4>;
292 clocks = <&sysclk>;
293 clock-names = "ipg";
294 status = "disabled";
295 };
Gong Qianyu760df892016-01-25 15:16:06 +0800296 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530297 compatible = "fsl,ls1021a-qspi";
Gong Qianyu760df892016-01-25 15:16:06 +0800298 #address-cells = <1>;
299 #size-cells = <0>;
Yuan Yao1a414ae2016-03-15 14:36:44 +0800300 reg = <0x0 0x1550000 0x0 0x10000>,
Kuldeep Singh4c380872019-12-12 11:49:24 +0530301 <0x0 0x40000000 0x0 0x1000000>;
Yuan Yao1a414ae2016-03-15 14:36:44 +0800302 reg-names = "QuadSPI", "QuadSPI-memory";
Gong Qianyu760df892016-01-25 15:16:06 +0800303 status = "disabled";
304 };
Sriram Dash0b7a1fc2016-09-30 11:06:27 +0530305
306 usb0: usb3@2f00000 {
307 compatible = "fsl,layerscape-dwc3";
308 reg = <0x0 0x2f00000 0x0 0x10000>;
309 interrupts = <0 60 0x4>;
310 dr_mode = "host";
311 };
312
313 usb1: usb3@3000000 {
314 compatible = "fsl,layerscape-dwc3";
315 reg = <0x0 0x3000000 0x0 0x10000>;
316 interrupts = <0 61 0x4>;
317 dr_mode = "host";
318 };
319
320 usb2: usb3@3100000 {
321 compatible = "fsl,layerscape-dwc3";
322 reg = <0x0 0x3100000 0x0 0x10000>;
323 interrupts = <0 63 0x4>;
324 dr_mode = "host";
325 };
Minghuan Lian64d156b2016-12-13 14:54:13 +0800326
Wasim Khan05ee3882020-09-28 16:26:11 +0530327 pcie1: pcie@3400000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800328 compatible = "fsl,ls-pcie", "snps,dw-pcie";
329 reg = <0x00 0x03400000 0x0 0x10000 /* dbi registers */
330 0x00 0x03410000 0x0 0x10000 /* lut registers */
331 0x40 0x00000000 0x0 0x20000>; /* configuration space */
332 reg-names = "dbi", "lut", "config";
333 big-endian;
334 #address-cells = <3>;
335 #size-cells = <2>;
336 device_type = "pci";
337 bus-range = <0x0 0xff>;
338 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
339 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
340 };
341
Wasim Khan05ee3882020-09-28 16:26:11 +0530342 pcie2: pcie@3500000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800343 compatible = "fsl,ls-pcie", "snps,dw-pcie";
344 reg = <0x00 0x03500000 0x0 0x10000 /* dbi registers */
345 0x00 0x03510000 0x0 0x10000 /* lut registers */
346 0x48 0x00000000 0x0 0x20000>; /* configuration space */
347 reg-names = "dbi", "lut", "config";
348 big-endian;
349 #address-cells = <3>;
350 #size-cells = <2>;
351 device_type = "pci";
352 num-lanes = <2>;
353 bus-range = <0x0 0xff>;
354 ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */
355 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
356 };
357
Wasim Khan05ee3882020-09-28 16:26:11 +0530358 pcie3: pcie@3600000 {
Minghuan Lian64d156b2016-12-13 14:54:13 +0800359 compatible = "fsl,ls-pcie", "snps,dw-pcie";
360 reg = <0x00 0x03600000 0x0 0x10000 /* dbi registers */
361 0x00 0x03610000 0x0 0x10000 /* lut registers */
362 0x50 0x00000000 0x0 0x20000>; /* configuration space */
363 reg-names = "dbi", "lut", "config";
364 big-endian;
365 #address-cells = <3>;
366 #size-cells = <2>;
367 device_type = "pci";
368 bus-range = <0x0 0xff>;
369 ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */
370 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
371 };
Peng Mad2c851b2018-08-01 11:35:14 +0800372
373 sata: sata@3200000 {
374 compatible = "fsl,ls1043a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000375 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
376 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200377 reg-names = "ahci", "sata-ecc";
Peng Mad2c851b2018-08-01 11:35:14 +0800378 interrupts = <0 69 4>;
379 clocks = <&clockgen 4 0>;
380 status = "disabled";
381 };
Gong Qianyu5e847792015-11-11 17:58:36 +0800382 };
383};