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>;
28 next-level-cache = <&xgene_L2_0>;
32 compatible = "apm,potenza", "arm,armv8";
34 enable-method = "spin-table";
35 cpu-release-addr = <0x1 0x0000fff8>;
36 next-level-cache = <&xgene_L2_0>;
40 compatible = "apm,potenza", "arm,armv8";
42 enable-method = "spin-table";
43 cpu-release-addr = <0x1 0x0000fff8>;
44 next-level-cache = <&xgene_L2_1>;
48 compatible = "apm,potenza", "arm,armv8";
50 enable-method = "spin-table";
51 cpu-release-addr = <0x1 0x0000fff8>;
52 next-level-cache = <&xgene_L2_1>;
56 compatible = "apm,potenza", "arm,armv8";
58 enable-method = "spin-table";
59 cpu-release-addr = <0x1 0x0000fff8>;
60 next-level-cache = <&xgene_L2_2>;
64 compatible = "apm,potenza", "arm,armv8";
66 enable-method = "spin-table";
67 cpu-release-addr = <0x1 0x0000fff8>;
68 next-level-cache = <&xgene_L2_2>;
72 compatible = "apm,potenza", "arm,armv8";
74 enable-method = "spin-table";
75 cpu-release-addr = <0x1 0x0000fff8>;
76 next-level-cache = <&xgene_L2_3>;
80 compatible = "apm,potenza", "arm,armv8";
82 enable-method = "spin-table";
83 cpu-release-addr = <0x1 0x0000fff8>;
84 next-level-cache = <&xgene_L2_3>;
86 xgene_L2_0: l2-cache-0 {
89 xgene_L2_1: l2-cache-1 {
92 xgene_L2_2: l2-cache-2 {
95 xgene_L2_3: l2-cache-3 {
100 gic: interrupt-controller@78010000 {
101 compatible = "arm,cortex-a15-gic";
102 #interrupt-cells = <3>;
103 interrupt-controller;
104 reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */
105 <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */
106 <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */
107 <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */
108 interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
112 compatible = "arm,armv8-timer";
113 interrupts = <1 0 0xff01>, /* Secure Phys IRQ */
114 <1 13 0xff01>, /* Non-secure Phys IRQ */
115 <1 14 0xff01>, /* Virt IRQ */
116 <1 15 0xff01>; /* Hyp IRQ */
117 clock-frequency = <50000000>;
121 compatible = "apm,potenza-pmu", "arm,armv8-pmuv3";
122 interrupts = <1 12 0xff04>;
126 compatible = "simple-bus";
127 #address-cells = <2>;
130 dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
133 #address-cells = <2>;
137 compatible = "fixed-clock";
139 clock-frequency = <100000000>;
140 clock-output-names = "refclk";
143 pcppll: pcppll@17000100 {
144 compatible = "apm,xgene-pcppll-clock";
146 clocks = <&refclk 0>;
147 clock-names = "pcppll";
148 reg = <0x0 0x17000100 0x0 0x1000>;
149 clock-output-names = "pcppll";
153 socpll: socpll@17000120 {
154 compatible = "apm,xgene-socpll-clock";
156 clocks = <&refclk 0>;
157 clock-names = "socpll";
158 reg = <0x0 0x17000120 0x0 0x1000>;
159 clock-output-names = "socpll";
163 socplldiv2: socplldiv2 {
164 compatible = "fixed-factor-clock";
166 clocks = <&socpll 0>;
167 clock-names = "socplldiv2";
170 clock-output-names = "socplldiv2";
173 ahbclk: ahbclk@17000000 {
174 compatible = "apm,xgene-device-clock";
176 clocks = <&socplldiv2 0>;
177 reg = <0x0 0x17000000 0x0 0x2000>;
178 reg-names = "div-reg";
179 divider-offset = <0x164>;
180 divider-width = <0x5>;
181 divider-shift = <0x0>;
182 clock-output-names = "ahbclk";
185 sdioclk: sdioclk@1f2ac000 {
186 compatible = "apm,xgene-device-clock";
188 clocks = <&socplldiv2 0>;
189 reg = <0x0 0x1f2ac000 0x0 0x1000
190 0x0 0x17000000 0x0 0x2000>;
191 reg-names = "csr-reg", "div-reg";
194 enable-offset = <0x8>;
196 divider-offset = <0x178>;
197 divider-width = <0x8>;
198 divider-shift = <0x0>;
199 clock-output-names = "sdioclk";
203 compatible = "apm,xgene-device-clock";
205 clocks = <&socplldiv2 0>;
206 clock-names = "qmlclk";
207 reg = <0x0 0x1703C000 0x0 0x1000>;
208 reg-names = "csr-reg";
209 clock-output-names = "qmlclk";
213 compatible = "apm,xgene-device-clock";
215 clocks = <&socplldiv2 0>;
216 clock-names = "ethclk";
217 reg = <0x0 0x17000000 0x0 0x1000>;
218 reg-names = "div-reg";
219 divider-offset = <0x238>;
220 divider-width = <0x9>;
221 divider-shift = <0x0>;
222 clock-output-names = "ethclk";
226 compatible = "apm,xgene-device-clock";
228 clocks = <ðclk 0>;
229 reg = <0x0 0x1702C000 0x0 0x1000>;
230 reg-names = "csr-reg";
231 clock-output-names = "menetclk";
234 sge0clk: sge0clk@1f21c000 {
235 compatible = "apm,xgene-device-clock";
237 clocks = <&socplldiv2 0>;
238 reg = <0x0 0x1f21c000 0x0 0x1000>;
239 reg-names = "csr-reg";
241 clock-output-names = "sge0clk";
244 sge1clk: sge1clk@1f21c000 {
245 compatible = "apm,xgene-device-clock";
247 clocks = <&socplldiv2 0>;
248 reg = <0x0 0x1f21c000 0x0 0x1000>;
249 reg-names = "csr-reg";
251 clock-output-names = "sge1clk";
254 xge0clk: xge0clk@1f61c000 {
255 compatible = "apm,xgene-device-clock";
257 clocks = <&socplldiv2 0>;
258 reg = <0x0 0x1f61c000 0x0 0x1000>;
259 reg-names = "csr-reg";
261 clock-output-names = "xge0clk";
264 xge1clk: xge1clk@1f62c000 {
265 compatible = "apm,xgene-device-clock";
268 clocks = <&socplldiv2 0>;
269 reg = <0x0 0x1f62c000 0x0 0x1000>;
270 reg-names = "csr-reg";
272 clock-output-names = "xge1clk";
275 sataphy1clk: sataphy1clk@1f21c000 {
276 compatible = "apm,xgene-device-clock";
278 clocks = <&socplldiv2 0>;
279 reg = <0x0 0x1f21c000 0x0 0x1000>;
280 reg-names = "csr-reg";
281 clock-output-names = "sataphy1clk";
285 enable-offset = <0x0>;
286 enable-mask = <0x06>;
289 sataphy2clk: sataphy1clk@1f22c000 {
290 compatible = "apm,xgene-device-clock";
292 clocks = <&socplldiv2 0>;
293 reg = <0x0 0x1f22c000 0x0 0x1000>;
294 reg-names = "csr-reg";
295 clock-output-names = "sataphy2clk";
299 enable-offset = <0x0>;
300 enable-mask = <0x06>;
303 sataphy3clk: sataphy1clk@1f23c000 {
304 compatible = "apm,xgene-device-clock";
306 clocks = <&socplldiv2 0>;
307 reg = <0x0 0x1f23c000 0x0 0x1000>;
308 reg-names = "csr-reg";
309 clock-output-names = "sataphy3clk";
313 enable-offset = <0x0>;
314 enable-mask = <0x06>;
317 sata01clk: sata01clk@1f21c000 {
318 compatible = "apm,xgene-device-clock";
320 clocks = <&socplldiv2 0>;
321 reg = <0x0 0x1f21c000 0x0 0x1000>;
322 reg-names = "csr-reg";
323 clock-output-names = "sata01clk";
326 enable-offset = <0x0>;
327 enable-mask = <0x39>;
330 sata23clk: sata23clk@1f22c000 {
331 compatible = "apm,xgene-device-clock";
333 clocks = <&socplldiv2 0>;
334 reg = <0x0 0x1f22c000 0x0 0x1000>;
335 reg-names = "csr-reg";
336 clock-output-names = "sata23clk";
339 enable-offset = <0x0>;
340 enable-mask = <0x39>;
343 sata45clk: sata45clk@1f23c000 {
344 compatible = "apm,xgene-device-clock";
346 clocks = <&socplldiv2 0>;
347 reg = <0x0 0x1f23c000 0x0 0x1000>;
348 reg-names = "csr-reg";
349 clock-output-names = "sata45clk";
352 enable-offset = <0x0>;
353 enable-mask = <0x39>;
356 rtcclk: rtcclk@17000000 {
357 compatible = "apm,xgene-device-clock";
359 clocks = <&socplldiv2 0>;
360 reg = <0x0 0x17000000 0x0 0x2000>;
361 reg-names = "csr-reg";
364 enable-offset = <0x10>;
366 clock-output-names = "rtcclk";
369 rngpkaclk: rngpkaclk@17000000 {
370 compatible = "apm,xgene-device-clock";
372 clocks = <&socplldiv2 0>;
373 reg = <0x0 0x17000000 0x0 0x2000>;
374 reg-names = "csr-reg";
377 enable-offset = <0x10>;
378 enable-mask = <0x10>;
379 clock-output-names = "rngpkaclk";
382 pcie0clk: pcie0clk@1f2bc000 {
384 compatible = "apm,xgene-device-clock";
386 clocks = <&socplldiv2 0>;
387 reg = <0x0 0x1f2bc000 0x0 0x1000>;
388 reg-names = "csr-reg";
389 clock-output-names = "pcie0clk";
392 pcie1clk: pcie1clk@1f2cc000 {
394 compatible = "apm,xgene-device-clock";
396 clocks = <&socplldiv2 0>;
397 reg = <0x0 0x1f2cc000 0x0 0x1000>;
398 reg-names = "csr-reg";
399 clock-output-names = "pcie1clk";
402 pcie2clk: pcie2clk@1f2dc000 {
404 compatible = "apm,xgene-device-clock";
406 clocks = <&socplldiv2 0>;
407 reg = <0x0 0x1f2dc000 0x0 0x1000>;
408 reg-names = "csr-reg";
409 clock-output-names = "pcie2clk";
412 pcie3clk: pcie3clk@1f50c000 {
414 compatible = "apm,xgene-device-clock";
416 clocks = <&socplldiv2 0>;
417 reg = <0x0 0x1f50c000 0x0 0x1000>;
418 reg-names = "csr-reg";
419 clock-output-names = "pcie3clk";
422 pcie4clk: pcie4clk@1f51c000 {
424 compatible = "apm,xgene-device-clock";
426 clocks = <&socplldiv2 0>;
427 reg = <0x0 0x1f51c000 0x0 0x1000>;
428 reg-names = "csr-reg";
429 clock-output-names = "pcie4clk";
432 dmaclk: dmaclk@1f27c000 {
433 compatible = "apm,xgene-device-clock";
435 clocks = <&socplldiv2 0>;
436 reg = <0x0 0x1f27c000 0x0 0x1000>;
437 reg-names = "csr-reg";
438 clock-output-names = "dmaclk";
443 compatible = "apm,xgene1-msi";
445 reg = <0x00 0x79000000 0x0 0x900000>;
446 interrupts = < 0x0 0x10 0x4
464 scu: system-clk-controller@17000000 {
465 compatible = "apm,xgene-scu","syscon";
466 reg = <0x0 0x17000000 0x0 0x400>;
469 reboot: reboot@17000014 {
470 compatible = "syscon-reboot";
477 compatible = "apm,xgene-csw", "syscon";
478 reg = <0x0 0x7e200000 0x0 0x1000>;
481 mcba: mcba@7e700000 {
482 compatible = "apm,xgene-mcb", "syscon";
483 reg = <0x0 0x7e700000 0x0 0x1000>;
486 mcbb: mcbb@7e720000 {
487 compatible = "apm,xgene-mcb", "syscon";
488 reg = <0x0 0x7e720000 0x0 0x1000>;
491 efuse: efuse@1054a000 {
492 compatible = "apm,xgene-efuse", "syscon";
493 reg = <0x0 0x1054a000 0x0 0x20>;
497 compatible = "apm,xgene-edac";
498 #address-cells = <2>;
502 regmap-mcba = <&mcba>;
503 regmap-mcbb = <&mcbb>;
504 regmap-efuse = <&efuse>;
505 reg = <0x0 0x78800000 0x0 0x100>;
506 interrupts = <0x0 0x20 0x4>,
511 compatible = "apm,xgene-edac-mc";
512 reg = <0x0 0x7e800000 0x0 0x1000>;
513 memory-controller = <0>;
517 compatible = "apm,xgene-edac-mc";
518 reg = <0x0 0x7e840000 0x0 0x1000>;
519 memory-controller = <1>;
523 compatible = "apm,xgene-edac-mc";
524 reg = <0x0 0x7e880000 0x0 0x1000>;
525 memory-controller = <2>;
529 compatible = "apm,xgene-edac-mc";
530 reg = <0x0 0x7e8c0000 0x0 0x1000>;
531 memory-controller = <3>;
535 compatible = "apm,xgene-edac-pmd";
536 reg = <0x0 0x7c000000 0x0 0x200000>;
537 pmd-controller = <0>;
541 compatible = "apm,xgene-edac-pmd";
542 reg = <0x0 0x7c200000 0x0 0x200000>;
543 pmd-controller = <1>;
547 compatible = "apm,xgene-edac-pmd";
548 reg = <0x0 0x7c400000 0x0 0x200000>;
549 pmd-controller = <2>;
553 compatible = "apm,xgene-edac-pmd";
554 reg = <0x0 0x7c600000 0x0 0x200000>;
555 pmd-controller = <3>;
559 compatible = "apm,xgene-edac-l3";
560 reg = <0x0 0x7e600000 0x0 0x1000>;
564 compatible = "apm,xgene-edac-soc-v1";
565 reg = <0x0 0x7e930000 0x0 0x1000>;
569 pcie0: pcie@1f2b0000 {
572 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
573 #interrupt-cells = <1>;
575 #address-cells = <3>;
576 reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
577 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
578 reg-names = "csr", "cfg";
579 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */
580 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000 /* mem */
581 0x43000000 0xf0 0x00000000 0xf0 0x00000000 0x10 0x00000000>; /* mem */
582 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
583 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
584 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
585 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
586 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
587 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
588 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
590 clocks = <&pcie0clk 0>;
594 pcie1: pcie@1f2c0000 {
597 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
598 #interrupt-cells = <1>;
600 #address-cells = <3>;
601 reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
602 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */
603 reg-names = "csr", "cfg";
604 ranges = <0x01000000 0x00 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */
605 0x02000000 0x00 0x80000000 0xd1 0x80000000 0x00 0x80000000 /* mem */
606 0x43000000 0xd8 0x00000000 0xd8 0x00000000 0x08 0x00000000>; /* mem */
607 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
608 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
609 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
610 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x1
611 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x1
612 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x1
613 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x1>;
615 clocks = <&pcie1clk 0>;
619 pcie2: pcie@1f2d0000 {
622 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
623 #interrupt-cells = <1>;
625 #address-cells = <3>;
626 reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */
627 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */
628 reg-names = "csr", "cfg";
629 ranges = <0x01000000 0x00 0x00000000 0x90 0x10000000 0x00 0x00010000 /* io */
630 0x02000000 0x00 0x80000000 0x91 0x80000000 0x00 0x80000000 /* mem */
631 0x43000000 0x94 0x00000000 0x94 0x00000000 0x04 0x00000000>; /* mem */
632 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
633 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
634 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
635 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x1
636 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x1
637 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x1
638 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x1>;
640 clocks = <&pcie2clk 0>;
644 pcie3: pcie@1f500000 {
647 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
648 #interrupt-cells = <1>;
650 #address-cells = <3>;
651 reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */
652 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
653 reg-names = "csr", "cfg";
654 ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */
655 0x02000000 0x00 0x80000000 0xa1 0x80000000 0x00 0x80000000 /* mem */
656 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */
657 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
658 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
659 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
660 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x1
661 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x1
662 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x1
663 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x1>;
665 clocks = <&pcie3clk 0>;
669 pcie4: pcie@1f510000 {
672 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
673 #interrupt-cells = <1>;
675 #address-cells = <3>;
676 reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */
677 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */
678 reg-names = "csr", "cfg";
679 ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */
680 0x02000000 0x00 0x80000000 0xc1 0x80000000 0x00 0x80000000 /* mem */
681 0x43000000 0xc8 0x00000000 0xc8 0x00000000 0x08 0x00000000>; /* mem */
682 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
683 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
684 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
685 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x1
686 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x1
687 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x1
688 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x1>;
690 clocks = <&pcie4clk 0>;
694 serial0: serial@1c020000 {
696 device_type = "serial";
697 compatible = "ns16550a";
698 reg = <0 0x1c020000 0x0 0x1000>;
700 clock-frequency = <10000000>; /* Updated by bootloader */
701 interrupt-parent = <&gic>;
702 interrupts = <0x0 0x4c 0x4>;
705 serial1: serial@1c021000 {
707 device_type = "serial";
708 compatible = "ns16550a";
709 reg = <0 0x1c021000 0x0 0x1000>;
711 clock-frequency = <10000000>; /* Updated by bootloader */
712 interrupt-parent = <&gic>;
713 interrupts = <0x0 0x4d 0x4>;
716 serial2: serial@1c022000 {
718 device_type = "serial";
719 compatible = "ns16550a";
720 reg = <0 0x1c022000 0x0 0x1000>;
722 clock-frequency = <10000000>; /* Updated by bootloader */
723 interrupt-parent = <&gic>;
724 interrupts = <0x0 0x4e 0x4>;
727 serial3: serial@1c023000 {
729 device_type = "serial";
730 compatible = "ns16550a";
731 reg = <0 0x1c023000 0x0 0x1000>;
733 clock-frequency = <10000000>; /* Updated by bootloader */
734 interrupt-parent = <&gic>;
735 interrupts = <0x0 0x4f 0x4>;
739 compatible = "arasan,sdhci-4.9a";
740 reg = <0x0 0x1c000000 0x0 0x100>;
741 interrupts = <0x0 0x49 0x4>;
744 clock-names = "clk_xin", "clk_ahb";
745 clocks = <&sdioclk 0>, <&ahbclk 0>;
748 gfcgpio: gpio0@1701c000 {
749 compatible = "apm,xgene-gpio";
750 reg = <0x0 0x1701c000 0x0 0x40>;
755 dwgpio: gpio@1c024000 {
756 compatible = "snps,dw-apb-gpio";
757 reg = <0x0 0x1c024000 0x0 0x1000>;
759 #address-cells = <1>;
762 porta: gpio-controller@0 {
763 compatible = "snps,dw-apb-gpio-port";
765 snps,nr-gpios = <32>;
772 #address-cells = <1>;
774 compatible = "snps,designware-i2c";
775 reg = <0x0 0x10512000 0x0 0x1000>;
776 interrupts = <0 0x44 0x4>;
778 clocks = <&ahbclk 0>;
783 compatible = "apm,xgene-phy";
784 reg = <0x0 0x1f21a000 0x0 0x100>;
786 clocks = <&sataphy1clk 0>;
788 apm,tx-boost-gain = <30 30 30 30 30 30>;
789 apm,tx-eye-tuning = <2 10 10 2 10 10>;
793 compatible = "apm,xgene-phy";
794 reg = <0x0 0x1f22a000 0x0 0x100>;
796 clocks = <&sataphy2clk 0>;
798 apm,tx-boost-gain = <30 30 30 30 30 30>;
799 apm,tx-eye-tuning = <1 10 10 2 10 10>;
803 compatible = "apm,xgene-phy";
804 reg = <0x0 0x1f23a000 0x0 0x100>;
806 clocks = <&sataphy3clk 0>;
808 apm,tx-boost-gain = <31 31 31 31 31 31>;
809 apm,tx-eye-tuning = <2 10 10 2 10 10>;
812 sata1: sata@1a000000 {
813 compatible = "apm,xgene-ahci";
814 reg = <0x0 0x1a000000 0x0 0x1000>,
815 <0x0 0x1f210000 0x0 0x1000>,
816 <0x0 0x1f21d000 0x0 0x1000>,
817 <0x0 0x1f21e000 0x0 0x1000>,
818 <0x0 0x1f217000 0x0 0x1000>;
819 interrupts = <0x0 0x86 0x4>;
822 clocks = <&sata01clk 0>;
824 phy-names = "sata-phy";
827 sata2: sata@1a400000 {
828 compatible = "apm,xgene-ahci";
829 reg = <0x0 0x1a400000 0x0 0x1000>,
830 <0x0 0x1f220000 0x0 0x1000>,
831 <0x0 0x1f22d000 0x0 0x1000>,
832 <0x0 0x1f22e000 0x0 0x1000>,
833 <0x0 0x1f227000 0x0 0x1000>;
834 interrupts = <0x0 0x87 0x4>;
837 clocks = <&sata23clk 0>;
839 phy-names = "sata-phy";
842 sata3: sata@1a800000 {
843 compatible = "apm,xgene-ahci";
844 reg = <0x0 0x1a800000 0x0 0x1000>,
845 <0x0 0x1f230000 0x0 0x1000>,
846 <0x0 0x1f23d000 0x0 0x1000>,
847 <0x0 0x1f23e000 0x0 0x1000>;
848 interrupts = <0x0 0x88 0x4>;
851 clocks = <&sata45clk 0>;
853 phy-names = "sata-phy";
856 /* Do not change dwusb name, coded for backward compatibility */
857 usb0: dwusb@19000000 {
859 compatible = "snps,dwc3";
860 reg = <0x0 0x19000000 0x0 0x100000>;
861 interrupts = <0x0 0x89 0x4>;
866 usb1: dwusb@19800000 {
868 compatible = "snps,dwc3";
869 reg = <0x0 0x19800000 0x0 0x100000>;
870 interrupts = <0x0 0x8a 0x4>;
875 sbgpio: gpio@17001000{
876 compatible = "apm,xgene-gpio-sb";
877 reg = <0x0 0x17001000 0x0 0x400>;
880 interrupts = <0x0 0x28 0x1>,
889 compatible = "apm,xgene-rtc";
890 reg = <0x0 0x10510000 0x0 0x400>;
891 interrupts = <0x0 0x46 0x4>;
893 clocks = <&rtcclk 0>;
896 menet: ethernet@17020000 {
897 compatible = "apm,xgene-enet";
899 reg = <0x0 0x17020000 0x0 0xd100>,
900 <0x0 0X17030000 0x0 0Xc300>,
901 <0x0 0X10000000 0x0 0X200>;
902 reg-names = "enet_csr", "ring_csr", "ring_cmd";
903 interrupts = <0x0 0x3c 0x4>;
905 clocks = <&menetclk 0>;
906 /* mac address will be overwritten by the bootloader */
907 local-mac-address = [00 00 00 00 00 00];
908 phy-connection-type = "rgmii";
909 phy-handle = <&menetphy>;
911 compatible = "apm,xgene-mdio";
912 #address-cells = <1>;
914 menetphy: menetphy@3 {
915 compatible = "ethernet-phy-id001c.c915";
922 sgenet0: ethernet@1f210000 {
923 compatible = "apm,xgene1-sgenet";
925 reg = <0x0 0x1f210000 0x0 0xd100>,
926 <0x0 0x1f200000 0x0 0Xc300>,
927 <0x0 0x1B000000 0x0 0X200>;
928 reg-names = "enet_csr", "ring_csr", "ring_cmd";
929 interrupts = <0x0 0xA0 0x4>,
932 clocks = <&sge0clk 0>;
933 local-mac-address = [00 00 00 00 00 00];
934 phy-connection-type = "sgmii";
937 sgenet1: ethernet@1f210030 {
938 compatible = "apm,xgene1-sgenet";
940 reg = <0x0 0x1f210030 0x0 0xd100>,
941 <0x0 0x1f200000 0x0 0Xc300>,
942 <0x0 0x1B000000 0x0 0X8000>;
943 reg-names = "enet_csr", "ring_csr", "ring_cmd";
944 interrupts = <0x0 0xAC 0x4>,
948 clocks = <&sge1clk 0>;
949 local-mac-address = [00 00 00 00 00 00];
950 phy-connection-type = "sgmii";
953 xgenet: ethernet@1f610000 {
954 compatible = "apm,xgene1-xgenet";
956 reg = <0x0 0x1f610000 0x0 0xd100>,
957 <0x0 0x1f600000 0x0 0Xc300>,
958 <0x0 0x18000000 0x0 0X200>;
959 reg-names = "enet_csr", "ring_csr", "ring_cmd";
960 interrupts = <0x0 0x60 0x4>,
963 clocks = <&xge0clk 0>;
964 /* mac address will be overwritten by the bootloader */
965 local-mac-address = [00 00 00 00 00 00];
966 phy-connection-type = "xgmii";
969 xgenet1: ethernet@1f620000 {
970 compatible = "apm,xgene1-xgenet";
972 reg = <0x0 0x1f620000 0x0 0xd100>,
973 <0x0 0x1f600000 0x0 0Xc300>,
974 <0x0 0x18000000 0x0 0X8000>;
975 reg-names = "enet_csr", "ring_csr", "ring_cmd";
976 interrupts = <0x0 0x6C 0x4>,
980 clocks = <&xge1clk 0>;
981 /* mac address will be overwritten by the bootloader */
982 local-mac-address = [00 00 00 00 00 00];
983 phy-connection-type = "xgmii";
987 compatible = "apm,xgene-rng";
988 reg = <0x0 0x10520000 0x0 0x100>;
989 interrupts = <0x0 0x41 0x4>;
990 clocks = <&rngpkaclk 0>;
994 compatible = "apm,xgene-storm-dma";
996 reg = <0x0 0x1f270000 0x0 0x10000>,
997 <0x0 0x1f200000 0x0 0x10000>,
998 <0x0 0x1b000000 0x0 0x400000>,
999 <0x0 0x1054a000 0x0 0x100>;
1000 interrupts = <0x0 0x82 0x4>,
1006 clocks = <&dmaclk 0>;