blob: b094bcf67c4f1fea7744d619b21a3a7eac24d68a [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 Ciornei006bd1b2023-03-15 13:04:10 +020067 };
68
Ioana Ciorneif86ce812023-03-15 13:04:11 +020069 duart1: serial@21c0600 {
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020070 compatible = "fsl,ns16550", "ns16550a";
71 reg = <0x0 0x21c0600 0x0 0x100>;
Ioana Ciorneif86ce812023-03-15 13:04:11 +020072 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
73 QORIQ_CLK_PLL_DIV(4)>;
74 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
75 status = "disabled";
Ioana Ciornei006bd1b2023-03-15 13:04:10 +020076 };
Ioana Ciornei923de4e2023-03-15 13:04:09 +020077 };
78
Chuanhua Han2f2767b2019-07-23 18:43:14 +080079 i2c0: i2c@2000000 {
80 compatible = "fsl,vf610-i2c";
81 #address-cells = <1>;
82 #size-cells = <0>;
83 reg = <0x0 0x2000000 0x0 0x10000>;
84 interrupts = <0 34 4>;
85 };
86
87 i2c1: i2c@2010000 {
88 compatible = "fsl,vf610-i2c";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 reg = <0x0 0x2010000 0x0 0x10000>;
92 interrupts = <0 34 4>;
93 };
94
95 i2c2: i2c@2020000 {
96 compatible = "fsl,vf610-i2c";
97 #address-cells = <1>;
98 #size-cells = <0>;
99 reg = <0x0 0x2020000 0x0 0x10000>;
100 interrupts = <0 35 4>;
101 };
102
103 i2c3: i2c@2030000 {
104 compatible = "fsl,vf610-i2c";
105 #address-cells = <1>;
106 #size-cells = <0>;
107 reg = <0x0 0x2030000 0x0 0x10000>;
108 interrupts = <0 35 4>;
109 };
110
Ashish Kumarb25faa22017-08-31 16:12:53 +0530111 dspi: dspi@2100000 {
112 compatible = "fsl,vf610-dspi";
113 #address-cells = <1>;
114 #size-cells = <0>;
115 reg = <0x0 0x2100000 0x0 0x10000>;
116 interrupts = <0 26 0x4>; /* Level high type */
Michael Walle2de392c2021-10-13 18:14:18 +0200117 spi-num-chipselects = <6>;
Ashish Kumarb25faa22017-08-31 16:12:53 +0530118 };
119
120 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530121 compatible = "fsl,ls1088a-qspi";
Ashish Kumarb25faa22017-08-31 16:12:53 +0530122 #address-cells = <1>;
123 #size-cells = <0>;
124 reg = <0x0 0x20c0000 0x0 0x10000>,
125 <0x0 0x20000000 0x0 0x10000000>;
126 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singh46d908b2021-10-01 16:24:24 +0530127 status = "disabled";
Ashish Kumarb25faa22017-08-31 16:12:53 +0530128 };
Yinbo Zhu26caa0e2018-09-25 14:47:09 +0800129
130 esdhc: esdhc@2140000 {
131 compatible = "fsl,esdhc";
132 reg = <0x0 0x2140000 0x0 0x10000>;
133 interrupts = <0 28 0x4>; /* Level high type */
134 little-endian;
135 bus-width = <4>;
136 };
137
Biwen Li0f42d062021-02-05 19:01:53 +0800138 gpio0: gpio@2300000 {
139 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
140 reg = <0x0 0x2300000 0x0 0x10000>;
141 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
142 little-endian;
143 gpio-controller;
144 #gpio-cells = <2>;
145 interrupt-controller;
146 #interrupt-cells = <2>;
147 };
148
149 gpio1: gpio@2310000 {
150 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
151 reg = <0x0 0x2310000 0x0 0x10000>;
152 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
153 little-endian;
154 gpio-controller;
155 #gpio-cells = <2>;
156 interrupt-controller;
157 #interrupt-cells = <2>;
158 };
159
160 gpio2: gpio@2320000 {
161 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
162 reg = <0x0 0x2320000 0x0 0x10000>;
163 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
164 little-endian;
165 gpio-controller;
166 #gpio-cells = <2>;
167 interrupt-controller;
168 #interrupt-cells = <2>;
169 };
170
171 gpio3: gpio@2330000 {
172 compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
173 reg = <0x0 0x2330000 0x0 0x10000>;
174 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
175 little-endian;
176 gpio-controller;
177 #gpio-cells = <2>;
178 interrupt-controller;
179 #interrupt-cells = <2>;
180 };
181
Ashish Kumar55fd8b92018-02-19 14:16:58 +0530182 ifc: ifc@1530000 {
183 compatible = "fsl,ifc", "simple-bus";
184 reg = <0x0 0x2240000 0x0 0x20000>;
185 interrupts = <0 21 0x4>; /* Level high type */
186 };
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800187
Ran Wang9a43a6c2017-10-23 10:09:24 +0800188 usb0: usb3@3100000 {
189 compatible = "fsl,layerscape-dwc3";
190 reg = <0x0 0x3100000 0x0 0x10000>;
191 interrupts = <0 80 0x4>; /* Level high type */
192 dr_mode = "host";
193 };
194
195 usb1: usb3@3110000 {
196 compatible = "fsl,layerscape-dwc3";
197 reg = <0x0 0x3110000 0x0 0x10000>;
198 interrupts = <0 81 0x4>; /* Level high type */
199 dr_mode = "host";
200 };
201
Gaurav Jain994824c2022-03-24 11:50:34 +0530202 crypto: crypto@8000000 {
203 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
204 fsl,sec-era = <8>;
205 #address-cells = <1>;
206 #size-cells = <1>;
207 ranges = <0x0 0x00 0x8000000 0x100000>;
208 reg = <0x00 0x8000000 0x0 0x100000>;
209 interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
210 dma-coherent;
211
212 sec_jr0: jr@10000 {
213 compatible = "fsl,sec-v5.0-job-ring",
214 "fsl,sec-v4.0-job-ring";
215 reg = <0x10000 0x10000>;
216 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
217 };
218
219 sec_jr1: jr@20000 {
220 compatible = "fsl,sec-v5.0-job-ring",
221 "fsl,sec-v4.0-job-ring";
222 reg = <0x20000 0x10000>;
223 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
224 };
225
226 sec_jr2: jr@30000 {
227 compatible = "fsl,sec-v5.0-job-ring",
228 "fsl,sec-v4.0-job-ring";
229 reg = <0x30000 0x10000>;
230 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
231 };
232
233 sec_jr3: jr@40000 {
234 compatible = "fsl,sec-v5.0-job-ring",
235 "fsl,sec-v4.0-job-ring";
236 reg = <0x40000 0x10000>;
237 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
238 };
239 };
240
Wasim Khan5c1ac222020-09-28 16:26:09 +0530241 pcie1: pcie@3400000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800242 compatible = "fsl,ls-pcie", "snps,dw-pcie";
243 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
244 0x00 0x03480000 0x0 0x80000 /* lut registers */
245 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
246 0x20 0x00000000 0x0 0x20000>; /* configuration space */
247 reg-names = "dbi", "lut", "ctrl", "config";
248 #address-cells = <3>;
249 #size-cells = <2>;
250 device_type = "pci";
251 num-lanes = <4>;
252 bus-range = <0x0 0xff>;
253 ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000 /* downstream I/O */
254 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
255 };
256
Wasim Khan5c1ac222020-09-28 16:26:09 +0530257 pcie2: pcie@3500000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800258 compatible = "fsl,ls-pcie", "snps,dw-pcie";
259 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
260 0x00 0x03580000 0x0 0x80000 /* lut registers */
261 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
262 0x28 0x00000000 0x0 0x20000>; /* configuration space */
263 reg-names = "dbi", "lut", "ctrl", "config";
264 #address-cells = <3>;
265 #size-cells = <2>;
266 device_type = "pci";
267 num-lanes = <4>;
268 bus-range = <0x0 0xff>;
269 ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000 /* downstream I/O */
270 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
271 };
272
Wasim Khan5c1ac222020-09-28 16:26:09 +0530273 pcie3: pcie@3600000 {
Hou Zhiqiang6ae9a8c2017-09-04 10:47:53 +0800274 compatible = "fsl,ls-pcie", "snps,dw-pcie";
275 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
276 0x00 0x03680000 0x0 0x80000 /* lut registers */
277 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */
278 0x30 0x00000000 0x0 0x20000>; /* configuration space */
279 reg-names = "dbi", "lut", "ctrl", "config";
280 #address-cells = <3>;
281 #size-cells = <2>;
282 device_type = "pci";
283 num-lanes = <8>;
284 bus-range = <0x0 0xff>;
285 ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000 /* downstream I/O */
286 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
287 };
Peng Ma47ab8342018-10-22 10:39:50 +0800288
289 sata: sata@3200000 {
290 compatible = "fsl,ls1088a-ahci";
Peng Mae70d3622019-04-17 10:10:49 +0000291 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
292 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
Michael Walle0234b5f2021-10-13 18:14:20 +0200293 reg-names = "ahci", "sata-ecc";
Peng Ma47ab8342018-10-22 10:39:50 +0800294 interrupts = <0 133 4>;
295 status = "disabled";
296 };
297
Mathew McBride505ca5d2019-10-18 14:27:53 +1100298 psci {
299 compatible = "arm,psci-0.2";
300 method = "smc";
301 };
302
Ioana Ciorneie62ae822020-03-18 16:47:46 +0200303 fsl_mc: fsl-mc@80c000000 {
304 compatible = "fsl,qoriq-mc", "simple-mfd";
305 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
306 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
307 #address-cells = <3>;
308 #size-cells = <1>;
309
310 /*
311 * Region type 0x0 - MC portals
312 * Region type 0x1 - QBMAN portals
313 */
314 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
315 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
316
317 dpmacs {
318 compatible = "simple-mfd";
319 #address-cells = <1>;
320 #size-cells = <0>;
321
322 dpmac1: dpmac@1 {
323 compatible = "fsl,qoriq-mc-dpmac";
324 reg = <0x1>;
325 status = "disabled";
326 };
327
328 dpmac2: dpmac@2 {
329 compatible = "fsl,qoriq-mc-dpmac";
330 reg = <0x2>;
331 status = "disabled";
332 };
333
334 dpmac3: dpmac@3 {
335 compatible = "fsl,qoriq-mc-dpmac";
336 reg = <0x3>;
337 status = "disabled";
338 };
339
340 dpmac4: dpmac@4 {
341 compatible = "fsl,qoriq-mc-dpmac";
342 reg = <0x4>;
343 status = "disabled";
344 };
345
346 dpmac5: dpmac@5 {
347 compatible = "fsl,qoriq-mc-dpmac";
348 reg = <0x5>;
349 status = "disabled";
350 };
351
352 dpmac6: dpmac@6 {
353 compatible = "fsl,qoriq-mc-dpmac";
354 reg = <0x6>;
355 status = "disabled";
356 };
357
358 dpmac7: dpmac@7 {
359 compatible = "fsl,qoriq-mc-dpmac";
360 reg = <0x7>;
361 status = "disabled";
362 };
363
364 dpmac8: dpmac@8 {
365 compatible = "fsl,qoriq-mc-dpmac";
366 reg = <0x8>;
367 status = "disabled";
368 };
369
370 dpmac9: dpmac@9 {
371 compatible = "fsl,qoriq-mc-dpmac";
372 reg = <0x9>;
373 status = "disabled";
374 };
375
376 dpmac10: dpmac@a {
377 compatible = "fsl,qoriq-mc-dpmac";
378 reg = <0xa>;
379 status = "disabled";
380 };
381 };
382 };
383
Ioana Ciorneidf3b8c52020-03-18 16:47:43 +0200384 emdio1: mdio@8B96000 {
385 compatible = "fsl,ls-mdio";
386 reg = <0x0 0x8B96000 0x0 0x1000>;
387 #address-cells = <1>;
388 #size-cells = <0>;
389 status = "disabled";
390 };
391
392 emdio2: mdio@8B97000 {
393 compatible = "fsl,ls-mdio";
394 reg = <0x0 0x8B97000 0x0 0x1000>;
395 #address-cells = <1>;
396 #size-cells = <0>;
397 status = "disabled";
398 };
Ashish Kumarb25faa22017-08-31 16:12:53 +0530399};