blob: c655e002aa0825e56b51186cee9438dd66f379ef [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Mingkai Hud2396512016-09-07 18:47:28 +08002/*
3 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4 *
5 * Copyright (C) 2016, Freescale Semiconductor
Gaurav Jain994824c2022-03-24 11:50:34 +05306 * Copyright 2021 NXP
Mingkai Hud2396512016-09-07 18:47:28 +08007 *
8 * Mingkai Hu <mingkai.hu@nxp.com>
Mingkai Hud2396512016-09-07 18:47:28 +08009 */
10
11/include/ "skeleton64.dtsi"
12
13/ {
14 compatible = "fsl,ls1046a";
15 interrupt-parent = <&gic>;
16
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 0x1410000 0 0x10000>, /* GICD */
29 <0x0 0x1420000 0 0x10000>, /* GICC */
30 <0x0 0x1440000 0 0x20000>, /* GICH */
31 <0x0 0x1460000 0 0x20000>; /* GICV */
32 interrupts = <1 9 0xf08>;
33 };
34
Madalin Bucur2297a292020-04-23 16:25:15 +030035 soc: soc {
Mingkai Hud2396512016-09-07 18:47:28 +080036 compatible = "simple-bus";
37 #address-cells = <2>;
38 #size-cells = <2>;
39 ranges;
40
41 clockgen: clocking@1ee1000 {
42 compatible = "fsl,ls1046a-clockgen";
43 reg = <0x0 0x1ee1000 0x0 0x1000>;
44 #clock-cells = <2>;
45 clocks = <&sysclk>;
46 };
47
48 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>;
Mingkai Hud2396512016-09-07 18:47:28 +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>;
Mingkai Hud2396512016-09-07 18:47:28 +080070 big-endian;
71 status = "disabled";
72 };
73
Yinbo Zhu5969ae52018-09-25 14:47:11 +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 Lie089eec2021-02-05 19:01:52 +080082 gpio0: gpio@2300000 {
83 compatible = "fsl,qoriq-gpio";
84 reg = <0x0 0x2300000 0x0 0x10000>;
85 interrupts = <0 66 4>;
86 gpio-controller;
87 #gpio-cells = <2>;
88 interrupt-controller;
89 #interrupt-cells = <2>;
90 };
91
92 gpio1: gpio@2310000 {
93 compatible = "fsl,qoriq-gpio";
94 reg = <0x0 0x2310000 0x0 0x10000>;
95 interrupts = <0 67 4>;
96 gpio-controller;
97 #gpio-cells = <2>;
98 interrupt-controller;
99 #interrupt-cells = <2>;
100 };
101
102 gpio2: gpio@2320000 {
103 compatible = "fsl,qoriq-gpio";
104 reg = <0x0 0x2320000 0x0 0x10000>;
105 interrupts = <0 68 4>;
106 gpio-controller;
107 #gpio-cells = <2>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 };
111
112 gpio3: gpio@2330000 {
113 compatible = "fsl,qoriq-gpio";
114 reg = <0x0 0x2330000 0x0 0x10000>;
115 interrupts = <0 134 4>;
116 gpio-controller;
117 #gpio-cells = <2>;
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 };
121
Mingkai Hud2396512016-09-07 18:47:28 +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 = <8>;
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
Mingkai Hud2396512016-09-07 18:47:28 +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 };
242
Shaohui Xie56007a02016-10-28 14:24:02 +0800243 lpuart0: serial@2950000 {
244 compatible = "fsl,ls1021a-lpuart";
245 reg = <0x0 0x2950000 0x0 0x1000>;
246 interrupts = <0 48 0x4>;
247 clocks = <&clockgen 4 0>;
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 = <&clockgen 4 1>;
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 clocks = <&clockgen 4 1>;
266 clock-names = "ipg";
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 = <&clockgen 4 1>;
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 = <&clockgen 4 1>;
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 = <&clockgen 4 1>;
293 clock-names = "ipg";
294 status = "disabled";
295 };
296
Mingkai Hud2396512016-09-07 18:47:28 +0800297 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530298 compatible = "fsl,ls1021a-qspi";
Mingkai Hud2396512016-09-07 18:47:28 +0800299 #address-cells = <1>;
300 #size-cells = <0>;
301 reg = <0x0 0x1550000 0x0 0x10000>,
302 <0x0 0x40000000 0x0 0x10000000>;
303 reg-names = "QuadSPI", "QuadSPI-memory";
Mingkai Hud2396512016-09-07 18:47:28 +0800304 status = "disabled";
305 };
Minghuan Lian720d8452016-12-13 14:54:14 +0800306
Tang Yuantian955adaf2017-01-20 17:12:48 +0800307 usb0: usb@2f00000 {
308 compatible = "fsl,layerscape-dwc3";
309 reg = <0x0 0x2f00000 0x0 0x10000>;
310 interrupts = <0 60 4>;
311 dr_mode = "host";
312 };
313
314 usb1: usb@3000000 {
315 compatible = "fsl,layerscape-dwc3";
316 reg = <0x0 0x3000000 0x0 0x10000>;
317 interrupts = <0 61 4>;
318 dr_mode = "host";
319 };
320
321 usb2: usb@3100000 {
322 compatible = "fsl,layerscape-dwc3";
323 reg = <0x0 0x3100000 0x0 0x10000>;
324 interrupts = <0 63 4>;
325 dr_mode = "host";
326 };
327
Wasim Khan57643d02020-09-28 16:26:07 +0530328 pcie1: pcie@3400000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800329 compatible = "fsl,ls-pcie", "snps,dw-pcie";
330 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
331 0x00 0x03480000 0x0 0x40000 /* lut registers */
332 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
333 0x40 0x00000000 0x0 0x20000>; /* configuration space */
334 reg-names = "dbi", "lut", "ctrl", "config";
335 big-endian;
336 #address-cells = <3>;
337 #size-cells = <2>;
338 device_type = "pci";
339 bus-range = <0x0 0xff>;
340 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
341 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
342 };
343
Wasim Khan57643d02020-09-28 16:26:07 +0530344 pcie_ep1: pcie_ep@3400000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800345 compatible = "fsl,ls-pcie-ep";
346 reg = <0x00 0x03400000 0x0 0x80000
347 0x00 0x034c0000 0x0 0x40000
348 0x40 0x00000000 0x8 0x00000000>;
349 reg-names = "regs", "ctrl", "addr_space";
350 num-ib-windows = <6>;
351 num-ob-windows = <8>;
352 big-endian;
353 };
354
Wasim Khan57643d02020-09-28 16:26:07 +0530355 pcie2: pcie@3500000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800356 compatible = "fsl,ls-pcie", "snps,dw-pcie";
357 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
358 0x00 0x03580000 0x0 0x40000 /* lut registers */
359 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
360 0x48 0x00000000 0x0 0x20000>; /* configuration space */
361 reg-names = "dbi", "lut", "ctrl", "config";
362 big-endian;
363 #address-cells = <3>;
364 #size-cells = <2>;
365 device_type = "pci";
366 num-lanes = <2>;
367 bus-range = <0x0 0xff>;
368 ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */
369 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
370 };
371
Wasim Khan57643d02020-09-28 16:26:07 +0530372 pcie_ep2: pcie_ep@3500000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800373 compatible = "fsl,ls-pcie-ep";
374 reg = <0x00 0x03500000 0x0 0x80000
375 0x00 0x035c0000 0x0 0x40000
376 0x48 0x00000000 0x8 0x00000000>;
377 reg-names = "regs", "ctrl", "addr_space";
378 num-ib-windows = <6>;
379 num-ob-windows = <8>;
380 big-endian;
381 };
382
Wasim Khan57643d02020-09-28 16:26:07 +0530383 pcie3: pcie@3600000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800384 compatible = "fsl,ls-pcie", "snps,dw-pcie";
385 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
386 0x00 0x03680000 0x0 0x40000 /* lut registers */
387 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */
388 0x50 0x00000000 0x0 0x20000>; /* configuration space */
389 reg-names = "dbi", "lut", "ctrl", "config";
390 big-endian;
391 #address-cells = <3>;
392 #size-cells = <2>;
393 device_type = "pci";
394 bus-range = <0x0 0xff>;
395 ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */
396 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
397 };
Peng Maa31ad2f2018-10-11 10:34:20 +0000398
Wasim Khan57643d02020-09-28 16:26:07 +0530399 pcie_ep3: pcie_ep@3600000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800400 compatible = "fsl,ls-pcie-ep";
401 reg = <0x00 0x03600000 0x0 0x80000
402 0x00 0x036c0000 0x0 0x40000
403 0x50 0x00000000 0x8 0x00000000>;
404 reg-names = "regs", "ctrl", "addr_space";
405 num-ib-windows = <6>;
406 num-ob-windows = <8>;
407 big-endian;
408 };
409
Peng Maa31ad2f2018-10-11 10:34:20 +0000410 sata: sata@3200000 {
411 compatible = "fsl,ls1046a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000412 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
413 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200414 reg-names = "ahci", "sata-ecc";
Peng Maa31ad2f2018-10-11 10:34:20 +0000415 interrupts = <0 69 4>;
416 clocks = <&clockgen 4 1>;
417 status = "disabled";
418 };
Mingkai Hud2396512016-09-07 18:47:28 +0800419 };
420};