2 * Freescale ls1021a SOC common device tree source
4 * Copyright 2013-2015 Freescale Semiconductor, Inc.
6 * SPDX-License-Identifier: GPL-2.0+
9 #include "skeleton.dtsi"
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 compatible = "fsl,ls1021a";
14 interrupt-parent = <&gic>;
31 compatible = "arm,cortex-a7";
34 clocks = <&cluster1_clk>;
38 compatible = "arm,cortex-a7";
41 clocks = <&cluster1_clk>;
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)>;
54 compatible = "arm,cortex-a7-pmu";
55 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
60 compatible = "simple-bus";
64 interrupt-parent = <&gic>;
67 gic: interrupt-controller@1400000 {
68 compatible = "arm,cortex-a7-gic";
69 #interrupt-cells = <3>;
71 reg = <0x1401000 0x1000>,
75 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
80 compatible = "fsl,ifc", "simple-bus";
81 reg = <0x1530000 0x10000>;
82 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
86 compatible = "fsl,ls1021a-dcfg", "syscon";
87 reg = <0x1ee0000 0x10000>;
91 esdhc: esdhc@1560000 {
92 compatible = "fsl,esdhc";
93 reg = <0x1560000 0x10000>;
94 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
95 clock-frequency = <0>;
96 voltage-ranges = <1800 1800 3300 3300>;
104 compatible = "fsl,ls1021a-scfg", "syscon";
105 reg = <0x1570000 0x10000>;
109 clockgen: clocking@1ee1000 {
110 #address-cells = <1>;
112 ranges = <0x0 0x1ee1000 0x10000>;
115 compatible = "fixed-clock";
117 clock-output-names = "sysclk";
121 compatible = "fsl,qoriq-core-pll-2.0";
125 clock-output-names = "cga-pll1", "cga-pll1-div2",
129 platform_clk: pll@c00 {
130 compatible = "fsl,qoriq-core-pll-2.0";
134 clock-output-names = "platform-clk", "platform-clk-div2";
137 cluster1_clk: clk0c0@0 {
138 compatible = "fsl,qoriq-core-mux-2.0";
141 clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4";
142 clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>;
143 clock-output-names = "cluster1-clk";
147 dspi0: dspi@2100000 {
148 compatible = "fsl,vf610-dspi";
149 #address-cells = <1>;
151 reg = <0x2100000 0x10000>;
152 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
153 clock-names = "dspi";
154 clocks = <&platform_clk 1>;
160 dspi1: dspi@2110000 {
161 compatible = "fsl,vf610-dspi";
162 #address-cells = <1>;
164 reg = <0x2110000 0x10000>;
165 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
166 clock-names = "dspi";
167 clocks = <&platform_clk 1>;
173 qspi: quadspi@1550000 {
174 compatible = "fsl,vf610-qspi";
175 #address-cells = <1>;
177 reg = <0x1550000 0x10000>,
178 <0x40000000 0x4000000>;
179 reg-names = "QuadSPI", "QuadSPI-memory";
186 compatible = "fsl,vf610-i2c";
187 #address-cells = <1>;
189 reg = <0x2180000 0x10000>;
190 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
192 clocks = <&platform_clk 1>;
197 compatible = "fsl,vf610-i2c";
198 #address-cells = <1>;
200 reg = <0x2190000 0x10000>;
201 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
203 clocks = <&platform_clk 1>;
208 compatible = "fsl,vf610-i2c";
209 #address-cells = <1>;
211 reg = <0x21a0000 0x10000>;
212 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&platform_clk 1>;
218 uart0: serial@21c0500 {
219 compatible = "fsl,16550-FIFO64", "ns16550a";
220 reg = <0x21c0500 0x100>;
221 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
226 uart1: serial@21c0600 {
227 compatible = "fsl,16550-FIFO64", "ns16550a";
228 reg = <0x21c0600 0x100>;
229 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
234 uart2: serial@21d0500 {
235 compatible = "fsl,16550-FIFO64", "ns16550a";
236 reg = <0x21d0500 0x100>;
237 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
242 uart3: serial@21d0600 {
243 compatible = "fsl,16550-FIFO64", "ns16550a";
244 reg = <0x21d0600 0x100>;
245 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
250 lpuart0: serial@2950000 {
251 compatible = "fsl,ls1021a-lpuart";
252 reg = <0x2950000 0x1000>;
253 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
259 lpuart1: serial@2960000 {
260 compatible = "fsl,ls1021a-lpuart";
261 reg = <0x2960000 0x1000>;
262 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
263 clocks = <&platform_clk 1>;
268 lpuart2: serial@2970000 {
269 compatible = "fsl,ls1021a-lpuart";
270 reg = <0x2970000 0x1000>;
271 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
272 clocks = <&platform_clk 1>;
277 lpuart3: serial@2980000 {
278 compatible = "fsl,ls1021a-lpuart";
279 reg = <0x2980000 0x1000>;
280 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
281 clocks = <&platform_clk 1>;
286 lpuart4: serial@2990000 {
287 compatible = "fsl,ls1021a-lpuart";
288 reg = <0x2990000 0x1000>;
289 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
290 clocks = <&platform_clk 1>;
295 lpuart5: serial@29a0000 {
296 compatible = "fsl,ls1021a-lpuart";
297 reg = <0x29a0000 0x1000>;
298 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
299 clocks = <&platform_clk 1>;
304 wdog0: watchdog@2ad0000 {
305 compatible = "fsl,imx21-wdt";
306 reg = <0x2ad0000 0x10000>;
307 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
308 clocks = <&platform_clk 1>;
309 clock-names = "wdog-en";
314 compatible = "fsl,vf610-sai";
315 reg = <0x2b50000 0x10000>;
316 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
317 clocks = <&platform_clk 1>;
319 dma-names = "tx", "rx";
320 dmas = <&edma0 1 47>,
327 compatible = "fsl,vf610-sai";
328 reg = <0x2b60000 0x10000>;
329 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
330 clocks = <&platform_clk 1>;
332 dma-names = "tx", "rx";
333 dmas = <&edma0 1 45>,
339 edma0: edma@2c00000 {
341 compatible = "fsl,vf610-edma";
342 reg = <0x2c00000 0x10000>,
345 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
346 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
347 interrupt-names = "edma-tx", "edma-err";
350 clock-names = "dmamux0", "dmamux1";
351 clocks = <&platform_clk 1>,
355 mdio0: mdio@2d24000 {
356 compatible = "gianfar";
357 device_type = "mdio";
358 #address-cells = <1>;
360 reg = <0x2d24000 0x4000>;
364 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
365 reg = <0x8600000 0x1000>;
366 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
372 compatible = "fsl,layerscape-dwc3";
373 reg = <0x3100000 0x10000>;
374 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
379 compatible = "fsl,ls-pcie", "snps,dw-pcie";
380 reg = <0x03400000 0x20000 /* dbi registers */
381 0x01570000 0x10000 /* pf controls registers */
382 0x24000000 0x20000>; /* configuration space */
383 reg-names = "dbi", "ctrl", "config";
385 #address-cells = <3>;
388 bus-range = <0x0 0xff>;
389 ranges = <0x81000000 0x0 0x00000000 0x24020000 0x0 0x00010000 /* downstream I/O */
390 0x82000000 0x0 0x28000000 0x28000000 0x0 0x08000000>; /* non-prefetchable memory */
394 compatible = "fsl,ls-pcie", "snps,dw-pcie";
395 reg = <0x03500000 0x10000 /* dbi registers */
396 0x01570000 0x10000 /* pf controls registers */
397 0x34000000 0x20000>; /* configuration space */
398 reg-names = "dbi", "ctrl", "config";
400 #address-cells = <3>;
404 bus-range = <0x0 0xff>;
405 ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */
406 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */