2 * Copyright 2013-2014 Freescale Semiconductor, Inc.
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
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.
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.
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,
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
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
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.
48 #include "skeleton64.dtsi"
49 #include <dt-bindings/interrupt-controller/arm-gic.h>
52 compatible = "fsl,ls1021a";
53 interrupt-parent = <&gic>;
74 compatible = "arm,cortex-a7";
77 clocks = <&cluster1_clk>;
81 compatible = "arm,cortex-a7";
84 clocks = <&cluster1_clk>;
89 compatible = "arm,armv7-timer";
90 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
91 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
92 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
93 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
97 compatible = "arm,cortex-a7-pmu";
98 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
99 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
103 compatible = "simple-bus";
104 #address-cells = <2>;
107 interrupt-parent = <&gic>;
110 gic: interrupt-controller@1400000 {
111 compatible = "arm,cortex-a7-gic";
112 #interrupt-cells = <3>;
113 interrupt-controller;
114 reg = <0x0 0x1401000 0x0 0x1000>,
115 <0x0 0x1402000 0x0 0x1000>,
116 <0x0 0x1404000 0x0 0x2000>,
117 <0x0 0x1406000 0x0 0x2000>;
118 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
122 msi1: msi-controller@1570e00 {
123 compatible = "fsl,1s1021a-msi";
124 reg = <0x0 0x1570e00 0x0 0x8>;
126 interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
129 msi2: msi-controller@1570e08 {
130 compatible = "fsl,1s1021a-msi";
131 reg = <0x0 0x1570e08 0x0 0x8>;
133 interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
137 compatible = "fsl,ifc", "simple-bus";
138 reg = <0x0 0x1530000 0x0 0x10000>;
139 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
143 compatible = "fsl,ls1021a-dcfg", "syscon";
144 reg = <0x0 0x1ee0000 0x0 0x10000>;
148 esdhc: esdhc@1560000 {
149 compatible = "fsl,esdhc";
150 reg = <0x0 0x1560000 0x0 0x10000>;
151 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
152 clock-frequency = <0>;
153 voltage-ranges = <1800 1800 3300 3300>;
161 compatible = "fsl,ls1021a-ahci";
162 reg = <0x0 0x3200000 0x0 0x10000>,
163 <0x0 0x20220520 0x0 0x4>;
164 reg-names = "ahci", "sata-ecc";
165 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
166 clocks = <&platform_clk 1>;
172 compatible = "fsl,ls1021a-scfg", "syscon";
173 reg = <0x0 0x1570000 0x0 0x10000>;
177 crypto: crypto@1700000 {
178 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
180 #address-cells = <1>;
182 reg = <0x0 0x1700000 0x0 0x100000>;
183 ranges = <0x0 0x0 0x1700000 0x100000>;
184 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
187 compatible = "fsl,sec-v5.0-job-ring",
188 "fsl,sec-v4.0-job-ring";
189 reg = <0x10000 0x10000>;
190 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
194 compatible = "fsl,sec-v5.0-job-ring",
195 "fsl,sec-v4.0-job-ring";
196 reg = <0x20000 0x10000>;
197 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
201 compatible = "fsl,sec-v5.0-job-ring",
202 "fsl,sec-v4.0-job-ring";
203 reg = <0x30000 0x10000>;
204 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
208 compatible = "fsl,sec-v5.0-job-ring",
209 "fsl,sec-v4.0-job-ring";
210 reg = <0x40000 0x10000>;
211 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
216 clockgen: clocking@1ee1000 {
217 #address-cells = <1>;
219 ranges = <0x0 0x0 0x1ee1000 0x10000>;
222 compatible = "fixed-clock";
224 clock-output-names = "sysclk";
228 compatible = "fsl,qoriq-core-pll-2.0";
232 clock-output-names = "cga-pll1", "cga-pll1-div2",
236 platform_clk: pll@c00 {
237 compatible = "fsl,qoriq-core-pll-2.0";
241 clock-output-names = "platform-clk", "platform-clk-div2";
244 cluster1_clk: clk0c0@0 {
245 compatible = "fsl,qoriq-core-mux-2.0";
248 clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4";
249 clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>;
250 clock-output-names = "cluster1-clk";
254 dspi0: dspi@2100000 {
255 compatible = "fsl,ls1021a-v1.0-dspi";
256 #address-cells = <1>;
258 reg = <0x0 0x2100000 0x0 0x10000>;
259 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
260 clock-names = "dspi";
261 clocks = <&platform_clk 1>;
262 spi-num-chipselects = <6>;
267 dspi1: dspi@2110000 {
268 compatible = "fsl,ls1021a-v1.0-dspi";
269 #address-cells = <1>;
271 reg = <0x0 0x2110000 0x0 0x10000>;
272 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
273 clock-names = "dspi";
274 clocks = <&platform_clk 1>;
275 spi-num-chipselects = <6>;
281 compatible = "fsl,vf610-i2c";
282 #address-cells = <1>;
284 reg = <0x0 0x2180000 0x0 0x10000>;
285 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&platform_clk 1>;
292 compatible = "fsl,vf610-i2c";
293 #address-cells = <1>;
295 reg = <0x0 0x2190000 0x0 0x10000>;
296 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
298 clocks = <&platform_clk 1>;
303 compatible = "fsl,vf610-i2c";
304 #address-cells = <1>;
306 reg = <0x0 0x21a0000 0x0 0x10000>;
307 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&platform_clk 1>;
313 uart0: serial@21c0500 {
314 compatible = "fsl,16550-FIFO64", "ns16550a";
315 reg = <0x0 0x21c0500 0x0 0x100>;
316 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
317 clock-frequency = <0>;
322 uart1: serial@21c0600 {
323 compatible = "fsl,16550-FIFO64", "ns16550a";
324 reg = <0x0 0x21c0600 0x0 0x100>;
325 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
326 clock-frequency = <0>;
331 uart2: serial@21d0500 {
332 compatible = "fsl,16550-FIFO64", "ns16550a";
333 reg = <0x0 0x21d0500 0x0 0x100>;
334 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
335 clock-frequency = <0>;
340 uart3: serial@21d0600 {
341 compatible = "fsl,16550-FIFO64", "ns16550a";
342 reg = <0x0 0x21d0600 0x0 0x100>;
343 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
344 clock-frequency = <0>;
349 gpio0: gpio@2300000 {
350 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
351 reg = <0x0 0x2300000 0x0 0x10000>;
352 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
355 interrupt-controller;
356 #interrupt-cells = <2>;
359 gpio1: gpio@2310000 {
360 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
361 reg = <0x0 0x2310000 0x0 0x10000>;
362 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
365 interrupt-controller;
366 #interrupt-cells = <2>;
369 gpio2: gpio@2320000 {
370 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
371 reg = <0x0 0x2320000 0x0 0x10000>;
372 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
375 interrupt-controller;
376 #interrupt-cells = <2>;
379 gpio3: gpio@2330000 {
380 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
381 reg = <0x0 0x2330000 0x0 0x10000>;
382 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
385 interrupt-controller;
386 #interrupt-cells = <2>;
389 lpuart0: serial@2950000 {
390 compatible = "fsl,ls1021a-lpuart";
391 reg = <0x0 0x2950000 0x0 0x1000>;
392 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
398 lpuart1: serial@2960000 {
399 compatible = "fsl,ls1021a-lpuart";
400 reg = <0x0 0x2960000 0x0 0x1000>;
401 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
402 clocks = <&platform_clk 1>;
407 lpuart2: serial@2970000 {
408 compatible = "fsl,ls1021a-lpuart";
409 reg = <0x0 0x2970000 0x0 0x1000>;
410 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
411 clocks = <&platform_clk 1>;
416 lpuart3: serial@2980000 {
417 compatible = "fsl,ls1021a-lpuart";
418 reg = <0x0 0x2980000 0x0 0x1000>;
419 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
420 clocks = <&platform_clk 1>;
425 lpuart4: serial@2990000 {
426 compatible = "fsl,ls1021a-lpuart";
427 reg = <0x0 0x2990000 0x0 0x1000>;
428 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
429 clocks = <&platform_clk 1>;
434 lpuart5: serial@29a0000 {
435 compatible = "fsl,ls1021a-lpuart";
436 reg = <0x0 0x29a0000 0x0 0x1000>;
437 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&platform_clk 1>;
443 wdog0: watchdog@2ad0000 {
444 compatible = "fsl,imx21-wdt";
445 reg = <0x0 0x2ad0000 0x0 0x10000>;
446 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
447 clocks = <&platform_clk 1>;
448 clock-names = "wdog-en";
453 #sound-dai-cells = <0>;
454 compatible = "fsl,vf610-sai";
455 reg = <0x0 0x2b50000 0x0 0x10000>;
456 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&platform_clk 1>, <&platform_clk 1>,
458 <&platform_clk 1>, <&platform_clk 1>;
459 clock-names = "bus", "mclk1", "mclk2", "mclk3";
460 dma-names = "tx", "rx";
461 dmas = <&edma0 1 47>,
467 #sound-dai-cells = <0>;
468 compatible = "fsl,vf610-sai";
469 reg = <0x0 0x2b60000 0x0 0x10000>;
470 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
471 clocks = <&platform_clk 1>, <&platform_clk 1>,
472 <&platform_clk 1>, <&platform_clk 1>;
473 clock-names = "bus", "mclk1", "mclk2", "mclk3";
474 dma-names = "tx", "rx";
475 dmas = <&edma0 1 45>,
480 edma0: edma@2c00000 {
482 compatible = "fsl,vf610-edma";
483 reg = <0x0 0x2c00000 0x0 0x10000>,
484 <0x0 0x2c10000 0x0 0x10000>,
485 <0x0 0x2c20000 0x0 0x10000>;
486 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
487 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
488 interrupt-names = "edma-tx", "edma-err";
491 clock-names = "dmamux0", "dmamux1";
492 clocks = <&platform_clk 1>,
497 compatible = "fsl,ls1021a-dcu";
498 reg = <0x0 0x2ce0000 0x0 0x10000>;
499 interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
500 clocks = <&platform_clk 0>,
502 clock-names = "dcu", "pix";
507 mdio0: mdio@2d24000 {
508 compatible = "gianfar";
509 device_type = "mdio";
510 #address-cells = <1>;
512 reg = <0x0 0x2d24000 0x0 0x4000>;
516 compatible = "fsl,etsec-ptp";
517 reg = <0x0 0x2d10e00 0x0 0xb0>;
518 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
519 fsl,tclk-period = <5>;
521 fsl,tmr-add = <0xaaaaaaab>;
522 fsl,tmr-fiper1 = <999999990>;
523 fsl,tmr-fiper2 = <99990>;
524 fsl,max-adj = <499999999>;
527 enet0: ethernet@2d10000 {
528 compatible = "fsl,etsec2";
529 device_type = "network";
530 #address-cells = <2>;
532 interrupt-parent = <&gic>;
538 queue-group@2d10000 {
539 #address-cells = <2>;
541 reg = <0x0 0x2d10000 0x0 0x1000>;
542 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
543 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
544 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
547 queue-group@2d14000 {
548 #address-cells = <2>;
550 reg = <0x0 0x2d14000 0x0 0x1000>;
551 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
552 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
557 enet1: ethernet@2d50000 {
558 compatible = "fsl,etsec2";
559 device_type = "network";
560 #address-cells = <2>;
562 interrupt-parent = <&gic>;
567 queue-group@2d50000 {
568 #address-cells = <2>;
570 reg = <0x0 0x2d50000 0x0 0x1000>;
571 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
572 <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
573 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
576 queue-group@2d54000 {
577 #address-cells = <2>;
579 reg = <0x0 0x2d54000 0x0 0x1000>;
580 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
581 <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
582 <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
586 enet2: ethernet@2d90000 {
587 compatible = "fsl,etsec2";
588 device_type = "network";
589 #address-cells = <2>;
591 interrupt-parent = <&gic>;
596 queue-group@2d90000 {
597 #address-cells = <2>;
599 reg = <0x0 0x2d90000 0x0 0x1000>;
600 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
601 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
602 <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
605 queue-group@2d94000 {
606 #address-cells = <2>;
608 reg = <0x0 0x2d94000 0x0 0x1000>;
609 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
610 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
611 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
616 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
617 reg = <0x0 0x8600000 0x0 0x1000>;
618 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
624 compatible = "snps,dwc3";
625 reg = <0x0 0x3100000 0x0 0x10000>;
626 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
628 snps,quirk-frame-length-adjustment = <0x20>;
632 compatible = "fsl,ls1021a-pcie", "snps,dw-pcie";
633 reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */
634 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
635 reg-names = "regs", "config";
636 interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
637 fsl,pcie-scfg = <&scfg 0>;
638 #address-cells = <3>;
642 bus-range = <0x0 0xff>;
643 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
644 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
645 msi-parent = <&msi1>;
646 #interrupt-cells = <1>;
647 interrupt-map-mask = <0 0 0 7>;
648 interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
649 <0000 0 0 2 &gic GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
650 <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
651 <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
655 compatible = "fsl,ls1021a-pcie", "snps,dw-pcie";
656 reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */
657 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
658 reg-names = "regs", "config";
659 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
660 fsl,pcie-scfg = <&scfg 1>;
661 #address-cells = <3>;
665 bus-range = <0x0 0xff>;
666 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
667 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
668 msi-parent = <&msi2>;
669 #interrupt-cells = <1>;
670 interrupt-map-mask = <0 0 0 7>;
671 interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
672 <0000 0 0 2 &gic GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
673 <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
674 <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;