blob: 403197a0e621aadae2ec38c84f082d335a32c3a9 [file] [log] [blame]
Vinayak Kaleee877b52013-04-24 10:07:00 +01001/*
2 * dts file for AppliedMicro (APM) X-Gene Storm SOC
3 *
4 * Copyright (C) 2013, Applied Micro Circuits Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 */
11
12/ {
13 compatible = "apm,xgene-storm";
14 interrupt-parent = <&gic>;
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 cpus {
19 #address-cells = <2>;
20 #size-cells = <0>;
21
22 cpu@000 {
23 device_type = "cpu";
24 compatible = "apm,potenza", "arm,armv8";
25 reg = <0x0 0x000>;
26 enable-method = "spin-table";
27 cpu-release-addr = <0x1 0x0000fff8>;
28 };
29 cpu@001 {
30 device_type = "cpu";
31 compatible = "apm,potenza", "arm,armv8";
32 reg = <0x0 0x001>;
33 enable-method = "spin-table";
34 cpu-release-addr = <0x1 0x0000fff8>;
35 };
36 cpu@100 {
37 device_type = "cpu";
38 compatible = "apm,potenza", "arm,armv8";
39 reg = <0x0 0x100>;
40 enable-method = "spin-table";
41 cpu-release-addr = <0x1 0x0000fff8>;
42 };
43 cpu@101 {
44 device_type = "cpu";
45 compatible = "apm,potenza", "arm,armv8";
46 reg = <0x0 0x101>;
47 enable-method = "spin-table";
48 cpu-release-addr = <0x1 0x0000fff8>;
49 };
50 cpu@200 {
51 device_type = "cpu";
52 compatible = "apm,potenza", "arm,armv8";
53 reg = <0x0 0x200>;
54 enable-method = "spin-table";
55 cpu-release-addr = <0x1 0x0000fff8>;
56 };
57 cpu@201 {
58 device_type = "cpu";
59 compatible = "apm,potenza", "arm,armv8";
60 reg = <0x0 0x201>;
61 enable-method = "spin-table";
62 cpu-release-addr = <0x1 0x0000fff8>;
63 };
64 cpu@300 {
65 device_type = "cpu";
66 compatible = "apm,potenza", "arm,armv8";
67 reg = <0x0 0x300>;
68 enable-method = "spin-table";
69 cpu-release-addr = <0x1 0x0000fff8>;
70 };
71 cpu@301 {
72 device_type = "cpu";
73 compatible = "apm,potenza", "arm,armv8";
74 reg = <0x0 0x301>;
75 enable-method = "spin-table";
76 cpu-release-addr = <0x1 0x0000fff8>;
77 };
78 };
79
80 gic: interrupt-controller@78010000 {
81 compatible = "arm,cortex-a15-gic";
82 #interrupt-cells = <3>;
83 interrupt-controller;
84 reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */
85 <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */
86 <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */
87 <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */
88 interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
89 };
90
91 timer {
92 compatible = "arm,armv8-timer";
93 interrupts = <1 0 0xff01>, /* Secure Phys IRQ */
94 <1 13 0xff01>, /* Non-secure Phys IRQ */
95 <1 14 0xff01>, /* Virt IRQ */
96 <1 15 0xff01>; /* Hyp IRQ */
97 clock-frequency = <50000000>;
98 };
99
100 soc {
101 compatible = "simple-bus";
102 #address-cells = <2>;
103 #size-cells = <2>;
104 ranges;
105
Loc Ho3eb15d82013-06-26 11:56:10 -0600106 clocks {
107 #address-cells = <2>;
108 #size-cells = <2>;
109 ranges;
110 refclk: refclk {
111 compatible = "fixed-clock";
112 #clock-cells = <1>;
113 clock-frequency = <100000000>;
114 clock-output-names = "refclk";
115 };
116
117 pcppll: pcppll@17000100 {
118 compatible = "apm,xgene-pcppll-clock";
119 #clock-cells = <1>;
120 clocks = <&refclk 0>;
121 clock-names = "pcppll";
122 reg = <0x0 0x17000100 0x0 0x1000>;
123 clock-output-names = "pcppll";
124 type = <0>;
125 };
126
127 socpll: socpll@17000120 {
128 compatible = "apm,xgene-socpll-clock";
129 #clock-cells = <1>;
130 clocks = <&refclk 0>;
131 clock-names = "socpll";
132 reg = <0x0 0x17000120 0x0 0x1000>;
133 clock-output-names = "socpll";
134 type = <1>;
135 };
136
137 socplldiv2: socplldiv2 {
138 compatible = "fixed-factor-clock";
139 #clock-cells = <1>;
140 clocks = <&socpll 0>;
141 clock-names = "socplldiv2";
142 clock-mult = <1>;
143 clock-div = <2>;
144 clock-output-names = "socplldiv2";
145 };
146
147 qmlclk: qmlclk {
148 compatible = "apm,xgene-device-clock";
149 #clock-cells = <1>;
150 clocks = <&socplldiv2 0>;
151 clock-names = "qmlclk";
152 reg = <0x0 0x1703C000 0x0 0x1000>;
153 reg-names = "csr-reg";
154 clock-output-names = "qmlclk";
155 };
156
157 ethclk: ethclk {
158 compatible = "apm,xgene-device-clock";
159 #clock-cells = <1>;
160 clocks = <&socplldiv2 0>;
161 clock-names = "ethclk";
162 reg = <0x0 0x17000000 0x0 0x1000>;
163 reg-names = "div-reg";
164 divider-offset = <0x238>;
165 divider-width = <0x9>;
166 divider-shift = <0x0>;
167 clock-output-names = "ethclk";
168 };
169
Iyappan Subramanian3d390422014-08-07 15:14:27 -0700170 menetclk: menetclk {
Loc Ho3eb15d82013-06-26 11:56:10 -0600171 compatible = "apm,xgene-device-clock";
172 #clock-cells = <1>;
173 clocks = <&ethclk 0>;
Loc Ho3eb15d82013-06-26 11:56:10 -0600174 reg = <0x0 0x1702C000 0x0 0x1000>;
175 reg-names = "csr-reg";
Iyappan Subramanian3d390422014-08-07 15:14:27 -0700176 clock-output-names = "menetclk";
Loc Ho3eb15d82013-06-26 11:56:10 -0600177 };
Loc Ho71b70ee2014-03-14 17:53:18 -0600178
179 sataphy1clk: sataphy1clk@1f21c000 {
180 compatible = "apm,xgene-device-clock";
181 #clock-cells = <1>;
182 clocks = <&socplldiv2 0>;
183 reg = <0x0 0x1f21c000 0x0 0x1000>;
184 reg-names = "csr-reg";
185 clock-output-names = "sataphy1clk";
186 status = "disabled";
187 csr-offset = <0x4>;
188 csr-mask = <0x00>;
189 enable-offset = <0x0>;
190 enable-mask = <0x06>;
191 };
192
193 sataphy2clk: sataphy1clk@1f22c000 {
194 compatible = "apm,xgene-device-clock";
195 #clock-cells = <1>;
196 clocks = <&socplldiv2 0>;
197 reg = <0x0 0x1f22c000 0x0 0x1000>;
198 reg-names = "csr-reg";
199 clock-output-names = "sataphy2clk";
200 status = "ok";
201 csr-offset = <0x4>;
202 csr-mask = <0x3a>;
203 enable-offset = <0x0>;
204 enable-mask = <0x06>;
205 };
206
207 sataphy3clk: sataphy1clk@1f23c000 {
208 compatible = "apm,xgene-device-clock";
209 #clock-cells = <1>;
210 clocks = <&socplldiv2 0>;
211 reg = <0x0 0x1f23c000 0x0 0x1000>;
212 reg-names = "csr-reg";
213 clock-output-names = "sataphy3clk";
214 status = "ok";
215 csr-offset = <0x4>;
216 csr-mask = <0x3a>;
217 enable-offset = <0x0>;
218 enable-mask = <0x06>;
219 };
Loc Hodb8c0282014-03-14 17:53:21 -0600220
221 sata01clk: sata01clk@1f21c000 {
222 compatible = "apm,xgene-device-clock";
223 #clock-cells = <1>;
224 clocks = <&socplldiv2 0>;
225 reg = <0x0 0x1f21c000 0x0 0x1000>;
226 reg-names = "csr-reg";
227 clock-output-names = "sata01clk";
228 csr-offset = <0x4>;
229 csr-mask = <0x05>;
230 enable-offset = <0x0>;
231 enable-mask = <0x39>;
232 };
233
234 sata23clk: sata23clk@1f22c000 {
235 compatible = "apm,xgene-device-clock";
236 #clock-cells = <1>;
237 clocks = <&socplldiv2 0>;
238 reg = <0x0 0x1f22c000 0x0 0x1000>;
239 reg-names = "csr-reg";
240 clock-output-names = "sata23clk";
241 csr-offset = <0x4>;
242 csr-mask = <0x05>;
243 enable-offset = <0x0>;
244 enable-mask = <0x39>;
245 };
246
247 sata45clk: sata45clk@1f23c000 {
248 compatible = "apm,xgene-device-clock";
249 #clock-cells = <1>;
250 clocks = <&socplldiv2 0>;
251 reg = <0x0 0x1f23c000 0x0 0x1000>;
252 reg-names = "csr-reg";
253 clock-output-names = "sata45clk";
254 csr-offset = <0x4>;
255 csr-mask = <0x05>;
256 enable-offset = <0x0>;
257 enable-mask = <0x39>;
258 };
Loc Ho652ba662014-06-06 14:35:43 -0700259
260 rtcclk: rtcclk@17000000 {
261 compatible = "apm,xgene-device-clock";
262 #clock-cells = <1>;
263 clocks = <&socplldiv2 0>;
264 reg = <0x0 0x17000000 0x0 0x2000>;
265 reg-names = "csr-reg";
266 csr-offset = <0xc>;
267 csr-mask = <0x2>;
268 enable-offset = <0x10>;
269 enable-mask = <0x2>;
270 clock-output-names = "rtcclk";
271 };
Tanmay Inamdar767ebaf2014-09-26 14:08:25 -0700272
273 pcie0clk: pcie0clk@1f2bc000 {
274 status = "disabled";
275 compatible = "apm,xgene-device-clock";
276 #clock-cells = <1>;
277 clocks = <&socplldiv2 0>;
278 reg = <0x0 0x1f2bc000 0x0 0x1000>;
279 reg-names = "csr-reg";
280 clock-output-names = "pcie0clk";
281 };
282
283 pcie1clk: pcie1clk@1f2cc000 {
284 status = "disabled";
285 compatible = "apm,xgene-device-clock";
286 #clock-cells = <1>;
287 clocks = <&socplldiv2 0>;
288 reg = <0x0 0x1f2cc000 0x0 0x1000>;
289 reg-names = "csr-reg";
290 clock-output-names = "pcie1clk";
291 };
292
293 pcie2clk: pcie2clk@1f2dc000 {
294 status = "disabled";
295 compatible = "apm,xgene-device-clock";
296 #clock-cells = <1>;
297 clocks = <&socplldiv2 0>;
298 reg = <0x0 0x1f2dc000 0x0 0x1000>;
299 reg-names = "csr-reg";
300 clock-output-names = "pcie2clk";
301 };
302
303 pcie3clk: pcie3clk@1f50c000 {
304 status = "disabled";
305 compatible = "apm,xgene-device-clock";
306 #clock-cells = <1>;
307 clocks = <&socplldiv2 0>;
308 reg = <0x0 0x1f50c000 0x0 0x1000>;
309 reg-names = "csr-reg";
310 clock-output-names = "pcie3clk";
311 };
312
313 pcie4clk: pcie4clk@1f51c000 {
314 status = "disabled";
315 compatible = "apm,xgene-device-clock";
316 #clock-cells = <1>;
317 clocks = <&socplldiv2 0>;
318 reg = <0x0 0x1f51c000 0x0 0x1000>;
319 reg-names = "csr-reg";
320 clock-output-names = "pcie4clk";
321 };
322 };
323
324 pcie0: pcie@1f2b0000 {
325 status = "disabled";
326 device_type = "pci";
327 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
328 #interrupt-cells = <1>;
329 #size-cells = <2>;
330 #address-cells = <3>;
331 reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
332 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
333 reg-names = "csr", "cfg";
334 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */
335 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000>; /* mem */
336 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
337 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
338 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
339 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
340 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
341 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
342 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
343 dma-coherent;
344 clocks = <&pcie0clk 0>;
345 };
346
347 pcie1: pcie@1f2c0000 {
348 status = "disabled";
349 device_type = "pci";
350 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
351 #interrupt-cells = <1>;
352 #size-cells = <2>;
353 #address-cells = <3>;
354 reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
355 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */
356 reg-names = "csr", "cfg";
357 ranges = <0x01000000 0x0 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */
358 0x02000000 0x0 0x80000000 0xd1 0x80000000 0x00 0x80000000>; /* mem */
359 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
360 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
361 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
362 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x1
363 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x1
364 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x1
365 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x1>;
366 dma-coherent;
367 clocks = <&pcie1clk 0>;
368 };
369
370 pcie2: pcie@1f2d0000 {
371 status = "disabled";
372 device_type = "pci";
373 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
374 #interrupt-cells = <1>;
375 #size-cells = <2>;
376 #address-cells = <3>;
377 reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */
378 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */
379 reg-names = "csr", "cfg";
380 ranges = <0x01000000 0x0 0x00000000 0x90 0x10000000 0x0 0x00010000 /* io */
381 0x02000000 0x0 0x80000000 0x91 0x80000000 0x0 0x80000000>; /* mem */
382 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
383 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
384 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
385 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x1
386 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x1
387 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x1
388 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x1>;
389 dma-coherent;
390 clocks = <&pcie2clk 0>;
391 };
392
393 pcie3: pcie@1f500000 {
394 status = "disabled";
395 device_type = "pci";
396 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
397 #interrupt-cells = <1>;
398 #size-cells = <2>;
399 #address-cells = <3>;
400 reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */
401 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
402 reg-names = "csr", "cfg";
403 ranges = <0x01000000 0x0 0x00000000 0xa0 0x10000000 0x0 0x00010000 /* io */
404 0x02000000 0x0 0x80000000 0xa1 0x80000000 0x0 0x80000000>; /* mem */
405 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
406 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
407 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
408 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x1
409 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x1
410 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x1
411 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x1>;
412 dma-coherent;
413 clocks = <&pcie3clk 0>;
414 };
415
416 pcie4: pcie@1f510000 {
417 status = "disabled";
418 device_type = "pci";
419 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
420 #interrupt-cells = <1>;
421 #size-cells = <2>;
422 #address-cells = <3>;
423 reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */
424 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */
425 reg-names = "csr", "cfg";
426 ranges = <0x01000000 0x0 0x00000000 0xc0 0x10000000 0x0 0x00010000 /* io */
427 0x02000000 0x0 0x80000000 0xc1 0x80000000 0x0 0x80000000>; /* mem */
428 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
429 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
430 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
431 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x1
432 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x1
433 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x1
434 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x1>;
435 dma-coherent;
436 clocks = <&pcie4clk 0>;
Loc Ho3eb15d82013-06-26 11:56:10 -0600437 };
438
Vinayak Kaleee877b52013-04-24 10:07:00 +0100439 serial0: serial@1c020000 {
Vinayak Kale457ced82014-03-26 12:19:06 +0000440 status = "disabled";
Vinayak Kaleee877b52013-04-24 10:07:00 +0100441 device_type = "serial";
Vinayak Kale457ced82014-03-26 12:19:06 +0000442 compatible = "ns16550a";
Vinayak Kaleee877b52013-04-24 10:07:00 +0100443 reg = <0 0x1c020000 0x0 0x1000>;
444 reg-shift = <2>;
445 clock-frequency = <10000000>; /* Updated by bootloader */
446 interrupt-parent = <&gic>;
447 interrupts = <0x0 0x4c 0x4>;
448 };
Loc Ho71b70ee2014-03-14 17:53:18 -0600449
Vinayak Kale457ced82014-03-26 12:19:06 +0000450 serial1: serial@1c021000 {
451 status = "disabled";
452 device_type = "serial";
453 compatible = "ns16550a";
454 reg = <0 0x1c021000 0x0 0x1000>;
455 reg-shift = <2>;
456 clock-frequency = <10000000>; /* Updated by bootloader */
457 interrupt-parent = <&gic>;
458 interrupts = <0x0 0x4d 0x4>;
459 };
460
461 serial2: serial@1c022000 {
462 status = "disabled";
463 device_type = "serial";
464 compatible = "ns16550a";
465 reg = <0 0x1c022000 0x0 0x1000>;
466 reg-shift = <2>;
467 clock-frequency = <10000000>; /* Updated by bootloader */
468 interrupt-parent = <&gic>;
469 interrupts = <0x0 0x4e 0x4>;
470 };
471
472 serial3: serial@1c023000 {
473 status = "disabled";
474 device_type = "serial";
475 compatible = "ns16550a";
476 reg = <0 0x1c023000 0x0 0x1000>;
477 reg-shift = <2>;
478 clock-frequency = <10000000>; /* Updated by bootloader */
479 interrupt-parent = <&gic>;
480 interrupts = <0x0 0x4f 0x4>;
481 };
482
Loc Ho71b70ee2014-03-14 17:53:18 -0600483 phy1: phy@1f21a000 {
484 compatible = "apm,xgene-phy";
485 reg = <0x0 0x1f21a000 0x0 0x100>;
486 #phy-cells = <1>;
487 clocks = <&sataphy1clk 0>;
488 status = "disabled";
489 apm,tx-boost-gain = <30 30 30 30 30 30>;
490 apm,tx-eye-tuning = <2 10 10 2 10 10>;
491 };
492
493 phy2: phy@1f22a000 {
494 compatible = "apm,xgene-phy";
495 reg = <0x0 0x1f22a000 0x0 0x100>;
496 #phy-cells = <1>;
497 clocks = <&sataphy2clk 0>;
498 status = "ok";
499 apm,tx-boost-gain = <30 30 30 30 30 30>;
500 apm,tx-eye-tuning = <1 10 10 2 10 10>;
501 };
502
503 phy3: phy@1f23a000 {
504 compatible = "apm,xgene-phy";
505 reg = <0x0 0x1f23a000 0x0 0x100>;
506 #phy-cells = <1>;
507 clocks = <&sataphy3clk 0>;
508 status = "ok";
509 apm,tx-boost-gain = <31 31 31 31 31 31>;
510 apm,tx-eye-tuning = <2 10 10 2 10 10>;
511 };
Loc Hodb8c0282014-03-14 17:53:21 -0600512
513 sata1: sata@1a000000 {
514 compatible = "apm,xgene-ahci";
515 reg = <0x0 0x1a000000 0x0 0x1000>,
516 <0x0 0x1f210000 0x0 0x1000>,
517 <0x0 0x1f21d000 0x0 0x1000>,
518 <0x0 0x1f21e000 0x0 0x1000>,
519 <0x0 0x1f217000 0x0 0x1000>;
520 interrupts = <0x0 0x86 0x4>;
Catalin Marinas7a8d1ec2014-04-25 16:39:49 +0100521 dma-coherent;
Loc Hodb8c0282014-03-14 17:53:21 -0600522 status = "disabled";
523 clocks = <&sata01clk 0>;
524 phys = <&phy1 0>;
525 phy-names = "sata-phy";
526 };
527
528 sata2: sata@1a400000 {
529 compatible = "apm,xgene-ahci";
530 reg = <0x0 0x1a400000 0x0 0x1000>,
531 <0x0 0x1f220000 0x0 0x1000>,
532 <0x0 0x1f22d000 0x0 0x1000>,
533 <0x0 0x1f22e000 0x0 0x1000>,
534 <0x0 0x1f227000 0x0 0x1000>;
535 interrupts = <0x0 0x87 0x4>;
Catalin Marinas7a8d1ec2014-04-25 16:39:49 +0100536 dma-coherent;
Loc Hodb8c0282014-03-14 17:53:21 -0600537 status = "ok";
538 clocks = <&sata23clk 0>;
539 phys = <&phy2 0>;
540 phy-names = "sata-phy";
541 };
542
543 sata3: sata@1a800000 {
544 compatible = "apm,xgene-ahci";
545 reg = <0x0 0x1a800000 0x0 0x1000>,
546 <0x0 0x1f230000 0x0 0x1000>,
547 <0x0 0x1f23d000 0x0 0x1000>,
548 <0x0 0x1f23e000 0x0 0x1000>;
549 interrupts = <0x0 0x88 0x4>;
Catalin Marinas7a8d1ec2014-04-25 16:39:49 +0100550 dma-coherent;
Loc Hodb8c0282014-03-14 17:53:21 -0600551 status = "ok";
552 clocks = <&sata45clk 0>;
553 phys = <&phy3 0>;
554 phy-names = "sata-phy";
555 };
Loc Ho652ba662014-06-06 14:35:43 -0700556
557 rtc: rtc@10510000 {
558 compatible = "apm,xgene-rtc";
559 reg = <0x0 0x10510000 0x0 0x400>;
560 interrupts = <0x0 0x46 0x4>;
561 #clock-cells = <1>;
562 clocks = <&rtcclk 0>;
563 };
Iyappan Subramanian3d390422014-08-07 15:14:27 -0700564
565 menet: ethernet@17020000 {
566 compatible = "apm,xgene-enet";
567 status = "disabled";
568 reg = <0x0 0x17020000 0x0 0xd100>,
569 <0x0 0X17030000 0x0 0X400>,
570 <0x0 0X10000000 0x0 0X200>;
571 reg-names = "enet_csr", "ring_csr", "ring_cmd";
572 interrupts = <0x0 0x3c 0x4>;
573 dma-coherent;
574 clocks = <&menetclk 0>;
575 local-mac-address = [00 01 73 00 00 01];
576 phy-connection-type = "rgmii";
577 phy-handle = <&menetphy>;
578 mdio {
579 compatible = "apm,xgene-mdio";
580 #address-cells = <1>;
581 #size-cells = <0>;
582 menetphy: menetphy@3 {
583 compatible = "ethernet-phy-id001c.c915";
584 reg = <0x3>;
585 };
586
587 };
588 };
Vinayak Kaleee877b52013-04-24 10:07:00 +0100589 };
590};