1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dts file for AppliedMicro (APM) X-Gene Storm SOC
5 * Copyright (C) 2013, Applied Micro Circuits Corporation
9 compatible = "apm,xgene-storm";
10 interrupt-parent = <&gic>;
20 compatible = "apm,potenza";
22 enable-method = "spin-table";
23 cpu-release-addr = <0x1 0x0000fff8>;
24 next-level-cache = <&xgene_L2_0>;
28 compatible = "apm,potenza";
30 enable-method = "spin-table";
31 cpu-release-addr = <0x1 0x0000fff8>;
32 next-level-cache = <&xgene_L2_0>;
36 compatible = "apm,potenza";
38 enable-method = "spin-table";
39 cpu-release-addr = <0x1 0x0000fff8>;
40 next-level-cache = <&xgene_L2_1>;
44 compatible = "apm,potenza";
46 enable-method = "spin-table";
47 cpu-release-addr = <0x1 0x0000fff8>;
48 next-level-cache = <&xgene_L2_1>;
52 compatible = "apm,potenza";
54 enable-method = "spin-table";
55 cpu-release-addr = <0x1 0x0000fff8>;
56 next-level-cache = <&xgene_L2_2>;
60 compatible = "apm,potenza";
62 enable-method = "spin-table";
63 cpu-release-addr = <0x1 0x0000fff8>;
64 next-level-cache = <&xgene_L2_2>;
68 compatible = "apm,potenza";
70 enable-method = "spin-table";
71 cpu-release-addr = <0x1 0x0000fff8>;
72 next-level-cache = <&xgene_L2_3>;
76 compatible = "apm,potenza";
78 enable-method = "spin-table";
79 cpu-release-addr = <0x1 0x0000fff8>;
80 next-level-cache = <&xgene_L2_3>;
82 xgene_L2_0: l2-cache-0 {
85 xgene_L2_1: l2-cache-1 {
88 xgene_L2_2: l2-cache-2 {
91 xgene_L2_3: l2-cache-3 {
96 gic: interrupt-controller@78010000 {
97 compatible = "arm,cortex-a15-gic";
98 #interrupt-cells = <3>;
100 reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */
101 <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */
102 <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */
103 <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */
104 interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
108 compatible = "arm,armv8-timer";
109 interrupts = <1 0 0xff08>, /* Secure Phys IRQ */
110 <1 13 0xff08>, /* Non-secure Phys IRQ */
111 <1 14 0xff08>, /* Virt IRQ */
112 <1 15 0xff08>; /* Hyp IRQ */
113 clock-frequency = <50000000>;
117 compatible = "apm,potenza-pmu", "arm,armv8-pmuv3";
118 interrupts = <1 12 0xff04>;
122 compatible = "simple-bus";
123 #address-cells = <2>;
126 dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
129 #address-cells = <2>;
133 compatible = "fixed-clock";
135 clock-frequency = <100000000>;
136 clock-output-names = "refclk";
139 pcppll: pcppll@17000100 {
140 compatible = "apm,xgene-pcppll-clock";
142 clocks = <&refclk 0>;
143 clock-names = "pcppll";
144 reg = <0x0 0x17000100 0x0 0x1000>;
145 clock-output-names = "pcppll";
149 socpll: socpll@17000120 {
150 compatible = "apm,xgene-socpll-clock";
152 clocks = <&refclk 0>;
153 clock-names = "socpll";
154 reg = <0x0 0x17000120 0x0 0x1000>;
155 clock-output-names = "socpll";
159 socplldiv2: socplldiv2 {
160 compatible = "fixed-factor-clock";
162 clocks = <&socpll 0>;
163 clock-names = "socplldiv2";
166 clock-output-names = "socplldiv2";
169 ahbclk: ahbclk@17000000 {
170 compatible = "apm,xgene-device-clock";
172 clocks = <&socplldiv2 0>;
173 reg = <0x0 0x17000000 0x0 0x2000>;
174 reg-names = "div-reg";
175 divider-offset = <0x164>;
176 divider-width = <0x5>;
177 divider-shift = <0x0>;
178 clock-output-names = "ahbclk";
181 sdioclk: sdioclk@1f2ac000 {
182 compatible = "apm,xgene-device-clock";
184 clocks = <&socplldiv2 0>;
185 reg = <0x0 0x1f2ac000 0x0 0x1000
186 0x0 0x17000000 0x0 0x2000>;
187 reg-names = "csr-reg", "div-reg";
190 enable-offset = <0x8>;
192 divider-offset = <0x178>;
193 divider-width = <0x8>;
194 divider-shift = <0x0>;
195 clock-output-names = "sdioclk";
199 compatible = "apm,xgene-device-clock";
201 clocks = <&socplldiv2 0>;
202 clock-names = "ethclk";
203 reg = <0x0 0x17000000 0x0 0x1000>;
204 reg-names = "div-reg";
205 divider-offset = <0x238>;
206 divider-width = <0x9>;
207 divider-shift = <0x0>;
208 clock-output-names = "ethclk";
212 compatible = "apm,xgene-device-clock";
214 clocks = <ðclk 0>;
215 reg = <0x0 0x1702c000 0x0 0x1000>;
216 reg-names = "csr-reg";
217 clock-output-names = "menetclk";
220 sge0clk: sge0clk@1f21c000 {
221 compatible = "apm,xgene-device-clock";
223 clocks = <&socplldiv2 0>;
224 reg = <0x0 0x1f21c000 0x0 0x1000>;
225 reg-names = "csr-reg";
228 clock-output-names = "sge0clk";
231 xge0clk: xge0clk@1f61c000 {
232 compatible = "apm,xgene-device-clock";
234 clocks = <&socplldiv2 0>;
235 reg = <0x0 0x1f61c000 0x0 0x1000>;
236 reg-names = "csr-reg";
238 clock-output-names = "xge0clk";
241 xge1clk: xge1clk@1f62c000 {
242 compatible = "apm,xgene-device-clock";
245 clocks = <&socplldiv2 0>;
246 reg = <0x0 0x1f62c000 0x0 0x1000>;
247 reg-names = "csr-reg";
249 clock-output-names = "xge1clk";
252 sataphy1clk: sataphy1clk@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 = "sataphy1clk";
262 enable-offset = <0x0>;
263 enable-mask = <0x06>;
266 sataphy2clk: sataphy1clk@1f22c000 {
267 compatible = "apm,xgene-device-clock";
269 clocks = <&socplldiv2 0>;
270 reg = <0x0 0x1f22c000 0x0 0x1000>;
271 reg-names = "csr-reg";
272 clock-output-names = "sataphy2clk";
276 enable-offset = <0x0>;
277 enable-mask = <0x06>;
280 sataphy3clk: sataphy1clk@1f23c000 {
281 compatible = "apm,xgene-device-clock";
283 clocks = <&socplldiv2 0>;
284 reg = <0x0 0x1f23c000 0x0 0x1000>;
285 reg-names = "csr-reg";
286 clock-output-names = "sataphy3clk";
290 enable-offset = <0x0>;
291 enable-mask = <0x06>;
294 sata01clk: sata01clk@1f21c000 {
295 compatible = "apm,xgene-device-clock";
297 clocks = <&socplldiv2 0>;
298 reg = <0x0 0x1f21c000 0x0 0x1000>;
299 reg-names = "csr-reg";
300 clock-output-names = "sata01clk";
303 enable-offset = <0x0>;
304 enable-mask = <0x39>;
307 sata23clk: sata23clk@1f22c000 {
308 compatible = "apm,xgene-device-clock";
310 clocks = <&socplldiv2 0>;
311 reg = <0x0 0x1f22c000 0x0 0x1000>;
312 reg-names = "csr-reg";
313 clock-output-names = "sata23clk";
316 enable-offset = <0x0>;
317 enable-mask = <0x39>;
320 sata45clk: sata45clk@1f23c000 {
321 compatible = "apm,xgene-device-clock";
323 clocks = <&socplldiv2 0>;
324 reg = <0x0 0x1f23c000 0x0 0x1000>;
325 reg-names = "csr-reg";
326 clock-output-names = "sata45clk";
329 enable-offset = <0x0>;
330 enable-mask = <0x39>;
333 rtcclk: rtcclk@17000000 {
334 compatible = "apm,xgene-device-clock";
336 clocks = <&socplldiv2 0>;
337 reg = <0x0 0x17000000 0x0 0x2000>;
338 reg-names = "csr-reg";
341 enable-offset = <0x10>;
343 clock-output-names = "rtcclk";
346 rngpkaclk: rngpkaclk@17000000 {
347 compatible = "apm,xgene-device-clock";
349 clocks = <&socplldiv2 0>;
350 reg = <0x0 0x17000000 0x0 0x2000>;
351 reg-names = "csr-reg";
354 enable-offset = <0x10>;
355 enable-mask = <0x10>;
356 clock-output-names = "rngpkaclk";
359 pcie0clk: pcie0clk@1f2bc000 {
361 compatible = "apm,xgene-device-clock";
363 clocks = <&socplldiv2 0>;
364 reg = <0x0 0x1f2bc000 0x0 0x1000>;
365 reg-names = "csr-reg";
366 clock-output-names = "pcie0clk";
369 pcie1clk: pcie1clk@1f2cc000 {
371 compatible = "apm,xgene-device-clock";
373 clocks = <&socplldiv2 0>;
374 reg = <0x0 0x1f2cc000 0x0 0x1000>;
375 reg-names = "csr-reg";
376 clock-output-names = "pcie1clk";
379 pcie2clk: pcie2clk@1f2dc000 {
381 compatible = "apm,xgene-device-clock";
383 clocks = <&socplldiv2 0>;
384 reg = <0x0 0x1f2dc000 0x0 0x1000>;
385 reg-names = "csr-reg";
386 clock-output-names = "pcie2clk";
389 pcie3clk: pcie3clk@1f50c000 {
391 compatible = "apm,xgene-device-clock";
393 clocks = <&socplldiv2 0>;
394 reg = <0x0 0x1f50c000 0x0 0x1000>;
395 reg-names = "csr-reg";
396 clock-output-names = "pcie3clk";
399 pcie4clk: pcie4clk@1f51c000 {
401 compatible = "apm,xgene-device-clock";
403 clocks = <&socplldiv2 0>;
404 reg = <0x0 0x1f51c000 0x0 0x1000>;
405 reg-names = "csr-reg";
406 clock-output-names = "pcie4clk";
409 dmaclk: dmaclk@1f27c000 {
410 compatible = "apm,xgene-device-clock";
412 clocks = <&socplldiv2 0>;
413 reg = <0x0 0x1f27c000 0x0 0x1000>;
414 reg-names = "csr-reg";
415 clock-output-names = "dmaclk";
420 compatible = "apm,xgene1-msi";
422 reg = <0x00 0x79000000 0x0 0x900000>;
423 interrupts = < 0x0 0x10 0x4
441 scu: system-clk-controller@17000000 {
442 compatible = "apm,xgene-scu","syscon";
443 reg = <0x0 0x17000000 0x0 0x400>;
446 reboot: reboot@17000014 {
447 compatible = "syscon-reboot";
454 compatible = "apm,xgene-csw", "syscon";
455 reg = <0x0 0x7e200000 0x0 0x1000>;
458 mcba: mcba@7e700000 {
459 compatible = "apm,xgene-mcb", "syscon";
460 reg = <0x0 0x7e700000 0x0 0x1000>;
463 mcbb: mcbb@7e720000 {
464 compatible = "apm,xgene-mcb", "syscon";
465 reg = <0x0 0x7e720000 0x0 0x1000>;
468 efuse: efuse@1054a000 {
469 compatible = "apm,xgene-efuse", "syscon";
470 reg = <0x0 0x1054a000 0x0 0x20>;
474 compatible = "apm,xgene-rb", "syscon";
475 reg = <0x0 0x7e000000 0x0 0x10>;
479 compatible = "apm,xgene-edac";
480 #address-cells = <2>;
484 regmap-mcba = <&mcba>;
485 regmap-mcbb = <&mcbb>;
486 regmap-efuse = <&efuse>;
488 reg = <0x0 0x78800000 0x0 0x100>;
489 interrupts = <0x0 0x20 0x4>,
494 compatible = "apm,xgene-edac-mc";
495 reg = <0x0 0x7e800000 0x0 0x1000>;
496 memory-controller = <0>;
500 compatible = "apm,xgene-edac-mc";
501 reg = <0x0 0x7e840000 0x0 0x1000>;
502 memory-controller = <1>;
506 compatible = "apm,xgene-edac-mc";
507 reg = <0x0 0x7e880000 0x0 0x1000>;
508 memory-controller = <2>;
512 compatible = "apm,xgene-edac-mc";
513 reg = <0x0 0x7e8c0000 0x0 0x1000>;
514 memory-controller = <3>;
518 compatible = "apm,xgene-edac-pmd";
519 reg = <0x0 0x7c000000 0x0 0x200000>;
520 pmd-controller = <0>;
524 compatible = "apm,xgene-edac-pmd";
525 reg = <0x0 0x7c200000 0x0 0x200000>;
526 pmd-controller = <1>;
530 compatible = "apm,xgene-edac-pmd";
531 reg = <0x0 0x7c400000 0x0 0x200000>;
532 pmd-controller = <2>;
536 compatible = "apm,xgene-edac-pmd";
537 reg = <0x0 0x7c600000 0x0 0x200000>;
538 pmd-controller = <3>;
542 compatible = "apm,xgene-edac-l3";
543 reg = <0x0 0x7e600000 0x0 0x1000>;
547 compatible = "apm,xgene-edac-soc-v1";
548 reg = <0x0 0x7e930000 0x0 0x1000>;
553 compatible = "apm,xgene-pmu-v2";
554 #address-cells = <2>;
558 regmap-mcba = <&mcba>;
559 regmap-mcbb = <&mcbb>;
560 reg = <0x0 0x78810000 0x0 0x1000>;
561 interrupts = <0x0 0x22 0x4>;
564 compatible = "apm,xgene-pmu-l3c";
565 reg = <0x0 0x7e610000 0x0 0x1000>;
569 compatible = "apm,xgene-pmu-iob";
570 reg = <0x0 0x7e940000 0x0 0x1000>;
574 compatible = "apm,xgene-pmu-mcb";
575 reg = <0x0 0x7e710000 0x0 0x1000>;
576 enable-bit-index = <0>;
580 compatible = "apm,xgene-pmu-mcb";
581 reg = <0x0 0x7e730000 0x0 0x1000>;
582 enable-bit-index = <1>;
586 compatible = "apm,xgene-pmu-mc";
587 reg = <0x0 0x7e810000 0x0 0x1000>;
588 enable-bit-index = <0>;
592 compatible = "apm,xgene-pmu-mc";
593 reg = <0x0 0x7e850000 0x0 0x1000>;
594 enable-bit-index = <1>;
598 compatible = "apm,xgene-pmu-mc";
599 reg = <0x0 0x7e890000 0x0 0x1000>;
600 enable-bit-index = <2>;
604 compatible = "apm,xgene-pmu-mc";
605 reg = <0x0 0x7e8d0000 0x0 0x1000>;
606 enable-bit-index = <3>;
610 pcie0: pcie@1f2b0000 {
613 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
614 #interrupt-cells = <1>;
616 #address-cells = <3>;
617 reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
618 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
619 reg-names = "csr", "cfg";
620 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */
621 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000 /* mem */
622 0x43000000 0xf0 0x00000000 0xf0 0x00000000 0x10 0x00000000>; /* mem */
623 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
624 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
625 bus-range = <0x00 0xff>;
626 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
627 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x4
628 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x4
629 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x4
630 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x4>;
632 clocks = <&pcie0clk 0>;
636 pcie1: pcie@1f2c0000 {
639 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
640 #interrupt-cells = <1>;
642 #address-cells = <3>;
643 reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
644 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */
645 reg-names = "csr", "cfg";
646 ranges = <0x01000000 0x00 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */
647 0x02000000 0x00 0x80000000 0xd1 0x80000000 0x00 0x80000000 /* mem */
648 0x43000000 0xd8 0x00000000 0xd8 0x00000000 0x08 0x00000000>; /* mem */
649 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
650 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
651 bus-range = <0x00 0xff>;
652 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
653 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x4
654 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x4
655 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x4
656 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x4>;
658 clocks = <&pcie1clk 0>;
662 pcie2: pcie@1f2d0000 {
665 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
666 #interrupt-cells = <1>;
668 #address-cells = <3>;
669 reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */
670 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */
671 reg-names = "csr", "cfg";
672 ranges = <0x01000000 0x00 0x00000000 0x90 0x10000000 0x00 0x00010000 /* io */
673 0x02000000 0x00 0x80000000 0x91 0x80000000 0x00 0x80000000 /* mem */
674 0x43000000 0x94 0x00000000 0x94 0x00000000 0x04 0x00000000>; /* mem */
675 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
676 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
677 bus-range = <0x00 0xff>;
678 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
679 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x4
680 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x4
681 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x4
682 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x4>;
684 clocks = <&pcie2clk 0>;
688 pcie3: pcie@1f500000 {
691 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
692 #interrupt-cells = <1>;
694 #address-cells = <3>;
695 reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */
696 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
697 reg-names = "csr", "cfg";
698 ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */
699 0x02000000 0x00 0x80000000 0xa1 0x80000000 0x00 0x80000000 /* mem */
700 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */
701 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
702 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
703 bus-range = <0x00 0xff>;
704 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
705 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x4
706 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x4
707 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x4
708 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x4>;
710 clocks = <&pcie3clk 0>;
714 pcie4: pcie@1f510000 {
717 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
718 #interrupt-cells = <1>;
720 #address-cells = <3>;
721 reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */
722 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */
723 reg-names = "csr", "cfg";
724 ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */
725 0x02000000 0x00 0x80000000 0xc1 0x80000000 0x00 0x80000000 /* mem */
726 0x43000000 0xc8 0x00000000 0xc8 0x00000000 0x08 0x00000000>; /* mem */
727 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
728 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
729 bus-range = <0x00 0xff>;
730 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
731 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x4
732 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x4
733 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x4
734 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x4>;
736 clocks = <&pcie4clk 0>;
740 mailbox: mailbox@10540000 {
741 compatible = "apm,xgene-slimpro-mbox";
742 reg = <0x0 0x10540000 0x0 0xa000>;
744 interrupts = <0x0 0x0 0x4>,
755 compatible = "apm,xgene-slimpro-i2c";
756 mboxes = <&mailbox 0>;
760 compatible = "apm,xgene-slimpro-hwmon";
761 mboxes = <&mailbox 7>;
764 serial0: serial@1c020000 {
766 device_type = "serial";
767 compatible = "ns16550a";
768 reg = <0 0x1c020000 0x0 0x1000>;
770 clock-frequency = <10000000>; /* Updated by bootloader */
771 interrupt-parent = <&gic>;
772 interrupts = <0x0 0x4c 0x4>;
775 serial1: serial@1c021000 {
777 device_type = "serial";
778 compatible = "ns16550a";
779 reg = <0 0x1c021000 0x0 0x1000>;
781 clock-frequency = <10000000>; /* Updated by bootloader */
782 interrupt-parent = <&gic>;
783 interrupts = <0x0 0x4d 0x4>;
786 serial2: serial@1c022000 {
788 device_type = "serial";
789 compatible = "ns16550a";
790 reg = <0 0x1c022000 0x0 0x1000>;
792 clock-frequency = <10000000>; /* Updated by bootloader */
793 interrupt-parent = <&gic>;
794 interrupts = <0x0 0x4e 0x4>;
797 serial3: serial@1c023000 {
799 device_type = "serial";
800 compatible = "ns16550a";
801 reg = <0 0x1c023000 0x0 0x1000>;
803 clock-frequency = <10000000>; /* Updated by bootloader */
804 interrupt-parent = <&gic>;
805 interrupts = <0x0 0x4f 0x4>;
809 compatible = "arasan,sdhci-4.9a";
810 reg = <0x0 0x1c000000 0x0 0x100>;
811 interrupts = <0x0 0x49 0x4>;
814 clock-names = "clk_xin", "clk_ahb";
815 clocks = <&sdioclk 0>, <&ahbclk 0>;
818 gfcgpio: gpio0@1701c000 {
819 compatible = "apm,xgene-gpio";
820 reg = <0x0 0x1701c000 0x0 0x40>;
825 dwgpio: gpio@1c024000 {
826 compatible = "snps,dw-apb-gpio";
827 reg = <0x0 0x1c024000 0x0 0x1000>;
829 #address-cells = <1>;
832 porta: gpio-controller@0 {
833 compatible = "snps,dw-apb-gpio-port";
835 snps,nr-gpios = <32>;
842 #address-cells = <1>;
844 compatible = "snps,designware-i2c";
845 reg = <0x0 0x10512000 0x0 0x1000>;
846 interrupts = <0 0x44 0x4>;
848 clocks = <&ahbclk 0>;
853 compatible = "apm,xgene-phy";
854 reg = <0x0 0x1f21a000 0x0 0x100>;
856 clocks = <&sataphy1clk 0>;
858 apm,tx-boost-gain = <30 30 30 30 30 30>;
859 apm,tx-eye-tuning = <2 10 10 2 10 10>;
863 compatible = "apm,xgene-phy";
864 reg = <0x0 0x1f22a000 0x0 0x100>;
866 clocks = <&sataphy2clk 0>;
868 apm,tx-boost-gain = <30 30 30 30 30 30>;
869 apm,tx-eye-tuning = <1 10 10 2 10 10>;
873 compatible = "apm,xgene-phy";
874 reg = <0x0 0x1f23a000 0x0 0x100>;
876 clocks = <&sataphy3clk 0>;
878 apm,tx-boost-gain = <31 31 31 31 31 31>;
879 apm,tx-eye-tuning = <2 10 10 2 10 10>;
882 sata1: sata@1a000000 {
883 compatible = "apm,xgene-ahci";
884 reg = <0x0 0x1a000000 0x0 0x1000>,
885 <0x0 0x1f210000 0x0 0x1000>,
886 <0x0 0x1f21d000 0x0 0x1000>,
887 <0x0 0x1f21e000 0x0 0x1000>,
888 <0x0 0x1f217000 0x0 0x1000>;
889 interrupts = <0x0 0x86 0x4>;
892 clocks = <&sata01clk 0>;
894 phy-names = "sata-phy";
897 sata2: sata@1a400000 {
898 compatible = "apm,xgene-ahci";
899 reg = <0x0 0x1a400000 0x0 0x1000>,
900 <0x0 0x1f220000 0x0 0x1000>,
901 <0x0 0x1f22d000 0x0 0x1000>,
902 <0x0 0x1f22e000 0x0 0x1000>,
903 <0x0 0x1f227000 0x0 0x1000>;
904 interrupts = <0x0 0x87 0x4>;
907 clocks = <&sata23clk 0>;
909 phy-names = "sata-phy";
912 sata3: sata@1a800000 {
913 compatible = "apm,xgene-ahci";
914 reg = <0x0 0x1a800000 0x0 0x1000>,
915 <0x0 0x1f230000 0x0 0x1000>,
916 <0x0 0x1f23d000 0x0 0x1000>,
917 <0x0 0x1f23e000 0x0 0x1000>;
918 interrupts = <0x0 0x88 0x4>;
921 clocks = <&sata45clk 0>;
923 phy-names = "sata-phy";
926 /* Do not change dwusb name, coded for backward compatibility */
927 usb0: dwusb@19000000 {
929 compatible = "snps,dwc3";
930 reg = <0x0 0x19000000 0x0 0x100000>;
931 interrupts = <0x0 0x89 0x4>;
936 usb1: dwusb@19800000 {
938 compatible = "snps,dwc3";
939 reg = <0x0 0x19800000 0x0 0x100000>;
940 interrupts = <0x0 0x8a 0x4>;
945 sbgpio: gpio@17001000{
946 compatible = "apm,xgene-gpio-sb";
947 reg = <0x0 0x17001000 0x0 0x400>;
950 interrupts = <0x0 0x28 0x1>,
956 interrupt-parent = <&gic>;
957 #interrupt-cells = <2>;
958 interrupt-controller;
962 compatible = "apm,xgene-rtc";
963 reg = <0x0 0x10510000 0x0 0x400>;
964 interrupts = <0x0 0x46 0x4>;
966 clocks = <&rtcclk 0>;
969 mdio: mdio@17020000 {
970 compatible = "apm,xgene-mdio-rgmii";
971 #address-cells = <1>;
973 reg = <0x0 0x17020000 0x0 0xd100>;
974 clocks = <&menetclk 0>;
977 menet: ethernet@17020000 {
978 compatible = "apm,xgene-enet";
980 reg = <0x0 0x17020000 0x0 0xd100>,
981 <0x0 0x17030000 0x0 0xc300>,
982 <0x0 0x10000000 0x0 0x200>;
983 reg-names = "enet_csr", "ring_csr", "ring_cmd";
984 interrupts = <0x0 0x3c 0x4>;
986 clocks = <&menetclk 0>;
987 /* mac address will be overwritten by the bootloader */
988 local-mac-address = [00 00 00 00 00 00];
989 phy-connection-type = "rgmii";
990 phy-handle = <&menetphy>,<&menet0phy>;
992 compatible = "apm,xgene-mdio";
993 #address-cells = <1>;
995 menetphy: menetphy@3 {
996 compatible = "ethernet-phy-id001c.c915";
1003 sgenet0: ethernet@1f210000 {
1004 compatible = "apm,xgene1-sgenet";
1005 status = "disabled";
1006 reg = <0x0 0x1f210000 0x0 0xd100>,
1007 <0x0 0x1f200000 0x0 0xc300>,
1008 <0x0 0x1b000000 0x0 0x200>;
1009 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1010 interrupts = <0x0 0xa0 0x4>,
1013 clocks = <&sge0clk 0>;
1014 local-mac-address = [00 00 00 00 00 00];
1015 phy-connection-type = "sgmii";
1016 phy-handle = <&sgenet0phy>;
1019 sgenet1: ethernet@1f210030 {
1020 compatible = "apm,xgene1-sgenet";
1021 status = "disabled";
1022 reg = <0x0 0x1f210030 0x0 0xd100>,
1023 <0x0 0x1f200000 0x0 0xc300>,
1024 <0x0 0x1b000000 0x0 0x8000>;
1025 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1026 interrupts = <0x0 0xac 0x4>,
1030 local-mac-address = [00 00 00 00 00 00];
1031 phy-connection-type = "sgmii";
1032 phy-handle = <&sgenet1phy>;
1035 xgenet: ethernet@1f610000 {
1036 compatible = "apm,xgene1-xgenet";
1037 status = "disabled";
1038 reg = <0x0 0x1f610000 0x0 0xd100>,
1039 <0x0 0x1f600000 0x0 0xc300>,
1040 <0x0 0x18000000 0x0 0x200>;
1041 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1042 interrupts = <0x0 0x60 0x4>,
1052 clocks = <&xge0clk 0>;
1053 /* mac address will be overwritten by the bootloader */
1054 local-mac-address = [00 00 00 00 00 00];
1055 phy-connection-type = "xgmii";
1058 xgenet1: ethernet@1f620000 {
1059 compatible = "apm,xgene1-xgenet";
1060 status = "disabled";
1061 reg = <0x0 0x1f620000 0x0 0xd100>,
1062 <0x0 0x1f600000 0x0 0xc300>,
1063 <0x0 0x18000000 0x0 0x8000>;
1064 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1065 interrupts = <0x0 0x6c 0x4>,
1069 clocks = <&xge1clk 0>;
1070 /* mac address will be overwritten by the bootloader */
1071 local-mac-address = [00 00 00 00 00 00];
1072 phy-connection-type = "xgmii";
1076 compatible = "apm,xgene-rng";
1077 reg = <0x0 0x10520000 0x0 0x100>;
1078 interrupts = <0x0 0x41 0x4>;
1079 clocks = <&rngpkaclk 0>;
1083 compatible = "apm,xgene-storm-dma";
1084 device_type = "dma";
1085 reg = <0x0 0x1f270000 0x0 0x10000>,
1086 <0x0 0x1f200000 0x0 0x10000>,
1087 <0x0 0x1b000000 0x0 0x400000>,
1088 <0x0 0x1054a000 0x0 0x100>;
1089 interrupts = <0x0 0x82 0x4>,
1095 clocks = <&dmaclk 0>;