blob: 060dc399c2f6b939ae9c501514951b9c8c4f2df4 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Mingkai Hud2396512016-09-07 18:47:28 +08002/*
3 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4 *
5 * Copyright (C) 2016, Freescale Semiconductor
Gaurav Jain994824c2022-03-24 11:50:34 +05306 * Copyright 2021 NXP
Mingkai Hud2396512016-09-07 18:47:28 +08007 *
8 * Mingkai Hu <mingkai.hu@nxp.com>
Mingkai Hud2396512016-09-07 18:47:28 +08009 */
10
11/include/ "skeleton64.dtsi"
12
13/ {
14 compatible = "fsl,ls1046a";
15 interrupt-parent = <&gic>;
16
17 sysclk: sysclk {
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <100000000>;
21 clock-output-names = "sysclk";
22 };
23
24 gic: interrupt-controller@1400000 {
25 compatible = "arm,gic-400";
26 #interrupt-cells = <3>;
27 interrupt-controller;
28 reg = <0x0 0x1410000 0 0x10000>, /* GICD */
29 <0x0 0x1420000 0 0x10000>, /* GICC */
30 <0x0 0x1440000 0 0x20000>, /* GICH */
31 <0x0 0x1460000 0 0x20000>; /* GICV */
32 interrupts = <1 9 0xf08>;
33 };
34
Madalin Bucur2297a292020-04-23 16:25:15 +030035 soc: soc {
Mingkai Hud2396512016-09-07 18:47:28 +080036 compatible = "simple-bus";
37 #address-cells = <2>;
38 #size-cells = <2>;
39 ranges;
40
Sean Anderson86995dd2022-04-22 14:34:20 -040041 sfp: efuse@1e80000 {
42 compatible = "fsl,ls1021a-sfp";
43 reg = <0x0 0x1e80000 0x0 0x1000>;
44 clocks = <&clockgen 4 3>;
45 clock-names = "sfp";
46 };
47
Mingkai Hud2396512016-09-07 18:47:28 +080048 clockgen: clocking@1ee1000 {
49 compatible = "fsl,ls1046a-clockgen";
50 reg = <0x0 0x1ee1000 0x0 0x1000>;
51 #clock-cells = <2>;
52 clocks = <&sysclk>;
53 };
54
55 dspi0: dspi@2100000 {
56 compatible = "fsl,vf610-dspi";
57 #address-cells = <1>;
58 #size-cells = <0>;
59 reg = <0x0 0x2100000 0x0 0x10000>;
60 interrupts = <0 64 0x4>;
61 clock-names = "dspi";
62 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020063 spi-num-chipselects = <6>;
Mingkai Hud2396512016-09-07 18:47:28 +080064 big-endian;
65 status = "disabled";
66 };
67
68 dspi1: dspi@2110000 {
69 compatible = "fsl,vf610-dspi";
70 #address-cells = <1>;
71 #size-cells = <0>;
72 reg = <0x0 0x2110000 0x0 0x10000>;
73 interrupts = <0 65 0x4>;
74 clock-names = "dspi";
75 clocks = <&clockgen 4 0>;
Michael Walle2de392c2021-10-13 18:14:18 +020076 spi-num-chipselects = <6>;
Mingkai Hud2396512016-09-07 18:47:28 +080077 big-endian;
78 status = "disabled";
79 };
80
Yinbo Zhu5969ae52018-09-25 14:47:11 +080081 esdhc: esdhc@1560000 {
82 compatible = "fsl,esdhc";
83 reg = <0x0 0x1560000 0x0 0x10000>;
84 interrupts = <0 62 0x4>;
85 big-endian;
86 bus-width = <4>;
87 };
88
Biwen Lie089eec2021-02-05 19:01:52 +080089 gpio0: gpio@2300000 {
90 compatible = "fsl,qoriq-gpio";
91 reg = <0x0 0x2300000 0x0 0x10000>;
92 interrupts = <0 66 4>;
93 gpio-controller;
94 #gpio-cells = <2>;
95 interrupt-controller;
96 #interrupt-cells = <2>;
97 };
98
99 gpio1: gpio@2310000 {
100 compatible = "fsl,qoriq-gpio";
101 reg = <0x0 0x2310000 0x0 0x10000>;
102 interrupts = <0 67 4>;
103 gpio-controller;
104 #gpio-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 };
108
109 gpio2: gpio@2320000 {
110 compatible = "fsl,qoriq-gpio";
111 reg = <0x0 0x2320000 0x0 0x10000>;
112 interrupts = <0 68 4>;
113 gpio-controller;
114 #gpio-cells = <2>;
115 interrupt-controller;
116 #interrupt-cells = <2>;
117 };
118
119 gpio3: gpio@2330000 {
120 compatible = "fsl,qoriq-gpio";
121 reg = <0x0 0x2330000 0x0 0x10000>;
122 interrupts = <0 134 4>;
123 gpio-controller;
124 #gpio-cells = <2>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
127 };
128
Mingkai Hud2396512016-09-07 18:47:28 +0800129 ifc: ifc@1530000 {
130 compatible = "fsl,ifc", "simple-bus";
131 reg = <0x0 0x1530000 0x0 0x10000>;
132 interrupts = <0 43 0x4>;
133 };
134
Gaurav Jain994824c2022-03-24 11:50:34 +0530135 crypto: crypto@1700000 {
136 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
137 "fsl,sec-v4.0";
138 fsl,sec-era = <8>;
139 #address-cells = <1>;
140 #size-cells = <1>;
141 ranges = <0x0 0x00 0x1700000 0x100000>;
142 reg = <0x00 0x1700000 0x0 0x100000>;
143 interrupts = <0 75 0x4>;
144
145 sec_jr0: jr@10000 {
146 compatible = "fsl,sec-v5.4-job-ring",
147 "fsl,sec-v5.0-job-ring",
148 "fsl,sec-v4.0-job-ring";
149 reg = <0x10000 0x10000>;
150 interrupts = <0 71 0x4>;
151 };
152
153 sec_jr1: jr@20000 {
154 compatible = "fsl,sec-v5.4-job-ring",
155 "fsl,sec-v5.0-job-ring",
156 "fsl,sec-v4.0-job-ring";
157 reg = <0x20000 0x10000>;
158 interrupts = <0 72 0x4>;
159 };
160
161 sec_jr2: jr@30000 {
162 compatible = "fsl,sec-v5.4-job-ring",
163 "fsl,sec-v5.0-job-ring",
164 "fsl,sec-v4.0-job-ring";
165 reg = <0x30000 0x10000>;
166 interrupts = <0 73 0x4>;
167 };
168
169 sec_jr3: jr@40000 {
170 compatible = "fsl,sec-v5.4-job-ring",
171 "fsl,sec-v5.0-job-ring",
172 "fsl,sec-v4.0-job-ring";
173 reg = <0x40000 0x10000>;
174 interrupts = <0 74 0x4>;
175 };
176 };
177
Mingkai Hud2396512016-09-07 18:47:28 +0800178 i2c0: i2c@2180000 {
179 compatible = "fsl,vf610-i2c";
180 #address-cells = <1>;
181 #size-cells = <0>;
182 reg = <0x0 0x2180000 0x0 0x10000>;
183 interrupts = <0 56 0x4>;
184 clock-names = "i2c";
185 clocks = <&clockgen 4 0>;
186 status = "disabled";
187 };
188
189 i2c1: i2c@2190000 {
190 compatible = "fsl,vf610-i2c";
191 #address-cells = <1>;
192 #size-cells = <0>;
193 reg = <0x0 0x2190000 0x0 0x10000>;
194 interrupts = <0 57 0x4>;
195 clock-names = "i2c";
196 clocks = <&clockgen 4 0>;
197 status = "disabled";
198 };
199
200 i2c2: i2c@21a0000 {
201 compatible = "fsl,vf610-i2c";
202 #address-cells = <1>;
203 #size-cells = <0>;
204 reg = <0x0 0x21a0000 0x0 0x10000>;
205 interrupts = <0 58 0x4>;
206 clock-names = "i2c";
207 clocks = <&clockgen 4 0>;
208 status = "disabled";
209 };
210
211 i2c3: i2c@21b0000 {
212 compatible = "fsl,vf610-i2c";
213 #address-cells = <1>;
214 #size-cells = <0>;
215 reg = <0x0 0x21b0000 0x0 0x10000>;
216 interrupts = <0 59 0x4>;
217 clock-names = "i2c";
218 clocks = <&clockgen 4 0>;
219 status = "disabled";
220 };
221
222 duart0: serial@21c0500 {
223 compatible = "fsl,ns16550", "ns16550a";
224 reg = <0x00 0x21c0500 0x0 0x100>;
225 interrupts = <0 54 0x4>;
226 clocks = <&clockgen 4 0>;
227 };
228
229 duart1: serial@21c0600 {
230 compatible = "fsl,ns16550", "ns16550a";
231 reg = <0x00 0x21c0600 0x0 0x100>;
232 interrupts = <0 54 0x4>;
233 clocks = <&clockgen 4 0>;
234 };
235
236 duart2: serial@21d0500 {
237 compatible = "fsl,ns16550", "ns16550a";
238 reg = <0x0 0x21d0500 0x0 0x100>;
239 interrupts = <0 55 0x4>;
240 clocks = <&clockgen 4 0>;
241 };
242
243 duart3: serial@21d0600 {
244 compatible = "fsl,ns16550", "ns16550a";
245 reg = <0x0 0x21d0600 0x0 0x100>;
246 interrupts = <0 55 0x4>;
247 clocks = <&clockgen 4 0>;
248 };
249
Shaohui Xie56007a02016-10-28 14:24:02 +0800250 lpuart0: serial@2950000 {
251 compatible = "fsl,ls1021a-lpuart";
252 reg = <0x0 0x2950000 0x0 0x1000>;
253 interrupts = <0 48 0x4>;
254 clocks = <&clockgen 4 0>;
255 clock-names = "ipg";
256 status = "disabled";
257 };
258
259 lpuart1: serial@2960000 {
260 compatible = "fsl,ls1021a-lpuart";
261 reg = <0x0 0x2960000 0x0 0x1000>;
262 interrupts = <0 49 0x4>;
263 clocks = <&clockgen 4 1>;
264 clock-names = "ipg";
265 status = "disabled";
266 };
267
268 lpuart2: serial@2970000 {
269 compatible = "fsl,ls1021a-lpuart";
270 reg = <0x0 0x2970000 0x0 0x1000>;
271 interrupts = <0 50 0x4>;
272 clocks = <&clockgen 4 1>;
273 clock-names = "ipg";
274 status = "disabled";
275 };
276
277 lpuart3: serial@2980000 {
278 compatible = "fsl,ls1021a-lpuart";
279 reg = <0x0 0x2980000 0x0 0x1000>;
280 interrupts = <0 51 0x4>;
281 clocks = <&clockgen 4 1>;
282 clock-names = "ipg";
283 status = "disabled";
284 };
285
286 lpuart4: serial@2990000 {
287 compatible = "fsl,ls1021a-lpuart";
288 reg = <0x0 0x2990000 0x0 0x1000>;
289 interrupts = <0 52 0x4>;
290 clocks = <&clockgen 4 1>;
291 clock-names = "ipg";
292 status = "disabled";
293 };
294
295 lpuart5: serial@29a0000 {
296 compatible = "fsl,ls1021a-lpuart";
297 reg = <0x0 0x29a0000 0x0 0x1000>;
298 interrupts = <0 53 0x4>;
299 clocks = <&clockgen 4 1>;
300 clock-names = "ipg";
301 status = "disabled";
302 };
303
Mingkai Hud2396512016-09-07 18:47:28 +0800304 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530305 compatible = "fsl,ls1021a-qspi";
Mingkai Hud2396512016-09-07 18:47:28 +0800306 #address-cells = <1>;
307 #size-cells = <0>;
308 reg = <0x0 0x1550000 0x0 0x10000>,
309 <0x0 0x40000000 0x0 0x10000000>;
310 reg-names = "QuadSPI", "QuadSPI-memory";
Mingkai Hud2396512016-09-07 18:47:28 +0800311 status = "disabled";
312 };
Minghuan Lian720d8452016-12-13 14:54:14 +0800313
Tang Yuantian955adaf2017-01-20 17:12:48 +0800314 usb0: usb@2f00000 {
315 compatible = "fsl,layerscape-dwc3";
316 reg = <0x0 0x2f00000 0x0 0x10000>;
317 interrupts = <0 60 4>;
318 dr_mode = "host";
319 };
320
321 usb1: usb@3000000 {
322 compatible = "fsl,layerscape-dwc3";
323 reg = <0x0 0x3000000 0x0 0x10000>;
324 interrupts = <0 61 4>;
325 dr_mode = "host";
326 };
327
328 usb2: usb@3100000 {
329 compatible = "fsl,layerscape-dwc3";
330 reg = <0x0 0x3100000 0x0 0x10000>;
331 interrupts = <0 63 4>;
332 dr_mode = "host";
333 };
334
Wasim Khan57643d02020-09-28 16:26:07 +0530335 pcie1: pcie@3400000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800336 compatible = "fsl,ls-pcie", "snps,dw-pcie";
337 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
338 0x00 0x03480000 0x0 0x40000 /* lut registers */
339 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
340 0x40 0x00000000 0x0 0x20000>; /* configuration space */
341 reg-names = "dbi", "lut", "ctrl", "config";
342 big-endian;
343 #address-cells = <3>;
344 #size-cells = <2>;
345 device_type = "pci";
346 bus-range = <0x0 0xff>;
347 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
348 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
349 };
350
Wasim Khan57643d02020-09-28 16:26:07 +0530351 pcie_ep1: pcie_ep@3400000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800352 compatible = "fsl,ls-pcie-ep";
353 reg = <0x00 0x03400000 0x0 0x80000
354 0x00 0x034c0000 0x0 0x40000
355 0x40 0x00000000 0x8 0x00000000>;
356 reg-names = "regs", "ctrl", "addr_space";
357 num-ib-windows = <6>;
358 num-ob-windows = <8>;
359 big-endian;
360 };
361
Wasim Khan57643d02020-09-28 16:26:07 +0530362 pcie2: pcie@3500000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800363 compatible = "fsl,ls-pcie", "snps,dw-pcie";
364 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
365 0x00 0x03580000 0x0 0x40000 /* lut registers */
366 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
367 0x48 0x00000000 0x0 0x20000>; /* configuration space */
368 reg-names = "dbi", "lut", "ctrl", "config";
369 big-endian;
370 #address-cells = <3>;
371 #size-cells = <2>;
372 device_type = "pci";
373 num-lanes = <2>;
374 bus-range = <0x0 0xff>;
375 ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */
376 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
377 };
378
Wasim Khan57643d02020-09-28 16:26:07 +0530379 pcie_ep2: pcie_ep@3500000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800380 compatible = "fsl,ls-pcie-ep";
381 reg = <0x00 0x03500000 0x0 0x80000
382 0x00 0x035c0000 0x0 0x40000
383 0x48 0x00000000 0x8 0x00000000>;
384 reg-names = "regs", "ctrl", "addr_space";
385 num-ib-windows = <6>;
386 num-ob-windows = <8>;
387 big-endian;
388 };
389
Wasim Khan57643d02020-09-28 16:26:07 +0530390 pcie3: pcie@3600000 {
Minghuan Lian720d8452016-12-13 14:54:14 +0800391 compatible = "fsl,ls-pcie", "snps,dw-pcie";
392 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
393 0x00 0x03680000 0x0 0x40000 /* lut registers */
394 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */
395 0x50 0x00000000 0x0 0x20000>; /* configuration space */
396 reg-names = "dbi", "lut", "ctrl", "config";
397 big-endian;
398 #address-cells = <3>;
399 #size-cells = <2>;
400 device_type = "pci";
401 bus-range = <0x0 0xff>;
402 ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */
403 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
404 };
Peng Maa31ad2f2018-10-11 10:34:20 +0000405
Wasim Khan57643d02020-09-28 16:26:07 +0530406 pcie_ep3: pcie_ep@3600000 {
Xiaowei Bao925a2b52020-07-09 23:31:35 +0800407 compatible = "fsl,ls-pcie-ep";
408 reg = <0x00 0x03600000 0x0 0x80000
409 0x00 0x036c0000 0x0 0x40000
410 0x50 0x00000000 0x8 0x00000000>;
411 reg-names = "regs", "ctrl", "addr_space";
412 num-ib-windows = <6>;
413 num-ob-windows = <8>;
414 big-endian;
415 };
416
Peng Maa31ad2f2018-10-11 10:34:20 +0000417 sata: sata@3200000 {
418 compatible = "fsl,ls1046a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000419 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
420 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200421 reg-names = "ahci", "sata-ecc";
Peng Maa31ad2f2018-10-11 10:34:20 +0000422 interrupts = <0 69 4>;
423 clocks = <&clockgen 4 1>;
424 status = "disabled";
425 };
Mingkai Hud2396512016-09-07 18:47:28 +0800426 };
427};