arm: dts: Remove p1010-flexcan compatible from imx series dts
[linux-2.6-block.git] / arch / arm / boot / dts / ls1021a.dtsi
CommitLineData
7239280c
JL
1/*
2 * Copyright 2013-2014 Freescale Semiconductor, Inc.
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this file; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 * MA 02110-1301 USA
23 *
24 * Or, alternatively,
25 *
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
29 * restriction, including without limitation the rights to use,
30 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
33 * conditions:
34 *
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
37 *
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
46 */
47
48#include "skeleton64.dtsi"
49#include <dt-bindings/interrupt-controller/arm-gic.h>
4d9e9cbb 50#include <dt-bindings/thermal/thermal.h>
7239280c
JL
51
52/ {
53 compatible = "fsl,ls1021a";
54 interrupt-parent = <&gic>;
55
56 aliases {
816aa61c 57 crypto = &crypto;
d69cb5d7
CM
58 ethernet0 = &enet0;
59 ethernet1 = &enet1;
60 ethernet2 = &enet2;
7239280c
JL
61 serial0 = &lpuart0;
62 serial1 = &lpuart1;
63 serial2 = &lpuart2;
64 serial3 = &lpuart3;
65 serial4 = &lpuart4;
66 serial5 = &lpuart5;
67 sysclk = &sysclk;
68 };
69
70 cpus {
71 #address-cells = <1>;
72 #size-cells = <0>;
73
4d9e9cbb 74 cpu0: cpu@f00 {
7239280c
JL
75 compatible = "arm,cortex-a7";
76 device_type = "cpu";
77 reg = <0xf00>;
b6f5e701 78 clocks = <&clockgen 1 0>;
4d9e9cbb 79 #cooling-cells = <2>;
7239280c
JL
80 };
81
4d9e9cbb 82 cpu1: cpu@f01 {
7239280c
JL
83 compatible = "arm,cortex-a7";
84 device_type = "cpu";
85 reg = <0xf01>;
b6f5e701 86 clocks = <&clockgen 1 0>;
7239280c
JL
87 };
88 };
89
b6f5e701
YT
90 sysclk: sysclk {
91 compatible = "fixed-clock";
92 #clock-cells = <0>;
93 clock-frequency = <100000000>;
94 clock-output-names = "sysclk";
95 };
96
7239280c
JL
97 timer {
98 compatible = "arm,armv7-timer";
99 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
100 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
101 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
102 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
103 };
104
105 pmu {
106 compatible = "arm,cortex-a7-pmu";
107 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
108 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
109 };
110
111 soc {
112 compatible = "simple-bus";
113 #address-cells = <2>;
114 #size-cells = <2>;
115 device_type = "soc";
116 interrupt-parent = <&gic>;
117 ranges;
118
119 gic: interrupt-controller@1400000 {
387720c9 120 compatible = "arm,gic-400", "arm,cortex-a7-gic";
7239280c
JL
121 #interrupt-cells = <3>;
122 interrupt-controller;
123 reg = <0x0 0x1401000 0x0 0x1000>,
387720c9 124 <0x0 0x1402000 0x0 0x2000>,
7239280c
JL
125 <0x0 0x1404000 0x0 0x2000>,
126 <0x0 0x1406000 0x0 0x2000>;
127 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
128
129 };
130
f4a458fd 131 msi1: msi-controller@1570e00 {
c9041ea3 132 compatible = "fsl,ls1021a-msi";
f4a458fd
ML
133 reg = <0x0 0x1570e00 0x0 0x8>;
134 msi-controller;
135 interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
136 };
137
138 msi2: msi-controller@1570e08 {
c9041ea3 139 compatible = "fsl,ls1021a-msi";
f4a458fd
ML
140 reg = <0x0 0x1570e08 0x0 0x8>;
141 msi-controller;
142 interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
143 };
144
7239280c
JL
145 ifc: ifc@1530000 {
146 compatible = "fsl,ifc", "simple-bus";
147 reg = <0x0 0x1530000 0x0 0x10000>;
148 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
149 };
150
151 dcfg: dcfg@1ee0000 {
152 compatible = "fsl,ls1021a-dcfg", "syscon";
153 reg = <0x0 0x1ee0000 0x0 0x10000>;
154 big-endian;
155 };
156
157 esdhc: esdhc@1560000 {
158 compatible = "fsl,esdhc";
159 reg = <0x0 0x1560000 0x0 0x10000>;
160 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
161 clock-frequency = <0>;
162 voltage-ranges = <1800 1800 3300 3300>;
163 sdhci,auto-cmd12;
164 big-endian;
165 bus-width = <4>;
166 status = "disabled";
167 };
168
318f05e5
TY
169 sata: sata@3200000 {
170 compatible = "fsl,ls1021a-ahci";
171 reg = <0x0 0x3200000 0x0 0x10000>,
172 <0x0 0x20220520 0x0 0x4>;
173 reg-names = "ahci", "sata-ecc";
174 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 175 clocks = <&clockgen 4 1>;
318f05e5
TY
176 dma-coherent;
177 status = "disabled";
178 };
179
7239280c
JL
180 scfg: scfg@1570000 {
181 compatible = "fsl,ls1021a-scfg", "syscon";
182 reg = <0x0 0x1570000 0x0 0x10000>;
4fe6be0f 183 big-endian;
7239280c
JL
184 };
185
816aa61c
HG
186 crypto: crypto@1700000 {
187 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
188 fsl,sec-era = <7>;
189 #address-cells = <1>;
190 #size-cells = <1>;
191 reg = <0x0 0x1700000 0x0 0x100000>;
192 ranges = <0x0 0x0 0x1700000 0x100000>;
193 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
194
195 sec_jr0: jr@10000 {
196 compatible = "fsl,sec-v5.0-job-ring",
197 "fsl,sec-v4.0-job-ring";
198 reg = <0x10000 0x10000>;
199 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
200 };
201
202 sec_jr1: jr@20000 {
203 compatible = "fsl,sec-v5.0-job-ring",
204 "fsl,sec-v4.0-job-ring";
205 reg = <0x20000 0x10000>;
206 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
207 };
208
209 sec_jr2: jr@30000 {
210 compatible = "fsl,sec-v5.0-job-ring",
211 "fsl,sec-v4.0-job-ring";
212 reg = <0x30000 0x10000>;
213 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
214 };
215
216 sec_jr3: jr@40000 {
217 compatible = "fsl,sec-v5.0-job-ring",
218 "fsl,sec-v4.0-job-ring";
219 reg = <0x40000 0x10000>;
220 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
221 };
222
223 };
224
7239280c 225 clockgen: clocking@1ee1000 {
b6f5e701
YT
226 compatible = "fsl,ls1021a-clockgen";
227 reg = <0x0 0x1ee1000 0x0 0x1000>;
228 #clock-cells = <2>;
229 clocks = <&sysclk>;
7239280c
JL
230 };
231
4d9e9cbb
HJ
232 tmu: tmu@1f00000 {
233 compatible = "fsl,qoriq-tmu";
234 reg = <0x0 0x1f00000 0x0 0x10000>;
235 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
236 fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x30061>;
237 fsl,tmu-calibration = <0x00000000 0x0000000f
238 0x00000001 0x00000017
239 0x00000002 0x0000001e
240 0x00000003 0x00000026
241 0x00000004 0x0000002e
242 0x00000005 0x00000035
243 0x00000006 0x0000003d
244 0x00000007 0x00000044
245 0x00000008 0x0000004c
246 0x00000009 0x00000053
247 0x0000000a 0x0000005b
248 0x0000000b 0x00000064
249
250 0x00010000 0x00000011
251 0x00010001 0x0000001c
252 0x00010002 0x00000024
253 0x00010003 0x0000002b
254 0x00010004 0x00000034
255 0x00010005 0x00000039
256 0x00010006 0x00000042
257 0x00010007 0x0000004c
258 0x00010008 0x00000051
259 0x00010009 0x0000005a
260 0x0001000a 0x00000063
261
262 0x00020000 0x00000013
263 0x00020001 0x00000019
264 0x00020002 0x00000024
265 0x00020003 0x0000002c
266 0x00020004 0x00000035
267 0x00020005 0x0000003d
268 0x00020006 0x00000046
269 0x00020007 0x00000050
270 0x00020008 0x00000059
271
272 0x00030000 0x00000002
273 0x00030001 0x0000000d
274 0x00030002 0x00000019
275 0x00030003 0x00000024>;
276 #thermal-sensor-cells = <1>;
277 };
278
279 thermal-zones {
280 cpu_thermal: cpu-thermal {
281 polling-delay-passive = <1000>;
282 polling-delay = <5000>;
283
284 thermal-sensors = <&tmu 0>;
285
286 trips {
287 cpu_alert: cpu-alert {
288 temperature = <85000>;
289 hysteresis = <2000>;
290 type = "passive";
291 };
292 cpu_crit: cpu-crit {
293 temperature = <95000>;
294 hysteresis = <2000>;
295 type = "critical";
296 };
297 };
298
299 cooling-maps {
300 map0 {
301 trip = <&cpu_alert>;
302 cooling-device =
303 <&cpu0 THERMAL_NO_LIMIT
304 THERMAL_NO_LIMIT>;
305 };
306 };
307 };
308 };
309
7239280c 310 dspi0: dspi@2100000 {
c47d6e38 311 compatible = "fsl,ls1021a-v1.0-dspi";
7239280c
JL
312 #address-cells = <1>;
313 #size-cells = <0>;
314 reg = <0x0 0x2100000 0x0 0x10000>;
315 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
316 clock-names = "dspi";
b6f5e701 317 clocks = <&clockgen 4 1>;
5b9f967c 318 spi-num-chipselects = <6>;
7239280c
JL
319 big-endian;
320 status = "disabled";
321 };
322
323 dspi1: dspi@2110000 {
c47d6e38 324 compatible = "fsl,ls1021a-v1.0-dspi";
7239280c
JL
325 #address-cells = <1>;
326 #size-cells = <0>;
327 reg = <0x0 0x2110000 0x0 0x10000>;
328 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
329 clock-names = "dspi";
b6f5e701 330 clocks = <&clockgen 4 1>;
5b9f967c 331 spi-num-chipselects = <6>;
7239280c
JL
332 big-endian;
333 status = "disabled";
334 };
335
336 i2c0: i2c@2180000 {
337 compatible = "fsl,vf610-i2c";
338 #address-cells = <1>;
339 #size-cells = <0>;
340 reg = <0x0 0x2180000 0x0 0x10000>;
341 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
342 clock-names = "i2c";
b6f5e701 343 clocks = <&clockgen 4 1>;
7239280c
JL
344 status = "disabled";
345 };
346
347 i2c1: i2c@2190000 {
348 compatible = "fsl,vf610-i2c";
349 #address-cells = <1>;
350 #size-cells = <0>;
351 reg = <0x0 0x2190000 0x0 0x10000>;
352 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
353 clock-names = "i2c";
b6f5e701 354 clocks = <&clockgen 4 1>;
7239280c
JL
355 status = "disabled";
356 };
357
358 i2c2: i2c@21a0000 {
359 compatible = "fsl,vf610-i2c";
360 #address-cells = <1>;
361 #size-cells = <0>;
362 reg = <0x0 0x21a0000 0x0 0x10000>;
363 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
364 clock-names = "i2c";
b6f5e701 365 clocks = <&clockgen 4 1>;
7239280c
JL
366 status = "disabled";
367 };
368
369 uart0: serial@21c0500 {
370 compatible = "fsl,16550-FIFO64", "ns16550a";
371 reg = <0x0 0x21c0500 0x0 0x100>;
372 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
373 clock-frequency = <0>;
374 fifo-size = <15>;
375 status = "disabled";
376 };
377
378 uart1: serial@21c0600 {
379 compatible = "fsl,16550-FIFO64", "ns16550a";
380 reg = <0x0 0x21c0600 0x0 0x100>;
381 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
382 clock-frequency = <0>;
383 fifo-size = <15>;
384 status = "disabled";
385 };
386
387 uart2: serial@21d0500 {
388 compatible = "fsl,16550-FIFO64", "ns16550a";
389 reg = <0x0 0x21d0500 0x0 0x100>;
390 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
391 clock-frequency = <0>;
392 fifo-size = <15>;
393 status = "disabled";
394 };
395
396 uart3: serial@21d0600 {
397 compatible = "fsl,16550-FIFO64", "ns16550a";
398 reg = <0x0 0x21d0600 0x0 0x100>;
399 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
400 clock-frequency = <0>;
401 fifo-size = <15>;
402 status = "disabled";
403 };
404
c54dd442
LG
405 gpio0: gpio@2300000 {
406 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
407 reg = <0x0 0x2300000 0x0 0x10000>;
408 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
409 gpio-controller;
410 #gpio-cells = <2>;
411 interrupt-controller;
412 #interrupt-cells = <2>;
413 };
414
415 gpio1: gpio@2310000 {
416 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
417 reg = <0x0 0x2310000 0x0 0x10000>;
418 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
419 gpio-controller;
420 #gpio-cells = <2>;
421 interrupt-controller;
422 #interrupt-cells = <2>;
423 };
424
425 gpio2: gpio@2320000 {
426 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
427 reg = <0x0 0x2320000 0x0 0x10000>;
428 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
429 gpio-controller;
430 #gpio-cells = <2>;
431 interrupt-controller;
432 #interrupt-cells = <2>;
433 };
434
435 gpio3: gpio@2330000 {
436 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
437 reg = <0x0 0x2330000 0x0 0x10000>;
438 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
439 gpio-controller;
440 #gpio-cells = <2>;
441 interrupt-controller;
442 #interrupt-cells = <2>;
443 };
444
7239280c
JL
445 lpuart0: serial@2950000 {
446 compatible = "fsl,ls1021a-lpuart";
447 reg = <0x0 0x2950000 0x0 0x1000>;
448 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
449 clocks = <&sysclk>;
450 clock-names = "ipg";
451 status = "disabled";
452 };
453
454 lpuart1: serial@2960000 {
455 compatible = "fsl,ls1021a-lpuart";
456 reg = <0x0 0x2960000 0x0 0x1000>;
457 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 458 clocks = <&clockgen 4 1>;
7239280c
JL
459 clock-names = "ipg";
460 status = "disabled";
461 };
462
463 lpuart2: serial@2970000 {
464 compatible = "fsl,ls1021a-lpuart";
465 reg = <0x0 0x2970000 0x0 0x1000>;
466 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 467 clocks = <&clockgen 4 1>;
7239280c
JL
468 clock-names = "ipg";
469 status = "disabled";
470 };
471
472 lpuart3: serial@2980000 {
473 compatible = "fsl,ls1021a-lpuart";
474 reg = <0x0 0x2980000 0x0 0x1000>;
475 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 476 clocks = <&clockgen 4 1>;
7239280c
JL
477 clock-names = "ipg";
478 status = "disabled";
479 };
480
481 lpuart4: serial@2990000 {
482 compatible = "fsl,ls1021a-lpuart";
483 reg = <0x0 0x2990000 0x0 0x1000>;
484 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 485 clocks = <&clockgen 4 1>;
7239280c
JL
486 clock-names = "ipg";
487 status = "disabled";
488 };
489
490 lpuart5: serial@29a0000 {
491 compatible = "fsl,ls1021a-lpuart";
492 reg = <0x0 0x29a0000 0x0 0x1000>;
493 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 494 clocks = <&clockgen 4 1>;
7239280c
JL
495 clock-names = "ipg";
496 status = "disabled";
497 };
498
499 wdog0: watchdog@2ad0000 {
500 compatible = "fsl,imx21-wdt";
501 reg = <0x0 0x2ad0000 0x0 0x10000>;
502 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701 503 clocks = <&clockgen 4 1>;
7239280c
JL
504 clock-names = "wdog-en";
505 big-endian;
506 };
507
508 sai1: sai@2b50000 {
50897cb6 509 #sound-dai-cells = <0>;
7239280c
JL
510 compatible = "fsl,vf610-sai";
511 reg = <0x0 0x2b50000 0x0 0x10000>;
512 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701
YT
513 clocks = <&clockgen 4 1>, <&clockgen 4 1>,
514 <&clockgen 4 1>, <&clockgen 4 1>;
50897cb6 515 clock-names = "bus", "mclk1", "mclk2", "mclk3";
7239280c
JL
516 dma-names = "tx", "rx";
517 dmas = <&edma0 1 47>,
518 <&edma0 1 46>;
7239280c
JL
519 status = "disabled";
520 };
521
522 sai2: sai@2b60000 {
50897cb6 523 #sound-dai-cells = <0>;
7239280c
JL
524 compatible = "fsl,vf610-sai";
525 reg = <0x0 0x2b60000 0x0 0x10000>;
526 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701
YT
527 clocks = <&clockgen 4 1>, <&clockgen 4 1>,
528 <&clockgen 4 1>, <&clockgen 4 1>;
50897cb6 529 clock-names = "bus", "mclk1", "mclk2", "mclk3";
7239280c
JL
530 dma-names = "tx", "rx";
531 dmas = <&edma0 1 45>,
532 <&edma0 1 44>;
7239280c
JL
533 status = "disabled";
534 };
535
536 edma0: edma@2c00000 {
537 #dma-cells = <2>;
538 compatible = "fsl,vf610-edma";
539 reg = <0x0 0x2c00000 0x0 0x10000>,
540 <0x0 0x2c10000 0x0 0x10000>,
541 <0x0 0x2c20000 0x0 0x10000>;
542 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
543 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
544 interrupt-names = "edma-tx", "edma-err";
545 dma-channels = <32>;
546 big-endian;
547 clock-names = "dmamux0", "dmamux1";
b6f5e701
YT
548 clocks = <&clockgen 4 1>,
549 <&clockgen 4 1>;
7239280c
JL
550 };
551
ab0087df
MY
552 dcu: dcu@2ce0000 {
553 compatible = "fsl,ls1021a-dcu";
554 reg = <0x0 0x2ce0000 0x0 0x10000>;
555 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
b6f5e701
YT
556 clocks = <&clockgen 4 0>,
557 <&clockgen 4 0>;
5d01e99e 558 clock-names = "dcu", "pix";
ab0087df
MY
559 big-endian;
560 status = "disabled";
561 };
562
7239280c
JL
563 mdio0: mdio@2d24000 {
564 compatible = "gianfar";
565 device_type = "mdio";
566 #address-cells = <1>;
567 #size-cells = <0>;
568 reg = <0x0 0x2d24000 0x0 0x4000>;
569 };
570
3db66fdc
YL
571 ptp_clock@2d10e00 {
572 compatible = "fsl,etsec-ptp";
573 reg = <0x0 0x2d10e00 0x0 0xb0>;
574 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
575 fsl,tclk-period = <5>;
576 fsl,tmr-prsc = <2>;
577 fsl,tmr-add = <0xaaaaaaab>;
578 fsl,tmr-fiper1 = <999999990>;
579 fsl,tmr-fiper2 = <99990>;
580 fsl,max-adj = <499999999>;
581 };
582
d69cb5d7
CM
583 enet0: ethernet@2d10000 {
584 compatible = "fsl,etsec2";
585 device_type = "network";
586 #address-cells = <2>;
587 #size-cells = <2>;
588 interrupt-parent = <&gic>;
589 model = "eTSEC";
590 fsl,magic-packet;
591 ranges;
70b5ea97 592 dma-coherent;
d69cb5d7
CM
593
594 queue-group@2d10000 {
595 #address-cells = <2>;
596 #size-cells = <2>;
597 reg = <0x0 0x2d10000 0x0 0x1000>;
598 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
599 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
600 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
601 };
602
603 queue-group@2d14000 {
604 #address-cells = <2>;
605 #size-cells = <2>;
606 reg = <0x0 0x2d14000 0x0 0x1000>;
607 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
608 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
609 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
610 };
611 };
612
613 enet1: ethernet@2d50000 {
614 compatible = "fsl,etsec2";
615 device_type = "network";
616 #address-cells = <2>;
617 #size-cells = <2>;
618 interrupt-parent = <&gic>;
619 model = "eTSEC";
620 ranges;
70b5ea97 621 dma-coherent;
d69cb5d7
CM
622
623 queue-group@2d50000 {
624 #address-cells = <2>;
625 #size-cells = <2>;
626 reg = <0x0 0x2d50000 0x0 0x1000>;
627 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
628 <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
629 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
630 };
631
632 queue-group@2d54000 {
633 #address-cells = <2>;
634 #size-cells = <2>;
635 reg = <0x0 0x2d54000 0x0 0x1000>;
636 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
637 <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
638 <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
639 };
640 };
641
642 enet2: ethernet@2d90000 {
643 compatible = "fsl,etsec2";
644 device_type = "network";
645 #address-cells = <2>;
646 #size-cells = <2>;
647 interrupt-parent = <&gic>;
648 model = "eTSEC";
649 ranges;
70b5ea97 650 dma-coherent;
d69cb5d7
CM
651
652 queue-group@2d90000 {
653 #address-cells = <2>;
654 #size-cells = <2>;
655 reg = <0x0 0x2d90000 0x0 0x1000>;
656 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
657 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
658 <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
659 };
660
661 queue-group@2d94000 {
662 #address-cells = <2>;
663 #size-cells = <2>;
664 reg = <0x0 0x2d94000 0x0 0x1000>;
665 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
666 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
667 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
668 };
669 };
670
7239280c
JL
671 usb@8600000 {
672 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
673 reg = <0x0 0x8600000 0x0 0x1000>;
674 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
675 dr_mode = "host";
676 phy_type = "ulpi";
677 };
678
679 usb3@3100000 {
680 compatible = "snps,dwc3";
681 reg = <0x0 0x3100000 0x0 0x10000>;
682 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
683 dr_mode = "host";
607e266c 684 snps,quirk-frame-length-adjustment = <0x20>;
6f0808c4 685 snps,dis_rxdet_inp3_quirk;
7239280c 686 };
bc7abb47
ML
687
688 pcie@3400000 {
689 compatible = "fsl,ls1021a-pcie", "snps,dw-pcie";
690 reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */
691 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
692 reg-names = "regs", "config";
693 interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
694 fsl,pcie-scfg = <&scfg 0>;
695 #address-cells = <3>;
696 #size-cells = <2>;
697 device_type = "pci";
698 num-lanes = <4>;
699 bus-range = <0x0 0xff>;
700 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
701 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
df301588 702 msi-parent = <&msi1>, <&msi2>;
bc7abb47
ML
703 #interrupt-cells = <1>;
704 interrupt-map-mask = <0 0 0 7>;
705 interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
706 <0000 0 0 2 &gic GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
707 <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
708 <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
709 };
710
711 pcie@3500000 {
712 compatible = "fsl,ls1021a-pcie", "snps,dw-pcie";
713 reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */
714 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
715 reg-names = "regs", "config";
716 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
717 fsl,pcie-scfg = <&scfg 1>;
718 #address-cells = <3>;
719 #size-cells = <2>;
720 device_type = "pci";
721 num-lanes = <4>;
722 bus-range = <0x0 0xff>;
723 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
724 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
df301588 725 msi-parent = <&msi1>, <&msi2>;
bc7abb47
ML
726 #interrupt-cells = <1>;
727 interrupt-map-mask = <0 0 0 7>;
728 interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
729 <0000 0 0 2 &gic GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
730 <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
731 <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
732 };
7239280c
JL
733 };
734};