1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * NXP ls1028a SOC common device tree source
5 * Copyright 2019-2020 NXP
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "fsl,ls1028a";
13 interrupt-parent = <&gic>;
18 compatible = "fixed-clock";
20 clock-frequency = <100000000>;
21 clock-output-names = "sysclk";
24 clockgen: clocking@1300000 {
25 compatible = "fsl,ls1028a-clockgen";
26 reg = <0x0 0x1300000 0x0 0xa0000>;
32 device_type = "memory";
33 reg = <0x00000000 0x01080000 0 0x80000000>;
34 /* DRAM space - 1, size : 2 GB DRAM */
37 gic: interrupt-controller@6000000 {
38 compatible = "arm,gic-v3";
39 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
40 <0x0 0x06040000 0 0x40000>;
41 #interrupt-cells = <3>;
43 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
47 gic_lpi_base: syscon@0x80000000 {
48 compatible = "gic-lpi-base";
49 reg = <0x0 0x80000000 0x0 0x100000>;
50 max-gic-redistributors = <2>;
54 compatible = "arm,armv8-timer";
55 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
57 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
59 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
61 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
65 fspi: flexspi@20c0000 {
66 compatible = "nxp,lx2160a-fspi";
69 reg = <0x0 0x20c0000 0x0 0x10000>,
70 <0x0 0x20000000 0x0 0x10000000>;
71 reg-names = "fspi_base", "fspi_mmap";
72 clocks = <&clockgen 4 3>, <&clockgen 4 3>;
73 clock-names = "fspi_en", "fspi";
74 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
78 serial0: serial@21c0500 {
79 device_type = "serial";
80 compatible = "fsl,ns16550", "ns16550a";
81 reg = <0x0 0x21c0500 0x0 0x100>;
82 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
86 serial1: serial@21c0600 {
87 device_type = "serial";
88 compatible = "fsl,ns16550", "ns16550a";
89 reg = <0x0 0x21c0600 0x0 0x100>;
90 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
95 compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie";
96 reg = <0x00 0x03400000 0x0 0x80000
97 0x00 0x03480000 0x0 0x40000 /* lut registers */
98 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
99 0x80 0x00000000 0x0 0x20000>; /* configuration space */
100 reg-names = "dbi", "lut", "ctrl", "config";
101 #address-cells = <3>;
105 bus-range = <0x0 0xff>;
106 ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000 /* downstream I/O */
107 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
110 pcie2: pcie@3500000 {
111 compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie";
112 reg = <0x00 0x03500000 0x0 0x80000
113 0x00 0x03580000 0x0 0x40000 /* lut registers */
114 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
115 0x88 0x00000000 0x0 0x20000>; /* configuration space */
116 reg-names = "dbi", "lut", "ctrl", "config";
117 #address-cells = <3>;
121 bus-range = <0x0 0xff>;
122 ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000 /* downstream I/O */
123 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
127 compatible = "pci-host-ecam-generic";
128 /* ECAM bus 0, HW has more space reserved but not populated */
129 bus-range = <0x0 0x0>;
130 reg = <0x01 0xf0000000 0x0 0x100000>;
131 #address-cells = <3>;
134 ranges= <0x82000000 0x0 0x00000000 0x1 0xf8000000 0x0 0x160000>;
136 reg = <0x000000 0 0 0 0>;
140 reg = <0x000100 0 0 0 0>;
144 reg = <0x000200 0 0 0 0>;
146 phy-mode = "internal";
156 reg = <0x000300 0 0 0 0>;
165 mscc_felix: pci@0,5 {
166 reg = <0x000500 0 0 0 0>;
170 #address-cells = <1>;
173 mscc_felix_port0: port@0 {
178 mscc_felix_port1: port@1 {
183 mscc_felix_port2: port@2 {
188 mscc_felix_port3: port@3 {
193 mscc_felix_port4: port@4 {
195 phy-mode = "internal";
204 mscc_felix_port5: port@5 {
206 phy-mode = "internal";
219 reg = <0x000600 0 0 0 0>;
221 phy-mode = "internal";
226 compatible = "fsl,vf610-i2c";
227 #address-cells = <1>;
229 reg = <0x0 0x2000000 0x0 0x10000>;
230 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
232 clocks = <&clockgen 4 0>;
237 compatible = "fsl,vf610-i2c";
238 #address-cells = <1>;
240 reg = <0x0 0x2010000 0x0 0x10000>;
241 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
243 clocks = <&clockgen 4 0>;
248 compatible = "fsl,vf610-i2c";
249 #address-cells = <1>;
251 reg = <0x0 0x2020000 0x0 0x10000>;
252 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
254 clocks = <&clockgen 4 0>;
259 compatible = "fsl,vf610-i2c";
260 #address-cells = <1>;
262 reg = <0x0 0x2030000 0x0 0x10000>;
263 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
265 clocks = <&clockgen 4 0>;
270 compatible = "fsl,vf610-i2c";
271 #address-cells = <1>;
273 reg = <0x0 0x2040000 0x0 0x10000>;
274 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
276 clocks = <&clockgen 4 0>;
281 compatible = "fsl,vf610-i2c";
282 #address-cells = <1>;
284 reg = <0x0 0x2050000 0x0 0x10000>;
285 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&clockgen 4 0>;
292 compatible = "fsl,vf610-i2c";
293 #address-cells = <1>;
295 reg = <0x0 0x2060000 0x0 0x10000>;
296 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
298 clocks = <&clockgen 4 0>;
303 compatible = "fsl,vf610-i2c";
304 #address-cells = <1>;
306 reg = <0x0 0x2070000 0x0 0x10000>;
307 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&clockgen 4 0>;
313 lpuart0: serial@2260000 {
314 compatible = "fsl,ls1021a-lpuart";
315 reg = <0x0 0x2260000 0x0 0x1000>;
316 interrupts = <0 232 0x4>;
323 lpuart1: serial@2270000 {
324 compatible = "fsl,ls1021a-lpuart";
325 reg = <0x0 0x2270000 0x0 0x1000>;
326 interrupts = <0 233 0x4>;
333 lpuart2: serial@2280000 {
334 compatible = "fsl,ls1021a-lpuart";
335 reg = <0x0 0x2280000 0x0 0x1000>;
336 interrupts = <0 234 0x4>;
343 lpuart3: serial@2290000 {
344 compatible = "fsl,ls1021a-lpuart";
345 reg = <0x0 0x2290000 0x0 0x1000>;
346 interrupts = <0 235 0x4>;
353 lpuart4: serial@22a0000 {
354 compatible = "fsl,ls1021a-lpuart";
355 reg = <0x0 0x22a0000 0x0 0x1000>;
356 interrupts = <0 236 0x4>;
363 lpuart5: serial@22b0000 {
364 compatible = "fsl,ls1021a-lpuart";
365 reg = <0x0 0x22b0000 0x0 0x1000>;
366 interrupts = <0 237 0x4>;
374 compatible = "fsl,layerscape-dwc3";
375 reg = <0x0 0x3100000 0x0 0x10000>;
376 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
382 compatible = "fsl,layerscape-dwc3";
383 reg = <0x0 0x3110000 0x0 0x10000>;
384 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
389 dspi0: dspi@2100000 {
390 compatible = "fsl,vf610-dspi";
391 #address-cells = <1>;
393 reg = <0x0 0x2100000 0x0 0x10000>;
394 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
395 clock-names = "dspi";
396 clocks = <&clockgen 4 0>;
402 dspi1: dspi@2110000 {
403 compatible = "fsl,vf610-dspi";
404 #address-cells = <1>;
406 reg = <0x0 0x2110000 0x0 0x10000>;
407 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
408 clock-names = "dspi";
409 clocks = <&clockgen 4 0>;
415 dspi2: dspi@2120000 {
416 compatible = "fsl,vf610-dspi";
417 #address-cells = <1>;
419 reg = <0x0 0x2120000 0x0 0x10000>;
420 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
421 clock-names = "dspi";
422 clocks = <&clockgen 4 0>;
428 esdhc0: esdhc@2140000 {
429 compatible = "fsl,esdhc";
430 reg = <0x0 0x2140000 0x0 0x10000>;
431 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
437 esdhc1: esdhc@2150000 {
438 compatible = "fsl,esdhc";
439 reg = <0x0 0x2150000 0x0 0x10000>;
440 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
447 gpio0: gpio@2300000 {
448 compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
449 reg = <0x0 0x2300000 0x0 0x10000>;
450 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
453 interrupt-controller;
454 #interrupt-cells = <2>;
458 gpio1: gpio@2310000 {
459 compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
460 reg = <0x0 0x2310000 0x0 0x10000>;
461 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
464 interrupt-controller;
465 #interrupt-cells = <2>;
469 gpio2: gpio@2320000 {
470 compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
471 reg = <0x0 0x2320000 0x0 0x10000>;
472 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
475 interrupt-controller;
476 #interrupt-cells = <2>;
481 compatible = "fsl,ls1028a-ahci";
482 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
483 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
484 reg-names = "sata-base", "ecc-addr";
485 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
489 cluster1_core0_watchdog: wdt@c000000 {
490 compatible = "arm,sp805-wdt";
491 reg = <0x0 0xc000000 0x0 0x1000>;