blob: 4782b83515afe3b8197df782bfbadac7742c3d21 [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 *
Ioana Ciorneif86ce812023-03-15 13:04:11 +02005 * Copyright 2017, 2020-2021, 2023 NXP
Ashish Kumarb25faa22017-08-31 16:12:53 +05306 */
7
Ioana Ciorneif86ce812023-03-15 13:04:11 +02008#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
Biwen Li0f42d062021-02-05 19:01:53 +08009#include <dt-bindings/interrupt-controller/arm-gic.h>
Ashish Kumarb25faa22017-08-31 16:12:53 +053010/ {
11 compatible = "fsl,ls1088a";
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
15
16 memory@80000000 {
17 device_type = "memory";
18 reg = <0x00000000 0x80000000 0 0x80000000>;
19 /* DRAM space - 1, size : 2 GB DRAM */
20 };
21
22 gic: interrupt-controller@6000000 {
23 compatible = "arm,gic-v3";
24 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
25 <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
26 #interrupt-cells = <3>;
27 interrupt-controller;
28 interrupts = <1 9 0x4>;
29 };
30
31 timer {
32 compatible = "arm,armv8-timer";
33 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
34 <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
35 <1 11 0x8>, /* Virtual PPI, active-low */
36 <1 10 0x8>; /* Hypervisor PPI, active-low */
37 };
38
Ioana Ciorneif86ce812023-03-15 13:04:11 +020039 sysclk: sysclk {
40 compatible = "fixed-clock";
41 #clock-cells = <0>;
42 clock-frequency = <100000000>;
43 clock-output-names = "sysclk";
44 };
45
Ioana Ciornei923de4e2023-03-15 13:04:09 +020046 soc {
47 compatible = "simple-bus";
48 #address-cells = <2>;
49 #size-cells = <2>;
50 ranges;
51 dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
52
Ioana Ciorneif86ce812023-03-15 13:04:11 +020053 clockgen: clocking@1300000 {
54 compatible = "fsl,ls1088a-clockgen";
55 reg = <0 0x1300000 0 0xa0000>;
56 #clock-cells = <2>;
57 clocks = <&sysclk>;
58 };
59
60 duart0: serial@21c0500 {
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020061 compatible = "fsl,ns16550", "ns16550a";
62 reg = <0x0 0x21c0500 0x0 0x100>;
Ioana Ciorneif86ce812023-03-15 13:04:11 +020063 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
64 QORIQ_CLK_PLL_DIV(4)>;
65 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
66 status = "disabled";
Ioana Ciornei865cc802023-03-15 13:04:12 +020067 bootph-all;
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020068 };
69
Ioana Ciorneif86ce812023-03-15 13:04:11 +020070 duart1: serial@21c0600 {
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020071 compatible = "fsl,ns16550", "ns16550a";
72 reg = <0x0 0x21c0600 0x0 0x100>;
Ioana Ciorneif86ce812023-03-15 13:04:11 +020073 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
74 QORIQ_CLK_PLL_DIV(4)>;
75 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
76 status = "disabled";
Ioana Ciornei865cc802023-03-15 13:04:12 +020077 bootph-all;
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020078 };
Ioana Ciornei923de4e2023-03-15 13:04:09 +020079 };
80
Chuanhua Han2f2767b2019-07-23 18:43:14 +080081 i2c0: i2c@2000000 {
82 compatible = "fsl,vf610-i2c";
83 #address-cells = <1>;
84 #size-cells = <0>;
85 reg = <0x0 0x2000000 0x0 0x10000>;
86 interrupts = <0 34 4>;
87 };
88
89 i2c1: i2c@2010000 {
90 compatible = "fsl,vf610-i2c";
91 #address-cells = <1>;
92 #size-cells = <0>;
93 reg = <0x0 0x2010000 0x0 0x10000>;
94 interrupts = <0 34 4>;
95 };
96
97 i2c2: i2c@2020000 {
98 compatible = "fsl,vf610-i2c";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 reg = <0x0 0x2020000 0x0 0x10000>;
102 interrupts = <0 35 4>;
103 };
104
105 i2c3: i2c@2030000 {
106 compatible = "fsl,vf610-i2c";
107 #address-cells = <1>;
108 #size-cells = <0>;
109 reg = <0x0 0x2030000 0x0 0x10000>;
110 interrupts = <0 35 4>;
111 };
112
Ashish Kumarb25faa22017-08-31 16:12:53 +0530113 dspi: dspi@2100000 {
114 compatible = "fsl,vf610-dspi";
115 #address-cells = <1>;
116 #size-cells = <0>;
117 reg = <0x0 0x2100000 0x0 0x10000>;
118 interrupts = <0 26 0x4>; /* Level high type */
Michael Walle2de392c2021-10-13 18:14:18 +0200119 spi-num-chipselects = <6>;
Ashish Kumarb25faa22017-08-31 16:12:53 +0530120 };
121
122 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530123 compatible = "fsl,ls1088a-qspi";
Ashish Kumarb25faa22017-08-31 16:12:53 +0530124 #address-cells = <1>;
125 #size-cells = <0>;
126 reg = <0x0 0x20c0000 0x0 0x10000>,
127 <0x0 0x20000000 0x0 0x10000000>;
128 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singh46d908b2021-10-01 16:24:24 +0530129 status = "disabled";
Ashish Kumarb25faa22017-08-31 16:12:53 +0530130 };
Yinbo Zhu26caa0e2018-09-25 14:47:09 +0800131
132 esdhc: esdhc@2140000 {
133 compatible = "fsl,esdhc";
134 reg = <0x0 0x2140000 0x0 0x10000>;
135 interrupts = <0 28 0x4>; /* Level high type */
136 little-endian;
137 bus-width = <4>;
138 };
139
Biwen Li0f42d062021-02-05 19:01:53 +0800140 gpio0: gpio@2300000 {
141 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
142 reg = <0x0 0x2300000 0x0 0x10000>;
143 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
144 little-endian;
145 gpio-controller;
146 #gpio-cells = <2>;
147 interrupt-controller;
148 #interrupt-cells = <2>;
149 };
150
151 gpio1: gpio@2310000 {
152 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
153 reg = <0x0 0x2310000 0x0 0x10000>;
154 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
155 little-endian;
156 gpio-controller;
157 #gpio-cells = <2>;
158 interrupt-controller;
159 #interrupt-cells = <2>;
160 };
161
162 gpio2: gpio@2320000 {
163 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
164 reg = <0x0 0x2320000 0x0 0x10000>;
165 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
166 little-endian;
167 gpio-controller;
168 #gpio-cells = <2>;
169 interrupt-controller;
170 #interrupt-cells = <2>;
171 };
172
173 gpio3: gpio@2330000 {
174 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
175 reg = <0x0 0x2330000 0x0 0x10000>;
176 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
177 little-endian;
178 gpio-controller;
179 #gpio-cells = <2>;
180 interrupt-controller;
181 #interrupt-cells = <2>;
182 };
183
Ashish Kumar55fd8b92018-02-19 14:16:58 +0530184 ifc: ifc@1530000 {
185 compatible = "fsl,ifc", "simple-bus";
186 reg = <0x0 0x2240000 0x0 0x20000>;
187 interrupts = <0 21 0x4>; /* Level high type */
188 };
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800189
Ran Wang9a43a6c2017-10-23 10:09:24 +0800190 usb0: usb3@3100000 {
191 compatible = "fsl,layerscape-dwc3";
192 reg = <0x0 0x3100000 0x0 0x10000>;
193 interrupts = <0 80 0x4>; /* Level high type */
194 dr_mode = "host";
195 };
196
197 usb1: usb3@3110000 {
198 compatible = "fsl,layerscape-dwc3";
199 reg = <0x0 0x3110000 0x0 0x10000>;
200 interrupts = <0 81 0x4>; /* Level high type */
201 dr_mode = "host";
202 };
203
Gaurav Jain994824c2022-03-24 11:50:34 +0530204 crypto: crypto@8000000 {
205 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
206 fsl,sec-era = <8>;
207 #address-cells = <1>;
208 #size-cells = <1>;
209 ranges = <0x0 0x00 0x8000000 0x100000>;
210 reg = <0x00 0x8000000 0x0 0x100000>;
211 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
212 dma-coherent;
213
214 sec_jr0: jr@10000 {
215 compatible = "fsl,sec-v5.0-job-ring",
216 "fsl,sec-v4.0-job-ring";
217 reg = <0x10000 0x10000>;
218 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
219 };
220
221 sec_jr1: jr@20000 {
222 compatible = "fsl,sec-v5.0-job-ring",
223 "fsl,sec-v4.0-job-ring";
224 reg = <0x20000 0x10000>;
225 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
226 };
227
228 sec_jr2: jr@30000 {
229 compatible = "fsl,sec-v5.0-job-ring",
230 "fsl,sec-v4.0-job-ring";
231 reg = <0x30000 0x10000>;
232 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
233 };
234
235 sec_jr3: jr@40000 {
236 compatible = "fsl,sec-v5.0-job-ring",
237 "fsl,sec-v4.0-job-ring";
238 reg = <0x40000 0x10000>;
239 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
240 };
241 };
242
Wasim Khan5c1ac222020-09-28 16:26:09 +0530243 pcie1: pcie@3400000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800244 compatible = "fsl,ls-pcie", "snps,dw-pcie";
245 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
246 0x00 0x03480000 0x0 0x80000 /* lut registers */
247 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
248 0x20 0x00000000 0x0 0x20000>; /* configuration space */
249 reg-names = "dbi", "lut", "ctrl", "config";
250 #address-cells = <3>;
251 #size-cells = <2>;
252 device_type = "pci";
253 num-lanes = <4>;
254 bus-range = <0x0 0xff>;
255 ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000 /* downstream I/O */
256 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
257 };
258
Wasim Khan5c1ac222020-09-28 16:26:09 +0530259 pcie2: pcie@3500000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800260 compatible = "fsl,ls-pcie", "snps,dw-pcie";
261 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
262 0x00 0x03580000 0x0 0x80000 /* lut registers */
263 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
264 0x28 0x00000000 0x0 0x20000>; /* configuration space */
265 reg-names = "dbi", "lut", "ctrl", "config";
266 #address-cells = <3>;
267 #size-cells = <2>;
268 device_type = "pci";
269 num-lanes = <4>;
270 bus-range = <0x0 0xff>;
271 ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000 /* downstream I/O */
272 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
273 };
274
Wasim Khan5c1ac222020-09-28 16:26:09 +0530275 pcie3: pcie@3600000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800276 compatible = "fsl,ls-pcie", "snps,dw-pcie";
277 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
278 0x00 0x03680000 0x0 0x80000 /* lut registers */
279 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */
280 0x30 0x00000000 0x0 0x20000>; /* configuration space */
281 reg-names = "dbi", "lut", "ctrl", "config";
282 #address-cells = <3>;
283 #size-cells = <2>;
284 device_type = "pci";
285 num-lanes = <8>;
286 bus-range = <0x0 0xff>;
287 ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000 /* downstream I/O */
288 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
289 };
Peng Ma47ab8342018-10-22 10:39:50 +0800290
291 sata: sata@3200000 {
292 compatible = "fsl,ls1088a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000293 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
294 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200295 reg-names = "ahci", "sata-ecc";
Peng Ma47ab8342018-10-22 10:39:50 +0800296 interrupts = <0 133 4>;
297 status = "disabled";
298 };
299
Mathew McBride505ca5d2019-10-18 14:27:53 +1100300 psci {
301 compatible = "arm,psci-0.2";
302 method = "smc";
303 };
304
Ioana Ciorneie62ae822020-03-18 16:47:46 +0200305 fsl_mc: fsl-mc@80c000000 {
306 compatible = "fsl,qoriq-mc", "simple-mfd";
307 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
308 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
309 #address-cells = <3>;
310 #size-cells = <1>;
311
312 /*
313 * Region type 0x0 - MC portals
314 * Region type 0x1 - QBMAN portals
315 */
316 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
317 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
318
319 dpmacs {
320 compatible = "simple-mfd";
321 #address-cells = <1>;
322 #size-cells = <0>;
323
324 dpmac1: dpmac@1 {
325 compatible = "fsl,qoriq-mc-dpmac";
326 reg = <0x1>;
327 status = "disabled";
328 };
329
330 dpmac2: dpmac@2 {
331 compatible = "fsl,qoriq-mc-dpmac";
332 reg = <0x2>;
333 status = "disabled";
334 };
335
336 dpmac3: dpmac@3 {
337 compatible = "fsl,qoriq-mc-dpmac";
338 reg = <0x3>;
339 status = "disabled";
340 };
341
342 dpmac4: dpmac@4 {
343 compatible = "fsl,qoriq-mc-dpmac";
344 reg = <0x4>;
345 status = "disabled";
346 };
347
348 dpmac5: dpmac@5 {
349 compatible = "fsl,qoriq-mc-dpmac";
350 reg = <0x5>;
351 status = "disabled";
352 };
353
354 dpmac6: dpmac@6 {
355 compatible = "fsl,qoriq-mc-dpmac";
356 reg = <0x6>;
357 status = "disabled";
358 };
359
360 dpmac7: dpmac@7 {
361 compatible = "fsl,qoriq-mc-dpmac";
362 reg = <0x7>;
363 status = "disabled";
364 };
365
366 dpmac8: dpmac@8 {
367 compatible = "fsl,qoriq-mc-dpmac";
368 reg = <0x8>;
369 status = "disabled";
370 };
371
372 dpmac9: dpmac@9 {
373 compatible = "fsl,qoriq-mc-dpmac";
374 reg = <0x9>;
375 status = "disabled";
376 };
377
378 dpmac10: dpmac@a {
379 compatible = "fsl,qoriq-mc-dpmac";
380 reg = <0xa>;
381 status = "disabled";
382 };
383 };
384 };
385
Ioana Ciorneidf3b8c52020-03-18 16:47:43 +0200386 emdio1: mdio@8B96000 {
387 compatible = "fsl,ls-mdio";
388 reg = <0x0 0x8B96000 0x0 0x1000>;
389 #address-cells = <1>;
390 #size-cells = <0>;
391 status = "disabled";
392 };
393
394 emdio2: mdio@8B97000 {
395 compatible = "fsl,ls-mdio";
396 reg = <0x0 0x8B97000 0x0 0x1000>;
397 #address-cells = <1>;
398 #size-cells = <0>;
399 status = "disabled";
400 };
Ashish Kumarb25faa22017-08-31 16:12:53 +0530401};