Linux Audio

Check our new training course

Linux BSP development engineering services

Need help to port Linux and bootloaders to your hardware?
Loading...
v5.14.15
  1/*
  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>
 35#include <dt-bindings/clock/bcm-nsp.h>
 36
 37/ {
 38	#address-cells = <1>;
 39	#size-cells = <1>;
 40	compatible = "brcm,nsp";
 41	model = "Broadcom Northstar Plus SoC";
 42	interrupt-parent = <&gic>;
 43
 44	aliases {
 45		serial0 = &uart0;
 46		serial1 = &uart1;
 47		ethernet0 = &amac0;
 48		ethernet1 = &amac1;
 49		ethernet2 = &amac2;
 50	};
 51
 52	cpus {
 53		#address-cells = <1>;
 54		#size-cells = <0>;
 55
 56		cpu0: cpu@0 {
 57			device_type = "cpu";
 58			compatible = "arm,cortex-a9";
 59			next-level-cache = <&L2>;
 60			reg = <0x0>;
 61		};
 62
 63		cpu1: cpu@1 {
 64			device_type = "cpu";
 65			compatible = "arm,cortex-a9";
 66			next-level-cache = <&L2>;
 67			enable-method = "brcm,bcm-nsp-smp";
 68			secondary-boot-reg = <0xffff0fec>;
 69			reg = <0x1>;
 70		};
 71	};
 72
 73	pmu {
 74		compatible = "arm,cortex-a9-pmu";
 75		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH
 76			      GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
 77		interrupt-affinity = <&cpu0>, <&cpu1>;
 78	};
 79
 80	mpcore@19000000 {
 81		compatible = "simple-bus";
 82		ranges = <0x00000000 0x19000000 0x00023000>;
 83		#address-cells = <1>;
 84		#size-cells = <1>;
 85
 86		a9pll: arm_clk@0 {
 87			#clock-cells = <0>;
 88			compatible = "brcm,nsp-armpll";
 89			clocks = <&osc>;
 90			reg = <0x00000 0x1000>;
 91		};
 92
 93		timer@20200 {
 94			compatible = "arm,cortex-a9-global-timer";
 95			reg = <0x20200 0x100>;
 96			interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
 97			clocks = <&periph_clk>;
 98		};
 99
100		twd-timer@20600 {
101			compatible = "arm,cortex-a9-twd-timer";
102			reg = <0x20600 0x20>;
103			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
104						  IRQ_TYPE_EDGE_RISING)>;
105			clocks = <&periph_clk>;
106		};
107
108		twd-watchdog@20620 {
109			compatible = "arm,cortex-a9-twd-wdt";
110			reg = <0x20620 0x20>;
111			interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
112						  IRQ_TYPE_LEVEL_HIGH)>;
113			clocks = <&periph_clk>;
114		};
115
116		gic: interrupt-controller@21000 {
117			compatible = "arm,cortex-a9-gic";
118			#interrupt-cells = <3>;
119			#address-cells = <0>;
120			interrupt-controller;
121			reg = <0x21000 0x1000>,
122			      <0x20100 0x100>;
123		};
124
125		L2: cache-controller@22000 {
126			compatible = "arm,pl310-cache";
127			reg = <0x22000 0x1000>;
128			cache-unified;
129			cache-level = <2>;
130		};
131	};
132
133	clocks {
134		#address-cells = <1>;
135		#size-cells = <1>;
136		ranges;
137
138		osc: oscillator {
139			#clock-cells = <0>;
140			compatible = "fixed-clock";
141			clock-frequency = <25000000>;
142		};
143
144		iprocmed: iprocmed {
145			#clock-cells = <0>;
146			compatible = "fixed-factor-clock";
147			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
148			clock-div = <2>;
149			clock-mult = <1>;
150		};
151
152		iprocslow: iprocslow {
153			#clock-cells = <0>;
154			compatible = "fixed-factor-clock";
155			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
156			clock-div = <4>;
157			clock-mult = <1>;
158		};
159
160		periph_clk: periph_clk {
161			#clock-cells = <0>;
162			compatible = "fixed-factor-clock";
163			clocks = <&a9pll>;
164			clock-div = <2>;
165			clock-mult = <1>;
166		};
167	};
168
169	axi@18000000 {
170		compatible = "simple-bus";
171		ranges = <0x00000000 0x18000000 0x0011c40c>;
172		#address-cells = <1>;
173		#size-cells = <1>;
174
175		gpioa: gpio@20 {
176			compatible = "brcm,nsp-gpio-a";
177			reg = <0x0020 0x70>,
178			      <0x3f1c4 0x1c>;
179			#gpio-cells = <2>;
180			gpio-controller;
181			ngpios = <32>;
182			interrupt-controller;
183			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
184			gpio-ranges = <&pinctrl 0 0 32>;
185		};
186
187		uart0: serial@300 {
188			compatible = "ns16550a";
189			reg = <0x0300 0x100>;
190			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
191			clocks = <&osc>;
192			status = "disabled";
193		};
194
195		uart1: serial@400 {
196			compatible = "ns16550a";
197			reg = <0x0400 0x100>;
198			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
199			clocks = <&osc>;
200			status = "disabled";
201		};
202
203		dma: dma@20000 {
204			compatible = "arm,pl330", "arm,primecell";
205			reg = <0x20000 0x1000>;
206			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
207				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
208				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
209				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
210				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
211				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
212				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
213				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
214				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
215			clocks = <&iprocslow>;
216			clock-names = "apb_pclk";
217			#dma-cells = <1>;
218			dma-coherent;
219			status = "disabled";
220		};
221
222		sdio: sdhci@21000 {
223			compatible = "brcm,sdhci-iproc-cygnus";
224			reg = <0x21000 0x100>;
225			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
226			sdhci,auto-cmd12;
227			clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
228			dma-coherent;
229			status = "disabled";
230		};
231
232		amac0: ethernet@22000 {
233			compatible = "brcm,nsp-amac";
234			reg = <0x022000 0x1000>,
235			      <0x110000 0x1000>;
236			reg-names = "amac_base", "idm_base";
237			interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
238			dma-coherent;
239			status = "disabled";
240		};
241
242		amac1: ethernet@23000 {
243			compatible = "brcm,nsp-amac";
244			reg = <0x023000 0x1000>,
245			      <0x111000 0x1000>;
246			reg-names = "amac_base", "idm_base";
247			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
248			dma-coherent;
249			status = "disabled";
250		};
251
252		amac2: ethernet@24000 {
253			compatible = "brcm,nsp-amac";
254			reg = <0x024000 0x1000>,
255			      <0x112000 0x1000>;
256			reg-names = "amac_base", "idm_base";
257			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
258			dma-coherent;
259			status = "disabled";
260		};
261
262		mailbox: mailbox@25c00 {
263			compatible = "brcm,iproc-fa2-mbox";
264			reg = <0x25c00 0x400>;
265			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
266			#mbox-cells = <1>;
267			brcm,rx-status-len = <32>;
268			brcm,use-bcm-hdr;
269			dma-coherent;
270		};
271
272		nand_controller: nand-controller@26000 {
273			compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
274			reg = <0x026000 0x600>,
275			      <0x11b408 0x600>,
276			      <0x026f00 0x20>;
277			reg-names = "nand", "iproc-idm", "iproc-ext";
278			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
279
280			#address-cells = <1>;
281			#size-cells = <0>;
282
283			brcm,nand-has-wp;
284		};
285
286		qspi: spi@27200 {
287			compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
288			reg = <0x027200 0x184>,
289			      <0x027000 0x124>,
290			      <0x11c408 0x004>,
291			      <0x0273a0 0x01c>;
292			reg-names = "mspi", "bspi", "intr_regs",
293				    "intr_status_reg";
294			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
295				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
296				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
297				     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
298				     <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
299				     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
300				     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
301			interrupt-names = "spi_lr_fullness_reached",
302					  "spi_lr_session_aborted",
303					  "spi_lr_impatient",
304					  "spi_lr_session_done",
305					  "spi_lr_overhead",
306					  "mspi_done",
307					  "mspi_halted";
308			clocks = <&iprocmed>;
309			clock-names = "iprocmed";
310			num-cs = <2>;
311			#address-cells = <1>;
312			#size-cells = <0>;
313		};
314
315		xhci: usb@29000 {
316			compatible = "generic-xhci";
317			reg = <0x29000 0x1000>;
318			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
319			phys = <&usb3_phy>;
320			phy-names = "usb3-phy";
321			dma-coherent;
322			status = "disabled";
323		};
324
325		ehci0: usb@2a000 {
326			compatible = "generic-ehci";
327			reg = <0x2a000 0x100>;
328			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
329			dma-coherent;
330			status = "disabled";
331		};
332
333		ohci0: usb@2b000 {
334			compatible = "generic-ohci";
335			reg = <0x2b000 0x100>;
336			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
337			dma-coherent;
338			status = "disabled";
339		};
340
341		crypto@2f000 {
342			compatible = "brcm,spum-nsp-crypto";
343			reg = <0x2f000 0x900>;
344			mboxes = <&mailbox 0>;
345		};
346
347		gpiob: gpio@30000 {
348			compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
349			reg = <0x30000 0x50>;
350			#gpio-cells = <2>;
351			gpio-controller;
352			ngpios = <4>;
353			interrupt-controller;
354			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
355		};
356
357		pwm: pwm@31000 {
358			compatible = "brcm,iproc-pwm";
359			reg = <0x31000 0x28>;
360			clocks = <&osc>;
361			#pwm-cells = <3>;
362			status = "disabled";
363		};
364
365		rng: rng@33000 {
366			compatible = "brcm,bcm-nsp-rng";
367			reg = <0x33000 0x14>;
368		};
369
370		ccbtimer0: timer@34000 {
371			compatible = "arm,sp804", "arm,primecell";
372			reg = <0x34000 0x1000>;
373			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
374				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
375			clocks = <&iprocslow>;
376			clock-names = "apb_pclk";
377		};
378
379		ccbtimer1: timer@35000 {
380			compatible = "arm,sp804", "arm,primecell";
381			reg = <0x35000 0x1000>;
382			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
383				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
384			clocks = <&iprocslow>;
385			clock-names = "apb_pclk";
386		};
387
388		srab: ethernet-switch@36000 {
389			compatible = "brcm,nsp-srab";
390			reg = <0x36000 0x1000>,
391			      <0x3f308 0x8>,
392			      <0x3f410 0xc>;
393			reg-names = "srab", "mux_config", "sgmii_config";
394			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
395				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
396				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
397				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
398				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
399				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
400				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
401				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
402				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
403				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
404				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
405				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
406				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
407			interrupt-names = "link_state_p0",
408					  "link_state_p1",
409					  "link_state_p2",
410					  "link_state_p3",
411					  "link_state_p4",
412					  "link_state_p5",
413					  "link_state_p7",
414					  "link_state_p8",
415					  "phy",
416					  "ts",
417					  "imp_sleep_timer_p5",
418					  "imp_sleep_timer_p7",
419					  "imp_sleep_timer_p8";
420			status = "disabled";
421
422			/* ports are defined in board DTS */
423			ports {
424				#address-cells = <1>;
425				#size-cells = <0>;
426			};
427		};
428
429		i2c0: i2c@38000 {
430			compatible = "brcm,iproc-i2c";
431			reg = <0x38000 0x50>;
432			#address-cells = <1>;
433			#size-cells = <0>;
434			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
435			clock-frequency = <100000>;
436			dma-coherent;
437			status = "disabled";
438		};
439
440		watchdog@39000 {
441			compatible = "arm,sp805", "arm,primecell";
442			reg = <0x39000 0x1000>;
443			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
444			clocks = <&iprocslow>, <&iprocslow>;
445			clock-names = "wdog_clk", "apb_pclk";
446		};
447
448		lcpll0: lcpll0@3f100 {
449			#clock-cells = <1>;
450			compatible = "brcm,nsp-lcpll0";
451			reg = <0x3f100 0x14>;
452			clocks = <&osc>;
453			clock-output-names = "lcpll0", "pcie_phy", "sdio",
454					     "ddr_phy";
455		};
456
457		genpll: genpll@3f140 {
458			#clock-cells = <1>;
459			compatible = "brcm,nsp-genpll";
460			reg = <0x3f140 0x24>;
461			clocks = <&osc>;
462			clock-output-names = "genpll", "phy", "ethernetclk",
463					     "usbclk", "iprocfast", "sata1",
464					     "sata2";
465		};
466
467		pinctrl: pinctrl@3f1c0 {
468			compatible = "brcm,nsp-pinmux";
469			reg = <0x3f1c0 0x04>,
470			      <0x30028 0x04>,
471			      <0x3f408 0x04>;
472		};
473
474		thermal: thermal@3f2c0 {
475			compatible = "brcm,ns-thermal";
476			reg = <0x3f2c0 0x10>;
477			#thermal-sensor-cells = <0>;
478		};
479
480		sata_phy: sata_phy@40100 {
481			compatible = "brcm,iproc-nsp-sata-phy";
482			reg = <0x40100 0x340>;
483			reg-names = "phy";
484			#address-cells = <1>;
485			#size-cells = <0>;
486
487			sata_phy0: sata-phy@0 {
488				reg = <0>;
489				#phy-cells = <0>;
490				status = "disabled";
491			};
492
493			sata_phy1: sata-phy@1 {
494				reg = <1>;
495				#phy-cells = <0>;
496				status = "disabled";
497			};
498		};
499
500		sata: ahci@41000 {
501			compatible = "brcm,bcm-nsp-ahci";
502			reg-names = "ahci", "top-ctrl";
503			reg = <0x41000 0x1000>, <0x40020 0x1c>;
504			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
505			#address-cells = <1>;
506			#size-cells = <0>;
507			dma-coherent;
508			status = "disabled";
509
510			sata0: sata-port@0 {
511				reg = <0>;
512				phys = <&sata_phy0>;
513				phy-names = "sata-phy";
514			};
515
516			sata1: sata-port@1 {
517				reg = <1>;
518				phys = <&sata_phy1>;
519				phy-names = "sata-phy";
520			};
521		};
522
523		usb3_phy: usb3-phy@104000 {
524			compatible = "brcm,ns-bx-usb3-phy";
525			reg = <0x104000 0x1000>,
526			      <0x032000 0x1000>;
527			reg-names = "dmp", "ccb-mii";
528			#phy-cells = <0>;
529			status = "disabled";
530		};
531	};
532
533	pcie0: pcie@18012000 {
534		compatible = "brcm,iproc-pcie";
535		reg = <0x18012000 0x1000>;
536
537		#interrupt-cells = <1>;
538		interrupt-map-mask = <0 0 0 0>;
539		interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
540
541		linux,pci-domain = <0>;
542
543		bus-range = <0x00 0xff>;
544
545		#address-cells = <3>;
546		#size-cells = <2>;
547		device_type = "pci";
548
549		/* Note: The HW does not support I/O resources.  So,
550		 * only the memory resource range is being specified.
551		 */
552		ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
553
554		dma-coherent;
555		status = "disabled";
556
557		msi-parent = <&msi0>;
558		msi0: msi-controller {
559			compatible = "brcm,iproc-msi";
560			msi-controller;
561			interrupt-parent = <&gic>;
562			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
563				     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
564				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
565				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
566			brcm,pcie-msi-inten;
567		};
568	};
569
570	pcie1: pcie@18013000 {
571		compatible = "brcm,iproc-pcie";
572		reg = <0x18013000 0x1000>;
573
574		#interrupt-cells = <1>;
575		interrupt-map-mask = <0 0 0 0>;
576		interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
577
578		linux,pci-domain = <1>;
579
580		bus-range = <0x00 0xff>;
581
582		#address-cells = <3>;
583		#size-cells = <2>;
584		device_type = "pci";
585
586		/* Note: The HW does not support I/O resources.  So,
587		 * only the memory resource range is being specified.
588		 */
589		ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
590
591		dma-coherent;
592		status = "disabled";
593
594		msi-parent = <&msi1>;
595		msi1: msi-controller {
596			compatible = "brcm,iproc-msi";
597			msi-controller;
598			interrupt-parent = <&gic>;
599			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
600				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
601				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
602				     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
603			brcm,pcie-msi-inten;
604		};
605	};
606
607	pcie2: pcie@18014000 {
608		compatible = "brcm,iproc-pcie";
609		reg = <0x18014000 0x1000>;
610
611		#interrupt-cells = <1>;
612		interrupt-map-mask = <0 0 0 0>;
613		interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
614
615		linux,pci-domain = <2>;
616
617		bus-range = <0x00 0xff>;
618
619		#address-cells = <3>;
620		#size-cells = <2>;
621		device_type = "pci";
622
623		/* Note: The HW does not support I/O resources.  So,
624		 * only the memory resource range is being specified.
625		 */
626		ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
627
628		dma-coherent;
629		status = "disabled";
630
631		msi-parent = <&msi2>;
632		msi2: msi-controller {
633			compatible = "brcm,iproc-msi";
634			msi-controller;
635			interrupt-parent = <&gic>;
636			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
637				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
638				     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
639				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
640			brcm,pcie-msi-inten;
641		};
642	};
643
644	thermal-zones {
645		cpu-thermal {
646			polling-delay-passive = <0>;
647			polling-delay = <1000>;
648			coefficients = <(-556) 418000>;
649			thermal-sensors = <&thermal>;
650
651			trips {
652				cpu-crit {
653					temperature     = <125000>;
654					hysteresis      = <0>;
655					type            = "critical";
656				};
657			};
658
659			cooling-maps {
660			};
661		};
662	};
663};
v5.4
  1/*
  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>
 35#include <dt-bindings/clock/bcm-nsp.h>
 36
 37/ {
 38	#address-cells = <1>;
 39	#size-cells = <1>;
 40	compatible = "brcm,nsp";
 41	model = "Broadcom Northstar Plus SoC";
 42	interrupt-parent = <&gic>;
 43
 44	aliases {
 45		serial0 = &uart0;
 46		serial1 = &uart1;
 47		ethernet0 = &amac0;
 48		ethernet1 = &amac1;
 49		ethernet2 = &amac2;
 50	};
 51
 52	cpus {
 53		#address-cells = <1>;
 54		#size-cells = <0>;
 55
 56		cpu0: cpu@0 {
 57			device_type = "cpu";
 58			compatible = "arm,cortex-a9";
 59			next-level-cache = <&L2>;
 60			reg = <0x0>;
 61		};
 62
 63		cpu1: cpu@1 {
 64			device_type = "cpu";
 65			compatible = "arm,cortex-a9";
 66			next-level-cache = <&L2>;
 67			enable-method = "brcm,bcm-nsp-smp";
 68			secondary-boot-reg = <0xffff0fec>;
 69			reg = <0x1>;
 70		};
 71	};
 72
 73	pmu {
 74		compatible = "arm,cortex-a9-pmu";
 75		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH
 76			      GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
 77		interrupt-affinity = <&cpu0>, <&cpu1>;
 78	};
 79
 80	mpcore@19000000 {
 81		compatible = "simple-bus";
 82		ranges = <0x00000000 0x19000000 0x00023000>;
 83		#address-cells = <1>;
 84		#size-cells = <1>;
 85
 86		a9pll: arm_clk@0 {
 87			#clock-cells = <0>;
 88			compatible = "brcm,nsp-armpll";
 89			clocks = <&osc>;
 90			reg = <0x00000 0x1000>;
 91		};
 92
 93		timer@20200 {
 94			compatible = "arm,cortex-a9-global-timer";
 95			reg = <0x20200 0x100>;
 96			interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
 97			clocks = <&periph_clk>;
 98		};
 99
100		twd-timer@20600 {
101			compatible = "arm,cortex-a9-twd-timer";
102			reg = <0x20600 0x20>;
103			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
104						  IRQ_TYPE_EDGE_RISING)>;
105			clocks = <&periph_clk>;
106		};
107
108		twd-watchdog@20620 {
109			compatible = "arm,cortex-a9-twd-wdt";
110			reg = <0x20620 0x20>;
111			interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
112						  IRQ_TYPE_LEVEL_HIGH)>;
113			clocks = <&periph_clk>;
114		};
115
116		gic: interrupt-controller@21000 {
117			compatible = "arm,cortex-a9-gic";
118			#interrupt-cells = <3>;
119			#address-cells = <0>;
120			interrupt-controller;
121			reg = <0x21000 0x1000>,
122			      <0x20100 0x100>;
123		};
124
125		L2: l2-cache@22000 {
126			compatible = "arm,pl310-cache";
127			reg = <0x22000 0x1000>;
128			cache-unified;
129			cache-level = <2>;
130		};
131	};
132
133	clocks {
134		#address-cells = <1>;
135		#size-cells = <1>;
136		ranges;
137
138		osc: oscillator {
139			#clock-cells = <0>;
140			compatible = "fixed-clock";
141			clock-frequency = <25000000>;
142		};
143
144		iprocmed: iprocmed {
145			#clock-cells = <0>;
146			compatible = "fixed-factor-clock";
147			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
148			clock-div = <2>;
149			clock-mult = <1>;
150		};
151
152		iprocslow: iprocslow {
153			#clock-cells = <0>;
154			compatible = "fixed-factor-clock";
155			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
156			clock-div = <4>;
157			clock-mult = <1>;
158		};
159
160		periph_clk: periph_clk {
161			#clock-cells = <0>;
162			compatible = "fixed-factor-clock";
163			clocks = <&a9pll>;
164			clock-div = <2>;
165			clock-mult = <1>;
166		};
167	};
168
169	axi@18000000 {
170		compatible = "simple-bus";
171		ranges = <0x00000000 0x18000000 0x0011c40c>;
172		#address-cells = <1>;
173		#size-cells = <1>;
174
175		gpioa: gpio@20 {
176			compatible = "brcm,nsp-gpio-a";
177			reg = <0x0020 0x70>,
178			      <0x3f1c4 0x1c>;
179			#gpio-cells = <2>;
180			gpio-controller;
181			ngpios = <32>;
182			interrupt-controller;
183			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
184			gpio-ranges = <&pinctrl 0 0 32>;
185		};
186
187		uart0: serial@300 {
188			compatible = "ns16550a";
189			reg = <0x0300 0x100>;
190			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
191			clocks = <&osc>;
192			status = "disabled";
193		};
194
195		uart1: serial@400 {
196			compatible = "ns16550a";
197			reg = <0x0400 0x100>;
198			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
199			clocks = <&osc>;
200			status = "disabled";
201		};
202
203		dma@20000 {
204			compatible = "arm,pl330", "arm,primecell";
205			reg = <0x20000 0x1000>;
206			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
207				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
208				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
209				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
210				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
211				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
212				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
213				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
214				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
215			clocks = <&iprocslow>;
216			clock-names = "apb_pclk";
217			#dma-cells = <1>;
 
 
218		};
219
220		sdio: sdhci@21000 {
221			compatible = "brcm,sdhci-iproc-cygnus";
222			reg = <0x21000 0x100>;
223			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
224			sdhci,auto-cmd12;
225			clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
226			dma-coherent;
227			status = "disabled";
228		};
229
230		amac0: ethernet@22000 {
231			compatible = "brcm,nsp-amac";
232			reg = <0x022000 0x1000>,
233			      <0x110000 0x1000>;
234			reg-names = "amac_base", "idm_base";
235			interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
236			dma-coherent;
237			status = "disabled";
238		};
239
240		amac1: ethernet@23000 {
241			compatible = "brcm,nsp-amac";
242			reg = <0x023000 0x1000>,
243			      <0x111000 0x1000>;
244			reg-names = "amac_base", "idm_base";
245			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
246			dma-coherent;
247			status = "disabled";
248		};
249
250		amac2: ethernet@24000 {
251			compatible = "brcm,nsp-amac";
252			reg = <0x024000 0x1000>,
253			      <0x112000 0x1000>;
254			reg-names = "amac_base", "idm_base";
255			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
256			dma-coherent;
257			status = "disabled";
258		};
259
260		mailbox: mailbox@25000 {
261			compatible = "brcm,iproc-fa2-mbox";
262			reg = <0x25000 0x445>;
263			interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
264			#mbox-cells = <1>;
265			brcm,rx-status-len = <32>;
266			brcm,use-bcm-hdr;
267			dma-coherent;
268		};
269
270		nand: nand@26000 {
271			compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
272			reg = <0x026000 0x600>,
273			      <0x11b408 0x600>,
274			      <0x026f00 0x20>;
275			reg-names = "nand", "iproc-idm", "iproc-ext";
276			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
277
278			#address-cells = <1>;
279			#size-cells = <0>;
280
281			brcm,nand-has-wp;
282		};
283
284		qspi: spi@27200 {
285			compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
286			reg = <0x027200 0x184>,
287			      <0x027000 0x124>,
288			      <0x11c408 0x004>,
289			      <0x0273a0 0x01c>;
290			reg-names = "mspi", "bspi", "intr_regs",
291				    "intr_status_reg";
292			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
293				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
294				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
295				     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
296				     <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
297				     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
298				     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
299			interrupt-names = "spi_lr_fullness_reached",
300					  "spi_lr_session_aborted",
301					  "spi_lr_impatient",
302					  "spi_lr_session_done",
303					  "spi_lr_overhead",
304					  "mspi_done",
305					  "mspi_halted";
306			clocks = <&iprocmed>;
307			clock-names = "iprocmed";
308			num-cs = <2>;
309			#address-cells = <1>;
310			#size-cells = <0>;
311		};
312
313		xhci: usb@29000 {
314			compatible = "generic-xhci";
315			reg = <0x29000 0x1000>;
316			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
317			phys = <&usb3_phy>;
318			phy-names = "usb3-phy";
319			dma-coherent;
320			status = "disabled";
321		};
322
323		ehci0: usb@2a000 {
324			compatible = "generic-ehci";
325			reg = <0x2a000 0x100>;
326			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
327			dma-coherent;
328			status = "disabled";
329		};
330
331		ohci0: usb@2b000 {
332			compatible = "generic-ohci";
333			reg = <0x2b000 0x100>;
334			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
335			dma-coherent;
336			status = "disabled";
337		};
338
339		crypto@2f000 {
340			compatible = "brcm,spum-nsp-crypto";
341			reg = <0x2f000 0x900>;
342			mboxes = <&mailbox 0>;
343		};
344
345		gpiob: gpio@30000 {
346			compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
347			reg = <0x30000 0x50>;
348			#gpio-cells = <2>;
349			gpio-controller;
350			ngpios = <4>;
351			interrupt-controller;
352			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
353		};
354
355		pwm: pwm@31000 {
356			compatible = "brcm,iproc-pwm";
357			reg = <0x31000 0x28>;
358			clocks = <&osc>;
359			#pwm-cells = <3>;
360			status = "disabled";
361		};
362
363		rng: rng@33000 {
364			compatible = "brcm,bcm-nsp-rng";
365			reg = <0x33000 0x14>;
366		};
367
368		ccbtimer0: timer@34000 {
369			compatible = "arm,sp804";
370			reg = <0x34000 0x1000>;
371			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
372				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
373			clocks = <&iprocslow>;
374			clock-names = "apb_pclk";
375		};
376
377		ccbtimer1: timer@35000 {
378			compatible = "arm,sp804";
379			reg = <0x35000 0x1000>;
380			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
381				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
382			clocks = <&iprocslow>;
383			clock-names = "apb_pclk";
384		};
385
386		srab: srab@36000 {
387			compatible = "brcm,nsp-srab";
388			reg = <0x36000 0x1000>,
389			      <0x3f308 0x8>,
390			      <0x3f410 0xc>;
391			reg-names = "srab", "mux_config", "sgmii";
392			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
393				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
394				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
395				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
396				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
397				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
398				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
399				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
400				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
401				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
402				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
403				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
404				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
405			interrupt-names = "link_state_p0",
406					  "link_state_p1",
407					  "link_state_p2",
408					  "link_state_p3",
409					  "link_state_p4",
410					  "link_state_p5",
411					  "link_state_p7",
412					  "link_state_p8",
413					  "phy",
414					  "ts",
415					  "imp_sleep_timer_p5",
416					  "imp_sleep_timer_p7",
417					  "imp_sleep_timer_p8";
418			status = "disabled";
419
420			/* ports are defined in board DTS */
 
 
 
 
421		};
422
423		i2c0: i2c@38000 {
424			compatible = "brcm,iproc-i2c";
425			reg = <0x38000 0x50>;
426			#address-cells = <1>;
427			#size-cells = <0>;
428			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
429			clock-frequency = <100000>;
430			dma-coherent;
431			status = "disabled";
432		};
433
434		watchdog@39000 {
435			compatible = "arm,sp805", "arm,primecell";
436			reg = <0x39000 0x1000>;
437			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
438			clocks = <&iprocslow>, <&iprocslow>;
439			clock-names = "wdogclk", "apb_pclk";
440		};
441
442		lcpll0: lcpll0@3f100 {
443			#clock-cells = <1>;
444			compatible = "brcm,nsp-lcpll0";
445			reg = <0x3f100 0x14>;
446			clocks = <&osc>;
447			clock-output-names = "lcpll0", "pcie_phy", "sdio",
448					     "ddr_phy";
449		};
450
451		genpll: genpll@3f140 {
452			#clock-cells = <1>;
453			compatible = "brcm,nsp-genpll";
454			reg = <0x3f140 0x24>;
455			clocks = <&osc>;
456			clock-output-names = "genpll", "phy", "ethernetclk",
457					     "usbclk", "iprocfast", "sata1",
458					     "sata2";
459		};
460
461		pinctrl: pinctrl@3f1c0 {
462			compatible = "brcm,nsp-pinmux";
463			reg = <0x3f1c0 0x04>,
464			      <0x30028 0x04>,
465			      <0x3f408 0x04>;
466		};
467
468		thermal: thermal@3f2c0 {
469			compatible = "brcm,ns-thermal";
470			reg = <0x3f2c0 0x10>;
471			#thermal-sensor-cells = <0>;
472		};
473
474		sata_phy: sata_phy@40100 {
475			compatible = "brcm,iproc-nsp-sata-phy";
476			reg = <0x40100 0x340>;
477			reg-names = "phy";
478			#address-cells = <1>;
479			#size-cells = <0>;
480
481			sata_phy0: sata-phy@0 {
482				reg = <0>;
483				#phy-cells = <0>;
484				status = "disabled";
485			};
486
487			sata_phy1: sata-phy@1 {
488				reg = <1>;
489				#phy-cells = <0>;
490				status = "disabled";
491			};
492		};
493
494		sata: ahci@41000 {
495			compatible = "brcm,bcm-nsp-ahci";
496			reg-names = "ahci", "top-ctrl";
497			reg = <0x41000 0x1000>, <0x40020 0x1c>;
498			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
499			#address-cells = <1>;
500			#size-cells = <0>;
501			dma-coherent;
502			status = "disabled";
503
504			sata0: sata-port@0 {
505				reg = <0>;
506				phys = <&sata_phy0>;
507				phy-names = "sata-phy";
508			};
509
510			sata1: sata-port@1 {
511				reg = <1>;
512				phys = <&sata_phy1>;
513				phy-names = "sata-phy";
514			};
515		};
516
517		usb3_phy: usb3-phy@104000 {
518			compatible = "brcm,ns-bx-usb3-phy";
519			reg = <0x104000 0x1000>,
520			      <0x032000 0x1000>;
521			reg-names = "dmp", "ccb-mii";
522			#phy-cells = <0>;
523			status = "disabled";
524		};
525	};
526
527	pcie0: pcie@18012000 {
528		compatible = "brcm,iproc-pcie";
529		reg = <0x18012000 0x1000>;
530
531		#interrupt-cells = <1>;
532		interrupt-map-mask = <0 0 0 0>;
533		interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
534
535		linux,pci-domain = <0>;
536
537		bus-range = <0x00 0xff>;
538
539		#address-cells = <3>;
540		#size-cells = <2>;
541		device_type = "pci";
542
543		/* Note: The HW does not support I/O resources.  So,
544		 * only the memory resource range is being specified.
545		 */
546		ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
547
548		dma-coherent;
549		status = "disabled";
550
551		msi-parent = <&msi0>;
552		msi0: msi-controller {
553			compatible = "brcm,iproc-msi";
554			msi-controller;
555			interrupt-parent = <&gic>;
556			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
557				     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
558				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
559				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
560			brcm,pcie-msi-inten;
561		};
562	};
563
564	pcie1: pcie@18013000 {
565		compatible = "brcm,iproc-pcie";
566		reg = <0x18013000 0x1000>;
567
568		#interrupt-cells = <1>;
569		interrupt-map-mask = <0 0 0 0>;
570		interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
571
572		linux,pci-domain = <1>;
573
574		bus-range = <0x00 0xff>;
575
576		#address-cells = <3>;
577		#size-cells = <2>;
578		device_type = "pci";
579
580		/* Note: The HW does not support I/O resources.  So,
581		 * only the memory resource range is being specified.
582		 */
583		ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
584
585		dma-coherent;
586		status = "disabled";
587
588		msi-parent = <&msi1>;
589		msi1: msi-controller {
590			compatible = "brcm,iproc-msi";
591			msi-controller;
592			interrupt-parent = <&gic>;
593			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
594				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
595				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
596				     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
597			brcm,pcie-msi-inten;
598		};
599	};
600
601	pcie2: pcie@18014000 {
602		compatible = "brcm,iproc-pcie";
603		reg = <0x18014000 0x1000>;
604
605		#interrupt-cells = <1>;
606		interrupt-map-mask = <0 0 0 0>;
607		interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
608
609		linux,pci-domain = <2>;
610
611		bus-range = <0x00 0xff>;
612
613		#address-cells = <3>;
614		#size-cells = <2>;
615		device_type = "pci";
616
617		/* Note: The HW does not support I/O resources.  So,
618		 * only the memory resource range is being specified.
619		 */
620		ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
621
622		dma-coherent;
623		status = "disabled";
624
625		msi-parent = <&msi2>;
626		msi2: msi-controller {
627			compatible = "brcm,iproc-msi";
628			msi-controller;
629			interrupt-parent = <&gic>;
630			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
631				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
632				     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
633				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
634			brcm,pcie-msi-inten;
635		};
636	};
637
638	thermal-zones {
639		cpu-thermal {
640			polling-delay-passive = <0>;
641			polling-delay = <1000>;
642			coefficients = <(-556) 418000>;
643			thermal-sensors = <&thermal>;
644
645			trips {
646				cpu-crit {
647					temperature     = <125000>;
648					hysteresis      = <0>;
649					type            = "critical";
650				};
651			};
652
653			cooling-maps {
654			};
655		};
656	};
657};