1724ba675SRob Herring/*
2724ba675SRob Herring *  BSD LICENSE
3724ba675SRob Herring *
4724ba675SRob Herring *  Copyright(c) 2014 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-cygnus.h>
36724ba675SRob Herring
37724ba675SRob Herring/ {
38724ba675SRob Herring	#address-cells = <1>;
39724ba675SRob Herring	#size-cells = <1>;
40724ba675SRob Herring	compatible = "brcm,cygnus";
41724ba675SRob Herring	model = "Broadcom Cygnus SoC";
42724ba675SRob Herring	interrupt-parent = <&gic>;
43724ba675SRob Herring
44724ba675SRob Herring	aliases {
45724ba675SRob Herring		ethernet0 = &eth0;
46724ba675SRob Herring	};
47724ba675SRob Herring
48724ba675SRob Herring	memory@0 {
49724ba675SRob Herring		device_type = "memory";
50724ba675SRob Herring		reg = <0 0>;
51724ba675SRob Herring	};
52724ba675SRob Herring
53724ba675SRob Herring	cpus {
54724ba675SRob Herring		#address-cells = <1>;
55724ba675SRob Herring		#size-cells = <0>;
56724ba675SRob Herring
57724ba675SRob Herring		cpu@0 {
58724ba675SRob Herring			device_type = "cpu";
59724ba675SRob Herring			compatible = "arm,cortex-a9";
60724ba675SRob Herring			next-level-cache = <&L2>;
61724ba675SRob Herring			reg = <0x0>;
62724ba675SRob Herring		};
63724ba675SRob Herring	};
64724ba675SRob Herring
65724ba675SRob Herring	/include/ "bcm-cygnus-clock.dtsi"
66724ba675SRob Herring
67724ba675SRob Herring	pmu {
68724ba675SRob Herring		compatible = "arm,cortex-a9-pmu";
69724ba675SRob Herring		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
70724ba675SRob Herring	};
71724ba675SRob Herring
72724ba675SRob Herring	core@19000000 {
73724ba675SRob Herring		compatible = "simple-bus";
74724ba675SRob Herring		ranges = <0x00000000 0x19000000 0x1000000>;
75724ba675SRob Herring		#address-cells = <1>;
76724ba675SRob Herring		#size-cells = <1>;
77724ba675SRob Herring
78724ba675SRob Herring		timer@20200 {
79724ba675SRob Herring			compatible = "arm,cortex-a9-global-timer";
80724ba675SRob Herring			reg = <0x20200 0x100>;
81724ba675SRob Herring			interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
82724ba675SRob Herring			clocks = <&periph_clk>;
83724ba675SRob Herring		};
84724ba675SRob Herring
85724ba675SRob Herring		gic: interrupt-controller@21000 {
86724ba675SRob Herring			compatible = "arm,cortex-a9-gic";
87724ba675SRob Herring			#interrupt-cells = <3>;
88724ba675SRob Herring			#address-cells = <0>;
89724ba675SRob Herring			interrupt-controller;
90724ba675SRob Herring			reg = <0x21000 0x1000>,
91724ba675SRob Herring			      <0x20100 0x100>;
92724ba675SRob Herring		};
93724ba675SRob Herring
94724ba675SRob Herring		L2: cache-controller@22000 {
95724ba675SRob Herring			compatible = "arm,pl310-cache";
96724ba675SRob Herring			reg = <0x22000 0x1000>;
97724ba675SRob Herring			cache-unified;
98724ba675SRob Herring			cache-level = <2>;
99724ba675SRob Herring		};
100724ba675SRob Herring	};
101724ba675SRob Herring
102724ba675SRob Herring	axi {
103724ba675SRob Herring		compatible = "simple-bus";
104724ba675SRob Herring		ranges;
105724ba675SRob Herring		#address-cells = <1>;
106724ba675SRob Herring		#size-cells = <1>;
107724ba675SRob Herring
108724ba675SRob Herring		otp: otp@301c800 {
109724ba675SRob Herring			compatible = "brcm,ocotp";
110724ba675SRob Herring			reg = <0x0301c800 0x2c>;
111724ba675SRob Herring			brcm,ocotp-size = <2048>;
112724ba675SRob Herring			status = "disabled";
113724ba675SRob Herring		};
114724ba675SRob Herring
115724ba675SRob Herring		pcie_phy: pcie_phy@301d0a0 {
116724ba675SRob Herring			compatible = "brcm,cygnus-pcie-phy";
117724ba675SRob Herring			reg = <0x0301d0a0 0x14>;
118724ba675SRob Herring			#address-cells = <1>;
119724ba675SRob Herring			#size-cells = <0>;
120724ba675SRob Herring
121724ba675SRob Herring			pcie0_phy: pcie-phy@0 {
122724ba675SRob Herring				reg = <0>;
123724ba675SRob Herring				#phy-cells = <0>;
124724ba675SRob Herring			};
125724ba675SRob Herring
126724ba675SRob Herring			pcie1_phy: pcie-phy@1 {
127724ba675SRob Herring				reg = <1>;
128724ba675SRob Herring				#phy-cells = <0>;
129724ba675SRob Herring			};
130724ba675SRob Herring		};
131724ba675SRob Herring
132724ba675SRob Herring		pinctrl: pinctrl@301d0c8 {
133724ba675SRob Herring			compatible = "brcm,cygnus-pinmux";
134724ba675SRob Herring			reg = <0x0301d0c8 0x30>,
135724ba675SRob Herring			      <0x0301d24c 0x2c>;
136724ba675SRob Herring
137724ba675SRob Herring			spi_0: spi_0 {
138724ba675SRob Herring				function = "spi0";
139724ba675SRob Herring				groups = "spi0_grp";
140724ba675SRob Herring			};
141724ba675SRob Herring
142724ba675SRob Herring			spi_1: spi_1 {
143724ba675SRob Herring				function = "spi1";
144724ba675SRob Herring				groups = "spi1_grp";
145724ba675SRob Herring			};
146724ba675SRob Herring
147724ba675SRob Herring			spi_2: spi_2 {
148724ba675SRob Herring				function = "spi2";
149724ba675SRob Herring				groups = "spi2_grp";
150724ba675SRob Herring			};
151724ba675SRob Herring		};
152724ba675SRob Herring
153724ba675SRob Herring		mailbox: mailbox@3024024 {
154724ba675SRob Herring			compatible = "brcm,iproc-mailbox";
155724ba675SRob Herring			reg = <0x03024024 0x40>;
156724ba675SRob Herring			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
157724ba675SRob Herring			#interrupt-cells = <1>;
158724ba675SRob Herring			interrupt-controller;
159724ba675SRob Herring			#mbox-cells = <1>;
160724ba675SRob Herring		};
161724ba675SRob Herring
162724ba675SRob Herring		gpio_crmu: gpio@3024800 {
163724ba675SRob Herring			compatible = "brcm,cygnus-crmu-gpio";
164724ba675SRob Herring			reg = <0x03024800 0x50>,
165724ba675SRob Herring			      <0x03024008 0x18>;
166724ba675SRob Herring			ngpios = <6>;
167724ba675SRob Herring			#gpio-cells = <2>;
168724ba675SRob Herring			gpio-controller;
169724ba675SRob Herring			interrupt-controller;
170*ab7e3fe1SRob Herring			#interrupt-cells = <2>;
171724ba675SRob Herring			interrupt-parent = <&mailbox>;
172724ba675SRob Herring			interrupts = <0>;
173724ba675SRob Herring		};
174724ba675SRob Herring
175724ba675SRob Herring		mdio: mdio@18002000 {
176724ba675SRob Herring			compatible = "brcm,iproc-mdio";
177724ba675SRob Herring			reg = <0x18002000 0x8>;
178724ba675SRob Herring			#size-cells = <0>;
179724ba675SRob Herring			#address-cells = <1>;
180724ba675SRob Herring			status = "disabled";
181724ba675SRob Herring
182724ba675SRob Herring			gphy0: ethernet-phy@0 {
183724ba675SRob Herring				reg = <0>;
184724ba675SRob Herring			};
185724ba675SRob Herring
186724ba675SRob Herring			gphy1: ethernet-phy@1 {
187724ba675SRob Herring				reg = <1>;
188724ba675SRob Herring			};
189724ba675SRob Herring		};
190724ba675SRob Herring
191724ba675SRob Herring		switch: switch@18007000 {
192724ba675SRob Herring			compatible = "brcm,bcm11360-srab", "brcm,cygnus-srab";
193724ba675SRob Herring			reg = <0x18007000 0x1000>;
194724ba675SRob Herring			status = "disabled";
195724ba675SRob Herring
196724ba675SRob Herring			ports {
197724ba675SRob Herring				#address-cells = <1>;
198724ba675SRob Herring				#size-cells = <0>;
199724ba675SRob Herring
200724ba675SRob Herring				port@0 {
201724ba675SRob Herring					reg = <0>;
202724ba675SRob Herring					phy-handle = <&gphy0>;
203724ba675SRob Herring					phy-mode = "rgmii";
204724ba675SRob Herring				};
205724ba675SRob Herring
206724ba675SRob Herring				port@1 {
207724ba675SRob Herring					reg = <1>;
208724ba675SRob Herring					phy-handle = <&gphy1>;
209724ba675SRob Herring					phy-mode = "rgmii";
210724ba675SRob Herring				};
211724ba675SRob Herring
212724ba675SRob Herring				port@8 {
213724ba675SRob Herring					reg = <8>;
214724ba675SRob Herring					label = "cpu";
215724ba675SRob Herring					ethernet = <&eth0>;
216724ba675SRob Herring					fixed-link {
217724ba675SRob Herring						speed = <1000>;
218724ba675SRob Herring						full-duplex;
219724ba675SRob Herring					};
220724ba675SRob Herring				};
221724ba675SRob Herring			};
222724ba675SRob Herring		};
223724ba675SRob Herring
224724ba675SRob Herring		i2c0: i2c@18008000 {
225724ba675SRob Herring			compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
226724ba675SRob Herring			reg = <0x18008000 0x100>;
227724ba675SRob Herring			#address-cells = <1>;
228724ba675SRob Herring			#size-cells = <0>;
229724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
230724ba675SRob Herring			clock-frequency = <100000>;
231724ba675SRob Herring			status = "disabled";
232724ba675SRob Herring		};
233724ba675SRob Herring
234724ba675SRob Herring		wdt0: wdt@18009000 {
235724ba675SRob Herring			compatible = "arm,sp805" , "arm,primecell";
236724ba675SRob Herring			reg = <0x18009000 0x1000>;
237724ba675SRob Herring			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
238724ba675SRob Herring			clocks = <&axi81_clk>, <&axi81_clk>;
239724ba675SRob Herring			clock-names = "wdog_clk", "apb_pclk";
240724ba675SRob Herring		};
241724ba675SRob Herring
242724ba675SRob Herring		gpio_ccm: gpio@1800a000 {
243724ba675SRob Herring			compatible = "brcm,cygnus-ccm-gpio";
244724ba675SRob Herring			reg = <0x1800a000 0x50>,
245724ba675SRob Herring			      <0x0301d164 0x20>;
246724ba675SRob Herring			ngpios = <24>;
247724ba675SRob Herring			#gpio-cells = <2>;
248724ba675SRob Herring			gpio-controller;
249724ba675SRob Herring			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
250724ba675SRob Herring			interrupt-controller;
251*ab7e3fe1SRob Herring			#interrupt-cells = <2>;
252724ba675SRob Herring		};
253724ba675SRob Herring
254724ba675SRob Herring		i2c1: i2c@1800b000 {
255724ba675SRob Herring			compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
256724ba675SRob Herring			reg = <0x1800b000 0x100>;
257724ba675SRob Herring			#address-cells = <1>;
258724ba675SRob Herring			#size-cells = <0>;
259724ba675SRob Herring			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
260724ba675SRob Herring			clock-frequency = <100000>;
261724ba675SRob Herring			status = "disabled";
262724ba675SRob Herring		};
263724ba675SRob Herring
264724ba675SRob Herring		pcie0: pcie@18012000 {
265724ba675SRob Herring			compatible = "brcm,iproc-pcie";
266724ba675SRob Herring			reg = <0x18012000 0x1000>;
267724ba675SRob Herring
268724ba675SRob Herring			#interrupt-cells = <1>;
269724ba675SRob Herring			interrupt-map-mask = <0 0 0 0>;
270724ba675SRob Herring			interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
271724ba675SRob Herring
272724ba675SRob Herring			linux,pci-domain = <0>;
273724ba675SRob Herring
274724ba675SRob Herring			bus-range = <0x00 0xff>;
275724ba675SRob Herring
276724ba675SRob Herring			#address-cells = <3>;
277724ba675SRob Herring			#size-cells = <2>;
278724ba675SRob Herring			device_type = "pci";
279724ba675SRob Herring			ranges = <0x81000000 0 0	  0x28000000 0 0x00010000>,
280724ba675SRob Herring				 <0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
281724ba675SRob Herring
282724ba675SRob Herring			phys = <&pcie0_phy>;
283724ba675SRob Herring			phy-names = "pcie-phy";
284724ba675SRob Herring
285724ba675SRob Herring			status = "disabled";
286724ba675SRob Herring
287724ba675SRob Herring			msi-parent = <&msi0>;
288724ba675SRob Herring			msi0: msi {
289724ba675SRob Herring				compatible = "brcm,iproc-msi";
290724ba675SRob Herring				msi-controller;
291724ba675SRob Herring				interrupt-parent = <&gic>;
292724ba675SRob Herring				interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
293724ba675SRob Herring					     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
294724ba675SRob Herring					     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
295724ba675SRob Herring					     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
296724ba675SRob Herring			};
297724ba675SRob Herring		};
298724ba675SRob Herring
299724ba675SRob Herring		pcie1: pcie@18013000 {
300724ba675SRob Herring			compatible = "brcm,iproc-pcie";
301724ba675SRob Herring			reg = <0x18013000 0x1000>;
302724ba675SRob Herring
303724ba675SRob Herring			#interrupt-cells = <1>;
304724ba675SRob Herring			interrupt-map-mask = <0 0 0 0>;
305724ba675SRob Herring			interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
306724ba675SRob Herring
307724ba675SRob Herring			linux,pci-domain = <1>;
308724ba675SRob Herring
309724ba675SRob Herring			bus-range = <0x00 0xff>;
310724ba675SRob Herring
311724ba675SRob Herring			#address-cells = <3>;
312724ba675SRob Herring			#size-cells = <2>;
313724ba675SRob Herring			device_type = "pci";
314724ba675SRob Herring			ranges = <0x81000000 0 0	  0x48000000 0 0x00010000>,
315724ba675SRob Herring				 <0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
316724ba675SRob Herring
317724ba675SRob Herring			phys = <&pcie1_phy>;
318724ba675SRob Herring			phy-names = "pcie-phy";
319724ba675SRob Herring
320724ba675SRob Herring			status = "disabled";
321724ba675SRob Herring
322724ba675SRob Herring			msi-parent = <&msi1>;
323724ba675SRob Herring			msi1: msi {
324724ba675SRob Herring				compatible = "brcm,iproc-msi";
325724ba675SRob Herring				msi-controller;
326724ba675SRob Herring				interrupt-parent = <&gic>;
327724ba675SRob Herring				interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
328724ba675SRob Herring					     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
329724ba675SRob Herring					     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
330724ba675SRob Herring					     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
331724ba675SRob Herring			};
332724ba675SRob Herring		};
333724ba675SRob Herring
334724ba675SRob Herring		dma0: dma@18018000 {
335724ba675SRob Herring			compatible = "arm,pl330", "arm,primecell";
336724ba675SRob Herring			reg = <0x18018000 0x1000>;
337724ba675SRob Herring			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
338724ba675SRob Herring				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
339724ba675SRob Herring				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
340724ba675SRob Herring				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
341724ba675SRob Herring				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
342724ba675SRob Herring				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
343724ba675SRob Herring				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
344724ba675SRob Herring				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
345724ba675SRob Herring				     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
346724ba675SRob Herring			clocks = <&apb_clk>;
347724ba675SRob Herring			clock-names = "apb_pclk";
348724ba675SRob Herring			#dma-cells = <1>;
349724ba675SRob Herring		};
350724ba675SRob Herring
351724ba675SRob Herring		uart0: serial@18020000 {
352724ba675SRob Herring			compatible = "snps,dw-apb-uart";
353724ba675SRob Herring			reg = <0x18020000 0x100>;
354724ba675SRob Herring			reg-shift = <2>;
355724ba675SRob Herring			reg-io-width = <4>;
356724ba675SRob Herring			interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
357724ba675SRob Herring			clocks = <&axi81_clk>;
358724ba675SRob Herring			clock-frequency = <100000000>;
359724ba675SRob Herring			status = "disabled";
360724ba675SRob Herring		};
361724ba675SRob Herring
362724ba675SRob Herring		uart1: serial@18021000 {
363724ba675SRob Herring			compatible = "snps,dw-apb-uart";
364724ba675SRob Herring			reg = <0x18021000 0x100>;
365724ba675SRob Herring			reg-shift = <2>;
366724ba675SRob Herring			reg-io-width = <4>;
367724ba675SRob Herring			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
368724ba675SRob Herring			clocks = <&axi81_clk>;
369724ba675SRob Herring			clock-frequency = <100000000>;
370724ba675SRob Herring			status = "disabled";
371724ba675SRob Herring		};
372724ba675SRob Herring
373724ba675SRob Herring		uart2: serial@18022000 {
374724ba675SRob Herring			compatible = "snps,dw-apb-uart";
375724ba675SRob Herring			reg = <0x18022000 0x100>;
376724ba675SRob Herring			reg-shift = <2>;
377724ba675SRob Herring			reg-io-width = <4>;
378724ba675SRob Herring			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
379724ba675SRob Herring			clocks = <&axi81_clk>;
380724ba675SRob Herring			clock-frequency = <100000000>;
381724ba675SRob Herring			status = "disabled";
382724ba675SRob Herring		};
383724ba675SRob Herring
384724ba675SRob Herring		uart3: serial@18023000 {
385724ba675SRob Herring			compatible = "snps,dw-apb-uart";
386724ba675SRob Herring			reg = <0x18023000 0x100>;
387724ba675SRob Herring			reg-shift = <2>;
388724ba675SRob Herring			reg-io-width = <4>;
389724ba675SRob Herring			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
390724ba675SRob Herring			clocks = <&axi81_clk>;
391724ba675SRob Herring			clock-frequency = <100000000>;
392724ba675SRob Herring			status = "disabled";
393724ba675SRob Herring		};
394724ba675SRob Herring
395724ba675SRob Herring		spi0: spi@18028000 {
396724ba675SRob Herring			compatible = "arm,pl022", "arm,primecell";
397724ba675SRob Herring			reg = <0x18028000 0x1000>;
398724ba675SRob Herring			#address-cells = <1>;
399724ba675SRob Herring			#size-cells = <0>;
400724ba675SRob Herring			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
401724ba675SRob Herring			pinctrl-0 = <&spi_0>;
402724ba675SRob Herring			clocks = <&axi81_clk>, <&axi81_clk>;
403724ba675SRob Herring			clock-names = "sspclk", "apb_pclk";
404724ba675SRob Herring			status = "disabled";
405724ba675SRob Herring		};
406724ba675SRob Herring
407724ba675SRob Herring		spi1: spi@18029000 {
408724ba675SRob Herring			compatible = "arm,pl022", "arm,primecell";
409724ba675SRob Herring			reg = <0x18029000 0x1000>;
410724ba675SRob Herring			#address-cells = <1>;
411724ba675SRob Herring			#size-cells = <0>;
412724ba675SRob Herring			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
413724ba675SRob Herring			pinctrl-0 = <&spi_1>;
414724ba675SRob Herring			clocks = <&axi81_clk>, <&axi81_clk>;
415724ba675SRob Herring			clock-names = "sspclk", "apb_pclk";
416724ba675SRob Herring			status = "disabled";
417724ba675SRob Herring		};
418724ba675SRob Herring
419724ba675SRob Herring		spi2: spi@1802a000 {
420724ba675SRob Herring			compatible = "arm,pl022", "arm,primecell";
421724ba675SRob Herring			reg = <0x1802a000 0x1000>;
422724ba675SRob Herring			#address-cells = <1>;
423724ba675SRob Herring			#size-cells = <0>;
424724ba675SRob Herring			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
425724ba675SRob Herring			pinctrl-0 = <&spi_2>;
426724ba675SRob Herring			clocks = <&axi81_clk>, <&axi81_clk>;
427724ba675SRob Herring			clock-names = "sspclk", "apb_pclk";
428724ba675SRob Herring			status = "disabled";
429724ba675SRob Herring		};
430724ba675SRob Herring
431724ba675SRob Herring		rng: rng@18032000 {
432724ba675SRob Herring			compatible = "brcm,iproc-rng200";
433724ba675SRob Herring			reg = <0x18032000 0x28>;
434724ba675SRob Herring		};
435724ba675SRob Herring
436724ba675SRob Herring		sdhci0: sdhci@18041000 {
437724ba675SRob Herring			compatible = "brcm,sdhci-iproc-cygnus";
438724ba675SRob Herring			reg = <0x18041000 0x100>;
439724ba675SRob Herring			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
440724ba675SRob Herring			clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
441724ba675SRob Herring			bus-width = <4>;
442724ba675SRob Herring			sdhci,auto-cmd12;
443724ba675SRob Herring			status = "disabled";
444724ba675SRob Herring		};
445724ba675SRob Herring
446724ba675SRob Herring		eth0: ethernet@18042000 {
447724ba675SRob Herring			compatible = "brcm,amac";
448724ba675SRob Herring			reg = <0x18042000 0x1000>,
449724ba675SRob Herring			      <0x18110000 0x1000>;
450724ba675SRob Herring			reg-names = "amac_base", "idm_base";
451724ba675SRob Herring			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
452724ba675SRob Herring			status = "disabled";
453724ba675SRob Herring		};
454724ba675SRob Herring
455724ba675SRob Herring		sdhci1: sdhci@18043000 {
456724ba675SRob Herring			compatible = "brcm,sdhci-iproc-cygnus";
457724ba675SRob Herring			reg = <0x18043000 0x100>;
458724ba675SRob Herring			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
459724ba675SRob Herring			clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
460724ba675SRob Herring			bus-width = <4>;
461724ba675SRob Herring			sdhci,auto-cmd12;
462724ba675SRob Herring			status = "disabled";
463724ba675SRob Herring		};
464724ba675SRob Herring
465724ba675SRob Herring		nand_controller: nand-controller@18046000 {
466724ba675SRob Herring			compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
467724ba675SRob Herring			reg = <0x18046000 0x600>, <0xf8105408 0x600>,
468724ba675SRob Herring			      <0x18046f00 0x20>;
469724ba675SRob Herring			reg-names = "nand", "iproc-idm", "iproc-ext";
470724ba675SRob Herring			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
471724ba675SRob Herring
472724ba675SRob Herring			#address-cells = <1>;
473724ba675SRob Herring			#size-cells = <0>;
474724ba675SRob Herring
475724ba675SRob Herring			brcm,nand-has-wp;
476724ba675SRob Herring		};
477724ba675SRob Herring
478724ba675SRob Herring		ehci0: usb@18048000 {
479724ba675SRob Herring			compatible = "generic-ehci";
480724ba675SRob Herring			reg = <0x18048000 0x100>;
481724ba675SRob Herring			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
482724ba675SRob Herring			status = "disabled";
483724ba675SRob Herring		};
484724ba675SRob Herring
485724ba675SRob Herring		ohci0: usb@18048800 {
486724ba675SRob Herring			compatible = "generic-ohci";
487724ba675SRob Herring			reg = <0x18048800 0x100>;
488724ba675SRob Herring			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
489724ba675SRob Herring			status = "disabled";
490724ba675SRob Herring		};
491724ba675SRob Herring
492724ba675SRob Herring		clcd: clcd@180a0000 {
493724ba675SRob Herring			compatible = "arm,pl111", "arm,primecell";
494724ba675SRob Herring			reg = <0x180a0000 0x1000>;
495724ba675SRob Herring			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
496724ba675SRob Herring			interrupt-names = "combined";
497724ba675SRob Herring			clocks = <&axi41_clk>, <&apb_clk>;
498724ba675SRob Herring			clock-names = "clcdclk", "apb_pclk";
499724ba675SRob Herring			status = "disabled";
500724ba675SRob Herring		};
501724ba675SRob Herring
502724ba675SRob Herring		v3d: v3d@180a2000 {
503724ba675SRob Herring			compatible = "brcm,cygnus-v3d";
504724ba675SRob Herring			reg = <0x180a2000 0x1000>;
505724ba675SRob Herring			clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
506724ba675SRob Herring			clock-names = "v3d_clk";
507724ba675SRob Herring			interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
508724ba675SRob Herring			status = "disabled";
509724ba675SRob Herring		};
510724ba675SRob Herring
511724ba675SRob Herring		vc4: gpu {
512724ba675SRob Herring			compatible = "brcm,cygnus-vc4";
513724ba675SRob Herring		};
514724ba675SRob Herring
515724ba675SRob Herring		gpio_asiu: gpio@180a5000 {
516724ba675SRob Herring			compatible = "brcm,cygnus-asiu-gpio";
517724ba675SRob Herring			reg = <0x180a5000 0x668>;
518724ba675SRob Herring			ngpios = <146>;
519724ba675SRob Herring			#gpio-cells = <2>;
520724ba675SRob Herring			gpio-controller;
521724ba675SRob Herring
522724ba675SRob Herring			interrupt-controller;
523*ab7e3fe1SRob Herring			#interrupt-cells = <2>;
524724ba675SRob Herring			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
525724ba675SRob Herring			gpio-ranges = <&pinctrl 0 42 1>,
526724ba675SRob Herring					<&pinctrl 1 44 3>,
527724ba675SRob Herring					<&pinctrl 4 48 1>,
528724ba675SRob Herring					<&pinctrl 5 50 3>,
529724ba675SRob Herring					<&pinctrl 8 126 1>,
530724ba675SRob Herring					<&pinctrl 9 155 1>,
531724ba675SRob Herring					<&pinctrl 10 152 1>,
532724ba675SRob Herring					<&pinctrl 11 154 1>,
533724ba675SRob Herring					<&pinctrl 12 153 1>,
534724ba675SRob Herring					<&pinctrl 13 127 3>,
535724ba675SRob Herring					<&pinctrl 16 140 1>,
536724ba675SRob Herring					<&pinctrl 17 145 7>,
537724ba675SRob Herring					<&pinctrl 24 130 10>,
538724ba675SRob Herring					<&pinctrl 34 141 4>,
539724ba675SRob Herring					<&pinctrl 38 54 1>,
540724ba675SRob Herring					<&pinctrl 39 56 3>,
541724ba675SRob Herring					<&pinctrl 42 60 3>,
542724ba675SRob Herring					<&pinctrl 45 64 3>,
543724ba675SRob Herring					<&pinctrl 48 68 2>,
544724ba675SRob Herring					<&pinctrl 50 84 6>,
545724ba675SRob Herring					<&pinctrl 56 94 6>,
546724ba675SRob Herring					<&pinctrl 62 72 1>,
547724ba675SRob Herring					<&pinctrl 63 70 1>,
548724ba675SRob Herring					<&pinctrl 64 80 1>,
549724ba675SRob Herring					<&pinctrl 65 74 3>,
550724ba675SRob Herring					<&pinctrl 68 78 1>,
551724ba675SRob Herring					<&pinctrl 69 82 1>,
552724ba675SRob Herring					<&pinctrl 70 156 17>,
553724ba675SRob Herring					<&pinctrl 87 104 12>,
554724ba675SRob Herring					<&pinctrl 99 102 2>,
555724ba675SRob Herring					<&pinctrl 101 90 4>,
556724ba675SRob Herring					<&pinctrl 105 116 6>,
557724ba675SRob Herring					<&pinctrl 111 100 2>,
558724ba675SRob Herring					<&pinctrl 113 122 4>,
559724ba675SRob Herring					<&pinctrl 123 11 1>,
560724ba675SRob Herring					<&pinctrl 124 38 4>,
561724ba675SRob Herring					<&pinctrl 128 43 1>,
562724ba675SRob Herring					<&pinctrl 129 47 1>,
563724ba675SRob Herring					<&pinctrl 130 49 1>,
564724ba675SRob Herring					<&pinctrl 131 53 1>,
565724ba675SRob Herring					<&pinctrl 132 55 1>,
566724ba675SRob Herring					<&pinctrl 133 59 1>,
567724ba675SRob Herring					<&pinctrl 134 63 1>,
568724ba675SRob Herring					<&pinctrl 135 67 1>,
569724ba675SRob Herring					<&pinctrl 136 71 1>,
570724ba675SRob Herring					<&pinctrl 137 73 1>,
571724ba675SRob Herring					<&pinctrl 138 77 1>,
572724ba675SRob Herring					<&pinctrl 139 79 1>,
573724ba675SRob Herring					<&pinctrl 140 81 1>,
574724ba675SRob Herring					<&pinctrl 141 83 1>,
575724ba675SRob Herring					<&pinctrl 142 10 1>;
576724ba675SRob Herring		};
577724ba675SRob Herring
578724ba675SRob Herring		ts_adc_syscon: ts_adc_syscon@180a6000 {
579724ba675SRob Herring			compatible = "brcm,iproc-ts-adc-syscon", "syscon";
580724ba675SRob Herring			reg = <0x180a6000 0xc30>;
581724ba675SRob Herring		};
582724ba675SRob Herring
583724ba675SRob Herring		touchscreen: touchscreen@180a6000 {
584724ba675SRob Herring			compatible = "brcm,iproc-touchscreen";
585724ba675SRob Herring			#address-cells = <1>;
586724ba675SRob Herring			#size-cells = <1>;
587724ba675SRob Herring			ts_syscon = <&ts_adc_syscon>;
588724ba675SRob Herring			clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
589724ba675SRob Herring			clock-names = "tsc_clk";
590724ba675SRob Herring			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
591724ba675SRob Herring			status = "disabled";
592724ba675SRob Herring		};
593724ba675SRob Herring
594724ba675SRob Herring		adc: adc@180a6000 {
595724ba675SRob Herring			compatible = "brcm,iproc-static-adc";
596724ba675SRob Herring			#io-channel-cells = <1>;
597724ba675SRob Herring			adc-syscon = <&ts_adc_syscon>;
598724ba675SRob Herring			clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
599724ba675SRob Herring			clock-names = "tsc_clk";
600724ba675SRob Herring			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
601724ba675SRob Herring			status = "disabled";
602724ba675SRob Herring		};
603724ba675SRob Herring
604724ba675SRob Herring		pwm: pwm@180aa500 {
605724ba675SRob Herring			compatible = "brcm,kona-pwm";
606724ba675SRob Herring			reg = <0x180aa500 0xc4>;
607724ba675SRob Herring			#pwm-cells = <3>;
608724ba675SRob Herring			clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>;
609724ba675SRob Herring			status = "disabled";
610724ba675SRob Herring		};
611724ba675SRob Herring
612724ba675SRob Herring		keypad: keypad@180ac000 {
613724ba675SRob Herring			compatible = "brcm,bcm-keypad";
614724ba675SRob Herring			reg = <0x180ac000 0x14c>;
615724ba675SRob Herring			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
616724ba675SRob Herring			clocks = <&asiu_clks BCM_CYGNUS_ASIU_KEYPAD_CLK>;
617724ba675SRob Herring			clock-names = "peri_clk";
618724ba675SRob Herring			clock-frequency = <31250>;
619724ba675SRob Herring			pull-up-enabled;
620724ba675SRob Herring			col-debounce-filter-period = <0>;
621724ba675SRob Herring			status-debounce-filter-period = <0>;
622724ba675SRob Herring			row-output-enabled;
623724ba675SRob Herring			status = "disabled";
624724ba675SRob Herring		};
625724ba675SRob Herring	};
626724ba675SRob Herring};
627