xref: /linux/scripts/dtc/include-prefixes/arm/broadcom/bcm-nsp.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1724ba675SRob Herring/*
2724ba675SRob Herring *  BSD LICENSE
3724ba675SRob Herring *
4724ba675SRob Herring *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
5724ba675SRob Herring *
6724ba675SRob Herring *  Redistribution and use in source and binary forms, with or without
7724ba675SRob Herring *  modification, are permitted provided that the following conditions
8724ba675SRob Herring *  are met:
9724ba675SRob Herring *
10724ba675SRob Herring *    * Redistributions of source code must retain the above copyright
11724ba675SRob Herring *      notice, this list of conditions and the following disclaimer.
12724ba675SRob Herring *    * Redistributions in binary form must reproduce the above copyright
13724ba675SRob Herring *      notice, this list of conditions and the following disclaimer in
14724ba675SRob Herring *      the documentation and/or other materials provided with the
15724ba675SRob Herring *      distribution.
16724ba675SRob Herring *    * Neither the name of Broadcom Corporation nor the names of its
17724ba675SRob Herring *      contributors may be used to endorse or promote products derived
18724ba675SRob Herring *      from this software without specific prior written permission.
19724ba675SRob Herring *
20724ba675SRob Herring *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21724ba675SRob Herring *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22724ba675SRob Herring *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23724ba675SRob Herring *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24724ba675SRob Herring *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25724ba675SRob Herring *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26724ba675SRob Herring *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27724ba675SRob Herring *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28724ba675SRob Herring *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29724ba675SRob Herring *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30724ba675SRob Herring *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31724ba675SRob Herring */
32724ba675SRob Herring
33724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
34724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
35724ba675SRob Herring#include <dt-bindings/clock/bcm-nsp.h>
36724ba675SRob Herring
37724ba675SRob Herring/ {
38724ba675SRob Herring	#address-cells = <1>;
39724ba675SRob Herring	#size-cells = <1>;
40724ba675SRob Herring	compatible = "brcm,nsp";
41724ba675SRob Herring	model = "Broadcom Northstar Plus SoC";
42724ba675SRob Herring	interrupt-parent = <&gic>;
43724ba675SRob Herring
44724ba675SRob Herring	aliases {
45724ba675SRob Herring		serial0 = &uart0;
46724ba675SRob Herring		serial1 = &uart1;
47724ba675SRob Herring		ethernet0 = &amac0;
48724ba675SRob Herring		ethernet1 = &amac1;
49724ba675SRob Herring		ethernet2 = &amac2;
50724ba675SRob Herring	};
51724ba675SRob Herring
52724ba675SRob Herring	cpus {
53724ba675SRob Herring		#address-cells = <1>;
54724ba675SRob Herring		#size-cells = <0>;
55724ba675SRob Herring
56724ba675SRob Herring		cpu0: cpu@0 {
57724ba675SRob Herring			device_type = "cpu";
58724ba675SRob Herring			compatible = "arm,cortex-a9";
59724ba675SRob Herring			next-level-cache = <&L2>;
60724ba675SRob Herring			reg = <0x0>;
61724ba675SRob Herring		};
62724ba675SRob Herring
63724ba675SRob Herring		cpu1: cpu@1 {
64724ba675SRob Herring			device_type = "cpu";
65724ba675SRob Herring			compatible = "arm,cortex-a9";
66724ba675SRob Herring			next-level-cache = <&L2>;
67724ba675SRob Herring			enable-method = "brcm,bcm-nsp-smp";
68724ba675SRob Herring			secondary-boot-reg = <0xffff0fec>;
69724ba675SRob Herring			reg = <0x1>;
70724ba675SRob Herring		};
71724ba675SRob Herring	};
72724ba675SRob Herring
73724ba675SRob Herring	pmu {
74724ba675SRob Herring		compatible = "arm,cortex-a9-pmu";
75753a1baaSKrzysztof Kozlowski		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
76753a1baaSKrzysztof Kozlowski			     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
77724ba675SRob Herring		interrupt-affinity = <&cpu0>, <&cpu1>;
78724ba675SRob Herring	};
79724ba675SRob Herring
80724ba675SRob Herring	mpcore-bus@19000000 {
81724ba675SRob Herring		compatible = "simple-bus";
82724ba675SRob Herring		ranges = <0x00000000 0x19000000 0x00023000>;
83724ba675SRob Herring		#address-cells = <1>;
84724ba675SRob Herring		#size-cells = <1>;
85724ba675SRob Herring
86724ba675SRob Herring		a9pll: arm_clk@0 {
87724ba675SRob Herring			#clock-cells = <0>;
88724ba675SRob Herring			compatible = "brcm,nsp-armpll";
89724ba675SRob Herring			clocks = <&osc>;
90724ba675SRob Herring			reg = <0x00000 0x1000>;
91724ba675SRob Herring		};
92724ba675SRob Herring
93724ba675SRob Herring		timer@20200 {
94724ba675SRob Herring			compatible = "arm,cortex-a9-global-timer";
95724ba675SRob Herring			reg = <0x20200 0x100>;
96724ba675SRob Herring			interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
97724ba675SRob Herring			clocks = <&periph_clk>;
98724ba675SRob Herring		};
99724ba675SRob Herring
100724ba675SRob Herring		twd-timer@20600 {
101724ba675SRob Herring			compatible = "arm,cortex-a9-twd-timer";
102724ba675SRob Herring			reg = <0x20600 0x20>;
103724ba675SRob Herring			interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
104724ba675SRob Herring						  IRQ_TYPE_EDGE_RISING)>;
105724ba675SRob Herring			clocks = <&periph_clk>;
106724ba675SRob Herring		};
107724ba675SRob Herring
108724ba675SRob Herring		twd-watchdog@20620 {
109724ba675SRob Herring			compatible = "arm,cortex-a9-twd-wdt";
110724ba675SRob Herring			reg = <0x20620 0x20>;
111724ba675SRob Herring			interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
112724ba675SRob Herring						  IRQ_TYPE_LEVEL_HIGH)>;
113724ba675SRob Herring			clocks = <&periph_clk>;
114724ba675SRob Herring		};
115724ba675SRob Herring
116724ba675SRob Herring		gic: interrupt-controller@21000 {
117724ba675SRob Herring			compatible = "arm,cortex-a9-gic";
118724ba675SRob Herring			#interrupt-cells = <3>;
119724ba675SRob Herring			#address-cells = <0>;
120724ba675SRob Herring			interrupt-controller;
121724ba675SRob Herring			reg = <0x21000 0x1000>,
122724ba675SRob Herring			      <0x20100 0x100>;
123724ba675SRob Herring		};
124724ba675SRob Herring
125724ba675SRob Herring		L2: cache-controller@22000 {
126724ba675SRob Herring			compatible = "arm,pl310-cache";
127724ba675SRob Herring			reg = <0x22000 0x1000>;
128724ba675SRob Herring			cache-unified;
129724ba675SRob Herring			cache-level = <2>;
130724ba675SRob Herring		};
131724ba675SRob Herring	};
132724ba675SRob Herring
133724ba675SRob Herring	clocks {
134724ba675SRob Herring		#address-cells = <1>;
135724ba675SRob Herring		#size-cells = <1>;
136724ba675SRob Herring		ranges;
137724ba675SRob Herring
138724ba675SRob Herring		osc: oscillator {
139724ba675SRob Herring			#clock-cells = <0>;
140724ba675SRob Herring			compatible = "fixed-clock";
141724ba675SRob Herring			clock-frequency = <25000000>;
142724ba675SRob Herring		};
143724ba675SRob Herring
144724ba675SRob Herring		iprocmed: iprocmed {
145724ba675SRob Herring			#clock-cells = <0>;
146724ba675SRob Herring			compatible = "fixed-factor-clock";
147724ba675SRob Herring			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
148724ba675SRob Herring			clock-div = <2>;
149724ba675SRob Herring			clock-mult = <1>;
150724ba675SRob Herring		};
151724ba675SRob Herring
152724ba675SRob Herring		iprocslow: iprocslow {
153724ba675SRob Herring			#clock-cells = <0>;
154724ba675SRob Herring			compatible = "fixed-factor-clock";
155724ba675SRob Herring			clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
156724ba675SRob Herring			clock-div = <4>;
157724ba675SRob Herring			clock-mult = <1>;
158724ba675SRob Herring		};
159724ba675SRob Herring
160724ba675SRob Herring		periph_clk: periph_clk {
161724ba675SRob Herring			#clock-cells = <0>;
162724ba675SRob Herring			compatible = "fixed-factor-clock";
163724ba675SRob Herring			clocks = <&a9pll>;
164724ba675SRob Herring			clock-div = <2>;
165724ba675SRob Herring			clock-mult = <1>;
166724ba675SRob Herring		};
167724ba675SRob Herring	};
168724ba675SRob Herring
169724ba675SRob Herring	axi: axi@18000000 {
170724ba675SRob Herring		compatible = "simple-bus";
171724ba675SRob Herring		ranges = <0x00000000 0x18000000 0x0011c40c>;
172724ba675SRob Herring		#address-cells = <1>;
173724ba675SRob Herring		#size-cells = <1>;
174724ba675SRob Herring
175724ba675SRob Herring		gpioa: gpio@20 {
176724ba675SRob Herring			compatible = "brcm,nsp-gpio-a";
177724ba675SRob Herring			reg = <0x0020 0x70>,
178724ba675SRob Herring			      <0x3f1c4 0x1c>;
179724ba675SRob Herring			#gpio-cells = <2>;
180724ba675SRob Herring			gpio-controller;
181724ba675SRob Herring			ngpios = <32>;
182724ba675SRob Herring			interrupt-controller;
183*96fd598eSRob Herring			#interrupt-cells = <2>;
184724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
185724ba675SRob Herring			gpio-ranges = <&pinctrl 0 0 32>;
186724ba675SRob Herring		};
187724ba675SRob Herring
188724ba675SRob Herring		uart0: serial@300 {
189724ba675SRob Herring			compatible = "ns16550a";
190724ba675SRob Herring			reg = <0x0300 0x100>;
191724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
192724ba675SRob Herring			clocks = <&osc>;
193724ba675SRob Herring			status = "disabled";
194724ba675SRob Herring		};
195724ba675SRob Herring
196724ba675SRob Herring		uart1: serial@400 {
197724ba675SRob Herring			compatible = "ns16550a";
198724ba675SRob Herring			reg = <0x0400 0x100>;
199724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
200724ba675SRob Herring			clocks = <&osc>;
201724ba675SRob Herring			status = "disabled";
202724ba675SRob Herring		};
203724ba675SRob Herring
204724ba675SRob Herring		dma: dma@20000 {
205724ba675SRob Herring			compatible = "arm,pl330", "arm,primecell";
206724ba675SRob Herring			reg = <0x20000 0x1000>;
207724ba675SRob Herring			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
208724ba675SRob Herring				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
209724ba675SRob Herring				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
210724ba675SRob Herring				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
211724ba675SRob Herring				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
212724ba675SRob Herring				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
213724ba675SRob Herring				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
214724ba675SRob Herring				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
215724ba675SRob Herring				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
216724ba675SRob Herring			clocks = <&iprocslow>;
217724ba675SRob Herring			clock-names = "apb_pclk";
218724ba675SRob Herring			#dma-cells = <1>;
219724ba675SRob Herring			dma-coherent;
220724ba675SRob Herring			status = "disabled";
221724ba675SRob Herring		};
222724ba675SRob Herring
223724ba675SRob Herring		sdio: mmc@21000 {
224724ba675SRob Herring			compatible = "brcm,sdhci-iproc-cygnus";
225724ba675SRob Herring			reg = <0x21000 0x100>;
226724ba675SRob Herring			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
227724ba675SRob Herring			sdhci,auto-cmd12;
228724ba675SRob Herring			clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
229724ba675SRob Herring			dma-coherent;
230724ba675SRob Herring			status = "disabled";
231724ba675SRob Herring		};
232724ba675SRob Herring
233724ba675SRob Herring		amac0: ethernet@22000 {
234724ba675SRob Herring			compatible = "brcm,nsp-amac";
235724ba675SRob Herring			reg = <0x022000 0x1000>,
236724ba675SRob Herring			      <0x110000 0x1000>;
237724ba675SRob Herring			reg-names = "amac_base", "idm_base";
238724ba675SRob Herring			interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
239724ba675SRob Herring			dma-coherent;
240724ba675SRob Herring			status = "disabled";
241724ba675SRob Herring		};
242724ba675SRob Herring
243724ba675SRob Herring		amac1: ethernet@23000 {
244724ba675SRob Herring			compatible = "brcm,nsp-amac";
245724ba675SRob Herring			reg = <0x023000 0x1000>,
246724ba675SRob Herring			      <0x111000 0x1000>;
247724ba675SRob Herring			reg-names = "amac_base", "idm_base";
248724ba675SRob Herring			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
249724ba675SRob Herring			dma-coherent;
250724ba675SRob Herring			status = "disabled";
251724ba675SRob Herring		};
252724ba675SRob Herring
253724ba675SRob Herring		amac2: ethernet@24000 {
254724ba675SRob Herring			compatible = "brcm,nsp-amac";
255724ba675SRob Herring			reg = <0x024000 0x1000>,
256724ba675SRob Herring			      <0x112000 0x1000>;
257724ba675SRob Herring			reg-names = "amac_base", "idm_base";
258724ba675SRob Herring			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
259724ba675SRob Herring			dma-coherent;
260724ba675SRob Herring			status = "disabled";
261724ba675SRob Herring		};
262724ba675SRob Herring
263724ba675SRob Herring		mailbox: mailbox@25c00 {
264724ba675SRob Herring			compatible = "brcm,iproc-fa2-mbox";
265724ba675SRob Herring			reg = <0x25c00 0x400>;
266724ba675SRob Herring			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
267724ba675SRob Herring			#mbox-cells = <1>;
268724ba675SRob Herring			brcm,rx-status-len = <32>;
269724ba675SRob Herring			brcm,use-bcm-hdr;
270724ba675SRob Herring			dma-coherent;
271724ba675SRob Herring		};
272724ba675SRob Herring
273724ba675SRob Herring		nand_controller: nand-controller@26000 {
274724ba675SRob Herring			compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
275724ba675SRob Herring			reg = <0x026000 0x600>,
276724ba675SRob Herring			      <0x11b408 0x600>,
277724ba675SRob Herring			      <0x026f00 0x20>;
278724ba675SRob Herring			reg-names = "nand", "iproc-idm", "iproc-ext";
279724ba675SRob Herring			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
280724ba675SRob Herring
281724ba675SRob Herring			#address-cells = <1>;
282724ba675SRob Herring			#size-cells = <0>;
283724ba675SRob Herring
284724ba675SRob Herring			brcm,nand-has-wp;
285724ba675SRob Herring		};
286724ba675SRob Herring
287724ba675SRob Herring		qspi: spi@27200 {
288724ba675SRob Herring			compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
289724ba675SRob Herring			reg = <0x027200 0x184>,
290724ba675SRob Herring			      <0x027000 0x124>,
291724ba675SRob Herring			      <0x11c408 0x004>,
292724ba675SRob Herring			      <0x0273a0 0x01c>;
293724ba675SRob Herring			reg-names = "mspi", "bspi", "intr_regs",
294724ba675SRob Herring				    "intr_status_reg";
295724ba675SRob Herring			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
296724ba675SRob Herring				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
297724ba675SRob Herring				     <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
298724ba675SRob Herring				     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
299724ba675SRob Herring				     <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
300724ba675SRob Herring				     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
301724ba675SRob Herring				     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
302724ba675SRob Herring			interrupt-names = "spi_lr_fullness_reached",
303724ba675SRob Herring					  "spi_lr_session_aborted",
304724ba675SRob Herring					  "spi_lr_impatient",
305724ba675SRob Herring					  "spi_lr_session_done",
306724ba675SRob Herring					  "spi_lr_overhead",
307724ba675SRob Herring					  "mspi_done",
308724ba675SRob Herring					  "mspi_halted";
309724ba675SRob Herring			clocks = <&iprocmed>;
310724ba675SRob Herring			clock-names = "iprocmed";
311724ba675SRob Herring			num-cs = <2>;
312724ba675SRob Herring			#address-cells = <1>;
313724ba675SRob Herring			#size-cells = <0>;
314724ba675SRob Herring			status = "disabled";
315724ba675SRob Herring		};
316724ba675SRob Herring
317724ba675SRob Herring		xhci: usb@29000 {
318724ba675SRob Herring			compatible = "generic-xhci";
319724ba675SRob Herring			reg = <0x29000 0x1000>;
320724ba675SRob Herring			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
321724ba675SRob Herring			phys = <&usb3_phy>;
322724ba675SRob Herring			phy-names = "usb3-phy";
323724ba675SRob Herring			dma-coherent;
324724ba675SRob Herring			status = "disabled";
325724ba675SRob Herring		};
326724ba675SRob Herring
327724ba675SRob Herring		ehci0: usb@2a000 {
328724ba675SRob Herring			compatible = "generic-ehci";
329724ba675SRob Herring			reg = <0x2a000 0x100>;
330724ba675SRob Herring			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
331724ba675SRob Herring			dma-coherent;
332724ba675SRob Herring			status = "disabled";
333724ba675SRob Herring		};
334724ba675SRob Herring
335724ba675SRob Herring		ohci0: usb@2b000 {
336724ba675SRob Herring			compatible = "generic-ohci";
337724ba675SRob Herring			reg = <0x2b000 0x100>;
338724ba675SRob Herring			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
339724ba675SRob Herring			dma-coherent;
340724ba675SRob Herring			status = "disabled";
341724ba675SRob Herring		};
342724ba675SRob Herring
343724ba675SRob Herring		crypto@2f000 {
344724ba675SRob Herring			compatible = "brcm,spum-nsp-crypto";
345724ba675SRob Herring			reg = <0x2f000 0x900>;
346724ba675SRob Herring			mboxes = <&mailbox 0>;
347724ba675SRob Herring		};
348724ba675SRob Herring
349724ba675SRob Herring		gpiob: gpio@30000 {
350724ba675SRob Herring			compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
351724ba675SRob Herring			reg = <0x30000 0x50>;
352724ba675SRob Herring			#gpio-cells = <2>;
353724ba675SRob Herring			gpio-controller;
354724ba675SRob Herring			ngpios = <4>;
355724ba675SRob Herring			interrupt-controller;
356*96fd598eSRob Herring			#interrupt-cells = <2>;
357724ba675SRob Herring			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
358724ba675SRob Herring		};
359724ba675SRob Herring
360724ba675SRob Herring		pwm: pwm@31000 {
361724ba675SRob Herring			compatible = "brcm,iproc-pwm";
362724ba675SRob Herring			reg = <0x31000 0x28>;
363724ba675SRob Herring			clocks = <&osc>;
364724ba675SRob Herring			#pwm-cells = <3>;
365724ba675SRob Herring			status = "disabled";
366724ba675SRob Herring		};
367724ba675SRob Herring
368724ba675SRob Herring		mdio: mdio@32000 {
369724ba675SRob Herring			compatible = "brcm,iproc-mdio";
370724ba675SRob Herring			reg = <0x32000 0x8>;
371724ba675SRob Herring			#size-cells = <0>;
372724ba675SRob Herring			#address-cells = <1>;
373724ba675SRob Herring		};
374724ba675SRob Herring
375724ba675SRob Herring		mdio-mux@32000 {
376724ba675SRob Herring			compatible = "mdio-mux-mmioreg", "mdio-mux";
377724ba675SRob Herring			reg = <0x32000 0x4>;
378724ba675SRob Herring			mux-mask = <0x200>;
379724ba675SRob Herring			#address-cells = <1>;
380724ba675SRob Herring			#size-cells = <0>;
381724ba675SRob Herring			mdio-parent-bus = <&mdio>;
382724ba675SRob Herring
383724ba675SRob Herring			mdio_int: mdio@0 {
384724ba675SRob Herring				reg = <0x0>;
385724ba675SRob Herring				#address-cells = <1>;
386724ba675SRob Herring				#size-cells = <0>;
387724ba675SRob Herring
388724ba675SRob Herring				usb3_phy: usb3-phy@10 {
389724ba675SRob Herring					compatible = "brcm,ns-bx-usb3-phy";
390724ba675SRob Herring					reg = <0x10>;
391724ba675SRob Herring					usb3-dmp-syscon = <&usb3_dmp>;
392724ba675SRob Herring					#phy-cells = <0>;
393724ba675SRob Herring					status = "disabled";
394724ba675SRob Herring				};
395724ba675SRob Herring			};
396724ba675SRob Herring
397724ba675SRob Herring			mdio_ext: mdio@200 {
398724ba675SRob Herring				reg = <0x200>;
399724ba675SRob Herring				#address-cells = <1>;
400724ba675SRob Herring				#size-cells = <0>;
401724ba675SRob Herring			};
402724ba675SRob Herring		};
403724ba675SRob Herring
404724ba675SRob Herring		rng: rng@33000 {
405724ba675SRob Herring			compatible = "brcm,bcm-nsp-rng";
406724ba675SRob Herring			reg = <0x33000 0x14>;
407724ba675SRob Herring		};
408724ba675SRob Herring
409724ba675SRob Herring		ccbtimer0: timer@34000 {
410724ba675SRob Herring			compatible = "arm,sp804", "arm,primecell";
411724ba675SRob Herring			reg = <0x34000 0x1000>;
412724ba675SRob Herring			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
413724ba675SRob Herring				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
414724ba675SRob Herring			clocks = <&iprocslow>;
415724ba675SRob Herring			clock-names = "apb_pclk";
416724ba675SRob Herring		};
417724ba675SRob Herring
418724ba675SRob Herring		ccbtimer1: timer@35000 {
419724ba675SRob Herring			compatible = "arm,sp804", "arm,primecell";
420724ba675SRob Herring			reg = <0x35000 0x1000>;
421724ba675SRob Herring			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
422724ba675SRob Herring				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
423724ba675SRob Herring			clocks = <&iprocslow>;
424724ba675SRob Herring			clock-names = "apb_pclk";
425724ba675SRob Herring		};
426724ba675SRob Herring
427724ba675SRob Herring		srab: ethernet-switch@36000 {
428724ba675SRob Herring			compatible = "brcm,nsp-srab";
429724ba675SRob Herring			reg = <0x36000 0x1000>,
430724ba675SRob Herring			      <0x3f308 0x8>,
431724ba675SRob Herring			      <0x3f410 0xc>;
432724ba675SRob Herring			reg-names = "srab", "mux_config", "sgmii_config";
433724ba675SRob Herring			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
434724ba675SRob Herring				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
435724ba675SRob Herring				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
436724ba675SRob Herring				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
437724ba675SRob Herring				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
438724ba675SRob Herring				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
439724ba675SRob Herring				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
440724ba675SRob Herring				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
441724ba675SRob Herring				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
442724ba675SRob Herring				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
443724ba675SRob Herring				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
444724ba675SRob Herring				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
445724ba675SRob Herring				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
446724ba675SRob Herring			interrupt-names = "link_state_p0",
447724ba675SRob Herring					  "link_state_p1",
448724ba675SRob Herring					  "link_state_p2",
449724ba675SRob Herring					  "link_state_p3",
450724ba675SRob Herring					  "link_state_p4",
451724ba675SRob Herring					  "link_state_p5",
452724ba675SRob Herring					  "link_state_p7",
453724ba675SRob Herring					  "link_state_p8",
454724ba675SRob Herring					  "phy",
455724ba675SRob Herring					  "ts",
456724ba675SRob Herring					  "imp_sleep_timer_p5",
457724ba675SRob Herring					  "imp_sleep_timer_p7",
458724ba675SRob Herring					  "imp_sleep_timer_p8";
459724ba675SRob Herring			status = "disabled";
460724ba675SRob Herring
461724ba675SRob Herring			/* ports are defined in board DTS */
462724ba675SRob Herring			ports {
463724ba675SRob Herring				#address-cells = <1>;
464724ba675SRob Herring				#size-cells = <0>;
465724ba675SRob Herring			};
466724ba675SRob Herring		};
467724ba675SRob Herring
468724ba675SRob Herring		i2c0: i2c@38000 {
469724ba675SRob Herring			compatible = "brcm,iproc-i2c";
470724ba675SRob Herring			reg = <0x38000 0x50>;
471724ba675SRob Herring			#address-cells = <1>;
472724ba675SRob Herring			#size-cells = <0>;
473724ba675SRob Herring			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
474724ba675SRob Herring			clock-frequency = <100000>;
475724ba675SRob Herring			dma-coherent;
476724ba675SRob Herring			status = "disabled";
477724ba675SRob Herring		};
478724ba675SRob Herring
479724ba675SRob Herring		watchdog@39000 {
480724ba675SRob Herring			compatible = "arm,sp805", "arm,primecell";
481724ba675SRob Herring			reg = <0x39000 0x1000>;
482724ba675SRob Herring			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
483724ba675SRob Herring			clocks = <&iprocslow>, <&iprocslow>;
484724ba675SRob Herring			clock-names = "wdog_clk", "apb_pclk";
485724ba675SRob Herring		};
486724ba675SRob Herring
487724ba675SRob Herring		lcpll0: lcpll0@3f100 {
488724ba675SRob Herring			#clock-cells = <1>;
489724ba675SRob Herring			compatible = "brcm,nsp-lcpll0";
490724ba675SRob Herring			reg = <0x3f100 0x14>;
491724ba675SRob Herring			clocks = <&osc>;
492724ba675SRob Herring			clock-output-names = "lcpll0", "pcie_phy", "sdio",
493724ba675SRob Herring					     "ddr_phy";
494724ba675SRob Herring		};
495724ba675SRob Herring
496724ba675SRob Herring		genpll: genpll@3f140 {
497724ba675SRob Herring			#clock-cells = <1>;
498724ba675SRob Herring			compatible = "brcm,nsp-genpll";
499724ba675SRob Herring			reg = <0x3f140 0x24>;
500724ba675SRob Herring			clocks = <&osc>;
501724ba675SRob Herring			clock-output-names = "genpll", "phy", "ethernetclk",
502724ba675SRob Herring					     "usbclk", "iprocfast", "sata1",
503724ba675SRob Herring					     "sata2";
504724ba675SRob Herring		};
505724ba675SRob Herring
506724ba675SRob Herring		pinctrl: pinctrl@3f1c0 {
507724ba675SRob Herring			compatible = "brcm,nsp-pinmux";
508724ba675SRob Herring			reg = <0x3f1c0 0x04>,
509724ba675SRob Herring			      <0x30028 0x04>,
510724ba675SRob Herring			      <0x3f408 0x04>;
511724ba675SRob Herring		};
512724ba675SRob Herring
513724ba675SRob Herring		thermal: thermal@3f2c0 {
514724ba675SRob Herring			compatible = "brcm,ns-thermal";
515724ba675SRob Herring			reg = <0x3f2c0 0x10>;
516724ba675SRob Herring			#thermal-sensor-cells = <0>;
517724ba675SRob Herring		};
518724ba675SRob Herring
519724ba675SRob Herring		sata_phy: sata_phy@40100 {
520724ba675SRob Herring			compatible = "brcm,iproc-nsp-sata-phy";
521724ba675SRob Herring			reg = <0x40100 0x340>;
522724ba675SRob Herring			reg-names = "phy";
523724ba675SRob Herring			#address-cells = <1>;
524724ba675SRob Herring			#size-cells = <0>;
525724ba675SRob Herring
526724ba675SRob Herring			sata_phy0: sata-phy@0 {
527724ba675SRob Herring				reg = <0>;
528724ba675SRob Herring				#phy-cells = <0>;
529724ba675SRob Herring				status = "disabled";
530724ba675SRob Herring			};
531724ba675SRob Herring
532724ba675SRob Herring			sata_phy1: sata-phy@1 {
533724ba675SRob Herring				reg = <1>;
534724ba675SRob Herring				#phy-cells = <0>;
535724ba675SRob Herring				status = "disabled";
536724ba675SRob Herring			};
537724ba675SRob Herring		};
538724ba675SRob Herring
539724ba675SRob Herring		sata: sata@41000 {
540724ba675SRob Herring			compatible = "brcm,bcm-nsp-ahci";
541724ba675SRob Herring			reg-names = "ahci", "top-ctrl";
542724ba675SRob Herring			reg = <0x41000 0x1000>, <0x40020 0x1c>;
543724ba675SRob Herring			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
544724ba675SRob Herring			#address-cells = <1>;
545724ba675SRob Herring			#size-cells = <0>;
546724ba675SRob Herring			dma-coherent;
547724ba675SRob Herring			status = "disabled";
548724ba675SRob Herring
549724ba675SRob Herring			sata0: sata-port@0 {
550724ba675SRob Herring				reg = <0>;
551724ba675SRob Herring				phys = <&sata_phy0>;
552724ba675SRob Herring				phy-names = "sata-phy";
553724ba675SRob Herring			};
554724ba675SRob Herring
555724ba675SRob Herring			sata1: sata-port@1 {
556724ba675SRob Herring				reg = <1>;
557724ba675SRob Herring				phys = <&sata_phy1>;
558724ba675SRob Herring				phy-names = "sata-phy";
559724ba675SRob Herring			};
560724ba675SRob Herring		};
561724ba675SRob Herring
562724ba675SRob Herring		usb3_dmp: syscon@104000 {
563724ba675SRob Herring			reg = <0x104000 0x1000>;
564724ba675SRob Herring		};
565724ba675SRob Herring	};
566724ba675SRob Herring
567724ba675SRob Herring	pcie0: pcie@18012000 {
568724ba675SRob Herring		compatible = "brcm,iproc-pcie";
569724ba675SRob Herring		reg = <0x18012000 0x1000>;
570724ba675SRob Herring
571724ba675SRob Herring		#interrupt-cells = <1>;
572724ba675SRob Herring		interrupt-map-mask = <0 0 0 0>;
573724ba675SRob Herring		interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
574724ba675SRob Herring
575724ba675SRob Herring		linux,pci-domain = <0>;
576724ba675SRob Herring
577724ba675SRob Herring		bus-range = <0x00 0xff>;
578724ba675SRob Herring
579724ba675SRob Herring		#address-cells = <3>;
580724ba675SRob Herring		#size-cells = <2>;
581724ba675SRob Herring		device_type = "pci";
582724ba675SRob Herring
583724ba675SRob Herring		/* Note: The HW does not support I/O resources.  So,
584724ba675SRob Herring		 * only the memory resource range is being specified.
585724ba675SRob Herring		 */
586724ba675SRob Herring		ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
587724ba675SRob Herring
588724ba675SRob Herring		dma-coherent;
589724ba675SRob Herring		status = "disabled";
590724ba675SRob Herring
591724ba675SRob Herring		msi-parent = <&msi0>;
592724ba675SRob Herring		msi0: msi {
593724ba675SRob Herring			compatible = "brcm,iproc-msi";
594724ba675SRob Herring			msi-controller;
595724ba675SRob Herring			interrupt-parent = <&gic>;
596724ba675SRob Herring			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
597724ba675SRob Herring				     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
598724ba675SRob Herring				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
599724ba675SRob Herring				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
600724ba675SRob Herring			brcm,pcie-msi-inten;
601724ba675SRob Herring		};
602724ba675SRob Herring	};
603724ba675SRob Herring
604724ba675SRob Herring	pcie1: pcie@18013000 {
605724ba675SRob Herring		compatible = "brcm,iproc-pcie";
606724ba675SRob Herring		reg = <0x18013000 0x1000>;
607724ba675SRob Herring
608724ba675SRob Herring		#interrupt-cells = <1>;
609724ba675SRob Herring		interrupt-map-mask = <0 0 0 0>;
610724ba675SRob Herring		interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
611724ba675SRob Herring
612724ba675SRob Herring		linux,pci-domain = <1>;
613724ba675SRob Herring
614724ba675SRob Herring		bus-range = <0x00 0xff>;
615724ba675SRob Herring
616724ba675SRob Herring		#address-cells = <3>;
617724ba675SRob Herring		#size-cells = <2>;
618724ba675SRob Herring		device_type = "pci";
619724ba675SRob Herring
620724ba675SRob Herring		/* Note: The HW does not support I/O resources.  So,
621724ba675SRob Herring		 * only the memory resource range is being specified.
622724ba675SRob Herring		 */
623724ba675SRob Herring		ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
624724ba675SRob Herring
625724ba675SRob Herring		dma-coherent;
626724ba675SRob Herring		status = "disabled";
627724ba675SRob Herring
628724ba675SRob Herring		msi-parent = <&msi1>;
629724ba675SRob Herring		msi1: msi {
630724ba675SRob Herring			compatible = "brcm,iproc-msi";
631724ba675SRob Herring			msi-controller;
632724ba675SRob Herring			interrupt-parent = <&gic>;
633724ba675SRob Herring			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
634724ba675SRob Herring				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
635724ba675SRob Herring				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
636724ba675SRob Herring				     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
637724ba675SRob Herring			brcm,pcie-msi-inten;
638724ba675SRob Herring		};
639724ba675SRob Herring	};
640724ba675SRob Herring
641724ba675SRob Herring	pcie2: pcie@18014000 {
642724ba675SRob Herring		compatible = "brcm,iproc-pcie";
643724ba675SRob Herring		reg = <0x18014000 0x1000>;
644724ba675SRob Herring
645724ba675SRob Herring		#interrupt-cells = <1>;
646724ba675SRob Herring		interrupt-map-mask = <0 0 0 0>;
647724ba675SRob Herring		interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
648724ba675SRob Herring
649724ba675SRob Herring		linux,pci-domain = <2>;
650724ba675SRob Herring
651724ba675SRob Herring		bus-range = <0x00 0xff>;
652724ba675SRob Herring
653724ba675SRob Herring		#address-cells = <3>;
654724ba675SRob Herring		#size-cells = <2>;
655724ba675SRob Herring		device_type = "pci";
656724ba675SRob Herring
657724ba675SRob Herring		/* Note: The HW does not support I/O resources.  So,
658724ba675SRob Herring		 * only the memory resource range is being specified.
659724ba675SRob Herring		 */
660724ba675SRob Herring		ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
661724ba675SRob Herring
662724ba675SRob Herring		dma-coherent;
663724ba675SRob Herring		status = "disabled";
664724ba675SRob Herring
665724ba675SRob Herring		msi-parent = <&msi2>;
666724ba675SRob Herring		msi2: msi {
667724ba675SRob Herring			compatible = "brcm,iproc-msi";
668724ba675SRob Herring			msi-controller;
669724ba675SRob Herring			interrupt-parent = <&gic>;
670724ba675SRob Herring			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
671724ba675SRob Herring				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
672724ba675SRob Herring				     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
673724ba675SRob Herring				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
674724ba675SRob Herring			brcm,pcie-msi-inten;
675724ba675SRob Herring		};
676724ba675SRob Herring	};
677724ba675SRob Herring
678724ba675SRob Herring	thermal-zones {
679724ba675SRob Herring		cpu-thermal {
680724ba675SRob Herring			polling-delay-passive = <0>;
681724ba675SRob Herring			polling-delay = <1000>;
682724ba675SRob Herring			coefficients = <(-556) 418000>;
683724ba675SRob Herring			thermal-sensors = <&thermal>;
684724ba675SRob Herring
685724ba675SRob Herring			trips {
686724ba675SRob Herring				cpu-crit {
687724ba675SRob Herring					temperature     = <125000>;
688724ba675SRob Herring					hysteresis      = <0>;
689724ba675SRob Herring					type            = "critical";
690724ba675SRob Herring				};
691724ba675SRob Herring			};
692724ba675SRob Herring
693724ba675SRob Herring			cooling-maps {
694724ba675SRob Herring			};
695724ba675SRob Herring		};
696724ba675SRob Herring	};
697724ba675SRob Herring};
698