4 * Copyright (c) 2015 Broadcom. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
16 * * Neither the name of Broadcom Corporation nor the names of its
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 /memreserve/ 0x81000000 0x00200000;
35 #include <dt-bindings/interrupt-controller/arm-gic.h>
36 #include <dt-bindings/clock/bcm-ns2.h>
39 compatible = "brcm,ns2";
40 interrupt-parent = <&gic>;
50 compatible = "arm,cortex-a57", "arm,armv8";
52 enable-method = "psci";
53 next-level-cache = <&CLUSTER0_L2>;
58 compatible = "arm,cortex-a57", "arm,armv8";
60 enable-method = "psci";
61 next-level-cache = <&CLUSTER0_L2>;
66 compatible = "arm,cortex-a57", "arm,armv8";
68 enable-method = "psci";
69 next-level-cache = <&CLUSTER0_L2>;
74 compatible = "arm,cortex-a57", "arm,armv8";
76 enable-method = "psci";
77 next-level-cache = <&CLUSTER0_L2>;
80 CLUSTER0_L2: l2-cache@000 {
86 compatible = "arm,psci-1.0";
91 compatible = "arm,armv8-timer";
92 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xff) |
94 <GIC_PPI 14 (GIC_CPU_MASK_RAW(0xff) |
96 <GIC_PPI 11 (GIC_CPU_MASK_RAW(0xff) |
98 <GIC_PPI 10 (GIC_CPU_MASK_RAW(0xff) |
103 compatible = "arm,armv8-pmuv3";
104 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
105 <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
106 <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
107 <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
108 interrupt-affinity = <&A57_0>,
114 pcie0: pcie@20020000 {
115 compatible = "brcm,iproc-pcie";
116 reg = <0 0x20020000 0 0x1000>;
119 #interrupt-cells = <1>;
120 interrupt-map-mask = <0 0 0 0>;
121 interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 281 IRQ_TYPE_NONE>;
123 linux,pci-domain = <0>;
125 bus-range = <0x00 0xff>;
127 #address-cells = <3>;
130 ranges = <0x83000000 0 0x00000000 0 0x00000000 0 0x20000000>;
133 brcm,pcie-ob-oarr-size;
134 brcm,pcie-ob-axi-offset = <0x00000000>;
135 brcm,pcie-ob-window-size = <256>;
140 phy-names = "pcie-phy";
142 msi-parent = <&v2m0>;
145 pcie4: pcie@50020000 {
146 compatible = "brcm,iproc-pcie";
147 reg = <0 0x50020000 0 0x1000>;
150 #interrupt-cells = <1>;
151 interrupt-map-mask = <0 0 0 0>;
152 interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 305 IRQ_TYPE_NONE>;
154 linux,pci-domain = <4>;
156 bus-range = <0x00 0xff>;
158 #address-cells = <3>;
161 ranges = <0x83000000 0 0x00000000 0 0x30000000 0 0x20000000>;
164 brcm,pcie-ob-oarr-size;
165 brcm,pcie-ob-axi-offset = <0x30000000>;
166 brcm,pcie-ob-window-size = <256>;
171 phy-names = "pcie-phy";
173 msi-parent = <&v2m0>;
176 pcie8: pcie@60c00000 {
177 compatible = "brcm,iproc-pcie-paxc";
178 reg = <0 0x60c00000 0 0x1000>;
180 linux,pci-domain = <8>;
182 bus-range = <0x0 0x1>;
184 #address-cells = <3>;
187 ranges = <0x83000000 0 0x00000000 0 0x60000000 0 0x00c00000>;
191 msi-parent = <&v2m0>;
195 compatible = "simple-bus";
196 #address-cells = <1>;
198 ranges = <0 0 0 0xffffffff>;
200 #include "ns2-clock.dtsi"
202 enet: ethernet@61000000 {
203 compatible = "brcm,ns2-amac";
204 reg = <0x61000000 0x1000>,
207 reg-names = "amac_base", "idm_base", "nicpm_base";
208 interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
210 phy-handle = <&gphy0>;
215 pdc0: iproc-pdc0@612c0000 {
216 compatible = "brcm,iproc-pdc-mbox";
217 reg = <0x612c0000 0x445>; /* PDC FS0 regs */
218 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
221 brcm,rx-status-len = <32>;
225 pdc1: iproc-pdc1@612e0000 {
226 compatible = "brcm,iproc-pdc-mbox";
227 reg = <0x612e0000 0x445>; /* PDC FS1 regs */
228 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
231 brcm,rx-status-len = <32>;
235 pdc2: iproc-pdc2@61300000 {
236 compatible = "brcm,iproc-pdc-mbox";
237 reg = <0x61300000 0x445>; /* PDC FS2 regs */
238 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
241 brcm,rx-status-len = <32>;
245 pdc3: iproc-pdc3@61320000 {
246 compatible = "brcm,iproc-pdc-mbox";
247 reg = <0x61320000 0x445>; /* PDC FS3 regs */
248 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
251 brcm,rx-status-len = <32>;
256 compatible = "arm,pl330", "arm,primecell";
257 reg = <0x61360000 0x1000>;
258 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
260 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
269 #dma-requests = <32>;
270 clocks = <&iprocslow>;
271 clock-names = "apb_pclk";
275 compatible = "arm,mmu-500";
276 reg = <0x64000000 0x40000>;
277 #global-interrupts = <2>;
278 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>,
283 <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>,
284 <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
288 <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
295 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
296 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
297 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
298 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
299 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
315 pinctrl: pinctrl@6501d130 {
316 compatible = "brcm,ns2-pinmux";
317 reg = <0x6501d130 0x08>,
322 gpio_aon: gpio@65024800 {
323 compatible = "brcm,iproc-gpio";
324 reg = <0x65024800 0x50>,
331 gic: interrupt-controller@65210000 {
332 compatible = "arm,gic-400";
333 #interrupt-cells = <3>;
334 interrupt-controller;
335 reg = <0x65210000 0x1000>,
339 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
340 IRQ_TYPE_LEVEL_HIGH)>;
342 #address-cells = <1>;
344 ranges = <0 0x652e0000 0x80000>;
347 compatible = "arm,gic-v2m-frame";
348 interrupt-parent = <&gic>;
350 reg = <0x00000 0x1000>;
351 arm,msi-base-spi = <72>;
352 arm,msi-num-spis = <16>;
356 compatible = "arm,gic-v2m-frame";
357 interrupt-parent = <&gic>;
359 reg = <0x10000 0x1000>;
360 arm,msi-base-spi = <88>;
361 arm,msi-num-spis = <16>;
365 compatible = "arm,gic-v2m-frame";
366 interrupt-parent = <&gic>;
368 reg = <0x20000 0x1000>;
369 arm,msi-base-spi = <104>;
370 arm,msi-num-spis = <16>;
374 compatible = "arm,gic-v2m-frame";
375 interrupt-parent = <&gic>;
377 reg = <0x30000 0x1000>;
378 arm,msi-base-spi = <120>;
379 arm,msi-num-spis = <16>;
383 compatible = "arm,gic-v2m-frame";
384 interrupt-parent = <&gic>;
386 reg = <0x40000 0x1000>;
387 arm,msi-base-spi = <136>;
388 arm,msi-num-spis = <16>;
392 compatible = "arm,gic-v2m-frame";
393 interrupt-parent = <&gic>;
395 reg = <0x50000 0x1000>;
396 arm,msi-base-spi = <152>;
397 arm,msi-num-spis = <16>;
401 compatible = "arm,gic-v2m-frame";
402 interrupt-parent = <&gic>;
404 reg = <0x60000 0x1000>;
405 arm,msi-base-spi = <168>;
406 arm,msi-num-spis = <16>;
410 compatible = "arm,gic-v2m-frame";
411 interrupt-parent = <&gic>;
413 reg = <0x70000 0x1000>;
414 arm,msi-base-spi = <184>;
415 arm,msi-num-spis = <16>;
420 compatible = "arm,cci-400";
421 #address-cells = <1>;
423 reg = <0x65590000 0x1000>;
424 ranges = <0 0x65590000 0x10000>;
427 compatible = "arm,cci-400-pmu,r1",
429 reg = <0x9000 0x4000>;
430 interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
431 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
432 <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>,
433 <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
434 <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>,
435 <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>;
440 compatible = "brcm,iproc-pwm";
441 reg = <0x66010000 0x28>;
447 mdio_mux_iproc: mdio-mux@6602023c {
448 compatible = "brcm,mdio-mux-iproc";
449 reg = <0x6602023c 0x14>;
450 #address-cells = <1>;
455 #address-cells = <1>;
458 pci_phy0: pci-phy@0 {
459 compatible = "brcm,ns2-pcie-phy";
468 #address-cells = <1>;
471 pci_phy1: pci-phy@0 {
472 compatible = "brcm,ns2-pcie-phy";
481 #address-cells = <1>;
486 timer0: timer@66030000 {
487 compatible = "arm,sp804", "arm,primecell";
488 reg = <0x66030000 0x1000>;
489 interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
490 clocks = <&iprocslow>,
493 clock-names = "timer1", "timer2", "apb_pclk";
496 timer1: timer@66040000 {
497 compatible = "arm,sp804", "arm,primecell";
498 reg = <0x66040000 0x1000>;
499 interrupts = <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
500 clocks = <&iprocslow>,
503 clock-names = "timer1", "timer2", "apb_pclk";
506 timer2: timer@66050000 {
507 compatible = "arm,sp804", "arm,primecell";
508 reg = <0x66050000 0x1000>;
509 interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>;
510 clocks = <&iprocslow>,
513 clock-names = "timer1", "timer2", "apb_pclk";
516 timer3: timer@66060000 {
517 compatible = "arm,sp804", "arm,primecell";
518 reg = <0x66060000 0x1000>;
519 interrupts = <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>;
520 clocks = <&iprocslow>,
523 clock-names = "timer1", "timer2", "apb_pclk";
527 compatible = "brcm,iproc-i2c";
528 reg = <0x66080000 0x100>;
529 #address-cells = <1>;
531 interrupts = <GIC_SPI 394 IRQ_TYPE_NONE>;
532 clock-frequency = <100000>;
536 wdt0: watchdog@66090000 {
537 compatible = "arm,sp805", "arm,primecell";
538 reg = <0x66090000 0x1000>;
539 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&iprocslow>, <&iprocslow>;
541 clock-names = "wdogclk", "apb_pclk";
544 gpio_g: gpio@660a0000 {
545 compatible = "brcm,iproc-gpio";
546 reg = <0x660a0000 0x50>;
550 interrupt-controller;
551 interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>;
555 compatible = "brcm,iproc-i2c";
556 reg = <0x660b0000 0x100>;
557 #address-cells = <1>;
559 interrupts = <GIC_SPI 395 IRQ_TYPE_NONE>;
560 clock-frequency = <100000>;
564 uart0: serial@66100000 {
565 compatible = "snps,dw-apb-uart";
566 reg = <0x66100000 0x100>;
567 interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>;
568 clocks = <&iprocslow>;
574 uart1: serial@66110000 {
575 compatible = "snps,dw-apb-uart";
576 reg = <0x66110000 0x100>;
577 interrupts = <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>;
578 clocks = <&iprocslow>;
584 uart2: serial@66120000 {
585 compatible = "snps,dw-apb-uart";
586 reg = <0x66120000 0x100>;
587 interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>;
588 clocks = <&iprocslow>;
594 uart3: serial@66130000 {
595 compatible = "snps,dw-apb-uart";
596 reg = <0x66130000 0x100>;
597 interrupts = <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>;
605 compatible = "arm,pl022", "arm,primecell";
606 reg = <0x66180000 0x1000>;
607 interrupts = <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&iprocslow>, <&iprocslow>;
609 clock-names = "spiclk", "apb_pclk";
610 #address-cells = <1>;
616 compatible = "arm,pl022", "arm,primecell";
617 reg = <0x66190000 0x1000>;
618 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
619 clocks = <&iprocslow>, <&iprocslow>;
620 clock-names = "spiclk", "apb_pclk";
621 #address-cells = <1>;
626 hwrng: hwrng@66220000 {
627 compatible = "brcm,iproc-rng200";
628 reg = <0x66220000 0x28>;
631 sata_phy: sata_phy@663f0100 {
632 compatible = "brcm,iproc-ns2-sata-phy";
633 reg = <0x663f0100 0x1f00>,
635 reg-names = "phy", "phy-ctrl";
636 #address-cells = <1>;
639 sata_phy0: sata-phy@0 {
645 sata_phy1: sata-phy@1 {
652 sata: ahci@663f2000 {
653 compatible = "brcm,iproc-ahci", "generic-ahci";
654 reg = <0x663f2000 0x1000>;
657 interrupts = <GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>;
658 #address-cells = <1>;
665 phy-names = "sata-phy";
671 phy-names = "sata-phy";
675 sdio0: sdhci@66420000 {
676 compatible = "brcm,sdhci-iproc-cygnus";
677 reg = <0x66420000 0x100>;
678 interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>;
681 clocks = <&genpll_sw BCM_NS2_GENPLL_SW_SDIO_CLK>;
685 sdio1: sdhci@66430000 {
686 compatible = "brcm,sdhci-iproc-cygnus";
687 reg = <0x66430000 0x100>;
688 interrupts = <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>;
691 clocks = <&genpll_sw BCM_NS2_GENPLL_SW_SDIO_CLK>;
695 nand: nand@66460000 {
696 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
697 reg = <0x66460000 0x600>,
700 reg-names = "nand", "iproc-idm", "iproc-ext";
701 interrupts = <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>;
703 #address-cells = <1>;
710 compatible = "brcm,spi-bcm-qspi", "brcm,spi-ns2-qspi";
711 reg = <0x66470200 0x184>,
715 reg-names = "mspi", "bspi", "intr_regs",
717 interrupts = <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>;
718 interrupt-names = "spi_l1_intr";
719 clocks = <&iprocmed>;
720 clock-names = "iprocmed";
722 #address-cells = <1>;