1 // SPDX-License-Identifier: GPL-2.0+
3 * Freescale ls1021a SOC common device tree source
5 * Copyright 2013-2015 Freescale Semiconductor, Inc.
8 #include "skeleton.dtsi"
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "fsl,ls1021a";
13 interrupt-parent = <&gic>;
30 compatible = "arm,cortex-a7";
33 clocks = <&cluster1_clk>;
37 compatible = "arm,cortex-a7";
40 clocks = <&cluster1_clk>;
45 compatible = "arm,armv7-timer";
46 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
47 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
48 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
49 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
53 compatible = "arm,cortex-a7-pmu";
54 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
55 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
59 compatible = "simple-bus";
63 interrupt-parent = <&gic>;
66 gic: interrupt-controller@1400000 {
67 compatible = "arm,cortex-a7-gic";
68 #interrupt-cells = <3>;
70 reg = <0x1401000 0x1000>,
74 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
79 compatible = "fsl,ifc", "simple-bus";
80 reg = <0x1530000 0x10000>;
81 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
85 compatible = "fsl,ls1021a-dcfg", "syscon";
86 reg = <0x1ee0000 0x10000>;
90 esdhc: esdhc@1560000 {
91 compatible = "fsl,esdhc";
92 reg = <0x1560000 0x10000>;
93 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
94 clock-frequency = <0>;
95 voltage-ranges = <1800 1800 3300 3300>;
101 gpio0: gpio@2300000 {
102 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
103 reg = <0x0 0x2300000 0x0 0x10000>;
104 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
107 interrupt-controller;
108 #interrupt-cells = <2>;
111 gpio1: gpio@2310000 {
112 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
113 reg = <0x0 0x2310000 0x0 0x10000>;
114 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
117 interrupt-controller;
118 #interrupt-cells = <2>;
121 gpio2: gpio@2320000 {
122 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
123 reg = <0x0 0x2320000 0x0 0x10000>;
124 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
131 gpio3: gpio@2330000 {
132 compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
133 reg = <0x0 0x2330000 0x0 0x10000>;
134 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
137 interrupt-controller;
138 #interrupt-cells = <2>;
142 compatible = "fsl,ls1021a-scfg", "syscon";
143 reg = <0x1570000 0x10000>;
147 clockgen: clocking@1ee1000 {
148 #address-cells = <1>;
150 ranges = <0x0 0x1ee1000 0x10000>;
153 compatible = "fixed-clock";
155 clock-output-names = "sysclk";
159 compatible = "fsl,qoriq-core-pll-2.0";
163 clock-output-names = "cga-pll1", "cga-pll1-div2",
167 platform_clk: pll@c00 {
168 compatible = "fsl,qoriq-core-pll-2.0";
172 clock-output-names = "platform-clk", "platform-clk-div2";
175 cluster1_clk: clk0c0@0 {
176 compatible = "fsl,qoriq-core-mux-2.0";
179 clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4";
180 clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>;
181 clock-output-names = "cluster1-clk";
185 dspi0: dspi@2100000 {
186 compatible = "fsl,vf610-dspi";
187 #address-cells = <1>;
189 reg = <0x2100000 0x10000>;
190 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
191 clock-names = "dspi";
192 clocks = <&platform_clk 1>;
198 dspi1: dspi@2110000 {
199 compatible = "fsl,vf610-dspi";
200 #address-cells = <1>;
202 reg = <0x2110000 0x10000>;
203 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
204 clock-names = "dspi";
205 clocks = <&platform_clk 1>;
211 qspi: quadspi@1550000 {
212 compatible = "fsl,ls1021a-qspi";
213 #address-cells = <1>;
215 reg = <0x1550000 0x10000>,
216 <0x40000000 0x1000000>;
217 reg-names = "QuadSPI", "QuadSPI-memory";
222 compatible = "fsl,vf610-i2c";
223 #address-cells = <1>;
225 reg = <0x2180000 0x10000>;
226 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
228 clocks = <&platform_clk 1>;
233 compatible = "fsl,vf610-i2c";
234 #address-cells = <1>;
236 reg = <0x2190000 0x10000>;
237 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
239 clocks = <&platform_clk 1>;
244 compatible = "fsl,vf610-i2c";
245 #address-cells = <1>;
247 reg = <0x21a0000 0x10000>;
248 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
250 clocks = <&platform_clk 1>;
254 uart0: serial@21c0500 {
255 compatible = "fsl,16550-FIFO64", "ns16550a";
256 reg = <0x21c0500 0x100>;
257 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
262 uart1: serial@21c0600 {
263 compatible = "fsl,16550-FIFO64", "ns16550a";
264 reg = <0x21c0600 0x100>;
265 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
270 uart2: serial@21d0500 {
271 compatible = "fsl,16550-FIFO64", "ns16550a";
272 reg = <0x21d0500 0x100>;
273 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
278 uart3: serial@21d0600 {
279 compatible = "fsl,16550-FIFO64", "ns16550a";
280 reg = <0x21d0600 0x100>;
281 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
286 lpuart0: serial@2950000 {
287 compatible = "fsl,ls1021a-lpuart";
288 reg = <0x2950000 0x1000>;
289 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
295 lpuart1: serial@2960000 {
296 compatible = "fsl,ls1021a-lpuart";
297 reg = <0x2960000 0x1000>;
298 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
299 clocks = <&platform_clk 1>;
304 lpuart2: serial@2970000 {
305 compatible = "fsl,ls1021a-lpuart";
306 reg = <0x2970000 0x1000>;
307 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
308 clocks = <&platform_clk 1>;
313 lpuart3: serial@2980000 {
314 compatible = "fsl,ls1021a-lpuart";
315 reg = <0x2980000 0x1000>;
316 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
317 clocks = <&platform_clk 1>;
322 lpuart4: serial@2990000 {
323 compatible = "fsl,ls1021a-lpuart";
324 reg = <0x2990000 0x1000>;
325 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
326 clocks = <&platform_clk 1>;
331 lpuart5: serial@29a0000 {
332 compatible = "fsl,ls1021a-lpuart";
333 reg = <0x29a0000 0x1000>;
334 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&platform_clk 1>;
340 wdog0: watchdog@2ad0000 {
341 compatible = "fsl,imx21-wdt";
342 reg = <0x2ad0000 0x10000>;
343 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
344 clocks = <&platform_clk 1>;
345 clock-names = "wdog-en";
350 compatible = "fsl,vf610-sai";
351 reg = <0x2b50000 0x10000>;
352 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
353 clocks = <&platform_clk 1>;
355 dma-names = "tx", "rx";
356 dmas = <&edma0 1 47>,
363 compatible = "fsl,vf610-sai";
364 reg = <0x2b60000 0x10000>;
365 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&platform_clk 1>;
368 dma-names = "tx", "rx";
369 dmas = <&edma0 1 45>,
375 edma0: edma@2c00000 {
377 compatible = "fsl,vf610-edma";
378 reg = <0x2c00000 0x10000>,
381 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
382 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
383 interrupt-names = "edma-tx", "edma-err";
386 clock-names = "dmamux0", "dmamux1";
387 clocks = <&platform_clk 1>,
391 enet0: ethernet@2d10000 {
392 compatible = "fsl,etsec2";
393 reg = <0x2d10000 0x1000>;
397 enet1: ethernet@2d50000 {
398 compatible = "fsl,etsec2";
399 reg = <0x2d50000 0x1000>;
403 enet2: ethernet@2d90000 {
404 compatible = "fsl,etsec2";
405 reg = <0x2d90000 0x1000>;
409 mdio0: mdio@2d24000 {
410 compatible = "fsl,etsec2-mdio";
411 reg = <0x2d24000 0x4000>;
412 #address-cells = <1>;
416 mdio1: mdio@2d64000 {
417 compatible = "fsl,etsec2-mdio";
418 reg = <0x2d64000 0x4000>;
419 #address-cells = <1>;
424 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
425 reg = <0x8600000 0x1000>;
426 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
432 compatible = "fsl,layerscape-dwc3";
433 reg = <0x3100000 0x10000>;
434 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
439 compatible = "fsl,ls-pcie", "snps,dw-pcie";
440 reg = <0x03400000 0x20000 /* dbi registers */
441 0x01570000 0x10000 /* pf controls registers */
442 0x24000000 0x20000>; /* configuration space */
443 reg-names = "dbi", "ctrl", "config";
445 #address-cells = <3>;
448 bus-range = <0x0 0xff>;
449 ranges = <0x81000000 0x0 0x00000000 0x24020000 0x0 0x00010000 /* downstream I/O */
450 0x82000000 0x0 0x28000000 0x28000000 0x0 0x08000000>; /* non-prefetchable memory */
454 compatible = "fsl,ls-pcie", "snps,dw-pcie";
455 reg = <0x03500000 0x10000 /* dbi registers */
456 0x01570000 0x10000 /* pf controls registers */
457 0x34000000 0x20000>; /* configuration space */
458 reg-names = "dbi", "ctrl", "config";
460 #address-cells = <3>;
464 bus-range = <0x0 0xff>;
465 ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */
466 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */
470 compatible = "fsl,ls1021a-ahci";
471 reg = <0x3200000 0x10000 0x20220520 0x4>;
472 reg-names = "sata-base", "ecc-addr";
473 interrupts = <0 101 4>;