blob: 528b9e3bc1da146fd188b4e2c93ec75b7abb4fdd [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
Rob Herring8dccafa2017-10-13 12:54:51 -050078 a9pll: arm_clk@0 {
Jon Masonda3f9742015-11-20 10:17:19 -050079 #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
Rob Herring8dccafa2017-10-13 12:54:51 -0500167 gpioa: gpio@20 {
Yendapally Reddy Dhananjaya Reddy018e4fe2015-12-04 12:12:42 -0500168 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
Rob Herring8dccafa2017-10-13 12:54:51 -0500179 uart0: serial@300 {
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
Rob Herring8dccafa2017-10-13 12:54:51 -0500187 uart1: serial@400 {
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>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400218 dma-coherent;
Jon Mason3107fa52016-12-13 13:13:51 -0500219 status = "disabled";
220 };
221
Jon Mason13d04f22016-07-08 11:56:02 -0400222 amac0: ethernet@22000 {
223 compatible = "brcm,nsp-amac";
224 reg = <0x022000 0x1000>,
225 <0x110000 0x1000>;
226 reg-names = "amac_base", "idm_base";
227 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400228 dma-coherent;
Jon Mason13d04f22016-07-08 11:56:02 -0400229 status = "disabled";
230 };
231
232 amac1: ethernet@23000 {
233 compatible = "brcm,nsp-amac";
234 reg = <0x023000 0x1000>,
235 <0x111000 0x1000>;
236 reg-names = "amac_base", "idm_base";
237 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400238 dma-coherent;
Jon Mason13d04f22016-07-08 11:56:02 -0400239 status = "disabled";
240 };
241
Jon Mason5aeda7b2016-12-13 13:13:49 -0500242 amac2: ethernet@24000 {
243 compatible = "brcm,nsp-amac";
244 reg = <0x024000 0x1000>,
245 <0x112000 0x1000>;
246 reg-names = "amac_base", "idm_base";
247 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400248 dma-coherent;
Jon Mason5aeda7b2016-12-13 13:13:49 -0500249 status = "disabled";
250 };
251
Steve Lin17d51712017-02-23 09:49:51 -0500252 mailbox: mailbox@25000 {
253 compatible = "brcm,iproc-fa2-mbox";
254 reg = <0x25000 0x445>;
255 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
256 #mbox-cells = <1>;
257 brcm,rx-status-len = <32>;
258 brcm,use-bcm-hdr;
Jon Mason56e2ff02017-07-31 17:54:21 -0400259 dma-coherent;
Steve Lin17d51712017-02-23 09:49:51 -0500260 };
261
Jon Mason7ba8cd82015-11-17 14:55:26 -0500262 nand: nand@26000 {
Jon Mason41254752015-11-02 13:40:57 -0500263 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
264 reg = <0x026000 0x600>,
265 <0x11b408 0x600>,
266 <0x026f00 0x20>;
267 reg-names = "nand", "iproc-idm", "iproc-ext";
268 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
269
270 #address-cells = <1>;
271 #size-cells = <0>;
272
273 brcm,nand-has-wp;
274 };
Jon Mason0f9f27a2015-11-17 14:55:27 -0500275
Kamal Dasu329f98c2016-08-24 18:04:27 -0400276 qspi: qspi@27200 {
277 compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
278 reg = <0x027200 0x184>,
279 <0x027000 0x124>,
280 <0x11c408 0x004>,
281 <0x0273a0 0x01c>;
282 reg-names = "mspi", "bspi", "intr_regs",
283 "intr_status_reg";
284 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
288 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
291 interrupt-names = "spi_lr_fullness_reached",
292 "spi_lr_session_aborted",
293 "spi_lr_impatient",
294 "spi_lr_session_done",
295 "spi_lr_overhead",
296 "mspi_done",
297 "mspi_halted";
298 clocks = <&iprocmed>;
299 clock-names = "iprocmed";
300 num-cs = <2>;
301 #address-cells = <1>;
302 #size-cells = <0>;
303 };
304
Jon Masonbbe526f2017-07-31 17:54:23 -0400305 xhci: usb@29000 {
306 compatible = "generic-xhci";
307 reg = <0x29000 0x1000>;
308 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
309 phys = <&usb3_phy>;
310 phy-names = "usb3-phy";
311 dma-coherent;
312 status = "disabled";
313 };
314
Jon Mason2c5b8512017-07-31 17:54:22 -0400315 ehci0: usb@2a000 {
316 compatible = "generic-ehci";
317 reg = <0x2a000 0x100>;
318 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
319 dma-coherent;
320 status = "disabled";
321 };
322
323 ohci0: usb@2b000 {
324 compatible = "generic-ohci";
325 reg = <0x2b000 0x100>;
326 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
327 dma-coherent;
328 status = "disabled";
329 };
330
Steve Linec73ab62017-02-22 16:22:23 -0500331 crypto@2f000 {
332 compatible = "brcm,spum-nsp-crypto";
333 reg = <0x2f000 0x900>;
334 mboxes = <&mailbox 0>;
335 };
336
Jon Mason1fd2bb62016-12-13 13:13:45 -0500337 gpiob: gpio@30000 {
338 compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
339 reg = <0x30000 0x50>;
340 #gpio-cells = <2>;
341 gpio-controller;
342 ngpios = <4>;
343 interrupt-controller;
344 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
345 };
346
347 pwm: pwm@31000 {
348 compatible = "brcm,iproc-pwm";
349 reg = <0x31000 0x28>;
350 clocks = <&osc>;
351 #pwm-cells = <3>;
352 status = "disabled";
353 };
354
355 rng: rng@33000 {
356 compatible = "brcm,bcm-nsp-rng";
357 reg = <0x33000 0x14>;
358 };
359
Jon Masona0efb0d2016-02-06 12:53:39 -0500360 ccbtimer0: timer@34000 {
361 compatible = "arm,sp804";
362 reg = <0x34000 0x1000>;
363 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
364 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
365 clocks = <&iprocslow>;
366 clock-names = "apb_pclk";
367 };
368
369 ccbtimer1: timer@35000 {
370 compatible = "arm,sp804";
371 reg = <0x35000 0x1000>;
372 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
373 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
374 clocks = <&iprocslow>;
375 clock-names = "apb_pclk";
376 };
377
Florian Fainellibf2289b2016-07-08 11:49:28 -0700378 srab: srab@36000 {
379 compatible = "brcm,nsp-srab";
380 reg = <0x36000 0x1000>;
381 #address-cells = <1>;
382 #size-cells = <0>;
383
384 status = "disabled";
385
386 /* ports are defined in board DTS */
387 };
388
Jon Mason0f9f27a2015-11-17 14:55:27 -0500389 i2c0: i2c@38000 {
390 compatible = "brcm,iproc-i2c";
391 reg = <0x38000 0x50>;
392 #address-cells = <1>;
393 #size-cells = <0>;
394 interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
395 clock-frequency = <100000>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400396 dma-coherent;
Jon Mason6822d772017-03-07 18:34:55 -0500397 status = "disabled";
Jon Mason0f9f27a2015-11-17 14:55:27 -0500398 };
Jon Masonda3f9742015-11-20 10:17:19 -0500399
Jon Mason7c3fe8a2016-02-05 17:43:23 -0500400 watchdog@39000 {
401 compatible = "arm,sp805", "arm,primecell";
402 reg = <0x39000 0x1000>;
403 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
404 clocks = <&iprocslow>, <&iprocslow>;
405 clock-names = "wdogclk", "apb_pclk";
406 };
407
Jon Masonda3f9742015-11-20 10:17:19 -0500408 lcpll0: lcpll0@3f100 {
409 #clock-cells = <1>;
410 compatible = "brcm,nsp-lcpll0";
411 reg = <0x3f100 0x14>;
412 clocks = <&osc>;
413 clock-output-names = "lcpll0", "pcie_phy", "sdio",
414 "ddr_phy";
415 };
416
417 genpll: genpll@3f140 {
418 #clock-cells = <1>;
419 compatible = "brcm,nsp-genpll";
420 reg = <0x3f140 0x24>;
421 clocks = <&osc>;
422 clock-output-names = "genpll", "phy", "ethernetclk",
423 "usbclk", "iprocfast", "sata1",
424 "sata2";
425 };
Yendapally Reddy Dhananjaya Reddyea2d8972015-11-20 12:58:29 -0500426
427 pinctrl: pinctrl@3f1c0 {
428 compatible = "brcm,nsp-pinmux";
429 reg = <0x3f1c0 0x04>,
430 <0x30028 0x04>,
431 <0x3f408 0x04>;
432 };
Yendapally Reddy Dhananjaya Reddy8dbcad02016-06-16 09:53:35 -0400433
Jon Mason2896cb52017-04-28 16:11:31 -0400434 thermal: thermal@3f2c0 {
435 compatible = "brcm,ns-thermal";
436 reg = <0x3f2c0 0x10>;
437 #thermal-sensor-cells = <0>;
438 };
439
Yendapally Reddy Dhananjaya Reddy8dbcad02016-06-16 09:53:35 -0400440 sata_phy: sata_phy@40100 {
441 compatible = "brcm,iproc-nsp-sata-phy";
442 reg = <0x40100 0x340>;
443 reg-names = "phy";
444 #address-cells = <1>;
445 #size-cells = <0>;
446
447 sata_phy0: sata-phy@0 {
448 reg = <0>;
449 #phy-cells = <0>;
450 status = "disabled";
451 };
452
453 sata_phy1: sata-phy@1 {
454 reg = <1>;
455 #phy-cells = <0>;
456 status = "disabled";
457 };
458 };
459
460 sata: ahci@41000 {
461 compatible = "brcm,bcm-nsp-ahci";
462 reg-names = "ahci", "top-ctrl";
463 reg = <0x41000 0x1000>, <0x40020 0x1c>;
464 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
465 #address-cells = <1>;
466 #size-cells = <0>;
Jon Mason56e2ff02017-07-31 17:54:21 -0400467 dma-coherent;
Yendapally Reddy Dhananjaya Reddy8dbcad02016-06-16 09:53:35 -0400468 status = "disabled";
469
470 sata0: sata-port@0 {
471 reg = <0>;
472 phys = <&sata_phy0>;
473 phy-names = "sata-phy";
474 };
475
476 sata1: sata-port@1 {
477 reg = <1>;
478 phys = <&sata_phy1>;
479 phy-names = "sata-phy";
480 };
481 };
Jon Masonbbe526f2017-07-31 17:54:23 -0400482
483 usb3_phy: usb3-phy@104000 {
484 compatible = "brcm,ns-bx-usb3-phy";
485 reg = <0x104000 0x1000>,
486 <0x032000 0x1000>;
487 reg-names = "dmp", "ccb-mii";
488 #phy-cells = <0>;
489 status = "disabled";
490 };
Jon Mason7b2e9872015-08-31 19:48:53 -0400491 };
Jon Mason52219902016-02-05 17:43:20 -0500492
493 pcie0: pcie@18012000 {
494 compatible = "brcm,iproc-pcie";
495 reg = <0x18012000 0x1000>;
496
497 #interrupt-cells = <1>;
498 interrupt-map-mask = <0 0 0 0>;
499 interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_NONE>;
500
501 linux,pci-domain = <0>;
502
503 bus-range = <0x00 0xff>;
504
505 #address-cells = <3>;
506 #size-cells = <2>;
507 device_type = "pci";
508
509 /* Note: The HW does not support I/O resources. So,
510 * only the memory resource range is being specified.
511 */
512 ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
513
Jon Mason56e2ff02017-07-31 17:54:21 -0400514 dma-coherent;
Jon Mason52219902016-02-05 17:43:20 -0500515 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400516
517 msi-parent = <&msi0>;
Rob Herring0f117362017-03-21 21:03:08 -0500518 msi0: msi-controller {
Jon Masond71eb942016-05-05 19:29:30 -0400519 compatible = "brcm,iproc-msi";
520 msi-controller;
521 interrupt-parent = <&gic>;
522 interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>,
523 <GIC_SPI 128 IRQ_TYPE_NONE>,
524 <GIC_SPI 129 IRQ_TYPE_NONE>,
525 <GIC_SPI 130 IRQ_TYPE_NONE>;
526 brcm,pcie-msi-inten;
527 };
Jon Mason52219902016-02-05 17:43:20 -0500528 };
529
530 pcie1: pcie@18013000 {
531 compatible = "brcm,iproc-pcie";
532 reg = <0x18013000 0x1000>;
533
534 #interrupt-cells = <1>;
535 interrupt-map-mask = <0 0 0 0>;
536 interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_NONE>;
537
538 linux,pci-domain = <1>;
539
540 bus-range = <0x00 0xff>;
541
542 #address-cells = <3>;
543 #size-cells = <2>;
544 device_type = "pci";
545
546 /* Note: The HW does not support I/O resources. So,
547 * only the memory resource range is being specified.
548 */
549 ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
550
Jon Mason56e2ff02017-07-31 17:54:21 -0400551 dma-coherent;
Jon Mason52219902016-02-05 17:43:20 -0500552 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400553
554 msi-parent = <&msi1>;
Rob Herring0f117362017-03-21 21:03:08 -0500555 msi1: msi-controller {
Jon Masond71eb942016-05-05 19:29:30 -0400556 compatible = "brcm,iproc-msi";
557 msi-controller;
558 interrupt-parent = <&gic>;
559 interrupts = <GIC_SPI 133 IRQ_TYPE_NONE>,
560 <GIC_SPI 134 IRQ_TYPE_NONE>,
561 <GIC_SPI 135 IRQ_TYPE_NONE>,
562 <GIC_SPI 136 IRQ_TYPE_NONE>;
563 brcm,pcie-msi-inten;
564 };
Jon Mason52219902016-02-05 17:43:20 -0500565 };
566
567 pcie2: pcie@18014000 {
568 compatible = "brcm,iproc-pcie";
569 reg = <0x18014000 0x1000>;
570
571 #interrupt-cells = <1>;
572 interrupt-map-mask = <0 0 0 0>;
573 interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_NONE>;
574
575 linux,pci-domain = <2>;
576
577 bus-range = <0x00 0xff>;
578
579 #address-cells = <3>;
580 #size-cells = <2>;
581 device_type = "pci";
582
583 /* Note: The HW does not support I/O resources. So,
584 * only the memory resource range is being specified.
585 */
586 ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
587
Jon Mason56e2ff02017-07-31 17:54:21 -0400588 dma-coherent;
Jon Mason52219902016-02-05 17:43:20 -0500589 status = "disabled";
Jon Masond71eb942016-05-05 19:29:30 -0400590
591 msi-parent = <&msi2>;
Rob Herring0f117362017-03-21 21:03:08 -0500592 msi2: msi-controller {
Jon Masond71eb942016-05-05 19:29:30 -0400593 compatible = "brcm,iproc-msi";
594 msi-controller;
595 interrupt-parent = <&gic>;
596 interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>,
597 <GIC_SPI 140 IRQ_TYPE_NONE>,
598 <GIC_SPI 141 IRQ_TYPE_NONE>,
599 <GIC_SPI 142 IRQ_TYPE_NONE>;
600 brcm,pcie-msi-inten;
601 };
Jon Mason52219902016-02-05 17:43:20 -0500602 };
Jon Mason2896cb52017-04-28 16:11:31 -0400603
604 thermal-zones {
605 cpu-thermal {
606 polling-delay-passive = <0>;
607 polling-delay = <1000>;
608 coefficients = <(-556) 418000>;
609 thermal-sensors = <&thermal>;
610
611 trips {
612 cpu-crit {
613 temperature = <125000>;
614 hysteresis = <0>;
615 type = "critical";
616 };
617 };
618
619 cooling-maps {
620 };
621 };
622 };
Jon Mason7b2e9872015-08-31 19:48:53 -0400623};