blob: 72ba52594a18e8b1bccac1bc060d8e0781d855ae [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
9/ {
Prabhakar Kushwaha44937212015-11-09 16:42:07 +053010 compatible = "fsl,ls2080a";
Haikun Wangd941f712015-06-26 19:48:36 +080011 interrupt-parent = <&gic>;
12 #address-cells = <2>;
13 #size-cells = <2>;
14
Haikun Wangd941f712015-06-26 19:48:36 +080015 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
38 serial0: serial@21c0500 {
39 device_type = "serial";
40 compatible = "fsl,ns16550", "ns16550a";
41 reg = <0x0 0x21c0500 0x0 0x100>;
42 clock-frequency = <0>; /* Updated by bootloader */
43 interrupts = <0 32 0x1>; /* edge triggered */
44 };
45
46 serial1: serial@21c0600 {
47 device_type = "serial";
48 compatible = "fsl,ns16550", "ns16550a";
49 reg = <0x0 0x21c0600 0x0 0x100>;
50 clock-frequency = <0>; /* Updated by bootloader */
51 interrupts = <0 32 0x1>; /* edge triggered */
52 };
53
chuanhua han407916f2019-07-22 16:36:45 +080054 i2c0: i2c@2000000 {
55 status = "disabled";
56 compatible = "fsl,vf610-i2c";
57 #address-cells = <1>;
58 #size-cells = <0>;
59 reg = <0x0 0x2000000 0x0 0x10000>;
60 interrupts = <0 34 0x4>; /* Level high type */
61 };
62
63 i2c1: i2c@2010000 {
64 status = "disabled";
65 compatible = "fsl,vf610-i2c";
66 #address-cells = <1>;
67 #size-cells = <0>;
68 reg = <0x0 0x2010000 0x0 0x10000>;
69 interrupts = <0 34 0x4>; /* Level high type */
70 };
71
72 i2c2: i2c@2020000 {
73 status = "disabled";
74 compatible = "fsl,vf610-i2c";
75 #address-cells = <1>;
76 #size-cells = <0>;
77 reg = <0x0 0x2020000 0x0 0x10000>;
78 interrupts = <0 35 0x4>; /* Level high type */
79 };
80
81 i2c3: i2c@2030000 {
82 status = "disabled";
83 compatible = "fsl,vf610-i2c";
84 #address-cells = <1>;
85 #size-cells = <0>;
86 reg = <0x0 0x2030000 0x0 0x10000>;
87 interrupts = <0 35 0x4>; /* Level high type */
88 };
89
Haikun Wangfe69a0e2015-06-26 19:48:45 +080090 dspi: dspi@2100000 {
91 compatible = "fsl,vf610-dspi";
92 #address-cells = <1>;
93 #size-cells = <0>;
94 reg = <0x0 0x2100000 0x0 0x10000>;
95 interrupts = <0 26 0x4>; /* Level high type */
Michael Walle8c580892021-10-13 18:14:18 +020096 spi-num-chipselects = <6>;
Haikun Wangfe69a0e2015-06-26 19:48:45 +080097 };
Yuan Yao95ab8512016-06-08 18:24:56 +080098
99 qspi: quadspi@1550000 {
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530100 compatible = "fsl,ls2080a-qspi";
Yuan Yao95ab8512016-06-08 18:24:56 +0800101 #address-cells = <1>;
102 #size-cells = <0>;
103 reg = <0x0 0x20c0000 0x0 0x10000>,
104 <0x0 0x20000000 0x0 0x10000000>;
105 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530106 status = "disabled";
Yuan Yao95ab8512016-06-08 18:24:56 +0800107 };
Sriram Dash68ec3882016-10-07 14:07:36 +0530108
Yinbo Zhu99e00712018-09-25 14:47:08 +0800109 esdhc: esdhc@0 {
110 compatible = "fsl,esdhc";
111 reg = <0x0 0x2140000 0x0 0x10000>;
112 interrupts = <0 28 0x4>; /* Level high type */
113 little-endian;
114 bus-width = <4>;
115 };
116
Biwen Lieeeab272021-02-05 19:01:54 +0800117 gpio0: gpio@2300000 {
118 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
119 reg = <0x0 0x2300000 0x0 0x10000>;
120 interrupts = <0 36 0x4>; /* Level high type */
121 gpio-controller;
122 little-endian;
123 #gpio-cells = <2>;
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 };
127
128 gpio1: gpio@2310000 {
129 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
130 reg = <0x0 0x2310000 0x0 0x10000>;
131 interrupts = <0 36 0x4>; /* Level high type */
132 gpio-controller;
133 little-endian;
134 #gpio-cells = <2>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
137 };
138
139 gpio2: gpio@2320000 {
140 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
141 reg = <0x0 0x2320000 0x0 0x10000>;
142 interrupts = <0 37 0x4>; /* Level high type */
143 gpio-controller;
144 little-endian;
145 #gpio-cells = <2>;
146 interrupt-controller;
147 #interrupt-cells = <2>;
148 };
149
150 gpio3: gpio@2330000 {
151 compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
152 reg = <0x0 0x2330000 0x0 0x10000>;
153 interrupts = <0 37 0x4>; /* Level high type */
154 gpio-controller;
155 little-endian;
156 #gpio-cells = <2>;
157 interrupt-controller;
158 #interrupt-cells = <2>;
159 };
160
Sriram Dash68ec3882016-10-07 14:07:36 +0530161 usb0: usb3@3100000 {
162 compatible = "fsl,layerscape-dwc3";
163 reg = <0x0 0x3100000 0x0 0x10000>;
164 interrupts = <0 80 0x4>; /* Level high type */
165 dr_mode = "host";
166 };
167
168 usb1: usb3@3110000 {
169 compatible = "fsl,layerscape-dwc3";
170 reg = <0x0 0x3110000 0x0 0x10000>;
171 interrupts = <0 81 0x4>; /* Level high type */
172 dr_mode = "host";
173 };
Minghuan Lian33f61e02016-12-13 14:54:15 +0800174
Wasim Khanba45dd22020-09-28 16:26:08 +0530175 pcie1: pcie@3400000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800176 compatible = "fsl,ls-pcie", "snps,dw-pcie";
177 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
178 0x00 0x03480000 0x0 0x80000 /* lut registers */
179 0x10 0x00000000 0x0 0x20000>; /* configuration space */
180 reg-names = "dbi", "lut", "config";
181 #address-cells = <3>;
182 #size-cells = <2>;
183 device_type = "pci";
184 num-lanes = <4>;
185 bus-range = <0x0 0xff>;
186 ranges = <0x81000000 0x0 0x00000000 0x10 0x00020000 0x0 0x00010000 /* downstream I/O */
187 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
188 };
189
Wasim Khanba45dd22020-09-28 16:26:08 +0530190 pcie2: pcie@3500000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800191 compatible = "fsl,ls-pcie", "snps,dw-pcie";
192 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
193 0x00 0x03580000 0x0 0x80000 /* lut registers */
194 0x12 0x00000000 0x0 0x20000>; /* configuration space */
195 reg-names = "dbi", "lut", "config";
196 #address-cells = <3>;
197 #size-cells = <2>;
198 device_type = "pci";
199 num-lanes = <4>;
200 bus-range = <0x0 0xff>;
201 ranges = <0x81000000 0x0 0x00000000 0x12 0x00020000 0x0 0x00010000 /* downstream I/O */
202 0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
203 };
204
Wasim Khanba45dd22020-09-28 16:26:08 +0530205 pcie3: pcie@3600000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800206 compatible = "fsl,ls-pcie", "snps,dw-pcie";
207 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
208 0x00 0x03680000 0x0 0x80000 /* lut registers */
209 0x14 0x00000000 0x0 0x20000>; /* configuration space */
210 reg-names = "dbi", "lut", "config";
211 #address-cells = <3>;
212 #size-cells = <2>;
213 device_type = "pci";
214 num-lanes = <8>;
215 bus-range = <0x0 0xff>;
216 ranges = <0x81000000 0x0 0x00000000 0x14 0x00020000 0x0 0x00010000 /* downstream I/O */
217 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
218 };
219
Wasim Khanba45dd22020-09-28 16:26:08 +0530220 pcie4: pcie@3700000 {
Minghuan Lian33f61e02016-12-13 14:54:15 +0800221 compatible = "fsl,ls-pcie", "snps,dw-pcie";
222 reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */
223 0x00 0x03780000 0x0 0x80000 /* lut registers */
224 0x16 0x00000000 0x0 0x20000>; /* configuration space */
225 reg-names = "dbi", "lut", "config";
226 #address-cells = <3>;
227 #size-cells = <2>;
228 device_type = "pci";
229 num-lanes = <4>;
230 bus-range = <0x0 0xff>;
231 ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000 /* downstream I/O */
232 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
233 };
Peng Ma8ec42852018-10-22 10:43:21 +0800234
235 sata: sata@3200000 {
236 compatible = "fsl,ls2080a-ahci";
237 reg = <0x0 0x3200000 0x0 0x10000>;
238 interrupts = <0 133 0x4>; /* Level high type */
239 status = "disabled";
240 };
241
Ioana Ciornei87274912020-03-18 16:47:45 +0200242 fsl_mc: fsl-mc@80c000000 {
243 compatible = "fsl,qoriq-mc", "simple-mfd";
244 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
245 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
246 #address-cells = <3>;
247 #size-cells = <1>;
248
249 /*
250 * Region type 0x0 - MC portals
251 * Region type 0x1 - QBMAN portals
252 */
253 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
254 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
255
256 dpmacs {
257 compatible = "simple-mfd";
258 #address-cells = <1>;
259 #size-cells = <0>;
260
261 dpmac1: dpmac@1 {
262 compatible = "fsl,qoriq-mc-dpmac";
263 reg = <0x1>;
264 status = "disabled";
265 };
266
267 dpmac2: dpmac@2 {
268 compatible = "fsl,qoriq-mc-dpmac";
269 reg = <0x2>;
270 status = "disabled";
271 };
272
273 dpmac3: dpmac@3 {
274 compatible = "fsl,qoriq-mc-dpmac";
275 reg = <0x3>;
276 status = "disabled";
277 };
278
279 dpmac4: dpmac@4 {
280 compatible = "fsl,qoriq-mc-dpmac";
281 reg = <0x4>;
282 status = "disabled";
283 };
284
285 dpmac5: dpmac@5 {
286 compatible = "fsl,qoriq-mc-dpmac";
287 reg = <0x5>;
288 status = "disabled";
289 };
290
291 dpmac6: dpmac@6 {
292 compatible = "fsl,qoriq-mc-dpmac";
293 reg = <0x6>;
294 status = "disabled";
295 };
296
297 dpmac7: dpmac@7 {
298 compatible = "fsl,qoriq-mc-dpmac";
299 reg = <0x7>;
300 status = "disabled";
301 };
302
303 dpmac8: dpmac@8 {
304 compatible = "fsl,qoriq-mc-dpmac";
305 reg = <0x8>;
306 status = "disabled";
307 };
308 };
309 };
310
Ioana Ciornei0952d7c2020-03-18 16:47:42 +0200311 emdio1: mdio@8B96000 {
312 compatible = "fsl,ls-mdio";
313 reg = <0x0 0x8B96000 0x0 0x1000>;
314 #address-cells = <1>;
315 #size-cells = <0>;
316 status = "disabled";
317 };
318
319 emdio2: mdio@8B97000 {
320 compatible = "fsl,ls-mdio";
321 reg = <0x0 0x8B97000 0x0 0x1000>;
322 #address-cells = <1>;
323 #size-cells = <0>;
324 status = "disabled";
325 };
Haikun Wangd941f712015-06-26 19:48:36 +0800326};