2 * dts file for AppliedMicro (APM) X-Gene Storm SOC
4 * Copyright (C) 2013, Applied Micro Circuits Corporation
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.
13 compatible = "apm,xgene-storm";
14 interrupt-parent = <&gic>;
24 compatible = "apm,potenza", "arm,armv8";
26 enable-method = "spin-table";
27 cpu-release-addr = <0x1 0x0000fff8>;
31 compatible = "apm,potenza", "arm,armv8";
33 enable-method = "spin-table";
34 cpu-release-addr = <0x1 0x0000fff8>;
38 compatible = "apm,potenza", "arm,armv8";
40 enable-method = "spin-table";
41 cpu-release-addr = <0x1 0x0000fff8>;
45 compatible = "apm,potenza", "arm,armv8";
47 enable-method = "spin-table";
48 cpu-release-addr = <0x1 0x0000fff8>;
52 compatible = "apm,potenza", "arm,armv8";
54 enable-method = "spin-table";
55 cpu-release-addr = <0x1 0x0000fff8>;
59 compatible = "apm,potenza", "arm,armv8";
61 enable-method = "spin-table";
62 cpu-release-addr = <0x1 0x0000fff8>;
66 compatible = "apm,potenza", "arm,armv8";
68 enable-method = "spin-table";
69 cpu-release-addr = <0x1 0x0000fff8>;
73 compatible = "apm,potenza", "arm,armv8";
75 enable-method = "spin-table";
76 cpu-release-addr = <0x1 0x0000fff8>;
80 gic: interrupt-controller@78010000 {
81 compatible = "arm,cortex-a15-gic";
82 #interrupt-cells = <3>;
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 */
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>;
101 compatible = "simple-bus";
102 #address-cells = <2>;
105 dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
108 #address-cells = <2>;
112 compatible = "fixed-clock";
114 clock-frequency = <100000000>;
115 clock-output-names = "refclk";
118 pcppll: pcppll@17000100 {
119 compatible = "apm,xgene-pcppll-clock";
121 clocks = <&refclk 0>;
122 clock-names = "pcppll";
123 reg = <0x0 0x17000100 0x0 0x1000>;
124 clock-output-names = "pcppll";
128 socpll: socpll@17000120 {
129 compatible = "apm,xgene-socpll-clock";
131 clocks = <&refclk 0>;
132 clock-names = "socpll";
133 reg = <0x0 0x17000120 0x0 0x1000>;
134 clock-output-names = "socpll";
138 socplldiv2: socplldiv2 {
139 compatible = "fixed-factor-clock";
141 clocks = <&socpll 0>;
142 clock-names = "socplldiv2";
145 clock-output-names = "socplldiv2";
149 compatible = "apm,xgene-device-clock";
151 clocks = <&socplldiv2 0>;
152 clock-names = "qmlclk";
153 reg = <0x0 0x1703C000 0x0 0x1000>;
154 reg-names = "csr-reg";
155 clock-output-names = "qmlclk";
159 compatible = "apm,xgene-device-clock";
161 clocks = <&socplldiv2 0>;
162 clock-names = "ethclk";
163 reg = <0x0 0x17000000 0x0 0x1000>;
164 reg-names = "div-reg";
165 divider-offset = <0x238>;
166 divider-width = <0x9>;
167 divider-shift = <0x0>;
168 clock-output-names = "ethclk";
172 compatible = "apm,xgene-device-clock";
174 clocks = <ðclk 0>;
175 reg = <0x0 0x1702C000 0x0 0x1000>;
176 reg-names = "csr-reg";
177 clock-output-names = "menetclk";
180 sge0clk: sge0clk@1f21c000 {
181 compatible = "apm,xgene-device-clock";
183 clocks = <&socplldiv2 0>;
184 reg = <0x0 0x1f21c000 0x0 0x1000>;
185 reg-names = "csr-reg";
187 clock-output-names = "sge0clk";
190 sge1clk: sge1clk@1f21c000 {
191 compatible = "apm,xgene-device-clock";
193 clocks = <&socplldiv2 0>;
194 reg = <0x0 0x1f21c000 0x0 0x1000>;
195 reg-names = "csr-reg";
197 clock-output-names = "sge1clk";
200 xge0clk: xge0clk@1f61c000 {
201 compatible = "apm,xgene-device-clock";
203 clocks = <&socplldiv2 0>;
204 reg = <0x0 0x1f61c000 0x0 0x1000>;
205 reg-names = "csr-reg";
207 clock-output-names = "xge0clk";
210 sataphy1clk: sataphy1clk@1f21c000 {
211 compatible = "apm,xgene-device-clock";
213 clocks = <&socplldiv2 0>;
214 reg = <0x0 0x1f21c000 0x0 0x1000>;
215 reg-names = "csr-reg";
216 clock-output-names = "sataphy1clk";
220 enable-offset = <0x0>;
221 enable-mask = <0x06>;
224 sataphy2clk: sataphy1clk@1f22c000 {
225 compatible = "apm,xgene-device-clock";
227 clocks = <&socplldiv2 0>;
228 reg = <0x0 0x1f22c000 0x0 0x1000>;
229 reg-names = "csr-reg";
230 clock-output-names = "sataphy2clk";
234 enable-offset = <0x0>;
235 enable-mask = <0x06>;
238 sataphy3clk: sataphy1clk@1f23c000 {
239 compatible = "apm,xgene-device-clock";
241 clocks = <&socplldiv2 0>;
242 reg = <0x0 0x1f23c000 0x0 0x1000>;
243 reg-names = "csr-reg";
244 clock-output-names = "sataphy3clk";
248 enable-offset = <0x0>;
249 enable-mask = <0x06>;
252 sata01clk: sata01clk@1f21c000 {
253 compatible = "apm,xgene-device-clock";
255 clocks = <&socplldiv2 0>;
256 reg = <0x0 0x1f21c000 0x0 0x1000>;
257 reg-names = "csr-reg";
258 clock-output-names = "sata01clk";
261 enable-offset = <0x0>;
262 enable-mask = <0x39>;
265 sata23clk: sata23clk@1f22c000 {
266 compatible = "apm,xgene-device-clock";
268 clocks = <&socplldiv2 0>;
269 reg = <0x0 0x1f22c000 0x0 0x1000>;
270 reg-names = "csr-reg";
271 clock-output-names = "sata23clk";
274 enable-offset = <0x0>;
275 enable-mask = <0x39>;
278 sata45clk: sata45clk@1f23c000 {
279 compatible = "apm,xgene-device-clock";
281 clocks = <&socplldiv2 0>;
282 reg = <0x0 0x1f23c000 0x0 0x1000>;
283 reg-names = "csr-reg";
284 clock-output-names = "sata45clk";
287 enable-offset = <0x0>;
288 enable-mask = <0x39>;
291 rtcclk: rtcclk@17000000 {
292 compatible = "apm,xgene-device-clock";
294 clocks = <&socplldiv2 0>;
295 reg = <0x0 0x17000000 0x0 0x2000>;
296 reg-names = "csr-reg";
299 enable-offset = <0x10>;
301 clock-output-names = "rtcclk";
304 rngpkaclk: rngpkaclk@17000000 {
305 compatible = "apm,xgene-device-clock";
307 clocks = <&socplldiv2 0>;
308 reg = <0x0 0x17000000 0x0 0x2000>;
309 reg-names = "csr-reg";
312 enable-offset = <0x10>;
313 enable-mask = <0x10>;
314 clock-output-names = "rngpkaclk";
317 pcie0clk: pcie0clk@1f2bc000 {
319 compatible = "apm,xgene-device-clock";
321 clocks = <&socplldiv2 0>;
322 reg = <0x0 0x1f2bc000 0x0 0x1000>;
323 reg-names = "csr-reg";
324 clock-output-names = "pcie0clk";
327 pcie1clk: pcie1clk@1f2cc000 {
329 compatible = "apm,xgene-device-clock";
331 clocks = <&socplldiv2 0>;
332 reg = <0x0 0x1f2cc000 0x0 0x1000>;
333 reg-names = "csr-reg";
334 clock-output-names = "pcie1clk";
337 pcie2clk: pcie2clk@1f2dc000 {
339 compatible = "apm,xgene-device-clock";
341 clocks = <&socplldiv2 0>;
342 reg = <0x0 0x1f2dc000 0x0 0x1000>;
343 reg-names = "csr-reg";
344 clock-output-names = "pcie2clk";
347 pcie3clk: pcie3clk@1f50c000 {
349 compatible = "apm,xgene-device-clock";
351 clocks = <&socplldiv2 0>;
352 reg = <0x0 0x1f50c000 0x0 0x1000>;
353 reg-names = "csr-reg";
354 clock-output-names = "pcie3clk";
357 pcie4clk: pcie4clk@1f51c000 {
359 compatible = "apm,xgene-device-clock";
361 clocks = <&socplldiv2 0>;
362 reg = <0x0 0x1f51c000 0x0 0x1000>;
363 reg-names = "csr-reg";
364 clock-output-names = "pcie4clk";
367 dmaclk: dmaclk@1f27c000 {
368 compatible = "apm,xgene-device-clock";
370 clocks = <&socplldiv2 0>;
371 reg = <0x0 0x1f27c000 0x0 0x1000>;
372 reg-names = "csr-reg";
373 clock-output-names = "dmaclk";
378 compatible = "apm,xgene1-msi";
380 reg = <0x00 0x79000000 0x0 0x900000>;
381 interrupts = < 0x0 0x10 0x4
399 pcie0: pcie@1f2b0000 {
402 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
403 #interrupt-cells = <1>;
405 #address-cells = <3>;
406 reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
407 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
408 reg-names = "csr", "cfg";
409 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */
410 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000>; /* mem */
411 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
412 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
413 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
414 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
415 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
416 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
417 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
419 clocks = <&pcie0clk 0>;
423 pcie1: pcie@1f2c0000 {
426 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
427 #interrupt-cells = <1>;
429 #address-cells = <3>;
430 reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
431 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */
432 reg-names = "csr", "cfg";
433 ranges = <0x01000000 0x0 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */
434 0x02000000 0x0 0x80000000 0xd1 0x80000000 0x00 0x80000000>; /* mem */
435 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
436 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
437 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
438 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x1
439 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x1
440 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x1
441 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x1>;
443 clocks = <&pcie1clk 0>;
447 pcie2: pcie@1f2d0000 {
450 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
451 #interrupt-cells = <1>;
453 #address-cells = <3>;
454 reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */
455 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */
456 reg-names = "csr", "cfg";
457 ranges = <0x01000000 0x0 0x00000000 0x90 0x10000000 0x0 0x00010000 /* io */
458 0x02000000 0x0 0x80000000 0x91 0x80000000 0x0 0x80000000>; /* mem */
459 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
460 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
461 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
462 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x1
463 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x1
464 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x1
465 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x1>;
467 clocks = <&pcie2clk 0>;
471 pcie3: pcie@1f500000 {
474 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
475 #interrupt-cells = <1>;
477 #address-cells = <3>;
478 reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */
479 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
480 reg-names = "csr", "cfg";
481 ranges = <0x01000000 0x0 0x00000000 0xa0 0x10000000 0x0 0x00010000 /* io */
482 0x02000000 0x0 0x80000000 0xa1 0x80000000 0x0 0x80000000>; /* mem */
483 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
484 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
485 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
486 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x1
487 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x1
488 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x1
489 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x1>;
491 clocks = <&pcie3clk 0>;
495 pcie4: pcie@1f510000 {
498 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
499 #interrupt-cells = <1>;
501 #address-cells = <3>;
502 reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */
503 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */
504 reg-names = "csr", "cfg";
505 ranges = <0x01000000 0x0 0x00000000 0xc0 0x10000000 0x0 0x00010000 /* io */
506 0x02000000 0x0 0x80000000 0xc1 0x80000000 0x0 0x80000000>; /* mem */
507 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
508 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
509 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
510 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x1
511 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x1
512 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x1
513 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x1>;
515 clocks = <&pcie4clk 0>;
519 serial0: serial@1c020000 {
521 device_type = "serial";
522 compatible = "ns16550a";
523 reg = <0 0x1c020000 0x0 0x1000>;
525 clock-frequency = <10000000>; /* Updated by bootloader */
526 interrupt-parent = <&gic>;
527 interrupts = <0x0 0x4c 0x4>;
530 serial1: serial@1c021000 {
532 device_type = "serial";
533 compatible = "ns16550a";
534 reg = <0 0x1c021000 0x0 0x1000>;
536 clock-frequency = <10000000>; /* Updated by bootloader */
537 interrupt-parent = <&gic>;
538 interrupts = <0x0 0x4d 0x4>;
541 serial2: serial@1c022000 {
543 device_type = "serial";
544 compatible = "ns16550a";
545 reg = <0 0x1c022000 0x0 0x1000>;
547 clock-frequency = <10000000>; /* Updated by bootloader */
548 interrupt-parent = <&gic>;
549 interrupts = <0x0 0x4e 0x4>;
552 serial3: serial@1c023000 {
554 device_type = "serial";
555 compatible = "ns16550a";
556 reg = <0 0x1c023000 0x0 0x1000>;
558 clock-frequency = <10000000>; /* Updated by bootloader */
559 interrupt-parent = <&gic>;
560 interrupts = <0x0 0x4f 0x4>;
564 compatible = "apm,xgene-phy";
565 reg = <0x0 0x1f21a000 0x0 0x100>;
567 clocks = <&sataphy1clk 0>;
569 apm,tx-boost-gain = <30 30 30 30 30 30>;
570 apm,tx-eye-tuning = <2 10 10 2 10 10>;
574 compatible = "apm,xgene-phy";
575 reg = <0x0 0x1f22a000 0x0 0x100>;
577 clocks = <&sataphy2clk 0>;
579 apm,tx-boost-gain = <30 30 30 30 30 30>;
580 apm,tx-eye-tuning = <1 10 10 2 10 10>;
584 compatible = "apm,xgene-phy";
585 reg = <0x0 0x1f23a000 0x0 0x100>;
587 clocks = <&sataphy3clk 0>;
589 apm,tx-boost-gain = <31 31 31 31 31 31>;
590 apm,tx-eye-tuning = <2 10 10 2 10 10>;
593 sata1: sata@1a000000 {
594 compatible = "apm,xgene-ahci";
595 reg = <0x0 0x1a000000 0x0 0x1000>,
596 <0x0 0x1f210000 0x0 0x1000>,
597 <0x0 0x1f21d000 0x0 0x1000>,
598 <0x0 0x1f21e000 0x0 0x1000>,
599 <0x0 0x1f217000 0x0 0x1000>;
600 interrupts = <0x0 0x86 0x4>;
603 clocks = <&sata01clk 0>;
605 phy-names = "sata-phy";
608 sata2: sata@1a400000 {
609 compatible = "apm,xgene-ahci";
610 reg = <0x0 0x1a400000 0x0 0x1000>,
611 <0x0 0x1f220000 0x0 0x1000>,
612 <0x0 0x1f22d000 0x0 0x1000>,
613 <0x0 0x1f22e000 0x0 0x1000>,
614 <0x0 0x1f227000 0x0 0x1000>;
615 interrupts = <0x0 0x87 0x4>;
618 clocks = <&sata23clk 0>;
620 phy-names = "sata-phy";
623 sata3: sata@1a800000 {
624 compatible = "apm,xgene-ahci";
625 reg = <0x0 0x1a800000 0x0 0x1000>,
626 <0x0 0x1f230000 0x0 0x1000>,
627 <0x0 0x1f23d000 0x0 0x1000>,
628 <0x0 0x1f23e000 0x0 0x1000>;
629 interrupts = <0x0 0x88 0x4>;
632 clocks = <&sata45clk 0>;
634 phy-names = "sata-phy";
638 compatible = "apm,xgene-rtc";
639 reg = <0x0 0x10510000 0x0 0x400>;
640 interrupts = <0x0 0x46 0x4>;
642 clocks = <&rtcclk 0>;
645 menet: ethernet@17020000 {
646 compatible = "apm,xgene-enet";
648 reg = <0x0 0x17020000 0x0 0xd100>,
649 <0x0 0X17030000 0x0 0Xc300>,
650 <0x0 0X10000000 0x0 0X200>;
651 reg-names = "enet_csr", "ring_csr", "ring_cmd";
652 interrupts = <0x0 0x3c 0x4>;
654 clocks = <&menetclk 0>;
655 /* mac address will be overwritten by the bootloader */
656 local-mac-address = [00 00 00 00 00 00];
657 phy-connection-type = "rgmii";
658 phy-handle = <&menetphy>;
660 compatible = "apm,xgene-mdio";
661 #address-cells = <1>;
663 menetphy: menetphy@3 {
664 compatible = "ethernet-phy-id001c.c915";
671 sgenet0: ethernet@1f210000 {
672 compatible = "apm,xgene1-sgenet";
674 reg = <0x0 0x1f210000 0x0 0xd100>,
675 <0x0 0x1f200000 0x0 0Xc300>,
676 <0x0 0x1B000000 0x0 0X200>;
677 reg-names = "enet_csr", "ring_csr", "ring_cmd";
678 interrupts = <0x0 0xA0 0x4>,
681 clocks = <&sge0clk 0>;
682 local-mac-address = [00 00 00 00 00 00];
683 phy-connection-type = "sgmii";
686 sgenet1: ethernet@1f210030 {
687 compatible = "apm,xgene1-sgenet";
689 reg = <0x0 0x1f210030 0x0 0xd100>,
690 <0x0 0x1f200000 0x0 0Xc300>,
691 <0x0 0x1B000000 0x0 0X8000>;
692 reg-names = "enet_csr", "ring_csr", "ring_cmd";
693 interrupts = <0x0 0xAC 0x4>,
697 clocks = <&sge1clk 0>;
698 local-mac-address = [00 00 00 00 00 00];
699 phy-connection-type = "sgmii";
702 xgenet: ethernet@1f610000 {
703 compatible = "apm,xgene1-xgenet";
705 reg = <0x0 0x1f610000 0x0 0xd100>,
706 <0x0 0x1f600000 0x0 0Xc300>,
707 <0x0 0x18000000 0x0 0X200>;
708 reg-names = "enet_csr", "ring_csr", "ring_cmd";
709 interrupts = <0x0 0x60 0x4>,
712 clocks = <&xge0clk 0>;
713 /* mac address will be overwritten by the bootloader */
714 local-mac-address = [00 00 00 00 00 00];
715 phy-connection-type = "xgmii";
719 compatible = "apm,xgene-rng";
720 reg = <0x0 0x10520000 0x0 0x100>;
721 interrupts = <0x0 0x41 0x4>;
722 clocks = <&rngpkaclk 0>;
726 compatible = "apm,xgene-storm-dma";
728 reg = <0x0 0x1f270000 0x0 0x10000>,
729 <0x0 0x1f200000 0x0 0x10000>,
730 <0x0 0x1b008000 0x0 0x2000>,
731 <0x0 0x1054a000 0x0 0x100>;
732 interrupts = <0x0 0x82 0x4>,
738 clocks = <&dmaclk 0>;