blob: 774e4775420c5b0d15ae078045edb008d478ce57 [file] [log] [blame]
Yuantian Tang4aefa162019-04-10 16:43:33 +08001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP ls1028a SOC common device tree source
4 *
5 * Copyright 2019 NXP
6 *
7 */
8
9/ {
10 compatible = "fsl,ls1028a";
11 interrupt-parent = <&gic>;
12 #address-cells = <2>;
13 #size-cells = <2>;
14
15 sysclk: sysclk {
16 compatible = "fixed-clock";
17 #clock-cells = <0>;
18 clock-frequency = <100000000>;
19 clock-output-names = "sysclk";
20 };
21
22 clockgen: clocking@1300000 {
23 compatible = "fsl,ls1028a-clockgen";
24 reg = <0x0 0x1300000 0x0 0xa0000>;
25 #clock-cells = <2>;
26 clocks = <&sysclk>;
27 };
28
29 memory@01080000 {
30 device_type = "memory";
31 reg = <0x00000000 0x01080000 0 0x80000000>;
32 /* DRAM space - 1, size : 2 GB DRAM */
33 };
34
35 gic: interrupt-controller@6000000 {
36 compatible = "arm,gic-v3";
37 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
38 <0x0 0x06040000 0 0x40000>;
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
Michael Walleae182772019-12-18 00:09:59 +010052 fspi: flexspi@20c0000 {
53 compatible = "nxp,lx2160a-fspi";
Yuantian Tang4aefa162019-04-10 16:43:33 +080054 #address-cells = <1>;
55 #size-cells = <0>;
Michael Walleae182772019-12-18 00:09:59 +010056 reg = <0x0 0x20c0000 0x0 0x10000>,
57 <0x0 0x20000000 0x0 0x10000000>;
58 reg-names = "fspi_base", "fspi_mmap";
59 clocks = <&clockgen 4 3>, <&clockgen 4 3>;
60 clock-names = "fspi_en", "fspi";
61 interrupts = <0 25 0x4>;
Yuantian Tang4aefa162019-04-10 16:43:33 +080062 status = "disabled";
63 };
64
65 serial0: serial@21c0500 {
66 device_type = "serial";
67 compatible = "fsl,ns16550", "ns16550a";
68 reg = <0x0 0x21c0500 0x0 0x100>;
69 interrupts = <0 32 0x1>; /* edge triggered */
70 status = "disabled";
71 };
72
73 serial1: serial@21c0600 {
74 device_type = "serial";
75 compatible = "fsl,ns16550", "ns16550a";
76 reg = <0x0 0x21c0600 0x0 0x100>;
77 interrupts = <0 32 0x1>; /* edge triggered */
78 status = "disabled";
79 };
80
81 pcie@3400000 {
82 compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie";
83 reg = <0x00 0x03400000 0x0 0x80000
84 0x00 0x03480000 0x0 0x40000 /* lut registers */
85 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
86 0x80 0x00000000 0x0 0x20000>; /* configuration space */
87 reg-names = "dbi", "lut", "ctrl", "config";
88 #address-cells = <3>;
89 #size-cells = <2>;
90 device_type = "pci";
91 num-lanes = <4>;
92 bus-range = <0x0 0xff>;
93 ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000 /* downstream I/O */
94 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
95 };
96
97 pcie@3500000 {
98 compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie";
99 reg = <0x00 0x03500000 0x0 0x80000
100 0x00 0x03580000 0x0 0x40000 /* lut registers */
101 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */
102 0x88 0x00000000 0x0 0x20000>; /* configuration space */
103 reg-names = "dbi", "lut", "ctrl", "config";
104 #address-cells = <3>;
105 #size-cells = <2>;
106 device_type = "pci";
107 num-lanes = <4>;
108 bus-range = <0x0 0xff>;
109 ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000 /* downstream I/O */
110 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
111 };
112
Alex Marginean0d5ed8f2019-06-07 17:03:07 +0300113 pcie@1f0000000 {
114 compatible = "pci-host-ecam-generic";
115 /* ECAM bus 0, HW has more space reserved but not populated */
116 bus-range = <0x0 0x0>;
117 reg = <0x01 0xf0000000 0x0 0x100000>;
118 #address-cells = <3>;
119 #size-cells = <2>;
120 device_type = "pci";
121 ranges= <0x82000000 0x0 0x00000000 0x1 0xf8000000 0x0 0x160000>;
Alex Marginean3be715e2019-07-03 12:11:43 +0300122 enetc0: pci@0,0 {
123 reg = <0x000000 0 0 0 0>;
124 status = "disabled";
125 };
126 enetc1: pci@0,1 {
127 reg = <0x000100 0 0 0 0>;
128 status = "disabled";
129 };
130 enetc2: pci@0,2 {
131 reg = <0x000200 0 0 0 0>;
132 status = "okay";
133 phy-mode = "internal";
134 };
135 mdio0: pci@0,3 {
136 #address-cells=<0>;
137 #size-cells=<1>;
138 reg = <0x000300 0 0 0 0>;
139 status = "disabled";
140 };
141 enetc6: pci@0,6 {
142 reg = <0x000600 0 0 0 0>;
143 status = "okay";
144 phy-mode = "internal";
145 };
Alex Marginean0d5ed8f2019-06-07 17:03:07 +0300146 };
147
Yuantian Tang4aefa162019-04-10 16:43:33 +0800148 i2c0: i2c@2000000 {
149 compatible = "fsl,vf610-i2c";
150 #address-cells = <1>;
151 #size-cells = <0>;
152 reg = <0x0 0x2000000 0x0 0x10000>;
153 interrupts = <0 34 0x4>;
154 clock-names = "i2c";
155 clocks = <&clockgen 4 0>;
156 status = "disabled";
157 };
158
159 i2c1: i2c@2010000 {
160 compatible = "fsl,vf610-i2c";
161 #address-cells = <1>;
162 #size-cells = <0>;
163 reg = <0x0 0x2010000 0x0 0x10000>;
164 interrupts = <0 34 0x4>;
165 clock-names = "i2c";
166 clocks = <&clockgen 4 0>;
167 status = "disabled";
168 };
169
170 i2c2: i2c@2020000 {
171 compatible = "fsl,vf610-i2c";
172 #address-cells = <1>;
173 #size-cells = <0>;
174 reg = <0x0 0x2020000 0x0 0x10000>;
175 interrupts = <0 35 0x4>;
176 clock-names = "i2c";
177 clocks = <&clockgen 4 0>;
178 status = "disabled";
179 };
180
181 i2c3: i2c@2030000 {
182 compatible = "fsl,vf610-i2c";
183 #address-cells = <1>;
184 #size-cells = <0>;
185 reg = <0x0 0x2030000 0x0 0x10000>;
186 interrupts = <0 35 0x4>;
187 clock-names = "i2c";
188 clocks = <&clockgen 4 0>;
189 status = "disabled";
190 };
191
192 i2c4: i2c@2040000 {
193 compatible = "fsl,vf610-i2c";
194 #address-cells = <1>;
195 #size-cells = <0>;
196 reg = <0x0 0x2040000 0x0 0x10000>;
197 interrupts = <0 74 0x4>;
198 clock-names = "i2c";
199 clocks = <&clockgen 4 0>;
200 status = "disabled";
201 };
202
203 i2c5: i2c@2050000 {
204 compatible = "fsl,vf610-i2c";
205 #address-cells = <1>;
206 #size-cells = <0>;
207 reg = <0x0 0x2050000 0x0 0x10000>;
208 interrupts = <0 74 0x4>;
209 clock-names = "i2c";
210 clocks = <&clockgen 4 0>;
211 status = "disabled";
212 };
213
214 i2c6: i2c@2060000 {
215 compatible = "fsl,vf610-i2c";
216 #address-cells = <1>;
217 #size-cells = <0>;
218 reg = <0x0 0x2060000 0x0 0x10000>;
219 interrupts = <0 75 0x4>;
220 clock-names = "i2c";
221 clocks = <&clockgen 4 0>;
222 status = "disabled";
223 };
224
225 i2c7: i2c@2070000 {
226 compatible = "fsl,vf610-i2c";
227 #address-cells = <1>;
228 #size-cells = <0>;
229 reg = <0x0 0x2070000 0x0 0x10000>;
230 interrupts = <0 75 0x4>;
231 clock-names = "i2c";
232 clocks = <&clockgen 4 0>;
233 status = "disabled";
234 };
235
236 usb1: usb3@3100000 {
237 compatible = "fsl,layerscape-dwc3";
238 reg = <0x0 0x3100000 0x0 0x10000>;
239 interrupts = <0 80 0x4>;
240 dr_mode = "host";
241 status = "disabled";
242 };
243
244 usb2: usb3@3110000 {
245 compatible = "fsl,layerscape-dwc3";
246 reg = <0x0 0x3110000 0x0 0x10000>;
247 interrupts = <0 81 0x4>;
248 dr_mode = "host";
249 status = "disabled";
250 };
251
252 dspi0: dspi@2100000 {
253 compatible = "fsl,vf610-dspi";
254 #address-cells = <1>;
255 #size-cells = <0>;
256 reg = <0x0 0x2100000 0x0 0x10000>;
257 interrupts = <0 26 0x4>;
258 clock-names = "dspi";
259 clocks = <&clockgen 4 0>;
260 num-cs = <5>;
261 litte-endian;
262 status = "disabled";
263 };
264
265 dspi1: dspi@2110000 {
266 compatible = "fsl,vf610-dspi";
267 #address-cells = <1>;
268 #size-cells = <0>;
269 reg = <0x0 0x2110000 0x0 0x10000>;
270 interrupts = <0 26 0x4>;
271 clock-names = "dspi";
272 clocks = <&clockgen 4 0>;
273 num-cs = <5>;
274 little-endian;
275 status = "disabled";
276 };
277
278 dspi2: dspi@2120000 {
279 compatible = "fsl,vf610-dspi";
280 #address-cells = <1>;
281 #size-cells = <0>;
282 reg = <0x0 0x2120000 0x0 0x10000>;
283 interrupts = <0 26 0x4>;
284 clock-names = "dspi";
285 clocks = <&clockgen 4 0>;
286 num-cs = <5>;
287 little-endian;
288 status = "disabled";
289 };
290
291 esdhc0: esdhc@2140000 {
292 compatible = "fsl,esdhc";
293 reg = <0x0 0x2140000 0x0 0x10000>;
294 interrupts = <0 28 0x4>;
295 big-endian;
296 bus-width = <4>;
297 status = "disabled";
298 };
299
300 esdhc1: esdhc@2150000 {
301 compatible = "fsl,esdhc";
302 reg = <0x0 0x2150000 0x0 0x10000>;
303 interrupts = <0 63 0x4>;
304 big-endian;
305 non-removable;
306 bus-width = <4>;
307 status = "disabled";
308 };
309
310 sata: sata@3200000 {
311 compatible = "fsl,ls1028a-ahci";
Peng Ma933c5e32019-05-23 04:06:48 +0000312 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
313 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
314 reg-names = "sata-base", "ecc-addr";
Yuantian Tang4aefa162019-04-10 16:43:33 +0800315 interrupts = <0 133 4>;
Yuantian Tang4aefa162019-04-10 16:43:33 +0800316 status = "disabled";
317 };
Qiang Zhao2a605572019-05-07 03:16:13 +0000318
319 cluster1_core0_watchdog: wdt@c000000 {
320 compatible = "arm,sp805-wdt";
321 reg = <0x0 0xc000000 0x0 0x1000>;
322 };
Yuantian Tang4aefa162019-04-10 16:43:33 +0800323};