blob: be330c130f599c56942da15006a29e6008a908e4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
haikunf6580d02015-03-25 20:23:26 +08002/*
3 * Freescale ls1021a SOC common device tree source
4 *
5 * Copyright 2013-2015 Freescale Semiconductor, Inc.
Gaurav Jain994824c2022-03-24 11:50:34 +05306 * Copyright 2021 NXP
haikunf6580d02015-03-25 20:23:26 +08007 */
8
haikunb9fe9e22015-03-24 21:16:31 +08009#include "skeleton.dtsi"
haikunf6580d02015-03-25 20:23:26 +080010#include <dt-bindings/interrupt-controller/arm-gic.h>
11
12/ {
13 compatible = "fsl,ls1021a";
14 interrupt-parent = <&gic>;
15
16 aliases {
17 serial0 = &lpuart0;
18 serial1 = &lpuart1;
19 serial2 = &lpuart2;
20 serial3 = &lpuart3;
21 serial4 = &lpuart4;
22 serial5 = &lpuart5;
23 sysclk = &sysclk;
24 };
25
26 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 cpu@f00 {
31 compatible = "arm,cortex-a7";
32 device_type = "cpu";
33 reg = <0xf00>;
34 clocks = <&cluster1_clk>;
35 };
36
37 cpu@f01 {
38 compatible = "arm,cortex-a7";
39 device_type = "cpu";
40 reg = <0xf01>;
41 clocks = <&cluster1_clk>;
42 };
43 };
44
45 timer {
46 compatible = "arm,armv7-timer";
47 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
48 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
49 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
50 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
51 };
52
53 pmu {
54 compatible = "arm,cortex-a7-pmu";
55 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
57 };
58
59 soc {
60 compatible = "simple-bus";
haikunb9fe9e22015-03-24 21:16:31 +080061 #address-cells = <1>;
62 #size-cells = <1>;
haikunf6580d02015-03-25 20:23:26 +080063 device_type = "soc";
64 interrupt-parent = <&gic>;
65 ranges;
66
67 gic: interrupt-controller@1400000 {
68 compatible = "arm,cortex-a7-gic";
69 #interrupt-cells = <3>;
70 interrupt-controller;
haikunb9fe9e22015-03-24 21:16:31 +080071 reg = <0x1401000 0x1000>,
72 <0x1402000 0x1000>,
73 <0x1404000 0x2000>,
74 <0x1406000 0x2000>;
haikunf6580d02015-03-25 20:23:26 +080075 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
76
77 };
78
79 ifc: ifc@1530000 {
80 compatible = "fsl,ifc", "simple-bus";
haikunb9fe9e22015-03-24 21:16:31 +080081 reg = <0x1530000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +080082 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
83 };
84
85 dcfg: dcfg@1ee0000 {
86 compatible = "fsl,ls1021a-dcfg", "syscon";
haikunb9fe9e22015-03-24 21:16:31 +080087 reg = <0x1ee0000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +080088 big-endian;
89 };
90
91 esdhc: esdhc@1560000 {
92 compatible = "fsl,esdhc";
haikunb9fe9e22015-03-24 21:16:31 +080093 reg = <0x1560000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +080094 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
95 clock-frequency = <0>;
96 voltage-ranges = <1800 1800 3300 3300>;
97 sdhci,auto-cmd12;
98 big-endian;
99 bus-width = <4>;
haikunf6580d02015-03-25 20:23:26 +0800100 };
101
Biwen Li073e23e2021-02-05 19:01:48 +0800102 gpio0: gpio@2300000 {
103 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
Lasse Klok Mikkelsenababfda2021-06-08 08:39:12 +0200104 reg = <0x2300000 0x10000>;
Biwen Li073e23e2021-02-05 19:01:48 +0800105 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
106 gpio-controller;
107 #gpio-cells = <2>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 };
111
112 gpio1: gpio@2310000 {
113 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
Lasse Klok Mikkelsenababfda2021-06-08 08:39:12 +0200114 reg = <0x2310000 0x10000>;
Biwen Li073e23e2021-02-05 19:01:48 +0800115 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
116 gpio-controller;
117 #gpio-cells = <2>;
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 };
121
122 gpio2: gpio@2320000 {
123 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
Lasse Klok Mikkelsenababfda2021-06-08 08:39:12 +0200124 reg = <0x2320000 0x10000>;
Biwen Li073e23e2021-02-05 19:01:48 +0800125 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
126 gpio-controller;
127 #gpio-cells = <2>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 };
131
132 gpio3: gpio@2330000 {
133 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
Lasse Klok Mikkelsenababfda2021-06-08 08:39:12 +0200134 reg = <0x2330000 0x10000>;
Biwen Li073e23e2021-02-05 19:01:48 +0800135 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
136 gpio-controller;
137 #gpio-cells = <2>;
138 interrupt-controller;
139 #interrupt-cells = <2>;
140 };
141
haikunf6580d02015-03-25 20:23:26 +0800142 scfg: scfg@1570000 {
143 compatible = "fsl,ls1021a-scfg", "syscon";
haikunb9fe9e22015-03-24 21:16:31 +0800144 reg = <0x1570000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800145 big-endian;
146 };
147
Gaurav Jain994824c2022-03-24 11:50:34 +0530148 crypto: crypto@1700000 {
149 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
150 fsl,sec-era = <7>;
151 #address-cells = <1>;
152 #size-cells = <1>;
153 reg = <0x1700000 0x100000>;
154 ranges = <0x0 0x1700000 0x100000>;
155 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
156
157 sec_jr0: jr@10000 {
158 compatible = "fsl,sec-v5.0-job-ring",
159 "fsl,sec-v4.0-job-ring";
160 reg = <0x10000 0x10000>;
161 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
162 };
163
164 sec_jr1: jr@20000 {
165 compatible = "fsl,sec-v5.0-job-ring",
166 "fsl,sec-v4.0-job-ring";
167 reg = <0x20000 0x10000>;
168 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
169 };
170
171 sec_jr2: jr@30000 {
172 compatible = "fsl,sec-v5.0-job-ring",
173 "fsl,sec-v4.0-job-ring";
174 reg = <0x30000 0x10000>;
175 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
176 };
177
178 sec_jr3: jr@40000 {
179 compatible = "fsl,sec-v5.0-job-ring",
180 "fsl,sec-v4.0-job-ring";
181 reg = <0x40000 0x10000>;
182 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
183 };
184
185 };
186
haikunf6580d02015-03-25 20:23:26 +0800187 clockgen: clocking@1ee1000 {
188 #address-cells = <1>;
189 #size-cells = <1>;
haikunb9fe9e22015-03-24 21:16:31 +0800190 ranges = <0x0 0x1ee1000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800191
192 sysclk: sysclk {
193 compatible = "fixed-clock";
194 #clock-cells = <0>;
195 clock-output-names = "sysclk";
196 };
197
198 cga_pll1: pll@800 {
199 compatible = "fsl,qoriq-core-pll-2.0";
200 #clock-cells = <1>;
201 reg = <0x800 0x10>;
202 clocks = <&sysclk>;
203 clock-output-names = "cga-pll1", "cga-pll1-div2",
204 "cga-pll1-div4";
205 };
206
207 platform_clk: pll@c00 {
208 compatible = "fsl,qoriq-core-pll-2.0";
209 #clock-cells = <1>;
210 reg = <0xc00 0x10>;
211 clocks = <&sysclk>;
212 clock-output-names = "platform-clk", "platform-clk-div2";
213 };
214
215 cluster1_clk: clk0c0@0 {
216 compatible = "fsl,qoriq-core-mux-2.0";
217 #clock-cells = <0>;
218 reg = <0x0 0x10>;
219 clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4";
220 clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>;
221 clock-output-names = "cluster1-clk";
222 };
223 };
224
225 dspi0: dspi@2100000 {
226 compatible = "fsl,vf610-dspi";
227 #address-cells = <1>;
228 #size-cells = <0>;
haikunb9fe9e22015-03-24 21:16:31 +0800229 reg = <0x2100000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800230 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
231 clock-names = "dspi";
232 clocks = <&platform_clk 1>;
Michael Walle2de392c2021-10-13 18:14:18 +0200233 spi-num-chipselects = <6>;
haikunf6580d02015-03-25 20:23:26 +0800234 big-endian;
235 status = "disabled";
236 };
237
238 dspi1: dspi@2110000 {
239 compatible = "fsl,vf610-dspi";
240 #address-cells = <1>;
241 #size-cells = <0>;
haikunb9fe9e22015-03-24 21:16:31 +0800242 reg = <0x2110000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800243 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
244 clock-names = "dspi";
245 clocks = <&platform_clk 1>;
Michael Walle2de392c2021-10-13 18:14:18 +0200246 spi-num-chipselects = <6>;
haikunf6580d02015-03-25 20:23:26 +0800247 big-endian;
248 status = "disabled";
249 };
250
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +0800251 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530252 compatible = "fsl,ls1021a-qspi";
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +0800253 #address-cells = <1>;
254 #size-cells = <0>;
255 reg = <0x1550000 0x10000>,
Kuldeep Singh4c380872019-12-12 11:49:24 +0530256 <0x40000000 0x1000000>;
Yuan Yaob00389e2016-11-30 11:26:20 +0800257 reg-names = "QuadSPI", "QuadSPI-memory";
Haikun.Wang@freescale.com07c851e2015-03-24 21:20:40 +0800258 status = "disabled";
259 };
260
haikunf6580d02015-03-25 20:23:26 +0800261 i2c0: i2c@2180000 {
262 compatible = "fsl,vf610-i2c";
263 #address-cells = <1>;
264 #size-cells = <0>;
haikunb9fe9e22015-03-24 21:16:31 +0800265 reg = <0x2180000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800266 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
267 clock-names = "i2c";
268 clocks = <&platform_clk 1>;
269 status = "disabled";
270 };
271
272 i2c1: i2c@2190000 {
273 compatible = "fsl,vf610-i2c";
274 #address-cells = <1>;
275 #size-cells = <0>;
haikunb9fe9e22015-03-24 21:16:31 +0800276 reg = <0x2190000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800277 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
278 clock-names = "i2c";
279 clocks = <&platform_clk 1>;
280 status = "disabled";
281 };
282
283 i2c2: i2c@21a0000 {
284 compatible = "fsl,vf610-i2c";
285 #address-cells = <1>;
286 #size-cells = <0>;
haikunb9fe9e22015-03-24 21:16:31 +0800287 reg = <0x21a0000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800288 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
289 clock-names = "i2c";
290 clocks = <&platform_clk 1>;
291 status = "disabled";
292 };
293
294 uart0: serial@21c0500 {
295 compatible = "fsl,16550-FIFO64", "ns16550a";
haikunb9fe9e22015-03-24 21:16:31 +0800296 reg = <0x21c0500 0x100>;
haikunf6580d02015-03-25 20:23:26 +0800297 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
haikunf6580d02015-03-25 20:23:26 +0800298 fifo-size = <15>;
299 status = "disabled";
300 };
301
302 uart1: serial@21c0600 {
303 compatible = "fsl,16550-FIFO64", "ns16550a";
haikunb9fe9e22015-03-24 21:16:31 +0800304 reg = <0x21c0600 0x100>;
haikunf6580d02015-03-25 20:23:26 +0800305 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
haikunf6580d02015-03-25 20:23:26 +0800306 fifo-size = <15>;
307 status = "disabled";
308 };
309
310 uart2: serial@21d0500 {
311 compatible = "fsl,16550-FIFO64", "ns16550a";
haikunb9fe9e22015-03-24 21:16:31 +0800312 reg = <0x21d0500 0x100>;
haikunf6580d02015-03-25 20:23:26 +0800313 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
haikunf6580d02015-03-25 20:23:26 +0800314 fifo-size = <15>;
315 status = "disabled";
316 };
317
318 uart3: serial@21d0600 {
319 compatible = "fsl,16550-FIFO64", "ns16550a";
haikunb9fe9e22015-03-24 21:16:31 +0800320 reg = <0x21d0600 0x100>;
haikunf6580d02015-03-25 20:23:26 +0800321 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
haikunf6580d02015-03-25 20:23:26 +0800322 fifo-size = <15>;
323 status = "disabled";
324 };
325
326 lpuart0: serial@2950000 {
327 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800328 reg = <0x2950000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800329 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
330 clocks = <&sysclk>;
331 clock-names = "ipg";
332 status = "disabled";
333 };
334
335 lpuart1: serial@2960000 {
336 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800337 reg = <0x2960000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800338 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
339 clocks = <&platform_clk 1>;
340 clock-names = "ipg";
341 status = "disabled";
342 };
343
344 lpuart2: serial@2970000 {
345 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800346 reg = <0x2970000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800347 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
348 clocks = <&platform_clk 1>;
349 clock-names = "ipg";
350 status = "disabled";
351 };
352
353 lpuart3: serial@2980000 {
354 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800355 reg = <0x2980000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800356 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
357 clocks = <&platform_clk 1>;
358 clock-names = "ipg";
359 status = "disabled";
360 };
361
362 lpuart4: serial@2990000 {
363 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800364 reg = <0x2990000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800365 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&platform_clk 1>;
367 clock-names = "ipg";
368 status = "disabled";
369 };
370
371 lpuart5: serial@29a0000 {
372 compatible = "fsl,ls1021a-lpuart";
haikunb9fe9e22015-03-24 21:16:31 +0800373 reg = <0x29a0000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800374 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&platform_clk 1>;
376 clock-names = "ipg";
377 status = "disabled";
378 };
379
380 wdog0: watchdog@2ad0000 {
381 compatible = "fsl,imx21-wdt";
haikunb9fe9e22015-03-24 21:16:31 +0800382 reg = <0x2ad0000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800383 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
384 clocks = <&platform_clk 1>;
385 clock-names = "wdog-en";
386 big-endian;
387 };
388
389 sai1: sai@2b50000 {
390 compatible = "fsl,vf610-sai";
haikunb9fe9e22015-03-24 21:16:31 +0800391 reg = <0x2b50000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800392 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&platform_clk 1>;
394 clock-names = "sai";
395 dma-names = "tx", "rx";
396 dmas = <&edma0 1 47>,
397 <&edma0 1 46>;
398 big-endian;
399 status = "disabled";
400 };
401
402 sai2: sai@2b60000 {
403 compatible = "fsl,vf610-sai";
haikunb9fe9e22015-03-24 21:16:31 +0800404 reg = <0x2b60000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800405 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
406 clocks = <&platform_clk 1>;
407 clock-names = "sai";
408 dma-names = "tx", "rx";
409 dmas = <&edma0 1 45>,
410 <&edma0 1 44>;
411 big-endian;
412 status = "disabled";
413 };
414
415 edma0: edma@2c00000 {
416 #dma-cells = <2>;
417 compatible = "fsl,vf610-edma";
haikunb9fe9e22015-03-24 21:16:31 +0800418 reg = <0x2c00000 0x10000>,
419 <0x2c10000 0x10000>,
420 <0x2c20000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800421 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
422 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
423 interrupt-names = "edma-tx", "edma-err";
424 dma-channels = <32>;
425 big-endian;
426 clock-names = "dmamux0", "dmamux1";
427 clocks = <&platform_clk 1>,
428 <&platform_clk 1>;
429 };
430
Bin Meng19c04602019-07-19 00:29:59 +0300431 enet0: ethernet@2d10000 {
432 compatible = "fsl,etsec2";
433 reg = <0x2d10000 0x1000>;
434 status = "disabled";
435 };
436
437 enet1: ethernet@2d50000 {
438 compatible = "fsl,etsec2";
439 reg = <0x2d50000 0x1000>;
440 status = "disabled";
441 };
442
443 enet2: ethernet@2d90000 {
444 compatible = "fsl,etsec2";
445 reg = <0x2d90000 0x1000>;
446 status = "disabled";
447 };
448
haikunf6580d02015-03-25 20:23:26 +0800449 mdio0: mdio@2d24000 {
Bin Meng19c04602019-07-19 00:29:59 +0300450 compatible = "fsl,etsec2-mdio";
451 reg = <0x2d24000 0x4000>;
haikunf6580d02015-03-25 20:23:26 +0800452 #address-cells = <1>;
453 #size-cells = <0>;
Bin Meng19c04602019-07-19 00:29:59 +0300454 };
455
456 mdio1: mdio@2d64000 {
457 compatible = "fsl,etsec2-mdio";
458 reg = <0x2d64000 0x4000>;
459 #address-cells = <1>;
460 #size-cells = <0>;
haikunf6580d02015-03-25 20:23:26 +0800461 };
462
463 usb@8600000 {
464 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
haikunb9fe9e22015-03-24 21:16:31 +0800465 reg = <0x8600000 0x1000>;
haikunf6580d02015-03-25 20:23:26 +0800466 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
467 dr_mode = "host";
468 phy_type = "ulpi";
469 };
470
471 usb3@3100000 {
Rajesh Bhagata1bc99d2016-07-01 18:51:48 +0530472 compatible = "fsl,layerscape-dwc3";
haikunb9fe9e22015-03-24 21:16:31 +0800473 reg = <0x3100000 0x10000>;
haikunf6580d02015-03-25 20:23:26 +0800474 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
475 dr_mode = "host";
476 };
Minghuan Lian4daab812016-12-13 14:54:11 +0800477
478 pcie@3400000 {
479 compatible = "fsl,ls-pcie", "snps,dw-pcie";
480 reg = <0x03400000 0x20000 /* dbi registers */
481 0x01570000 0x10000 /* pf controls registers */
482 0x24000000 0x20000>; /* configuration space */
483 reg-names = "dbi", "ctrl", "config";
484 big-endian;
485 #address-cells = <3>;
486 #size-cells = <2>;
487 device_type = "pci";
488 bus-range = <0x0 0xff>;
489 ranges = <0x81000000 0x0 0x00000000 0x24020000 0x0 0x00010000 /* downstream I/O */
490 0x82000000 0x0 0x28000000 0x28000000 0x0 0x08000000>; /* non-prefetchable memory */
491 };
492
493 pcie@3500000 {
494 compatible = "fsl,ls-pcie", "snps,dw-pcie";
495 reg = <0x03500000 0x10000 /* dbi registers */
496 0x01570000 0x10000 /* pf controls registers */
497 0x34000000 0x20000>; /* configuration space */
498 reg-names = "dbi", "ctrl", "config";
499 big-endian;
500 #address-cells = <3>;
501 #size-cells = <2>;
502 device_type = "pci";
503 num-lanes = <2>;
504 bus-range = <0x0 0xff>;
505 ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */
506 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */
507 };
Peng Ma739b3972018-08-01 14:15:41 +0800508
509 sata: sata@3200000 {
510 compatible = "fsl,ls1021a-ahci";
Peng Ma0b6bbbf2019-05-29 02:40:47 +0000511 reg = <0x3200000 0x10000 0x20220520 0x4>;
Michael Walle0234b5f2021-10-13 18:14:20 +0200512 reg-names = "ahci", "sata-ecc";
Peng Ma739b3972018-08-01 14:15:41 +0800513 interrupts = <0 101 4>;
514 status = "disabled";
515 };
haikunf6580d02015-03-25 20:23:26 +0800516 };
517};