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)>;
123 compatible = "fsl,ifc", "simple-bus";
124 reg = <0x0 0x1530000 0x0 0x10000>;
125 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
129 compatible = "fsl,ls1021a-dcfg", "syscon";
130 reg = <0x0 0x1ee0000 0x0 0x10000>;
134 esdhc: esdhc@1560000 {
135 compatible = "fsl,esdhc";
136 reg = <0x0 0x1560000 0x0 0x10000>;
137 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
138 clock-frequency = <0>;
139 voltage-ranges = <1800 1800 3300 3300>;
147 compatible = "fsl,ls1021a-scfg", "syscon";
148 reg = <0x0 0x1570000 0x0 0x10000>;
152 crypto: crypto@1700000 {
153 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
155 #address-cells = <1>;
157 reg = <0x0 0x1700000 0x0 0x100000>;
158 ranges = <0x0 0x0 0x1700000 0x100000>;
159 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
162 compatible = "fsl,sec-v5.0-job-ring",
163 "fsl,sec-v4.0-job-ring";
164 reg = <0x10000 0x10000>;
165 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
169 compatible = "fsl,sec-v5.0-job-ring",
170 "fsl,sec-v4.0-job-ring";
171 reg = <0x20000 0x10000>;
172 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
176 compatible = "fsl,sec-v5.0-job-ring",
177 "fsl,sec-v4.0-job-ring";
178 reg = <0x30000 0x10000>;
179 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
183 compatible = "fsl,sec-v5.0-job-ring",
184 "fsl,sec-v4.0-job-ring";
185 reg = <0x40000 0x10000>;
186 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
191 clockgen: clocking@1ee1000 {
192 #address-cells = <1>;
194 ranges = <0x0 0x0 0x1ee1000 0x10000>;
197 compatible = "fixed-clock";
199 clock-output-names = "sysclk";
203 compatible = "fsl,qoriq-core-pll-2.0";
207 clock-output-names = "cga-pll1", "cga-pll1-div2",
211 platform_clk: pll@c00 {
212 compatible = "fsl,qoriq-core-pll-2.0";
216 clock-output-names = "platform-clk", "platform-clk-div2";
219 cluster1_clk: clk0c0@0 {
220 compatible = "fsl,qoriq-core-mux-2.0";
223 clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4";
224 clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>;
225 clock-output-names = "cluster1-clk";
229 dspi0: dspi@2100000 {
230 compatible = "fsl,ls1021a-v1.0-dspi";
231 #address-cells = <1>;
233 reg = <0x0 0x2100000 0x0 0x10000>;
234 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
235 clock-names = "dspi";
236 clocks = <&platform_clk 1>;
237 spi-num-chipselects = <5>;
242 dspi1: dspi@2110000 {
243 compatible = "fsl,ls1021a-v1.0-dspi";
244 #address-cells = <1>;
246 reg = <0x0 0x2110000 0x0 0x10000>;
247 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
248 clock-names = "dspi";
249 clocks = <&platform_clk 1>;
250 spi-num-chipselects = <5>;
256 compatible = "fsl,vf610-i2c";
257 #address-cells = <1>;
259 reg = <0x0 0x2180000 0x0 0x10000>;
260 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
262 clocks = <&platform_clk 1>;
267 compatible = "fsl,vf610-i2c";
268 #address-cells = <1>;
270 reg = <0x0 0x2190000 0x0 0x10000>;
271 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
273 clocks = <&platform_clk 1>;
278 compatible = "fsl,vf610-i2c";
279 #address-cells = <1>;
281 reg = <0x0 0x21a0000 0x0 0x10000>;
282 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
284 clocks = <&platform_clk 1>;
288 uart0: serial@21c0500 {
289 compatible = "fsl,16550-FIFO64", "ns16550a";
290 reg = <0x0 0x21c0500 0x0 0x100>;
291 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
292 clock-frequency = <0>;
297 uart1: serial@21c0600 {
298 compatible = "fsl,16550-FIFO64", "ns16550a";
299 reg = <0x0 0x21c0600 0x0 0x100>;
300 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
301 clock-frequency = <0>;
306 uart2: serial@21d0500 {
307 compatible = "fsl,16550-FIFO64", "ns16550a";
308 reg = <0x0 0x21d0500 0x0 0x100>;
309 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
310 clock-frequency = <0>;
315 uart3: serial@21d0600 {
316 compatible = "fsl,16550-FIFO64", "ns16550a";
317 reg = <0x0 0x21d0600 0x0 0x100>;
318 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
319 clock-frequency = <0>;
324 lpuart0: serial@2950000 {
325 compatible = "fsl,ls1021a-lpuart";
326 reg = <0x0 0x2950000 0x0 0x1000>;
327 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
333 lpuart1: serial@2960000 {
334 compatible = "fsl,ls1021a-lpuart";
335 reg = <0x0 0x2960000 0x0 0x1000>;
336 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&platform_clk 1>;
342 lpuart2: serial@2970000 {
343 compatible = "fsl,ls1021a-lpuart";
344 reg = <0x0 0x2970000 0x0 0x1000>;
345 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&platform_clk 1>;
351 lpuart3: serial@2980000 {
352 compatible = "fsl,ls1021a-lpuart";
353 reg = <0x0 0x2980000 0x0 0x1000>;
354 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&platform_clk 1>;
360 lpuart4: serial@2990000 {
361 compatible = "fsl,ls1021a-lpuart";
362 reg = <0x0 0x2990000 0x0 0x1000>;
363 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
364 clocks = <&platform_clk 1>;
369 lpuart5: serial@29a0000 {
370 compatible = "fsl,ls1021a-lpuart";
371 reg = <0x0 0x29a0000 0x0 0x1000>;
372 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
373 clocks = <&platform_clk 1>;
378 wdog0: watchdog@2ad0000 {
379 compatible = "fsl,imx21-wdt";
380 reg = <0x0 0x2ad0000 0x0 0x10000>;
381 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
382 clocks = <&platform_clk 1>;
383 clock-names = "wdog-en";
388 #sound-dai-cells = <0>;
389 compatible = "fsl,vf610-sai";
390 reg = <0x0 0x2b50000 0x0 0x10000>;
391 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
392 clocks = <&platform_clk 1>, <&platform_clk 1>,
393 <&platform_clk 1>, <&platform_clk 1>;
394 clock-names = "bus", "mclk1", "mclk2", "mclk3";
395 dma-names = "tx", "rx";
396 dmas = <&edma0 1 47>,
402 #sound-dai-cells = <0>;
403 compatible = "fsl,vf610-sai";
404 reg = <0x0 0x2b60000 0x0 0x10000>;
405 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
406 clocks = <&platform_clk 1>, <&platform_clk 1>,
407 <&platform_clk 1>, <&platform_clk 1>;
408 clock-names = "bus", "mclk1", "mclk2", "mclk3";
409 dma-names = "tx", "rx";
410 dmas = <&edma0 1 45>,
415 edma0: edma@2c00000 {
417 compatible = "fsl,vf610-edma";
418 reg = <0x0 0x2c00000 0x0 0x10000>,
419 <0x0 0x2c10000 0x0 0x10000>,
420 <0x0 0x2c20000 0x0 0x10000>;
421 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
422 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
423 interrupt-names = "edma-tx", "edma-err";
426 clock-names = "dmamux0", "dmamux1";
427 clocks = <&platform_clk 1>,
431 mdio0: mdio@2d24000 {
432 compatible = "gianfar";
433 device_type = "mdio";
434 #address-cells = <1>;
436 reg = <0x0 0x2d24000 0x0 0x4000>;
439 enet0: ethernet@2d10000 {
440 compatible = "fsl,etsec2";
441 device_type = "network";
442 #address-cells = <2>;
444 interrupt-parent = <&gic>;
450 queue-group@2d10000 {
451 #address-cells = <2>;
453 reg = <0x0 0x2d10000 0x0 0x1000>;
454 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
455 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
456 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
459 queue-group@2d14000 {
460 #address-cells = <2>;
462 reg = <0x0 0x2d14000 0x0 0x1000>;
463 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
464 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
465 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
469 enet1: ethernet@2d50000 {
470 compatible = "fsl,etsec2";
471 device_type = "network";
472 #address-cells = <2>;
474 interrupt-parent = <&gic>;
479 queue-group@2d50000 {
480 #address-cells = <2>;
482 reg = <0x0 0x2d50000 0x0 0x1000>;
483 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
484 <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
485 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
488 queue-group@2d54000 {
489 #address-cells = <2>;
491 reg = <0x0 0x2d54000 0x0 0x1000>;
492 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
493 <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
494 <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
498 enet2: ethernet@2d90000 {
499 compatible = "fsl,etsec2";
500 device_type = "network";
501 #address-cells = <2>;
503 interrupt-parent = <&gic>;
508 queue-group@2d90000 {
509 #address-cells = <2>;
511 reg = <0x0 0x2d90000 0x0 0x1000>;
512 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
513 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
514 <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
517 queue-group@2d94000 {
518 #address-cells = <2>;
520 reg = <0x0 0x2d94000 0x0 0x1000>;
521 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
522 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
523 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
528 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
529 reg = <0x0 0x8600000 0x0 0x1000>;
530 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
536 compatible = "snps,dwc3";
537 reg = <0x0 0x3100000 0x0 0x10000>;
538 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
540 snps,quirk-frame-length-adjustment = <0x20>;