blob: d754eb4d5cc80c5d5577816276aba7285a5b2e36 [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Haikun Wangd941f712015-06-26 19:48:36 +08002/*
Wasim Khanba45dd22020-09-28 16:26:08 +05303 * NXP ls2080a SOC common device tree source
Haikun Wangd941f712015-06-26 19:48:36 +08004 *
Biwen Lieeeab272021-02-05 19:01:54 +08005 * Copyright 2020-2021 NXP
Haikun Wangd941f712015-06-26 19:48:36 +08006 * Copyright 2013-2015 Freescale Semiconductor, Inc.
Haikun Wangd941f712015-06-26 19:48:36 +08007 */
8
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +02009#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
10
Haikun Wangd941f712015-06-26 19:48:36 +080011/ {
Prabhakar Kushwaha44937212015-11-09 16:42:07 +053012 compatible = "fsl,ls2080a";
Haikun Wangd941f712015-06-26 19:48:36 +080013 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
16
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +020017 aliases {
18 serial0 = &serial0;
19 serial1 = &serial1;
20 };
21
Haikun Wangd941f712015-06-26 19:48:36 +080022 memory@80000000 {
23 device_type = "memory";
24 reg = <0x00000000 0x80000000 0 0x80000000>;
25 /* DRAM space - 1, size : 2 GB DRAM */
26 };
27
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +020028 sysclk: sysclk {
29 compatible = "fixed-clock";
30 #clock-cells = <0>;
31 clock-frequency = <100000000>;
32 clock-output-names = "sysclk";
33 };
34
Haikun Wangd941f712015-06-26 19:48:36 +080035 gic: interrupt-controller@6000000 {
36 compatible = "arm,gic-v3";
37 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
38 <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
39 #interrupt-cells = <3>;
40 interrupt-controller;
41 interrupts = <1 9 0x4>;
42 };
43
44 timer {
45 compatible = "arm,armv8-timer";
46 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
47 <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
48 <1 11 0x8>, /* Virtual PPI, active-low */
49 <1 10 0x8>; /* Hypervisor PPI, active-low */
50 };
51
Ioana Ciorneic445af62023-02-28 18:32:08 +020052 soc {
53 compatible = "simple-bus";
54 #address-cells = <2>;
55 #size-cells = <2>;
56 ranges;
57 dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
58
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +020059 clockgen: clocking@1300000 {
60 compatible = "fsl,ls2080a-clockgen";
61 reg = <0 0x1300000 0 0xa0000>;
62 #clock-cells = <2>;
63 clocks = <&sysclk>;
64 };
65
Ioana Ciornei853c3122023-02-28 18:32:09 +020066 serial0: serial@21c0500 {
Ioana Ciornei853c3122023-02-28 18:32:09 +020067 compatible = "fsl,ns16550", "ns16550a";
68 reg = <0x0 0x21c0500 0x0 0x100>;
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +020069 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
70 QORIQ_CLK_PLL_DIV(4)>;
71 interrupts = <0 32 0x4>; /* Level high type */
Ioana Ciornei5a2416f2023-02-28 18:32:11 +020072 bootph-all;
Ioana Ciornei853c3122023-02-28 18:32:09 +020073 };
Ioana Ciorneic445af62023-02-28 18:32:08 +020074
Ioana Ciornei853c3122023-02-28 18:32:09 +020075 serial1: serial@21c0600 {
Ioana Ciornei853c3122023-02-28 18:32:09 +020076 compatible = "fsl,ns16550", "ns16550a";
77 reg = <0x0 0x21c0600 0x0 0x100>;
Ioana Ciornei1d37e4a2023-02-28 18:32:10 +020078 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
79 QORIQ_CLK_PLL_DIV(4)>;
80 interrupts = <0 32 0x4>; /* Level high type */
Ioana Ciornei5a2416f2023-02-28 18:32:11 +020081 bootph-all;
Ioana Ciornei853c3122023-02-28 18:32:09 +020082 };
Haikun Wangd941f712015-06-26 19:48:36 +080083 };
84
chuanhua han407916f2019-07-22 16:36:45 +080085 i2c0: i2c@2000000 {
86 status = "disabled";
87 compatible = "fsl,vf610-i2c";
88 #address-cells = <1>;
89 #size-cells = <0>;
90 reg = <0x0 0x2000000 0x0 0x10000>;
91 interrupts = <0 34 0x4>; /* Level high type */
92 };
93
94 i2c1: i2c@2010000 {
95 status = "disabled";
96 compatible = "fsl,vf610-i2c";
97 #address-cells = <1>;
98 #size-cells = <0>;
99 reg = <0x0 0x2010000 0x0 0x10000>;
100 interrupts = <0 34 0x4>; /* Level high type */
101 };
102
103 i2c2: i2c@2020000 {
104 status = "disabled";
105 compatible = "fsl,vf610-i2c";
106 #address-cells = <1>;
107 #size-cells = <0>;
108 reg = <0x0 0x2020000 0x0 0x10000>;
109 interrupts = <0 35 0x4>; /* Level high type */
110 };
111
112 i2c3: i2c@2030000 {
113 status = "disabled";
114 compatible = "fsl,vf610-i2c";
115 #address-cells = <1>;
116 #size-cells = <0>;
117 reg = <0x0 0x2030000 0x0 0x10000>;
118 interrupts = <0 35 0x4>; /* Level high type */
119 };
120
Haikun Wangfe69a0e2015-06-26 19:48:45 +0800121 dspi: dspi@2100000 {
122 compatible = "fsl,vf610-dspi";
123 #address-cells = <1>;
124 #size-cells = <0>;
125 reg = <0x0 0x2100000 0x0 0x10000>;
126 interrupts = <0 26 0x4>; /* Level high type */
Michael Walle8c580892021-10-13 18:14:18 +0200127 spi-num-chipselects = <6>;
Haikun Wangfe69a0e2015-06-26 19:48:45 +0800128 };
Yuan Yao95ab8512016-06-08 18:24:56 +0800129
130 qspi: quadspi@1550000 {
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530131 compatible = "fsl,ls2080a-qspi";
Yuan Yao95ab8512016-06-08 18:24:56 +0800132 #address-cells = <1>;
133 #size-cells = <0>;
134 reg = <0x0 0x20c0000 0x0 0x10000>,
135 <0x0 0x20000000 0x0 0x10000000>;
136 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530137 status = "disabled";
Yuan Yao95ab8512016-06-08 18:24:56 +0800138 };
Sriram Dash68ec3882016-10-07 14:07:36 +0530139
Yinbo Zhu99e00712018-09-25 14:47:08 +0800140 esdhc: esdhc@0 {
141 compatible = "fsl,esdhc";
142 reg = <0x0 0x2140000 0x0 0x10000>;
143 interrupts = <0 28 0x4>; /* Level high type */
144 little-endian;
145 bus-width = <4>;
146 };
147
Biwen Lieeeab272021-02-05 19:01:54 +0800148 gpio0: gpio@2300000 {
149 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
150 reg = <0x0 0x2300000 0x0 0x10000>;
151 interrupts = <0 36 0x4>; /* Level high type */
152 gpio-controller;
153 little-endian;
154 #gpio-cells = <2>;
155 interrupt-controller;
156 #interrupt-cells = <2>;
157 };
158
159 gpio1: gpio@2310000 {
160 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
161 reg = <0x0 0x2310000 0x0 0x10000>;
162 interrupts = <0 36 0x4>; /* Level high type */
163 gpio-controller;
164 little-endian;
165 #gpio-cells = <2>;
166 interrupt-controller;
167 #interrupt-cells = <2>;
168 };
169
170 gpio2: gpio@2320000 {
171 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
172 reg = <0x0 0x2320000 0x0 0x10000>;
173 interrupts = <0 37 0x4>; /* Level high type */
174 gpio-controller;
175 little-endian;
176 #gpio-cells = <2>;
177 interrupt-controller;
178 #interrupt-cells = <2>;
179 };
180
181 gpio3: gpio@2330000 {
182 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
183 reg = <0x0 0x2330000 0x0 0x10000>;
184 interrupts = <0 37 0x4>; /* Level high type */
185 gpio-controller;
186 little-endian;
187 #gpio-cells = <2>;
188 interrupt-controller;
189 #interrupt-cells = <2>;
190 };
191
Sriram Dash68ec3882016-10-07 14:07:36 +0530192 usb0: usb3@3100000 {
193 compatible = "fsl,layerscape-dwc3";
194 reg = <0x0 0x3100000 0x0 0x10000>;
195 interrupts = <0 80 0x4>; /* Level high type */
196 dr_mode = "host";
197 };
198
199 usb1: usb3@3110000 {
200 compatible = "fsl,layerscape-dwc3";
201 reg = <0x0 0x3110000 0x0 0x10000>;
202 interrupts = <0 81 0x4>; /* Level high type */
203 dr_mode = "host";
204 };
Minghuan Lian33f61e02016-12-13 14:54:15 +0800205
Wasim Khanba45dd22020-09-28 16:26:08 +0530206 pcie1: pcie@3400000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800207 compatible = "fsl,ls-pcie", "snps,dw-pcie";
208 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
209 0x00 0x03480000 0x0 0x80000 /* lut registers */
210 0x10 0x00000000 0x0 0x20000>; /* configuration space */
211 reg-names = "dbi", "lut", "config";
212 #address-cells = <3>;
213 #size-cells = <2>;
214 device_type = "pci";
215 num-lanes = <4>;
216 bus-range = <0x0 0xff>;
217 ranges = <0x81000000 0x0 0x00000000 0x10 0x00020000 0x0 0x00010000 /* downstream I/O */
218 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
219 };
220
Wasim Khanba45dd22020-09-28 16:26:08 +0530221 pcie2: pcie@3500000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800222 compatible = "fsl,ls-pcie", "snps,dw-pcie";
223 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
224 0x00 0x03580000 0x0 0x80000 /* lut registers */
225 0x12 0x00000000 0x0 0x20000>; /* configuration space */
226 reg-names = "dbi", "lut", "config";
227 #address-cells = <3>;
228 #size-cells = <2>;
229 device_type = "pci";
230 num-lanes = <4>;
231 bus-range = <0x0 0xff>;
232 ranges = <0x81000000 0x0 0x00000000 0x12 0x00020000 0x0 0x00010000 /* downstream I/O */
233 0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
234 };
235
Wasim Khanba45dd22020-09-28 16:26:08 +0530236 pcie3: pcie@3600000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800237 compatible = "fsl,ls-pcie", "snps,dw-pcie";
238 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
239 0x00 0x03680000 0x0 0x80000 /* lut registers */
240 0x14 0x00000000 0x0 0x20000>; /* configuration space */
241 reg-names = "dbi", "lut", "config";
242 #address-cells = <3>;
243 #size-cells = <2>;
244 device_type = "pci";
245 num-lanes = <8>;
246 bus-range = <0x0 0xff>;
247 ranges = <0x81000000 0x0 0x00000000 0x14 0x00020000 0x0 0x00010000 /* downstream I/O */
248 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
249 };
250
Wasim Khanba45dd22020-09-28 16:26:08 +0530251 pcie4: pcie@3700000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800252 compatible = "fsl,ls-pcie", "snps,dw-pcie";
253 reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */
254 0x00 0x03780000 0x0 0x80000 /* lut registers */
255 0x16 0x00000000 0x0 0x20000>; /* configuration space */
256 reg-names = "dbi", "lut", "config";
257 #address-cells = <3>;
258 #size-cells = <2>;
259 device_type = "pci";
260 num-lanes = <4>;
261 bus-range = <0x0 0xff>;
262 ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000 /* downstream I/O */
263 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
264 };
Peng Ma8ec42852018-10-22 10:43:21 +0800265
266 sata: sata@3200000 {
267 compatible = "fsl,ls2080a-ahci";
268 reg = <0x0 0x3200000 0x0 0x10000>;
269 interrupts = <0 133 0x4>; /* Level high type */
270 status = "disabled";
271 };
272
Gaurav Jain88071ca2022-03-24 11:50:34 +0530273 crypto: crypto@8000000 {
274 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
275 fsl,sec-era = <8>;
276 #address-cells = <1>;
277 #size-cells = <1>;
278 ranges = <0x0 0x00 0x8000000 0x100000>;
279 reg = <0x00 0x8000000 0x0 0x100000>;
280 interrupts = <0 139 0x4>; /* Level high type */
281 dma-coherent;
282
283 sec_jr0: jr@10000 {
284 compatible = "fsl,sec-v5.0-job-ring",
285 "fsl,sec-v4.0-job-ring";
286 reg = <0x10000 0x10000>;
287 interrupts = <0 140 0x4>; /* Level high type */
288 };
289
290 sec_jr1: jr@20000 {
291 compatible = "fsl,sec-v5.0-job-ring",
292 "fsl,sec-v4.0-job-ring";
293 reg = <0x20000 0x10000>;
294 interrupts = <0 141 0x4>; /* Level high type */
295 };
296
297 sec_jr2: jr@30000 {
298 compatible = "fsl,sec-v5.0-job-ring",
299 "fsl,sec-v4.0-job-ring";
300 reg = <0x30000 0x10000>;
301 interrupts = <0 142 0x4>; /* Level high type */
302 };
303
304 sec_jr3: jr@40000 {
305 compatible = "fsl,sec-v5.0-job-ring",
306 "fsl,sec-v4.0-job-ring";
307 reg = <0x40000 0x10000>;
308 interrupts = <0 143 0x4>; /* Level high type */
309 };
310 };
311
Ioana Ciornei87274912020-03-18 16:47:45 +0200312 fsl_mc: fsl-mc@80c000000 {
313 compatible = "fsl,qoriq-mc", "simple-mfd";
314 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
315 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
316 #address-cells = <3>;
317 #size-cells = <1>;
318
319 /*
320 * Region type 0x0 - MC portals
321 * Region type 0x1 - QBMAN portals
322 */
323 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
324 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
325
326 dpmacs {
327 compatible = "simple-mfd";
328 #address-cells = <1>;
329 #size-cells = <0>;
330
331 dpmac1: dpmac@1 {
332 compatible = "fsl,qoriq-mc-dpmac";
333 reg = <0x1>;
334 status = "disabled";
335 };
336
337 dpmac2: dpmac@2 {
338 compatible = "fsl,qoriq-mc-dpmac";
339 reg = <0x2>;
340 status = "disabled";
341 };
342
343 dpmac3: dpmac@3 {
344 compatible = "fsl,qoriq-mc-dpmac";
345 reg = <0x3>;
346 status = "disabled";
347 };
348
349 dpmac4: dpmac@4 {
350 compatible = "fsl,qoriq-mc-dpmac";
351 reg = <0x4>;
352 status = "disabled";
353 };
354
355 dpmac5: dpmac@5 {
356 compatible = "fsl,qoriq-mc-dpmac";
357 reg = <0x5>;
358 status = "disabled";
359 };
360
361 dpmac6: dpmac@6 {
362 compatible = "fsl,qoriq-mc-dpmac";
363 reg = <0x6>;
364 status = "disabled";
365 };
366
367 dpmac7: dpmac@7 {
368 compatible = "fsl,qoriq-mc-dpmac";
369 reg = <0x7>;
370 status = "disabled";
371 };
372
373 dpmac8: dpmac@8 {
374 compatible = "fsl,qoriq-mc-dpmac";
375 reg = <0x8>;
376 status = "disabled";
377 };
378 };
379 };
380
Ioana Ciornei0952d7c2020-03-18 16:47:42 +0200381 emdio1: mdio@8B96000 {
382 compatible = "fsl,ls-mdio";
383 reg = <0x0 0x8B96000 0x0 0x1000>;
384 #address-cells = <1>;
385 #size-cells = <0>;
386 status = "disabled";
387 };
388
389 emdio2: mdio@8B97000 {
390 compatible = "fsl,ls-mdio";
391 reg = <0x0 0x8B97000 0x0 0x1000>;
392 #address-cells = <1>;
393 #size-cells = <0>;
394 status = "disabled";
395 };
Haikun Wangd941f712015-06-26 19:48:36 +0800396};