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 0xff08>, /* Secure Phys IRQ */
114 <1 13 0xff08>, /* Non-secure Phys IRQ */
115 <1 14 0xff08>, /* Virt IRQ */
116 <1 15 0xff08>; /* 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 = "ethclk";
207 reg = <0x0 0x17000000 0x0 0x1000>;
208 reg-names = "div-reg";
209 divider-offset = <0x238>;
210 divider-width = <0x9>;
211 divider-shift = <0x0>;
212 clock-output-names = "ethclk";
216 compatible = "apm,xgene-device-clock";
218 clocks = <ðclk 0>;
219 reg = <0x0 0x1702c000 0x0 0x1000>;
220 reg-names = "csr-reg";
221 clock-output-names = "menetclk";
224 sge0clk: sge0clk@1f21c000 {
225 compatible = "apm,xgene-device-clock";
227 clocks = <&socplldiv2 0>;
228 reg = <0x0 0x1f21c000 0x0 0x1000>;
229 reg-names = "csr-reg";
232 clock-output-names = "sge0clk";
235 xge0clk: xge0clk@1f61c000 {
236 compatible = "apm,xgene-device-clock";
238 clocks = <&socplldiv2 0>;
239 reg = <0x0 0x1f61c000 0x0 0x1000>;
240 reg-names = "csr-reg";
242 clock-output-names = "xge0clk";
245 xge1clk: xge1clk@1f62c000 {
246 compatible = "apm,xgene-device-clock";
249 clocks = <&socplldiv2 0>;
250 reg = <0x0 0x1f62c000 0x0 0x1000>;
251 reg-names = "csr-reg";
253 clock-output-names = "xge1clk";
256 sataphy1clk: sataphy1clk@1f21c000 {
257 compatible = "apm,xgene-device-clock";
259 clocks = <&socplldiv2 0>;
260 reg = <0x0 0x1f21c000 0x0 0x1000>;
261 reg-names = "csr-reg";
262 clock-output-names = "sataphy1clk";
266 enable-offset = <0x0>;
267 enable-mask = <0x06>;
270 sataphy2clk: sataphy1clk@1f22c000 {
271 compatible = "apm,xgene-device-clock";
273 clocks = <&socplldiv2 0>;
274 reg = <0x0 0x1f22c000 0x0 0x1000>;
275 reg-names = "csr-reg";
276 clock-output-names = "sataphy2clk";
280 enable-offset = <0x0>;
281 enable-mask = <0x06>;
284 sataphy3clk: sataphy1clk@1f23c000 {
285 compatible = "apm,xgene-device-clock";
287 clocks = <&socplldiv2 0>;
288 reg = <0x0 0x1f23c000 0x0 0x1000>;
289 reg-names = "csr-reg";
290 clock-output-names = "sataphy3clk";
294 enable-offset = <0x0>;
295 enable-mask = <0x06>;
298 sata01clk: sata01clk@1f21c000 {
299 compatible = "apm,xgene-device-clock";
301 clocks = <&socplldiv2 0>;
302 reg = <0x0 0x1f21c000 0x0 0x1000>;
303 reg-names = "csr-reg";
304 clock-output-names = "sata01clk";
307 enable-offset = <0x0>;
308 enable-mask = <0x39>;
311 sata23clk: sata23clk@1f22c000 {
312 compatible = "apm,xgene-device-clock";
314 clocks = <&socplldiv2 0>;
315 reg = <0x0 0x1f22c000 0x0 0x1000>;
316 reg-names = "csr-reg";
317 clock-output-names = "sata23clk";
320 enable-offset = <0x0>;
321 enable-mask = <0x39>;
324 sata45clk: sata45clk@1f23c000 {
325 compatible = "apm,xgene-device-clock";
327 clocks = <&socplldiv2 0>;
328 reg = <0x0 0x1f23c000 0x0 0x1000>;
329 reg-names = "csr-reg";
330 clock-output-names = "sata45clk";
333 enable-offset = <0x0>;
334 enable-mask = <0x39>;
337 rtcclk: rtcclk@17000000 {
338 compatible = "apm,xgene-device-clock";
340 clocks = <&socplldiv2 0>;
341 reg = <0x0 0x17000000 0x0 0x2000>;
342 reg-names = "csr-reg";
345 enable-offset = <0x10>;
347 clock-output-names = "rtcclk";
350 rngpkaclk: rngpkaclk@17000000 {
351 compatible = "apm,xgene-device-clock";
353 clocks = <&socplldiv2 0>;
354 reg = <0x0 0x17000000 0x0 0x2000>;
355 reg-names = "csr-reg";
358 enable-offset = <0x10>;
359 enable-mask = <0x10>;
360 clock-output-names = "rngpkaclk";
363 pcie0clk: pcie0clk@1f2bc000 {
365 compatible = "apm,xgene-device-clock";
367 clocks = <&socplldiv2 0>;
368 reg = <0x0 0x1f2bc000 0x0 0x1000>;
369 reg-names = "csr-reg";
370 clock-output-names = "pcie0clk";
373 pcie1clk: pcie1clk@1f2cc000 {
375 compatible = "apm,xgene-device-clock";
377 clocks = <&socplldiv2 0>;
378 reg = <0x0 0x1f2cc000 0x0 0x1000>;
379 reg-names = "csr-reg";
380 clock-output-names = "pcie1clk";
383 pcie2clk: pcie2clk@1f2dc000 {
385 compatible = "apm,xgene-device-clock";
387 clocks = <&socplldiv2 0>;
388 reg = <0x0 0x1f2dc000 0x0 0x1000>;
389 reg-names = "csr-reg";
390 clock-output-names = "pcie2clk";
393 pcie3clk: pcie3clk@1f50c000 {
395 compatible = "apm,xgene-device-clock";
397 clocks = <&socplldiv2 0>;
398 reg = <0x0 0x1f50c000 0x0 0x1000>;
399 reg-names = "csr-reg";
400 clock-output-names = "pcie3clk";
403 pcie4clk: pcie4clk@1f51c000 {
405 compatible = "apm,xgene-device-clock";
407 clocks = <&socplldiv2 0>;
408 reg = <0x0 0x1f51c000 0x0 0x1000>;
409 reg-names = "csr-reg";
410 clock-output-names = "pcie4clk";
413 dmaclk: dmaclk@1f27c000 {
414 compatible = "apm,xgene-device-clock";
416 clocks = <&socplldiv2 0>;
417 reg = <0x0 0x1f27c000 0x0 0x1000>;
418 reg-names = "csr-reg";
419 clock-output-names = "dmaclk";
424 compatible = "apm,xgene1-msi";
426 reg = <0x00 0x79000000 0x0 0x900000>;
427 interrupts = < 0x0 0x10 0x4
445 scu: system-clk-controller@17000000 {
446 compatible = "apm,xgene-scu","syscon";
447 reg = <0x0 0x17000000 0x0 0x400>;
450 reboot: reboot@17000014 {
451 compatible = "syscon-reboot";
458 compatible = "apm,xgene-csw", "syscon";
459 reg = <0x0 0x7e200000 0x0 0x1000>;
462 mcba: mcba@7e700000 {
463 compatible = "apm,xgene-mcb", "syscon";
464 reg = <0x0 0x7e700000 0x0 0x1000>;
467 mcbb: mcbb@7e720000 {
468 compatible = "apm,xgene-mcb", "syscon";
469 reg = <0x0 0x7e720000 0x0 0x1000>;
472 efuse: efuse@1054a000 {
473 compatible = "apm,xgene-efuse", "syscon";
474 reg = <0x0 0x1054a000 0x0 0x20>;
478 compatible = "apm,xgene-rb", "syscon";
479 reg = <0x0 0x7e000000 0x0 0x10>;
483 compatible = "apm,xgene-edac";
484 #address-cells = <2>;
488 regmap-mcba = <&mcba>;
489 regmap-mcbb = <&mcbb>;
490 regmap-efuse = <&efuse>;
492 reg = <0x0 0x78800000 0x0 0x100>;
493 interrupts = <0x0 0x20 0x4>,
498 compatible = "apm,xgene-edac-mc";
499 reg = <0x0 0x7e800000 0x0 0x1000>;
500 memory-controller = <0>;
504 compatible = "apm,xgene-edac-mc";
505 reg = <0x0 0x7e840000 0x0 0x1000>;
506 memory-controller = <1>;
510 compatible = "apm,xgene-edac-mc";
511 reg = <0x0 0x7e880000 0x0 0x1000>;
512 memory-controller = <2>;
516 compatible = "apm,xgene-edac-mc";
517 reg = <0x0 0x7e8c0000 0x0 0x1000>;
518 memory-controller = <3>;
522 compatible = "apm,xgene-edac-pmd";
523 reg = <0x0 0x7c000000 0x0 0x200000>;
524 pmd-controller = <0>;
528 compatible = "apm,xgene-edac-pmd";
529 reg = <0x0 0x7c200000 0x0 0x200000>;
530 pmd-controller = <1>;
534 compatible = "apm,xgene-edac-pmd";
535 reg = <0x0 0x7c400000 0x0 0x200000>;
536 pmd-controller = <2>;
540 compatible = "apm,xgene-edac-pmd";
541 reg = <0x0 0x7c600000 0x0 0x200000>;
542 pmd-controller = <3>;
546 compatible = "apm,xgene-edac-l3";
547 reg = <0x0 0x7e600000 0x0 0x1000>;
551 compatible = "apm,xgene-edac-soc-v1";
552 reg = <0x0 0x7e930000 0x0 0x1000>;
557 compatible = "apm,xgene-pmu-v2";
558 #address-cells = <2>;
562 regmap-mcba = <&mcba>;
563 regmap-mcbb = <&mcbb>;
564 reg = <0x0 0x78810000 0x0 0x1000>;
565 interrupts = <0x0 0x22 0x4>;
568 compatible = "apm,xgene-pmu-l3c";
569 reg = <0x0 0x7e610000 0x0 0x1000>;
573 compatible = "apm,xgene-pmu-iob";
574 reg = <0x0 0x7e940000 0x0 0x1000>;
578 compatible = "apm,xgene-pmu-mcb";
579 reg = <0x0 0x7e710000 0x0 0x1000>;
580 enable-bit-index = <0>;
584 compatible = "apm,xgene-pmu-mcb";
585 reg = <0x0 0x7e730000 0x0 0x1000>;
586 enable-bit-index = <1>;
590 compatible = "apm,xgene-pmu-mc";
591 reg = <0x0 0x7e810000 0x0 0x1000>;
592 enable-bit-index = <0>;
596 compatible = "apm,xgene-pmu-mc";
597 reg = <0x0 0x7e850000 0x0 0x1000>;
598 enable-bit-index = <1>;
602 compatible = "apm,xgene-pmu-mc";
603 reg = <0x0 0x7e890000 0x0 0x1000>;
604 enable-bit-index = <2>;
608 compatible = "apm,xgene-pmu-mc";
609 reg = <0x0 0x7e8d0000 0x0 0x1000>;
610 enable-bit-index = <3>;
614 pcie0: pcie@1f2b0000 {
617 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
618 #interrupt-cells = <1>;
620 #address-cells = <3>;
621 reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
622 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
623 reg-names = "csr", "cfg";
624 ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */
625 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000 /* mem */
626 0x43000000 0xf0 0x00000000 0xf0 0x00000000 0x10 0x00000000>; /* mem */
627 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
628 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
629 bus-range = <0x00 0xff>;
630 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
631 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x4
632 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x4
633 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x4
634 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x4>;
636 clocks = <&pcie0clk 0>;
640 pcie1: pcie@1f2c0000 {
643 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
644 #interrupt-cells = <1>;
646 #address-cells = <3>;
647 reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
648 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */
649 reg-names = "csr", "cfg";
650 ranges = <0x01000000 0x00 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */
651 0x02000000 0x00 0x80000000 0xd1 0x80000000 0x00 0x80000000 /* mem */
652 0x43000000 0xd8 0x00000000 0xd8 0x00000000 0x08 0x00000000>; /* mem */
653 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
654 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
655 bus-range = <0x00 0xff>;
656 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
657 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x4
658 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x4
659 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x4
660 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x4>;
662 clocks = <&pcie1clk 0>;
666 pcie2: pcie@1f2d0000 {
669 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
670 #interrupt-cells = <1>;
672 #address-cells = <3>;
673 reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */
674 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */
675 reg-names = "csr", "cfg";
676 ranges = <0x01000000 0x00 0x00000000 0x90 0x10000000 0x00 0x00010000 /* io */
677 0x02000000 0x00 0x80000000 0x91 0x80000000 0x00 0x80000000 /* mem */
678 0x43000000 0x94 0x00000000 0x94 0x00000000 0x04 0x00000000>; /* mem */
679 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
680 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
681 bus-range = <0x00 0xff>;
682 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
683 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x4
684 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x4
685 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x4
686 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x4>;
688 clocks = <&pcie2clk 0>;
692 pcie3: pcie@1f500000 {
695 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
696 #interrupt-cells = <1>;
698 #address-cells = <3>;
699 reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */
700 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
701 reg-names = "csr", "cfg";
702 ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */
703 0x02000000 0x00 0x80000000 0xa1 0x80000000 0x00 0x80000000 /* mem */
704 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */
705 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
706 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
707 bus-range = <0x00 0xff>;
708 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
709 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x4
710 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x4
711 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x4
712 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x4>;
714 clocks = <&pcie3clk 0>;
718 pcie4: pcie@1f510000 {
721 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
722 #interrupt-cells = <1>;
724 #address-cells = <3>;
725 reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */
726 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */
727 reg-names = "csr", "cfg";
728 ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */
729 0x02000000 0x00 0x80000000 0xc1 0x80000000 0x00 0x80000000 /* mem */
730 0x43000000 0xc8 0x00000000 0xc8 0x00000000 0x08 0x00000000>; /* mem */
731 dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
732 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
733 bus-range = <0x00 0xff>;
734 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
735 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x4
736 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x4
737 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x4
738 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x4>;
740 clocks = <&pcie4clk 0>;
744 mailbox: mailbox@10540000 {
745 compatible = "apm,xgene-slimpro-mbox";
746 reg = <0x0 0x10540000 0x0 0xa000>;
748 interrupts = <0x0 0x0 0x4>,
759 compatible = "apm,xgene-slimpro-i2c";
760 mboxes = <&mailbox 0>;
764 compatible = "apm,xgene-slimpro-hwmon";
765 mboxes = <&mailbox 7>;
768 serial0: serial@1c020000 {
770 device_type = "serial";
771 compatible = "ns16550a";
772 reg = <0 0x1c020000 0x0 0x1000>;
774 clock-frequency = <10000000>; /* Updated by bootloader */
775 interrupt-parent = <&gic>;
776 interrupts = <0x0 0x4c 0x4>;
779 serial1: serial@1c021000 {
781 device_type = "serial";
782 compatible = "ns16550a";
783 reg = <0 0x1c021000 0x0 0x1000>;
785 clock-frequency = <10000000>; /* Updated by bootloader */
786 interrupt-parent = <&gic>;
787 interrupts = <0x0 0x4d 0x4>;
790 serial2: serial@1c022000 {
792 device_type = "serial";
793 compatible = "ns16550a";
794 reg = <0 0x1c022000 0x0 0x1000>;
796 clock-frequency = <10000000>; /* Updated by bootloader */
797 interrupt-parent = <&gic>;
798 interrupts = <0x0 0x4e 0x4>;
801 serial3: serial@1c023000 {
803 device_type = "serial";
804 compatible = "ns16550a";
805 reg = <0 0x1c023000 0x0 0x1000>;
807 clock-frequency = <10000000>; /* Updated by bootloader */
808 interrupt-parent = <&gic>;
809 interrupts = <0x0 0x4f 0x4>;
813 compatible = "arasan,sdhci-4.9a";
814 reg = <0x0 0x1c000000 0x0 0x100>;
815 interrupts = <0x0 0x49 0x4>;
818 clock-names = "clk_xin", "clk_ahb";
819 clocks = <&sdioclk 0>, <&ahbclk 0>;
822 gfcgpio: gpio0@1701c000 {
823 compatible = "apm,xgene-gpio";
824 reg = <0x0 0x1701c000 0x0 0x40>;
829 dwgpio: gpio@1c024000 {
830 compatible = "snps,dw-apb-gpio";
831 reg = <0x0 0x1c024000 0x0 0x1000>;
833 #address-cells = <1>;
836 porta: gpio-controller@0 {
837 compatible = "snps,dw-apb-gpio-port";
839 snps,nr-gpios = <32>;
846 #address-cells = <1>;
848 compatible = "snps,designware-i2c";
849 reg = <0x0 0x10512000 0x0 0x1000>;
850 interrupts = <0 0x44 0x4>;
852 clocks = <&ahbclk 0>;
857 compatible = "apm,xgene-phy";
858 reg = <0x0 0x1f21a000 0x0 0x100>;
860 clocks = <&sataphy1clk 0>;
862 apm,tx-boost-gain = <30 30 30 30 30 30>;
863 apm,tx-eye-tuning = <2 10 10 2 10 10>;
867 compatible = "apm,xgene-phy";
868 reg = <0x0 0x1f22a000 0x0 0x100>;
870 clocks = <&sataphy2clk 0>;
872 apm,tx-boost-gain = <30 30 30 30 30 30>;
873 apm,tx-eye-tuning = <1 10 10 2 10 10>;
877 compatible = "apm,xgene-phy";
878 reg = <0x0 0x1f23a000 0x0 0x100>;
880 clocks = <&sataphy3clk 0>;
882 apm,tx-boost-gain = <31 31 31 31 31 31>;
883 apm,tx-eye-tuning = <2 10 10 2 10 10>;
886 sata1: sata@1a000000 {
887 compatible = "apm,xgene-ahci";
888 reg = <0x0 0x1a000000 0x0 0x1000>,
889 <0x0 0x1f210000 0x0 0x1000>,
890 <0x0 0x1f21d000 0x0 0x1000>,
891 <0x0 0x1f21e000 0x0 0x1000>,
892 <0x0 0x1f217000 0x0 0x1000>;
893 interrupts = <0x0 0x86 0x4>;
896 clocks = <&sata01clk 0>;
898 phy-names = "sata-phy";
901 sata2: sata@1a400000 {
902 compatible = "apm,xgene-ahci";
903 reg = <0x0 0x1a400000 0x0 0x1000>,
904 <0x0 0x1f220000 0x0 0x1000>,
905 <0x0 0x1f22d000 0x0 0x1000>,
906 <0x0 0x1f22e000 0x0 0x1000>,
907 <0x0 0x1f227000 0x0 0x1000>;
908 interrupts = <0x0 0x87 0x4>;
911 clocks = <&sata23clk 0>;
913 phy-names = "sata-phy";
916 sata3: sata@1a800000 {
917 compatible = "apm,xgene-ahci";
918 reg = <0x0 0x1a800000 0x0 0x1000>,
919 <0x0 0x1f230000 0x0 0x1000>,
920 <0x0 0x1f23d000 0x0 0x1000>,
921 <0x0 0x1f23e000 0x0 0x1000>;
922 interrupts = <0x0 0x88 0x4>;
925 clocks = <&sata45clk 0>;
927 phy-names = "sata-phy";
930 /* Do not change dwusb name, coded for backward compatibility */
931 usb0: dwusb@19000000 {
933 compatible = "snps,dwc3";
934 reg = <0x0 0x19000000 0x0 0x100000>;
935 interrupts = <0x0 0x89 0x4>;
940 usb1: dwusb@19800000 {
942 compatible = "snps,dwc3";
943 reg = <0x0 0x19800000 0x0 0x100000>;
944 interrupts = <0x0 0x8a 0x4>;
949 sbgpio: gpio@17001000{
950 compatible = "apm,xgene-gpio-sb";
951 reg = <0x0 0x17001000 0x0 0x400>;
954 interrupts = <0x0 0x28 0x1>,
960 interrupt-parent = <&gic>;
961 #interrupt-cells = <2>;
962 interrupt-controller;
966 compatible = "apm,xgene-rtc";
967 reg = <0x0 0x10510000 0x0 0x400>;
968 interrupts = <0x0 0x46 0x4>;
970 clocks = <&rtcclk 0>;
973 mdio: mdio@17020000 {
974 compatible = "apm,xgene-mdio-rgmii";
975 #address-cells = <1>;
977 reg = <0x0 0x17020000 0x0 0xd100>;
978 clocks = <&menetclk 0>;
981 menet: ethernet@17020000 {
982 compatible = "apm,xgene-enet";
984 reg = <0x0 0x17020000 0x0 0xd100>,
985 <0x0 0x17030000 0x0 0xc300>,
986 <0x0 0x10000000 0x0 0x200>;
987 reg-names = "enet_csr", "ring_csr", "ring_cmd";
988 interrupts = <0x0 0x3c 0x4>;
990 clocks = <&menetclk 0>;
991 /* mac address will be overwritten by the bootloader */
992 local-mac-address = [00 00 00 00 00 00];
993 phy-connection-type = "rgmii";
994 phy-handle = <&menetphy>,<&menet0phy>;
996 compatible = "apm,xgene-mdio";
997 #address-cells = <1>;
999 menetphy: menetphy@3 {
1000 compatible = "ethernet-phy-id001c.c915";
1007 sgenet0: ethernet@1f210000 {
1008 compatible = "apm,xgene1-sgenet";
1009 status = "disabled";
1010 reg = <0x0 0x1f210000 0x0 0xd100>,
1011 <0x0 0x1f200000 0x0 0xc300>,
1012 <0x0 0x1b000000 0x0 0x200>;
1013 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1014 interrupts = <0x0 0xa0 0x4>,
1017 clocks = <&sge0clk 0>;
1018 local-mac-address = [00 00 00 00 00 00];
1019 phy-connection-type = "sgmii";
1020 phy-handle = <&sgenet0phy>;
1023 sgenet1: ethernet@1f210030 {
1024 compatible = "apm,xgene1-sgenet";
1025 status = "disabled";
1026 reg = <0x0 0x1f210030 0x0 0xd100>,
1027 <0x0 0x1f200000 0x0 0xc300>,
1028 <0x0 0x1b000000 0x0 0x8000>;
1029 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1030 interrupts = <0x0 0xac 0x4>,
1034 local-mac-address = [00 00 00 00 00 00];
1035 phy-connection-type = "sgmii";
1036 phy-handle = <&sgenet1phy>;
1039 xgenet: ethernet@1f610000 {
1040 compatible = "apm,xgene1-xgenet";
1041 status = "disabled";
1042 reg = <0x0 0x1f610000 0x0 0xd100>,
1043 <0x0 0x1f600000 0x0 0xc300>,
1044 <0x0 0x18000000 0x0 0x200>;
1045 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1046 interrupts = <0x0 0x60 0x4>,
1056 clocks = <&xge0clk 0>;
1057 /* mac address will be overwritten by the bootloader */
1058 local-mac-address = [00 00 00 00 00 00];
1059 phy-connection-type = "xgmii";
1062 xgenet1: ethernet@1f620000 {
1063 compatible = "apm,xgene1-xgenet";
1064 status = "disabled";
1065 reg = <0x0 0x1f620000 0x0 0xd100>,
1066 <0x0 0x1f600000 0x0 0xc300>,
1067 <0x0 0x18000000 0x0 0x8000>;
1068 reg-names = "enet_csr", "ring_csr", "ring_cmd";
1069 interrupts = <0x0 0x6c 0x4>,
1073 clocks = <&xge1clk 0>;
1074 /* mac address will be overwritten by the bootloader */
1075 local-mac-address = [00 00 00 00 00 00];
1076 phy-connection-type = "xgmii";
1080 compatible = "apm,xgene-rng";
1081 reg = <0x0 0x10520000 0x0 0x100>;
1082 interrupts = <0x0 0x41 0x4>;
1083 clocks = <&rngpkaclk 0>;
1087 compatible = "apm,xgene-storm-dma";
1088 device_type = "dma";
1089 reg = <0x0 0x1f270000 0x0 0x10000>,
1090 <0x0 0x1f200000 0x0 0x10000>,
1091 <0x0 0x1b000000 0x0 0x400000>,
1092 <0x0 0x1054a000 0x0 0x100>;
1093 interrupts = <0x0 0x82 0x4>,
1099 clocks = <&dmaclk 0>;