blob: 434b9384f210be6d0917738045b4ec611d404089 [file] [log] [blame]
haikunddf79f32015-03-25 20:23:26 +08001/*
2 * Freescale ls1021a SOC common device tree source
3 *
4 * Copyright 2013-2015 Freescale Semiconductor, Inc.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#include "skeleton64.dtsi"
10#include <dt-bindings/interrupt-controller/arm-gic.h>
11
12/ {
13 compatible = "fsl,ls1021a";
14 interrupt-parent = <&gic>;
15
16 aliases {
17 serial0 = &lpuart0;
18 serial1 = &lpuart1;
19 serial2 = &lpuart2;
20 serial3 = &lpuart3;
21 serial4 = &lpuart4;
22 serial5 = &lpuart5;
23 sysclk = &sysclk;
24 };
25
26 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 cpu@f00 {
31 compatible = "arm,cortex-a7";
32 device_type = "cpu";
33 reg = <0xf00>;
34 clocks = <&cluster1_clk>;
35 };
36
37 cpu@f01 {
38 compatible = "arm,cortex-a7";
39 device_type = "cpu";
40 reg = <0xf01>;
41 clocks = <&cluster1_clk>;
42 };
43 };
44
45 timer {
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)>;
51 };
52
53 pmu {
54 compatible = "arm,cortex-a7-pmu";
55 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
57 };
58
59 soc {
60 compatible = "simple-bus";
61 #address-cells = <2>;
62 #size-cells = <2>;
63 device_type = "soc";
64 interrupt-parent = <&gic>;
65 ranges;
66
67 gic: interrupt-controller@1400000 {
68 compatible = "arm,cortex-a7-gic";
69 #interrupt-cells = <3>;
70 interrupt-controller;
71 reg = <0x0 0x1401000 0x0 0x1000>,
72 <0x0 0x1402000 0x0 0x1000>,
73 <0x0 0x1404000 0x0 0x2000>,
74 <0x0 0x1406000 0x0 0x2000>;
75 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
76
77 };
78
79 ifc: ifc@1530000 {
80 compatible = "fsl,ifc", "simple-bus";
81 reg = <0x0 0x1530000 0x0 0x10000>;
82 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
83 };
84
85 dcfg: dcfg@1ee0000 {
86 compatible = "fsl,ls1021a-dcfg", "syscon";
87 reg = <0x0 0x1ee0000 0x0 0x10000>;
88 big-endian;
89 };
90
91 esdhc: esdhc@1560000 {
92 compatible = "fsl,esdhc";
93 reg = <0x0 0x1560000 0x0 0x10000>;
94 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
95 clock-frequency = <0>;
96 voltage-ranges = <1800 1800 3300 3300>;
97 sdhci,auto-cmd12;
98 big-endian;
99 bus-width = <4>;
100 status = "disabled";
101 };
102
103 scfg: scfg@1570000 {
104 compatible = "fsl,ls1021a-scfg", "syscon";
105 reg = <0x0 0x1570000 0x0 0x10000>;
106 big-endian;
107 };
108
109 clockgen: clocking@1ee1000 {
110 #address-cells = <1>;
111 #size-cells = <1>;
112 ranges = <0x0 0x0 0x1ee1000 0x10000>;
113
114 sysclk: sysclk {
115 compatible = "fixed-clock";
116 #clock-cells = <0>;
117 clock-output-names = "sysclk";
118 };
119
120 cga_pll1: pll@800 {
121 compatible = "fsl,qoriq-core-pll-2.0";
122 #clock-cells = <1>;
123 reg = <0x800 0x10>;
124 clocks = <&sysclk>;
125 clock-output-names = "cga-pll1", "cga-pll1-div2",
126 "cga-pll1-div4";
127 };
128
129 platform_clk: pll@c00 {
130 compatible = "fsl,qoriq-core-pll-2.0";
131 #clock-cells = <1>;
132 reg = <0xc00 0x10>;
133 clocks = <&sysclk>;
134 clock-output-names = "platform-clk", "platform-clk-div2";
135 };
136
137 cluster1_clk: clk0c0@0 {
138 compatible = "fsl,qoriq-core-mux-2.0";
139 #clock-cells = <0>;
140 reg = <0x0 0x10>;
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";
144 };
145 };
146
147 dspi0: dspi@2100000 {
148 compatible = "fsl,vf610-dspi";
149 #address-cells = <1>;
150 #size-cells = <0>;
151 reg = <0x0 0x2100000 0x0 0x10000>;
152 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
153 clock-names = "dspi";
154 clocks = <&platform_clk 1>;
155 spi-num-chipselects = <5>;
156 big-endian;
157 status = "disabled";
158 };
159
160 dspi1: dspi@2110000 {
161 compatible = "fsl,vf610-dspi";
162 #address-cells = <1>;
163 #size-cells = <0>;
164 reg = <0x0 0x2110000 0x0 0x10000>;
165 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
166 clock-names = "dspi";
167 clocks = <&platform_clk 1>;
168 spi-num-chipselects = <5>;
169 big-endian;
170 status = "disabled";
171 };
172
173 i2c0: i2c@2180000 {
174 compatible = "fsl,vf610-i2c";
175 #address-cells = <1>;
176 #size-cells = <0>;
177 reg = <0x0 0x2180000 0x0 0x10000>;
178 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
179 clock-names = "i2c";
180 clocks = <&platform_clk 1>;
181 status = "disabled";
182 };
183
184 i2c1: i2c@2190000 {
185 compatible = "fsl,vf610-i2c";
186 #address-cells = <1>;
187 #size-cells = <0>;
188 reg = <0x0 0x2190000 0x0 0x10000>;
189 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
190 clock-names = "i2c";
191 clocks = <&platform_clk 1>;
192 status = "disabled";
193 };
194
195 i2c2: i2c@21a0000 {
196 compatible = "fsl,vf610-i2c";
197 #address-cells = <1>;
198 #size-cells = <0>;
199 reg = <0x0 0x21a0000 0x0 0x10000>;
200 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
201 clock-names = "i2c";
202 clocks = <&platform_clk 1>;
203 status = "disabled";
204 };
205
206 uart0: serial@21c0500 {
207 compatible = "fsl,16550-FIFO64", "ns16550a";
208 reg = <0x0 0x21c0500 0x0 0x100>;
209 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
210 clock-frequency = <0>;
211 fifo-size = <15>;
212 status = "disabled";
213 };
214
215 uart1: serial@21c0600 {
216 compatible = "fsl,16550-FIFO64", "ns16550a";
217 reg = <0x0 0x21c0600 0x0 0x100>;
218 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
219 clock-frequency = <0>;
220 fifo-size = <15>;
221 status = "disabled";
222 };
223
224 uart2: serial@21d0500 {
225 compatible = "fsl,16550-FIFO64", "ns16550a";
226 reg = <0x0 0x21d0500 0x0 0x100>;
227 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
228 clock-frequency = <0>;
229 fifo-size = <15>;
230 status = "disabled";
231 };
232
233 uart3: serial@21d0600 {
234 compatible = "fsl,16550-FIFO64", "ns16550a";
235 reg = <0x0 0x21d0600 0x0 0x100>;
236 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
237 clock-frequency = <0>;
238 fifo-size = <15>;
239 status = "disabled";
240 };
241
242 lpuart0: serial@2950000 {
243 compatible = "fsl,ls1021a-lpuart";
244 reg = <0x0 0x2950000 0x0 0x1000>;
245 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
246 clocks = <&sysclk>;
247 clock-names = "ipg";
248 status = "disabled";
249 };
250
251 lpuart1: serial@2960000 {
252 compatible = "fsl,ls1021a-lpuart";
253 reg = <0x0 0x2960000 0x0 0x1000>;
254 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&platform_clk 1>;
256 clock-names = "ipg";
257 status = "disabled";
258 };
259
260 lpuart2: serial@2970000 {
261 compatible = "fsl,ls1021a-lpuart";
262 reg = <0x0 0x2970000 0x0 0x1000>;
263 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
264 clocks = <&platform_clk 1>;
265 clock-names = "ipg";
266 status = "disabled";
267 };
268
269 lpuart3: serial@2980000 {
270 compatible = "fsl,ls1021a-lpuart";
271 reg = <0x0 0x2980000 0x0 0x1000>;
272 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
273 clocks = <&platform_clk 1>;
274 clock-names = "ipg";
275 status = "disabled";
276 };
277
278 lpuart4: serial@2990000 {
279 compatible = "fsl,ls1021a-lpuart";
280 reg = <0x0 0x2990000 0x0 0x1000>;
281 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
282 clocks = <&platform_clk 1>;
283 clock-names = "ipg";
284 status = "disabled";
285 };
286
287 lpuart5: serial@29a0000 {
288 compatible = "fsl,ls1021a-lpuart";
289 reg = <0x0 0x29a0000 0x0 0x1000>;
290 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
291 clocks = <&platform_clk 1>;
292 clock-names = "ipg";
293 status = "disabled";
294 };
295
296 wdog0: watchdog@2ad0000 {
297 compatible = "fsl,imx21-wdt";
298 reg = <0x0 0x2ad0000 0x0 0x10000>;
299 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
300 clocks = <&platform_clk 1>;
301 clock-names = "wdog-en";
302 big-endian;
303 };
304
305 sai1: sai@2b50000 {
306 compatible = "fsl,vf610-sai";
307 reg = <0x0 0x2b50000 0x0 0x10000>;
308 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&platform_clk 1>;
310 clock-names = "sai";
311 dma-names = "tx", "rx";
312 dmas = <&edma0 1 47>,
313 <&edma0 1 46>;
314 big-endian;
315 status = "disabled";
316 };
317
318 sai2: sai@2b60000 {
319 compatible = "fsl,vf610-sai";
320 reg = <0x0 0x2b60000 0x0 0x10000>;
321 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&platform_clk 1>;
323 clock-names = "sai";
324 dma-names = "tx", "rx";
325 dmas = <&edma0 1 45>,
326 <&edma0 1 44>;
327 big-endian;
328 status = "disabled";
329 };
330
331 edma0: edma@2c00000 {
332 #dma-cells = <2>;
333 compatible = "fsl,vf610-edma";
334 reg = <0x0 0x2c00000 0x0 0x10000>,
335 <0x0 0x2c10000 0x0 0x10000>,
336 <0x0 0x2c20000 0x0 0x10000>;
337 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
339 interrupt-names = "edma-tx", "edma-err";
340 dma-channels = <32>;
341 big-endian;
342 clock-names = "dmamux0", "dmamux1";
343 clocks = <&platform_clk 1>,
344 <&platform_clk 1>;
345 };
346
347 mdio0: mdio@2d24000 {
348 compatible = "gianfar";
349 device_type = "mdio";
350 #address-cells = <1>;
351 #size-cells = <0>;
352 reg = <0x0 0x2d24000 0x0 0x4000>;
353 };
354
355 usb@8600000 {
356 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
357 reg = <0x0 0x8600000 0x0 0x1000>;
358 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
359 dr_mode = "host";
360 phy_type = "ulpi";
361 };
362
363 usb3@3100000 {
364 compatible = "snps,dwc3";
365 reg = <0x0 0x3100000 0x0 0x10000>;
366 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
367 dr_mode = "host";
368 };
369 };
370};