blob: 9b7c54b260e21cfdc8673b18477de5e095ccaa35 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Ashish Kumarb25faa22017-08-31 16:12:53 +05302/*
3 * NXP ls1088a SOC common device tree source
4 *
Biwen Li0f42d062021-02-05 19:01:53 +08005 * Copyright 2017, 2020-2021 NXP
Ashish Kumarb25faa22017-08-31 16:12:53 +05306 */
7
Biwen Li0f42d062021-02-05 19:01:53 +08008#include <dt-bindings/interrupt-controller/arm-gic.h>
Ashish Kumarb25faa22017-08-31 16:12:53 +05309/ {
10 compatible = "fsl,ls1088a";
11 interrupt-parent = <&gic>;
12 #address-cells = <2>;
13 #size-cells = <2>;
14
15 memory@80000000 {
16 device_type = "memory";
17 reg = <0x00000000 0x80000000 0 0x80000000>;
18 /* DRAM space - 1, size : 2 GB DRAM */
19 };
20
21 gic: interrupt-controller@6000000 {
22 compatible = "arm,gic-v3";
23 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
24 <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
25 #interrupt-cells = <3>;
26 interrupt-controller;
27 interrupts = <1 9 0x4>;
28 };
29
30 timer {
31 compatible = "arm,armv8-timer";
32 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
33 <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
34 <1 11 0x8>, /* Virtual PPI, active-low */
35 <1 10 0x8>; /* Hypervisor PPI, active-low */
36 };
37
Chuanhua Han2f2767b2019-07-23 18:43:14 +080038 i2c0: i2c@2000000 {
39 compatible = "fsl,vf610-i2c";
40 #address-cells = <1>;
41 #size-cells = <0>;
42 reg = <0x0 0x2000000 0x0 0x10000>;
43 interrupts = <0 34 4>;
44 };
45
46 i2c1: i2c@2010000 {
47 compatible = "fsl,vf610-i2c";
48 #address-cells = <1>;
49 #size-cells = <0>;
50 reg = <0x0 0x2010000 0x0 0x10000>;
51 interrupts = <0 34 4>;
52 };
53
54 i2c2: i2c@2020000 {
55 compatible = "fsl,vf610-i2c";
56 #address-cells = <1>;
57 #size-cells = <0>;
58 reg = <0x0 0x2020000 0x0 0x10000>;
59 interrupts = <0 35 4>;
60 };
61
62 i2c3: i2c@2030000 {
63 compatible = "fsl,vf610-i2c";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 reg = <0x0 0x2030000 0x0 0x10000>;
67 interrupts = <0 35 4>;
68 };
69
Ashish Kumarb25faa22017-08-31 16:12:53 +053070 serial0: serial@21c0500 {
71 device_type = "serial";
72 compatible = "fsl,ns16550", "ns16550a";
73 reg = <0x0 0x21c0500 0x0 0x100>;
74 clock-frequency = <0>; /* Updated by bootloader */
75 interrupts = <0 32 0x1>; /* edge triggered */
76 };
77
78 serial1: serial@21c0600 {
79 device_type = "serial";
80 compatible = "fsl,ns16550", "ns16550a";
81 reg = <0x0 0x21c0600 0x0 0x100>;
82 clock-frequency = <0>; /* Updated by bootloader */
83 interrupts = <0 32 0x1>; /* edge triggered */
84 };
85
Ashish Kumarb25faa22017-08-31 16:12:53 +053086 dspi: dspi@2100000 {
87 compatible = "fsl,vf610-dspi";
88 #address-cells = <1>;
89 #size-cells = <0>;
90 reg = <0x0 0x2100000 0x0 0x10000>;
91 interrupts = <0 26 0x4>; /* Level high type */
Michael Walle2de392c2021-10-13 18:14:18 +020092 spi-num-chipselects = <6>;
Ashish Kumarb25faa22017-08-31 16:12:53 +053093 };
94
95 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +053096 compatible = "fsl,ls1088a-qspi";
Ashish Kumarb25faa22017-08-31 16:12:53 +053097 #address-cells = <1>;
98 #size-cells = <0>;
99 reg = <0x0 0x20c0000 0x0 0x10000>,
100 <0x0 0x20000000 0x0 0x10000000>;
101 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singh46d908b2021-10-01 16:24:24 +0530102 status = "disabled";
Ashish Kumarb25faa22017-08-31 16:12:53 +0530103 };
Yinbo Zhu26caa0e2018-09-25 14:47:09 +0800104
105 esdhc: esdhc@2140000 {
106 compatible = "fsl,esdhc";
107 reg = <0x0 0x2140000 0x0 0x10000>;
108 interrupts = <0 28 0x4>; /* Level high type */
109 little-endian;
110 bus-width = <4>;
111 };
112
Biwen Li0f42d062021-02-05 19:01:53 +0800113 gpio0: gpio@2300000 {
114 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
115 reg = <0x0 0x2300000 0x0 0x10000>;
116 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
117 little-endian;
118 gpio-controller;
119 #gpio-cells = <2>;
120 interrupt-controller;
121 #interrupt-cells = <2>;
122 };
123
124 gpio1: gpio@2310000 {
125 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
126 reg = <0x0 0x2310000 0x0 0x10000>;
127 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
128 little-endian;
129 gpio-controller;
130 #gpio-cells = <2>;
131 interrupt-controller;
132 #interrupt-cells = <2>;
133 };
134
135 gpio2: gpio@2320000 {
136 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
137 reg = <0x0 0x2320000 0x0 0x10000>;
138 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
139 little-endian;
140 gpio-controller;
141 #gpio-cells = <2>;
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 };
145
146 gpio3: gpio@2330000 {
147 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
148 reg = <0x0 0x2330000 0x0 0x10000>;
149 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
150 little-endian;
151 gpio-controller;
152 #gpio-cells = <2>;
153 interrupt-controller;
154 #interrupt-cells = <2>;
155 };
156
Ashish Kumar55fd8b92018-02-19 14:16:58 +0530157 ifc: ifc@1530000 {
158 compatible = "fsl,ifc", "simple-bus";
159 reg = <0x0 0x2240000 0x0 0x20000>;
160 interrupts = <0 21 0x4>; /* Level high type */
161 };
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800162
Ran Wang9a43a6c2017-10-23 10:09:24 +0800163 usb0: usb3@3100000 {
164 compatible = "fsl,layerscape-dwc3";
165 reg = <0x0 0x3100000 0x0 0x10000>;
166 interrupts = <0 80 0x4>; /* Level high type */
167 dr_mode = "host";
168 };
169
170 usb1: usb3@3110000 {
171 compatible = "fsl,layerscape-dwc3";
172 reg = <0x0 0x3110000 0x0 0x10000>;
173 interrupts = <0 81 0x4>; /* Level high type */
174 dr_mode = "host";
175 };
176
Gaurav Jain994824c2022-03-24 11:50:34 +0530177 crypto: crypto@8000000 {
178 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
179 fsl,sec-era = <8>;
180 #address-cells = <1>;
181 #size-cells = <1>;
182 ranges = <0x0 0x00 0x8000000 0x100000>;
183 reg = <0x00 0x8000000 0x0 0x100000>;
184 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
185 dma-coherent;
186
187 sec_jr0: jr@10000 {
188 compatible = "fsl,sec-v5.0-job-ring",
189 "fsl,sec-v4.0-job-ring";
190 reg = <0x10000 0x10000>;
191 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
192 };
193
194 sec_jr1: jr@20000 {
195 compatible = "fsl,sec-v5.0-job-ring",
196 "fsl,sec-v4.0-job-ring";
197 reg = <0x20000 0x10000>;
198 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
199 };
200
201 sec_jr2: jr@30000 {
202 compatible = "fsl,sec-v5.0-job-ring",
203 "fsl,sec-v4.0-job-ring";
204 reg = <0x30000 0x10000>;
205 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
206 };
207
208 sec_jr3: jr@40000 {
209 compatible = "fsl,sec-v5.0-job-ring",
210 "fsl,sec-v4.0-job-ring";
211 reg = <0x40000 0x10000>;
212 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
213 };
214 };
215
Wasim Khan5c1ac222020-09-28 16:26:09 +0530216 pcie1: pcie@3400000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800217 compatible = "fsl,ls-pcie", "snps,dw-pcie";
218 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
219 0x00 0x03480000 0x0 0x80000 /* lut registers */
220 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
221 0x20 0x00000000 0x0 0x20000>; /* configuration space */
222 reg-names = "dbi", "lut", "ctrl", "config";
223 #address-cells = <3>;
224 #size-cells = <2>;
225 device_type = "pci";
226 num-lanes = <4>;
227 bus-range = <0x0 0xff>;
228 ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000 /* downstream I/O */
229 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
230 };
231
Wasim Khan5c1ac222020-09-28 16:26:09 +0530232 pcie2: pcie@3500000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800233 compatible = "fsl,ls-pcie", "snps,dw-pcie";
234 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
235 0x00 0x03580000 0x0 0x80000 /* lut registers */
236 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
237 0x28 0x00000000 0x0 0x20000>; /* configuration space */
238 reg-names = "dbi", "lut", "ctrl", "config";
239 #address-cells = <3>;
240 #size-cells = <2>;
241 device_type = "pci";
242 num-lanes = <4>;
243 bus-range = <0x0 0xff>;
244 ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000 /* downstream I/O */
245 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
246 };
247
Wasim Khan5c1ac222020-09-28 16:26:09 +0530248 pcie3: pcie@3600000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800249 compatible = "fsl,ls-pcie", "snps,dw-pcie";
250 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
251 0x00 0x03680000 0x0 0x80000 /* lut registers */
252 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */
253 0x30 0x00000000 0x0 0x20000>; /* configuration space */
254 reg-names = "dbi", "lut", "ctrl", "config";
255 #address-cells = <3>;
256 #size-cells = <2>;
257 device_type = "pci";
258 num-lanes = <8>;
259 bus-range = <0x0 0xff>;
260 ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000 /* downstream I/O */
261 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
262 };
Peng Ma47ab8342018-10-22 10:39:50 +0800263
264 sata: sata@3200000 {
265 compatible = "fsl,ls1088a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000266 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
267 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200268 reg-names = "ahci", "sata-ecc";
Peng Ma47ab8342018-10-22 10:39:50 +0800269 interrupts = <0 133 4>;
270 status = "disabled";
271 };
272
Mathew McBride505ca5d2019-10-18 14:27:53 +1100273 psci {
274 compatible = "arm,psci-0.2";
275 method = "smc";
276 };
277
Ioana Ciorneie62ae822020-03-18 16:47:46 +0200278 fsl_mc: fsl-mc@80c000000 {
279 compatible = "fsl,qoriq-mc", "simple-mfd";
280 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
281 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
282 #address-cells = <3>;
283 #size-cells = <1>;
284
285 /*
286 * Region type 0x0 - MC portals
287 * Region type 0x1 - QBMAN portals
288 */
289 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
290 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
291
292 dpmacs {
293 compatible = "simple-mfd";
294 #address-cells = <1>;
295 #size-cells = <0>;
296
297 dpmac1: dpmac@1 {
298 compatible = "fsl,qoriq-mc-dpmac";
299 reg = <0x1>;
300 status = "disabled";
301 };
302
303 dpmac2: dpmac@2 {
304 compatible = "fsl,qoriq-mc-dpmac";
305 reg = <0x2>;
306 status = "disabled";
307 };
308
309 dpmac3: dpmac@3 {
310 compatible = "fsl,qoriq-mc-dpmac";
311 reg = <0x3>;
312 status = "disabled";
313 };
314
315 dpmac4: dpmac@4 {
316 compatible = "fsl,qoriq-mc-dpmac";
317 reg = <0x4>;
318 status = "disabled";
319 };
320
321 dpmac5: dpmac@5 {
322 compatible = "fsl,qoriq-mc-dpmac";
323 reg = <0x5>;
324 status = "disabled";
325 };
326
327 dpmac6: dpmac@6 {
328 compatible = "fsl,qoriq-mc-dpmac";
329 reg = <0x6>;
330 status = "disabled";
331 };
332
333 dpmac7: dpmac@7 {
334 compatible = "fsl,qoriq-mc-dpmac";
335 reg = <0x7>;
336 status = "disabled";
337 };
338
339 dpmac8: dpmac@8 {
340 compatible = "fsl,qoriq-mc-dpmac";
341 reg = <0x8>;
342 status = "disabled";
343 };
344
345 dpmac9: dpmac@9 {
346 compatible = "fsl,qoriq-mc-dpmac";
347 reg = <0x9>;
348 status = "disabled";
349 };
350
351 dpmac10: dpmac@a {
352 compatible = "fsl,qoriq-mc-dpmac";
353 reg = <0xa>;
354 status = "disabled";
355 };
356 };
357 };
358
Ioana Ciorneidf3b8c52020-03-18 16:47:43 +0200359 emdio1: mdio@8B96000 {
360 compatible = "fsl,ls-mdio";
361 reg = <0x0 0x8B96000 0x0 0x1000>;
362 #address-cells = <1>;
363 #size-cells = <0>;
364 status = "disabled";
365 };
366
367 emdio2: mdio@8B97000 {
368 compatible = "fsl,ls-mdio";
369 reg = <0x0 0x8B97000 0x0 0x1000>;
370 #address-cells = <1>;
371 #size-cells = <0>;
372 status = "disabled";
373 };
Ashish Kumarb25faa22017-08-31 16:12:53 +0530374};