blob: 080c2f27715dd3d0c370b980799dece0b94b668d [file] [log] [blame]
Jon Mason7b2e9872015-08-31 19:48:53 -04001/*
2 * BSD LICENSE
3 *
4 * Copyright(c) 2015 Broadcom Corporation. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
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
15 * distribution.
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.
19 *
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.
31 */
32
33#include <dt-bindings/interrupt-controller/arm-gic.h>
34#include <dt-bindings/interrupt-controller/irq.h>
Jon Masonda3f9742015-11-20 10:17:19 -050035#include <dt-bindings/clock/bcm-nsp.h>
Jon Mason7b2e9872015-08-31 19:48:53 -040036
37#include "skeleton.dtsi"
38
39/ {
40 compatible = "brcm,nsp";
41 model = "Broadcom Northstar Plus SoC";
42 interrupt-parent = <&gic>;
43
Kapil Hali944725f2015-12-05 06:53:42 -050044 cpus {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
Jon Mason9d57f602016-02-05 17:43:22 -050048 cpu0: cpu@0 {
Kapil Hali944725f2015-12-05 06:53:42 -050049 device_type = "cpu";
50 compatible = "arm,cortex-a9";
51 next-level-cache = <&L2>;
52 reg = <0x0>;
53 };
54
Jon Mason9d57f602016-02-05 17:43:22 -050055 cpu1: cpu@1 {
Kapil Hali944725f2015-12-05 06:53:42 -050056 device_type = "cpu";
57 compatible = "arm,cortex-a9";
58 next-level-cache = <&L2>;
59 enable-method = "brcm,bcm-nsp-smp";
Jon Masonf7f20cb2016-05-05 19:29:31 -040060 secondary-boot-reg = <0xffff0fec>;
Kapil Hali944725f2015-12-05 06:53:42 -050061 reg = <0x1>;
62 };
63 };
64
Jon Mason9d57f602016-02-05 17:43:22 -050065 pmu {
66 compatible = "arm,cortex-a9-pmu";
67 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH
68 GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
69 interrupt-affinity = <&cpu0>, <&cpu1>;
70 };
71
Jon Mason7b2e9872015-08-31 19:48:53 -040072 mpcore {
73 compatible = "simple-bus";
Jon Masonda3f9742015-11-20 10:17:19 -050074 ranges = <0x00000000 0x19000000 0x00023000>;
Jon Mason7b2e9872015-08-31 19:48:53 -040075 #address-cells = <1>;
76 #size-cells = <1>;
77
Jon Masonda3f9742015-11-20 10:17:19 -050078 a9pll: arm_clk@00000 {
79 #clock-cells = <0>;
80 compatible = "brcm,nsp-armpll";
81 clocks = <&osc>;
82 reg = <0x00000 0x1000>;
83 };
84
85 timer@20200 {
Jon Mason7ba8cd82015-11-17 14:55:26 -050086 compatible = "arm,cortex-a9-global-timer";
Jon Masonda3f9742015-11-20 10:17:19 -050087 reg = <0x20200 0x100>;
Jon Mason7ba8cd82015-11-17 14:55:26 -050088 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
89 clocks = <&periph_clk>;
Jon Mason7b2e9872015-08-31 19:48:53 -040090 };
91
Jon Masonda3f9742015-11-20 10:17:19 -050092 twd-timer@20600 {
Jon Mason7ba8cd82015-11-17 14:55:26 -050093 compatible = "arm,cortex-a9-twd-timer";
Jon Masonda3f9742015-11-20 10:17:19 -050094 reg = <0x20600 0x20>;
Jon Mason7ba8cd82015-11-17 14:55:26 -050095 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
96 IRQ_TYPE_LEVEL_HIGH)>;
97 clocks = <&periph_clk>;
98 };
99
Jon Masonda3f9742015-11-20 10:17:19 -0500100 twd-watchdog@20620 {
Jon Mason7ba8cd82015-11-17 14:55:26 -0500101 compatible = "arm,cortex-a9-twd-wdt";
Jon Masonda3f9742015-11-20 10:17:19 -0500102 reg = <0x20620 0x20>;
Jon Mason7ba8cd82015-11-17 14:55:26 -0500103 interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
104 IRQ_TYPE_LEVEL_HIGH)>;
105 clocks = <&periph_clk>;
106 };
107
Jon Masonda3f9742015-11-20 10:17:19 -0500108 gic: interrupt-controller@21000 {
Jon Mason7b2e9872015-08-31 19:48:53 -0400109 compatible = "arm,cortex-a9-gic";
110 #interrupt-cells = <3>;
111 #address-cells = <0>;
112 interrupt-controller;
Jon Masonda3f9742015-11-20 10:17:19 -0500113 reg = <0x21000 0x1000>,
114 <0x20100 0x100>;
Jon Mason7b2e9872015-08-31 19:48:53 -0400115 };
116
Jon Mason7ba8cd82015-11-17 14:55:26 -0500117 L2: l2-cache {
118 compatible = "arm,pl310-cache";
Jon Masonda3f9742015-11-20 10:17:19 -0500119 reg = <0x22000 0x1000>;
Jon Mason7ba8cd82015-11-17 14:55:26 -0500120 cache-unified;
121 cache-level = <2>;
Jon Mason1a9d53c2015-11-02 13:40:58 -0500122 };
Jon Mason7b2e9872015-08-31 19:48:53 -0400123 };
124
125 clocks {
126 #address-cells = <1>;
127 #size-cells = <1>;
128 ranges;
129
Jon Masonda3f9742015-11-20 10:17:19 -0500130 osc: oscillator {
Jon Mason7b2e9872015-08-31 19:48:53 -0400131 #clock-cells = <0>;
Jon Masonda3f9742015-11-20 10:17:19 -0500132 compatible = "fixed-clock";
133 clock-frequency = <25000000>;
134 };
135
136 iprocmed: iprocmed {
137 #clock-cells = <0>;
138 compatible = "fixed-factor-clock";
139 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
140 clock-div = <2>;
141 clock-mult = <1>;
142 };
143
144 iprocslow: iprocslow {
145 #clock-cells = <0>;
146 compatible = "fixed-factor-clock";
147 clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
148 clock-div = <4>;
149 clock-mult = <1>;
150 };
151
152 periph_clk: periph_clk {
153 #clock-cells = <0>;
154 compatible = "fixed-factor-clock";
155 clocks = <&a9pll>;
156 clock-div = <2>;
157 clock-mult = <1>;
Jon Mason7b2e9872015-08-31 19:48:53 -0400158 };
159 };
160
161 axi {
162 compatible = "simple-bus";
Jon Mason6771e012017-01-12 10:50:10 -0500163 ranges = <0x00000000 0x18000000 0x0011c40c>;
Jon Mason7b2e9872015-08-31 19:48:53 -0400164 #address-cells = <1>;
165 #size-cells = <1>;
166
Yendapally Reddy Dhananjaya Reddy018e4fe2015-12-04 12:12:42 -0500167 gpioa: gpio@0020 {
168 compatible = "brcm,nsp-gpio-a";
169 reg = <0x0020 0x70>,
170 <0x3f1c4 0x1c>;
171 #gpio-cells = <2>;
172 gpio-controller;
173 ngpios = <32>;
174 interrupt-controller;
175 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
176 gpio-ranges = <&pinctrl 0 0 32>;
177 };
178
Jon Mason7ba8cd82015-11-17 14:55:26 -0500179 uart0: serial@0300 {
Jon Mason7b2e9872015-08-31 19:48:53 -0400180 compatible = "ns16550a";
181 reg = <0x0300 0x100>;
182 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Jon Masonda3f9742015-11-20 10:17:19 -0500183 clocks = <&osc>;
Jon Mason7b2e9872015-08-31 19:48:53 -0400184 status = "disabled";
185 };
186
Jon Mason7ba8cd82015-11-17 14:55:26 -0500187 uart1: serial@0400 {
Jon Mason7b2e9872015-08-31 19:48:53 -0400188 compatible = "ns16550a";
189 reg = <0x0400 0x100>;
190 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
Jon Masonda3f9742015-11-20 10:17:19 -0500191 clocks = <&osc>;
Jon Mason7b2e9872015-08-31 19:48:53 -0400192 status = "disabled";
193 };
Jon Mason1dbcfb22015-11-02 13:40:56 -0500194
Jon Mason5fa10262016-06-07 18:28:07 -0400195 dma@20000 {
196 compatible = "arm,pl330", "arm,primecell";
197 reg = <0x20000 0x1000>;
198 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
199 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
200 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
202 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
207 clocks = <&iprocslow>;
208 clock-names = "apb_pclk";
209 #dma-cells = <1>;
210 };
211
Jon Mason3107fa52016-12-13 13:13:51 -0500212 sdio: sdhci@21000 {
213 compatible = "brcm,sdhci-iproc-cygnus";
214 reg = <0x21000 0x100>;
215 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
216 sdhci,auto-cmd12;
217 clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
218 status = "disabled";
219 };
220
Jon Mason13d04f22016-07-08 11:56:02 -0400221 amac0: ethernet@22000 {
222 compatible = "brcm,nsp-amac";
223 reg = <0x022000 0x1000>,
224 <0x110000 0x1000>;
225 reg-names = "amac_base", "idm_base";
226 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
227 status = "disabled";
228 };
229
230 amac1: ethernet@23000 {
231 compatible = "brcm,nsp-amac";
232 reg = <0x023000 0x1000>,
233 <0x111000 0x1000>;
234 reg-names = "amac_base", "idm_base";
235 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
236 status = "disabled";
237 };
238
Jon Mason5aeda7b2016-12-13 13:13:49 -0500239 amac2: ethernet@24000 {
240 compatible = "brcm,nsp-amac";
241 reg = <0x024000 0x1000>,
242 <0x112000 0x1000>;
243 reg-names = "amac_base", "idm_base";
244 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
245 status = "disabled";
246 };
247
Steve Lin17d51712017-02-23 09:49:51 -0500248 mailbox: mailbox@25000 {
249 compatible = "brcm,iproc-fa2-mbox";
250 reg = <0x25000 0x445>;
251 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
252 #mbox-cells = <1>;
253 brcm,rx-status-len = <32>;
254 brcm,use-bcm-hdr;
255 };
256
Jon Mason7ba8cd82015-11-17 14:55:26 -0500257 nand: nand@26000 {
Jon Mason41254752015-11-02 13:40:57 -0500258 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
259 reg = <0x026000 0x600>,
260 <0x11b408 0x600>,
261 <0x026f00 0x20>;
262 reg-names = "nand", "iproc-idm", "iproc-ext";
263 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
264
265 #address-cells = <1>;
266 #size-cells = <0>;
267
268 brcm,nand-has-wp;
269 };
Jon Mason0f9f27a2015-11-17 14:55:27 -0500270
Kamal Dasu329f98c2016-08-24 18:04:27 -0400271 qspi: qspi@27200 {
272 compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
273 reg = <0x027200 0x184>,
274 <0x027000 0x124>,
275 <0x11c408 0x004>,
276 <0x0273a0 0x01c>;
277 reg-names = "mspi", "bspi", "intr_regs",
278 "intr_status_reg";
279 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
283 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
284 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
286 interrupt-names = "spi_lr_fullness_reached",
287 "spi_lr_session_aborted",
288 "spi_lr_impatient",
289 "spi_lr_session_done",
290 "spi_lr_overhead",
291 "mspi_done",
292 "mspi_halted";
293 clocks = <&iprocmed>;
294 clock-names = "iprocmed";
295 num-cs = <2>;
296 #address-cells = <1>;
297 #size-cells = <0>;
298 };
299
Jon Mason1fd2bb62016-12-13 13:13:45 -0500300 gpiob: gpio@30000 {
301 compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
302 reg = <0x30000 0x50>;
303 #gpio-cells = <2>;
304 gpio-controller;
305 ngpios = <4>;
306 interrupt-controller;
307 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
308 };
309
310 pwm: pwm@31000 {
311 compatible = "brcm,iproc-pwm";
312 reg = <0x31000 0x28>;
313 clocks = <&osc>;
314 #pwm-cells = <3>;
315 status = "disabled";
316 };
317
Jon Mason1d8ece62017-03-07 18:34:04 -0500318 ehci0: usb@2a000 {
319 compatible = "generic-ehci";
320 reg = <0x2a000 0x100>;
321 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
322 status = "disabled";
323 };
324
325 ohci0: usb@2b000 {
326 compatible = "generic-ohci";
327 reg = <0x2b000 0x100>;
328 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
329 status = "disabled";
330 };
331
Jon Mason1fd2bb62016-12-13 13:13:45 -0500332 rng: rng@33000 {
333 compatible = "brcm,bcm-nsp-rng";
334 reg = <0x33000 0x14>;
335 };
336
Jon Masona0efb0d2016-02-06 12:53:39 -0500337 ccbtimer0: timer@34000 {
338 compatible = "arm,sp804";
339 reg = <0x34000 0x1000>;
340 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
342 clocks = <&iprocslow>;
343 clock-names = "apb_pclk";
344 };
345
346 ccbtimer1: timer@35000 {
347 compatible = "arm,sp804";
348 reg = <0x35000 0x1000>;
349 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
351 clocks = <&iprocslow>;
352 clock-names = "apb_pclk";
353 };
354
Florian Fainellibf2289b2016-07-08 11:49:28 -0700355 srab: srab@36000 {
356 compatible = "brcm,nsp-srab";
357 reg = <0x36000 0x1000>;
358 #address-cells = <1>;
359 #size-cells = <0>;
360
361 status = "disabled";
362
363 /* ports are defined in board DTS */
364 };
365
Jon Mason0f9f27a2015-11-17 14:55:27 -0500366 i2c0: i2c@38000 {
367 compatible = "brcm,iproc-i2c";
368 reg = <0x38000 0x50>;
369 #address-cells = <1>;
370 #size-cells = <0>;
371 interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
372 clock-frequency = <100000>;
Jon Mason6822d772017-03-07 18:34:55 -0500373 status = "disabled";
Jon Mason0f9f27a2015-11-17 14:55:27 -0500374 };
Jon Masonda3f9742015-11-20 10:17:19 -0500375
Jon Mason7c3fe8a2016-02-05 17:43:23 -0500376 watchdog@39000 {
377 compatible = "arm,sp805", "arm,primecell";
378 reg = <0x39000 0x1000>;
379 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
380 clocks = <&iprocslow>, <&iprocslow>;
381 clock-names = "wdogclk", "apb_pclk";
382 };
383
Jon Masonda3f9742015-11-20 10:17:19 -0500384 lcpll0: lcpll0@3f100 {
385 #clock-cells = <1>;
386 compatible = "brcm,nsp-lcpll0";
387 reg = <0x3f100 0x14>;
388 clocks = <&osc>;
389 clock-output-names = "lcpll0", "pcie_phy", "sdio",
390 "ddr_phy";
391 };
392
393 genpll: genpll@3f140 {
394 #clock-cells = <1>;
395 compatible = "brcm,nsp-genpll";
396 reg = <0x3f140 0x24>;
397 clocks = <&osc>;
398 clock-output-names = "genpll", "phy", "ethernetclk",
399 "usbclk", "iprocfast", "sata1",
400 "sata2";
401 };
Yendapally Reddy Dhananjaya Reddyea2d8972015-11-20 12:58:29 -0500402
403 pinctrl: pinctrl@3f1c0 {
404 compatible = "brcm,nsp-pinmux";
405 reg = <0x3f1c0 0x04>,
406 <0x30028 0x04>,
407 <0x3f408 0x04>;
408 };
Yendapally Reddy Dhananjaya Reddy8dbcad02016-06-16 09:53:35 -0400409
410 sata_phy: sata_phy@40100 {
411 compatible = "brcm,iproc-nsp-sata-phy";
412 reg = <0x40100 0x340>;
413 reg-names = "phy";
414 #address-cells = <1>;
415 #size-cells = <0>;
416
417 sata_phy0: sata-phy@0 {
418 reg = <0>;
419 #phy-cells = <0>;
420 status = "disabled";
421 };
422
423 sata_phy1: sata-phy@1 {
424 reg = <1>;
425 #phy-cells = <0>;
426 status = "disabled";
427 };
428 };
429
430 sata: ahci@41000 {
431 compatible = "brcm,bcm-nsp-ahci";
432 reg-names = "ahci", "top-ctrl";
433 reg = <0x41000 0x1000>, <0x40020 0x1c>;
434 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
435 #address-cells = <1>;
436 #size-cells = <0>;
437 status = "disabled";
438
439 sata0: sata-port@0 {
440 reg = <0>;
441 phys = <&sata_phy0>;
442 phy-names = "sata-phy";
443 };
444
445 sata1: sata-port@1 {
446 reg = <1>;
447 phys = <&sata_phy1>;
448 phy-names = "sata-phy";
449 };
450 };
Jon Mason7b2e9872015-08-31 19:48:53 -0400451 };
Jon Mason52219902016-02-05 17:43:20 -0500452
453 pcie0: pcie@18012000 {
454 compatible = "brcm,iproc-pcie";
455 reg = <0x18012000 0x1000>;
456
457 #interrupt-cells = <1>;
458 interrupt-map-mask = <0 0 0 0>;
459 interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_NONE>;
460
461 linux,pci-domain = <0>;
462
463 bus-range = <0x00 0xff>;
464
465 #address-cells = <3>;
466 #size-cells = <2>;
467 device_type = "pci";
468
469 /* Note: The HW does not support I/O resources. So,
470 * only the memory resource range is being specified.
471 */
472 ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
473
474 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400475
476 msi-parent = <&msi0>;
477 msi0: msi@18012000 {
478 compatible = "brcm,iproc-msi";
479 msi-controller;
480 interrupt-parent = <&gic>;
481 interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>,
482 <GIC_SPI 128 IRQ_TYPE_NONE>,
483 <GIC_SPI 129 IRQ_TYPE_NONE>,
484 <GIC_SPI 130 IRQ_TYPE_NONE>;
485 brcm,pcie-msi-inten;
486 };
Jon Mason52219902016-02-05 17:43:20 -0500487 };
488
489 pcie1: pcie@18013000 {
490 compatible = "brcm,iproc-pcie";
491 reg = <0x18013000 0x1000>;
492
493 #interrupt-cells = <1>;
494 interrupt-map-mask = <0 0 0 0>;
495 interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_NONE>;
496
497 linux,pci-domain = <1>;
498
499 bus-range = <0x00 0xff>;
500
501 #address-cells = <3>;
502 #size-cells = <2>;
503 device_type = "pci";
504
505 /* Note: The HW does not support I/O resources. So,
506 * only the memory resource range is being specified.
507 */
508 ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
509
510 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400511
512 msi-parent = <&msi1>;
513 msi1: msi@18013000 {
514 compatible = "brcm,iproc-msi";
515 msi-controller;
516 interrupt-parent = <&gic>;
517 interrupts = <GIC_SPI 133 IRQ_TYPE_NONE>,
518 <GIC_SPI 134 IRQ_TYPE_NONE>,
519 <GIC_SPI 135 IRQ_TYPE_NONE>,
520 <GIC_SPI 136 IRQ_TYPE_NONE>;
521 brcm,pcie-msi-inten;
522 };
Jon Mason52219902016-02-05 17:43:20 -0500523 };
524
525 pcie2: pcie@18014000 {
526 compatible = "brcm,iproc-pcie";
527 reg = <0x18014000 0x1000>;
528
529 #interrupt-cells = <1>;
530 interrupt-map-mask = <0 0 0 0>;
531 interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_NONE>;
532
533 linux,pci-domain = <2>;
534
535 bus-range = <0x00 0xff>;
536
537 #address-cells = <3>;
538 #size-cells = <2>;
539 device_type = "pci";
540
541 /* Note: The HW does not support I/O resources. So,
542 * only the memory resource range is being specified.
543 */
544 ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
545
546 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400547
548 msi-parent = <&msi2>;
549 msi2: msi@18014000 {
550 compatible = "brcm,iproc-msi";
551 msi-controller;
552 interrupt-parent = <&gic>;
553 interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>,
554 <GIC_SPI 140 IRQ_TYPE_NONE>,
555 <GIC_SPI 141 IRQ_TYPE_NONE>,
556 <GIC_SPI 142 IRQ_TYPE_NONE>;
557 brcm,pcie-msi-inten;
558 };
Jon Mason52219902016-02-05 17:43:20 -0500559 };
Jon Mason7b2e9872015-08-31 19:48:53 -0400560};