blob: dee1e2f215b9efd1c669b34142791130b12a589d [file] [log] [blame]
Priyanka Jainef76b2e2018-10-29 09:17:09 +00001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP lx2160a SOC common device tree source
4 *
Ioana Ciornei8265fc52020-04-27 15:21:12 +03005 * Copyright 2018-2020 NXP
Priyanka Jainef76b2e2018-10-29 09:17:09 +00006 *
7 */
8
Kuldeep Singh6b614242019-11-06 16:38:01 +05309#include <dt-bindings/interrupt-controller/arm-gic.h>
10
Priyanka Jainef76b2e2018-10-29 09:17:09 +000011/ {
12 compatible = "fsl,lx2160a";
13 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
16
17 memory@80000000 {
18 device_type = "memory";
19 reg = <0x00000000 0x80000000 0 0x80000000>;
20 /* DRAM space - 1, size : 2 GB DRAM */
21 };
22
23 sysclk: sysclk {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <100000000>;
27 clock-output-names = "sysclk";
28 };
29
30 clockgen: clocking@1300000 {
31 compatible = "fsl,ls2080a-clockgen";
32 reg = <0 0x1300000 0 0xa0000>;
33 #clock-cells = <2>;
34 clocks = <&sysclk>;
35 };
36
37 gic: interrupt-controller@6000000 {
38 compatible = "arm,gic-v3";
39 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
40 <0x0 0x06200000 0 0x100000>; /* GICR */
41 #interrupt-cells = <3>;
42 interrupt-controller;
43 interrupts = <1 9 0x4>;
44 };
45
46 timer {
47 compatible = "arm,armv8-timer";
48 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
49 <1 14 0x8>, /* Physical NS PPI, active-low */
50 <1 11 0x8>, /* Virtual PPI, active-low */
51 <1 10 0x8>; /* Hypervisor PPI, active-low */
52 };
53
Kuldeep Singh6b614242019-11-06 16:38:01 +053054 fspi: flexspi@20c0000 {
55 compatible = "nxp,lx2160a-fspi";
56 #address-cells = <1>;
57 #size-cells = <0>;
58 reg = <0x0 0x20c0000 0x0 0x10000>,
59 <0x0 0x20000000 0x0 0x10000000>;
60 reg-names = "fspi_base", "fspi_mmap";
61 clocks = <&clockgen 4 3>, <&clockgen 4 3>;
62 clock-names = "fspi_en", "fspi";
63 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
64 status = "disabled";
65 };
66
Chuanhua Han7e56fe12019-07-10 21:00:24 +080067 i2c0: i2c@2000000 {
68 compatible = "fsl,vf610-i2c";
69 #address-cells = <1>;
70 #size-cells = <0>;
71 reg = <0x0 0x2000000 0x0 0x10000>;
72 interrupts = <0 34 4>;
73 scl-gpio = <&gpio2 15 0>;
74 status = "disabled";
75 };
76
77 i2c1: i2c@2010000 {
78 compatible = "fsl,vf610-i2c";
79 #address-cells = <1>;
80 #size-cells = <0>;
81 reg = <0x0 0x2010000 0x0 0x10000>;
82 interrupts = <0 34 4>;
83 status = "disabled";
84 };
85
86 i2c2: i2c@2020000 {
87 compatible = "fsl,vf610-i2c";
88 #address-cells = <1>;
89 #size-cells = <0>;
90 reg = <0x0 0x2020000 0x0 0x10000>;
91 interrupts = <0 35 4>;
92 status = "disabled";
93 };
94
95 i2c3: i2c@2030000 {
96 compatible = "fsl,vf610-i2c";
97 #address-cells = <1>;
98 #size-cells = <0>;
99 reg = <0x0 0x2030000 0x0 0x10000>;
100 interrupts = <0 35 4>;
101 status = "disabled";
102 };
103
104 i2c4: i2c@2040000 {
105 compatible = "fsl,vf610-i2c";
106 #address-cells = <1>;
107 #size-cells = <0>;
108 reg = <0x0 0x2040000 0x0 0x10000>;
109 interrupts = <0 74 4>;
110 scl-gpio = <&gpio2 16 0>;
111 status = "disabled";
112 };
113
114 i2c5: i2c@2050000 {
115 compatible = "fsl,vf610-i2c";
116 #address-cells = <1>;
117 #size-cells = <0>;
118 reg = <0x0 0x2050000 0x0 0x10000>;
119 interrupts = <0 74 4>;
120 status = "disabled";
121 };
122
123 i2c6: i2c@2060000 {
124 compatible = "fsl,vf610-i2c";
125 #address-cells = <1>;
126 #size-cells = <0>;
127 reg = <0x0 0x2060000 0x0 0x10000>;
128 interrupts = <0 75 4>;
129 status = "disabled";
130 };
131
132 i2c7: i2c@2070000 {
133 compatible = "fsl,vf610-i2c";
134 #address-cells = <1>;
135 #size-cells = <0>;
136 reg = <0x0 0x2070000 0x0 0x10000>;
137 interrupts = <0 75 4>;
138 status = "disabled";
139 };
140
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000141 uart0: serial@21c0000 {
142 compatible = "arm,pl011";
143 reg = <0x0 0x21c0000 0x0 0x1000>;
144 clocks = <&clockgen 4 0>;
Vabhav Sharma2b1ef4c2019-11-26 11:30:51 +0000145 status = "disabled";
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000146 };
147
148 uart1: serial@21d0000 {
149 compatible = "arm,pl011";
150 reg = <0x0 0x21d0000 0x0 0x1000>;
151 clocks = <&clockgen 4 0>;
Vabhav Sharma2b1ef4c2019-11-26 11:30:51 +0000152 status = "disabled";
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000153 };
154
155 uart2: serial@21e0000 {
156 compatible = "arm,pl011";
157 reg = <0x0 0x21e0000 0x0 0x1000>;
158 clocks = <&clockgen 4 0>;
159 status = "disabled";
160 };
161
162 uart3: serial@21f0000 {
163 compatible = "arm,pl011";
164 reg = <0x0 0x21f0000 0x0 0x1000>;
165 clocks = <&clockgen 4 0>;
166 status = "disabled";
167 };
168
169 dspi0: dspi@2100000 {
170 compatible = "fsl,vf610-dspi";
171 #address-cells = <1>;
172 #size-cells = <0>;
173 reg = <0x0 0x2100000 0x0 0x10000>;
174 interrupts = <0 26 0x4>; /* Level high type */
175 num-cs = <6>;
176 };
177
178 dspi1: dspi@2110000 {
179 compatible = "fsl,vf610-dspi";
180 #address-cells = <1>;
181 #size-cells = <0>;
182 reg = <0x0 0x2110000 0x0 0x10000>;
Priyanka Jainfd45ca02018-11-28 13:04:27 +0000183 interrupts = <0 26 0x4>; /* Level high type */
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000184 num-cs = <6>;
185 };
186
187 dspi2: dspi@2120000 {
188 compatible = "fsl,vf610-dspi";
189 #address-cells = <1>;
190 #size-cells = <0>;
191 reg = <0x0 0x2120000 0x0 0x10000>;
192 interrupts = <0 241 0x4>; /* Level high type */
193 num-cs = <6>;
194 };
195
Chuanhua Han7e56fe12019-07-10 21:00:24 +0800196 gpio2: gpio@2320000 {
197 compatible = "fsl,qoriq-gpio";
198 reg = <0x0 0x2320000 0x0 0x10000>;
199 interrupts = <0 37 4>;
200 gpio-controller;
201 little-endian;
202 #gpio-cells = <2>;
203 interrupt-controller;
204 #interrupt-cells = <2>;
205 };
206
Zhao Qiang80e9b202020-07-10 16:55:19 +0800207 watchdog@23a0000 {
208 compatible = "arm,sbsa-gwdt";
209 reg = <0x0 0x23a0000 0 0x1000>,
210 <0x0 0x2390000 0 0x1000>;
211 timeout-sec = <30>;
212 };
213
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000214 usb0: usb3@3100000 {
215 compatible = "fsl,layerscape-dwc3";
216 reg = <0x0 0x3100000 0x0 0x10000>;
217 interrupts = <0 80 0x4>; /* Level high type */
218 dr_mode = "host";
219 };
220
221 usb1: usb3@3110000 {
222 compatible = "fsl,layerscape-dwc3";
223 reg = <0x0 0x3110000 0x0 0x10000>;
224 interrupts = <0 81 0x4>; /* Level high type */
225 dr_mode = "host";
226 };
Priyanka Jainfd45ca02018-11-28 13:04:27 +0000227
228 esdhc0: esdhc@2140000 {
229 compatible = "fsl,esdhc";
230 reg = <0x0 0x2140000 0x0 0x10000>;
231 interrupts = <0 28 0x4>; /* Level high type */
232 clocks = <&clockgen 4 1>;
233 voltage-ranges = <1800 1800 3300 3300>;
234 sdhci,auto-cmd12;
235 little-endian;
236 bus-width = <4>;
237 status = "disabled";
238 };
239
240 esdhc1: esdhc@2150000 {
241 compatible = "fsl,esdhc";
242 reg = <0x0 0x2150000 0x0 0x10000>;
243 interrupts = <0 63 0x4>; /* Level high type */
244 clocks = <&clockgen 4 1>;
245 voltage-ranges = <1800 1800 3300 3300>;
246 sdhci,auto-cmd12;
247 non-removable;
248 little-endian;
249 bus-width = <4>;
250 status = "disabled";
251 };
252
253 sata0: sata@3200000 {
254 compatible = "fsl,ls2080a-ahci";
255 reg = <0x0 0x3200000 0x0 0x10000>;
256 interrupts = <0 133 4>;
257 clocks = <&clockgen 4 3>;
258 status = "disabled";
259
260 };
261
262 sata1: sata@3210000 {
263 compatible = "fsl,ls2080a-ahci";
264 reg = <0x0 0x3210000 0x0 0x10000>;
265 interrupts = <0 136 4>;
266 clocks = <&clockgen 4 3>;
267 status = "disabled";
268
269 };
270
271 sata2: sata@3220000 {
272 compatible = "fsl,ls2080a-ahci";
273 reg = <0x0 0x3220000 0x0 0x10000>;
274 interrupts = <0 97 4>;
275 clocks = <&clockgen 4 3>;
276 status = "disabled";
277
278 };
279
280 sata3: sata@3230000 {
281 compatible = "fsl,ls2080a-ahci";
282 reg = <0x0 0x3230000 0x0 0x10000>;
283 interrupts = <0 100 4>;
284 clocks = <&clockgen 4 3>;
285 status = "disabled";
286
287 };
Hou Zhiqiang29807462019-04-08 10:15:58 +0000288
289 pcie@3400000 {
290 compatible = "fsl,lx2160a-pcie";
291 reg = <0x00 0x03400000 0x0 0x80000 /* PAB registers */
292 0x00 0x03480000 0x0 0x40000 /* LUT registers */
293 0x00 0x034c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530294 0x80 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000295 reg-names = "ccsr", "lut", "pf_ctrl", "config";
296 #address-cells = <3>;
297 #size-cells = <2>;
298 device_type = "pci";
299 bus-range = <0x0 0xff>;
300 ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>;
301 };
302
303 pcie@3500000 {
304 compatible = "fsl,lx2160a-pcie";
305 reg = <0x00 0x03500000 0x0 0x80000 /* PAB registers */
306 0x00 0x03580000 0x0 0x40000 /* LUT registers */
307 0x00 0x035c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530308 0x88 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000309 reg-names = "ccsr", "lut", "pf_ctrl", "config";
310 #address-cells = <3>;
311 #size-cells = <2>;
312 device_type = "pci";
313 num-lanes = <2>;
314 bus-range = <0x0 0xff>;
315 ranges = <0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>;
316 };
317
318 pcie@3600000 {
319 compatible = "fsl,lx2160a-pcie";
320 reg = <0x00 0x03600000 0x0 0x80000 /* PAB registers */
321 0x00 0x03680000 0x0 0x40000 /* LUT registers */
322 0x00 0x036c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530323 0x90 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000324 reg-names = "ccsr", "lut", "pf_ctrl", "config";
325 #address-cells = <3>;
326 #size-cells = <2>;
327 device_type = "pci";
328 bus-range = <0x0 0xff>;
329 ranges = <0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>;
330 };
331
332 pcie@3700000 {
333 compatible = "fsl,lx2160a-pcie";
334 reg = <0x00 0x03700000 0x0 0x80000 /* PAB registers */
335 0x00 0x03780000 0x0 0x40000 /* LUT registers */
336 0x00 0x037c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530337 0x98 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000338 reg-names = "ccsr", "lut", "pf_ctrl", "config";
339 #address-cells = <3>;
340 #size-cells = <2>;
341 device_type = "pci";
342 bus-range = <0x0 0xff>;
343 ranges = <0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>;
344 };
345
346 pcie@3800000 {
347 compatible = "fsl,lx2160a-pcie";
348 reg = <0x00 0x03800000 0x0 0x80000 /* PAB registers */
349 0x00 0x03880000 0x0 0x40000 /* LUT registers */
350 0x00 0x038c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530351 0xa0 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000352 reg-names = "ccsr", "lut", "pf_ctrl", "config";
353 #address-cells = <3>;
354 #size-cells = <2>;
355 device_type = "pci";
356 bus-range = <0x0 0xff>;
357 ranges = <0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>;
358 };
359
360 pcie@3900000 {
361 compatible = "fsl,lx2160a-pcie";
362 reg = <0x00 0x03900000 0x0 0x80000 /* PAB registers */
363 0x00 0x03980000 0x0 0x40000 /* LUT registers */
364 0x00 0x039c0000 0x0 0x40000 /* PF control registers */
Wasim Khan49001b42020-07-09 14:21:08 +0530365 0xa8 0x00000000 0x0 0x2000>; /* configuration space */
Hou Zhiqiang29807462019-04-08 10:15:58 +0000366 reg-names = "ccsr", "lut", "pf_ctrl", "config";
367 #address-cells = <3>;
368 #size-cells = <2>;
369 device_type = "pci";
370 bus-range = <0x0 0xff>;
371 ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>;
372 };
Ioana Ciorneiee6665e2020-03-18 16:47:41 +0200373
Ioana Ciorneibcf6a9d2020-03-18 16:47:44 +0200374 fsl_mc: fsl-mc@80c000000 {
375 compatible = "fsl,qoriq-mc", "simple-mfd";
376 reg = <0x00000008 0x0c000000 0 0x40>,
377 <0x00000000 0x08340000 0 0x40000>;
378 #address-cells = <3>;
379 #size-cells = <1>;
380
381 /*
382 * Region type 0x0 - MC portals
383 * Region type 0x1 - QBMAN portals
384 */
385 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
386 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
387
388 dpmacs {
389 compatible = "simple-mfd";
390 #address-cells = <1>;
391 #size-cells = <0>;
392
Ioana Ciornei8265fc52020-04-27 15:21:12 +0300393 dpmac1: dpmac@1 {
394 compatible = "fsl,qoriq-mc-dpmac";
395 reg = <0x1>;
396 status = "disabled";
397 };
398
399 dpmac2: dpmac@2 {
400 compatible = "fsl,qoriq-mc-dpmac";
401 reg = <0x2>;
402 status = "disabled";
403 };
404
Ioana Ciorneibcf6a9d2020-03-18 16:47:44 +0200405 dpmac3: dpmac@3 {
406 compatible = "fsl,qoriq-mc-dpmac";
407 reg = <0x3>;
408 status = "disabled";
409 };
410
411 dpmac4: dpmac@4 {
412 compatible = "fsl,qoriq-mc-dpmac";
413 reg = <0x4>;
414 status = "disabled";
415 };
416
Ioana Ciornei8265fc52020-04-27 15:21:12 +0300417 dpmac5: dpmac@5 {
418 compatible = "fsl,qoriq-mc-dpmac";
419 reg = <0x5>;
420 status = "disabled";
421 };
422
423 dpmac6: dpmac@6 {
424 compatible = "fsl,qoriq-mc-dpmac";
425 reg = <0x6>;
426 status = "disabled";
427 };
428
429 dpmac7: dpmac@7 {
430 compatible = "fsl,qoriq-mc-dpmac";
431 reg = <0x7>;
432 status = "disabled";
433 };
434
435 dpmac8: dpmac@8 {
436 compatible = "fsl,qoriq-mc-dpmac";
437 reg = <0x8>;
438 status = "disabled";
439 };
440
441 dpmac9: dpmac@9 {
442 compatible = "fsl,qoriq-mc-dpmac";
443 reg = <0x9>;
444 status = "disabled";
445 };
446
447 dpmac10: dpmac@a {
448 compatible = "fsl,qoriq-mc-dpmac";
449 reg = <0xa>;
450 status = "disabled";
451 };
452
453 dpmac11: dpmac@b {
454 compatible = "fsl,qoriq-mc-dpmac";
455 reg = <0xb>;
456 status = "disabled";
457 };
458
459 dpmac12: dpmac@c {
460 compatible = "fsl,qoriq-mc-dpmac";
461 reg = <0xc>;
462 status = "disabled";
463 };
464
465 dpmac13: dpmac@d {
466 compatible = "fsl,qoriq-mc-dpmac";
467 reg = <0xd>;
468 status = "disabled";
469 };
470
471 dpmac14: dpmac@e {
472 compatible = "fsl,qoriq-mc-dpmac";
473 reg = <0xe>;
474 status = "disabled";
475 };
476
477 dpmac15: dpmac@f {
478 compatible = "fsl,qoriq-mc-dpmac";
479 reg = <0xf>;
480 status = "disabled";
481 };
482
483 dpmac16: dpmac@10 {
484 compatible = "fsl,qoriq-mc-dpmac";
485 reg = <0x10>;
486 status = "disabled";
487 };
488
Ioana Ciorneibcf6a9d2020-03-18 16:47:44 +0200489 dpmac17: dpmac@11 {
490 compatible = "fsl,qoriq-mc-dpmac";
491 reg = <0x11>;
492 status = "disabled";
493 };
494
495 dpmac18: dpmac@12 {
496 compatible = "fsl,qoriq-mc-dpmac";
497 reg = <0x12>;
498 status = "disabled";
499 };
500 };
501 };
502
Ioana Ciorneiee6665e2020-03-18 16:47:41 +0200503 /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
504 emdio1: mdio@8b96000 {
505 compatible = "fsl,ls-mdio";
506 reg = <0x0 0x8b96000 0x0 0x1000>;
507 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
508 #address-cells = <1>;
509 #size-cells = <0>;
510 status = "disabled";
511 };
512
513 /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
514 emdio2: mdio@8b97000 {
515 compatible = "fsl,ls-mdio";
516 reg = <0x0 0x8b97000 0x0 0x1000>;
517 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
518 #address-cells = <1>;
519 #size-cells = <0>;
520 status = "disabled";
521 };
Ilias Apalodimas86fe6da2020-05-17 22:25:49 +0300522 firmware {
523 optee {
524 compatible = "linaro,optee-tz";
525 method = "smc";
526 };
527 };
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000528};