1236024Sraj/*
2236024Sraj * P5020 Silicon Device Tree Source
3236024Sraj *
4236024Sraj * Copyright 2010-2011 Freescale Semiconductor Inc.
5236024Sraj *
6236024Sraj * Redistribution and use in source and binary forms, with or without
7236024Sraj * modification, are permitted provided that the following conditions are met:
8236024Sraj *     * Redistributions of source code must retain the above copyright
9236024Sraj *       notice, this list of conditions and the following disclaimer.
10236024Sraj *     * Redistributions in binary form must reproduce the above copyright
11236024Sraj *       notice, this list of conditions and the following disclaimer in the
12236024Sraj *       documentation and/or other materials provided with the distribution.
13236024Sraj *     * Neither the name of Freescale Semiconductor nor the
14236024Sraj *       names of its contributors may be used to endorse or promote products
15236024Sraj *       derived from this software without specific prior written permission.
16236024Sraj *
17236024Sraj *
18236024Sraj * ALTERNATIVELY, this software may be distributed under the terms of the
19236024Sraj * GNU General Public License ("GPL") as published by the Free Software
20236024Sraj * Foundation, either version 2 of that License or (at your option) any
21236024Sraj * later version.
22236024Sraj *
23236024Sraj * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24236024Sraj * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25236024Sraj * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26236024Sraj * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27236024Sraj * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28236024Sraj * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29236024Sraj * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30236024Sraj * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31236024Sraj * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32236024Sraj * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33236024Sraj */
34236024Sraj/* $FreeBSD$ */
35236024Sraj
36236024Sraj/dts-v1/;
37236024Sraj
38236024Sraj/ {
39236024Sraj	compatible = "fsl,P5020";
40236024Sraj	#address-cells = <2>;
41236024Sraj	#size-cells = <2>;
42236024Sraj	interrupt-parent = <&mpic>;
43236024Sraj
44236024Sraj	aliases {
45236024Sraj		ccsr = &soc;
46236024Sraj		dcsr = &dcsr;
47236024Sraj
48236024Sraj		ethernet0 = &enet0;
49236024Sraj		ethernet1 = &enet1;
50236024Sraj		ethernet2 = &enet2;
51236024Sraj		ethernet3 = &enet3;
52236024Sraj		ethernet4 = &enet4;
53236024Sraj		ethernet5 = &enet5;
54236024Sraj		serial0 = &serial0;
55236024Sraj		serial1 = &serial1;
56236024Sraj		serial2 = &serial2;
57236024Sraj		serial3 = &serial3;
58236024Sraj		pci0 = &pci0;
59236024Sraj		pci1 = &pci1;
60236024Sraj		pci2 = &pci2;
61236024Sraj		pci3 = &pci3;
62236024Sraj		usb0 = &usb0;
63236024Sraj		usb1 = &usb1;
64236024Sraj		dma0 = &dma0;
65236024Sraj		dma1 = &dma1;
66236024Sraj		bman = &bman;
67236024Sraj		qman = &qman;
68236024Sraj		pme = &pme;
69236024Sraj		rman = &rman;
70236024Sraj		sdhc = &sdhc;
71236024Sraj		msi0 = &msi0;
72236024Sraj		msi1 = &msi1;
73236024Sraj		msi2 = &msi2;
74236024Sraj
75236024Sraj		crypto = &crypto;
76236024Sraj		sec_jr0 = &sec_jr0;
77236024Sraj		sec_jr1 = &sec_jr1;
78236024Sraj		sec_jr2 = &sec_jr2;
79236024Sraj		sec_jr3 = &sec_jr3;
80236024Sraj		rtic_a = &rtic_a;
81236024Sraj		rtic_b = &rtic_b;
82236024Sraj		rtic_c = &rtic_c;
83236024Sraj		rtic_d = &rtic_d;
84236024Sraj		sec_mon = &sec_mon;
85236024Sraj
86236024Sraj		raideng = &raideng;
87236024Sraj		raideng_jr0 = &raideng_jr0;
88236024Sraj		raideng_jr1 = &raideng_jr1;
89236024Sraj		raideng_jr2 = &raideng_jr2;
90236024Sraj		raideng_jr3 = &raideng_jr3;
91236024Sraj
92236024Sraj		fman0 = &fman0;
93236024Sraj		fman0_oh0 = &fman0_oh0;
94236024Sraj		fman0_oh1 = &fman0_oh1;
95236024Sraj		fman0_oh2 = &fman0_oh2;
96236024Sraj		fman0_oh3 = &fman0_oh3;
97236024Sraj		fman0_oh4 = &fman0_oh4;
98236024Sraj		fman0_oh5 = &fman0_oh5;
99236024Sraj		fman0_oh6 = &fman0_oh6;
100236024Sraj		fman0_rx0 = &fman0_rx0;
101236024Sraj		fman0_rx1 = &fman0_rx1;
102236024Sraj		fman0_rx2 = &fman0_rx2;
103236024Sraj		fman0_rx3 = &fman0_rx3;
104236024Sraj		fman0_rx4 = &fman0_rx4;
105236024Sraj		fman0_rx5 = &fman0_rx5;
106236024Sraj	};
107236024Sraj
108236024Sraj	cpus {
109236024Sraj		#address-cells = <1>;
110236024Sraj		#size-cells = <0>;
111236024Sraj
112236024Sraj		cpu0: PowerPC,e5500@0 {
113236024Sraj			device_type = "cpu";
114236024Sraj			reg = <0>;
115236024Sraj			bus-frequency = <799999998>;
116236024Sraj			next-level-cache = <&L2_0>;
117236024Sraj			L2_0: l2-cache {
118236024Sraj				next-level-cache = <&cpc>;
119236024Sraj			};
120236024Sraj		};
121236024Sraj		cpu1: PowerPC,e5500@1 {
122236024Sraj			device_type = "cpu";
123236024Sraj			reg = <1>;
124236024Sraj			next-level-cache = <&L2_1>;
125236024Sraj			L2_1: l2-cache {
126236024Sraj				next-level-cache = <&cpc>;
127236024Sraj			};
128236024Sraj		};
129236024Sraj	};
130236024Sraj
131236024Sraj	dcsr: dcsr@f00000000 {
132236024Sraj		#address-cells = <1>;
133236024Sraj		#size-cells = <1>;
134236024Sraj		compatible = "fsl,dcsr", "simple-bus";
135236024Sraj
136236024Sraj		dcsr-epu@0 {
137236024Sraj			compatible = "fsl,dcsr-epu";
138236024Sraj			interrupts = <52 2 0 0
139236024Sraj				      84 2 0 0
140236024Sraj				      85 2 0 0>;
141236024Sraj			interrupt-parent = <&mpic>;
142236024Sraj			reg = <0x0 0x1000>;
143236024Sraj		};
144236024Sraj		dcsr-npc {
145236024Sraj			compatible = "fsl,dcsr-npc";
146236024Sraj			reg = <0x1000 0x1000 0x1000000 0x8000>;
147236024Sraj		};
148236024Sraj		dcsr-nxc@2000 {
149236024Sraj			compatible = "fsl,dcsr-nxc";
150236024Sraj			reg = <0x2000 0x1000>;
151236024Sraj		};
152236024Sraj		dcsr-corenet {
153236024Sraj			compatible = "fsl,dcsr-corenet";
154236024Sraj			reg = <0x8000 0x1000 0xB0000 0x1000>;
155236024Sraj		};
156236024Sraj		dcsr-dpaa@9000 {
157236024Sraj			compatible = "fsl,p5020-dcsr-dpaa", "fsl,dcsr-dpaa";
158236024Sraj			reg = <0x9000 0x1000>;
159236024Sraj		};
160236024Sraj		dcsr-ocn@11000 {
161236024Sraj			compatible = "fsl,p5020-dcsr-ocn", "fsl,dcsr-ocn";
162236024Sraj			reg = <0x11000 0x1000>;
163236024Sraj		};
164236024Sraj		dcsr-ddr@12000 {
165236024Sraj			compatible = "fsl,dcsr-ddr";
166236024Sraj			dev-handle = <&ddr1>;
167236024Sraj			reg = <0x12000 0x1000>;
168236024Sraj		};
169236024Sraj		dcsr-ddr@13000 {
170236024Sraj			compatible = "fsl,dcsr-ddr";
171236024Sraj			dev-handle = <&ddr2>;
172236024Sraj			reg = <0x13000 0x1000>;
173236024Sraj		};
174236024Sraj		dcsr-nal@18000 {
175236024Sraj			compatible = "fsl,p5020-dcsr-nal", "fsl,dcsr-nal";
176236024Sraj			reg = <0x18000 0x1000>;
177236024Sraj		};
178236024Sraj		dcsr-rcpm@22000 {
179236024Sraj			compatible = "fsl,p5020-dcsr-rcpm", "fsl,dcsr-rcpm";
180236024Sraj			reg = <0x22000 0x1000>;
181236024Sraj		};
182236024Sraj		dcsr-cpu-sb-proxy@40000 {
183236024Sraj			compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
184236024Sraj			cpu-handle = <&cpu0>;
185236024Sraj			reg = <0x40000 0x1000>;
186236024Sraj		};
187236024Sraj		dcsr-cpu-sb-proxy@41000 {
188236024Sraj			compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
189236024Sraj			cpu-handle = <&cpu1>;
190236024Sraj			reg = <0x41000 0x1000>;
191236024Sraj		};
192236024Sraj	};
193236024Sraj
194236024Sraj	bman-portals@ff4000000 {
195236024Sraj		#address-cells = <0x1>;
196236024Sraj		#size-cells = <0x1>;
197236024Sraj		compatible = "bman-portals";
198236024Sraj		ranges = <0x0 0xf 0xfde00000 0x200000>;
199236024Sraj		bman-portal@0 {
200236024Sraj			cell-index = <0x0>;
201236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
202236024Sraj			reg = <0x0 0x4000 0x100000 0x1000>;
203236024Sraj			interrupts = <105 2 0 0>;
204236024Sraj		};
205236024Sraj		bman-portal@4000 {
206236024Sraj			cell-index = <0x1>;
207236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
208236024Sraj			reg = <0x4000 0x4000 0x101000 0x1000>;
209236024Sraj			interrupts = <107 2 0 0>;
210236024Sraj		};
211236024Sraj		bman-portal@8000 {
212236024Sraj			cell-index = <2>;
213236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
214236024Sraj			reg = <0x8000 0x4000 0x102000 0x1000>;
215236024Sraj			interrupts = <109 2 0 0>;
216236024Sraj		};
217236024Sraj		bman-portal@c000 {
218236024Sraj			cell-index = <0x3>;
219236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
220236024Sraj			reg = <0xc000 0x4000 0x103000 0x1000>;
221236024Sraj			interrupts = <111 2 0 0>;
222236024Sraj		};
223236024Sraj		bman-portal@10000 {
224236024Sraj			cell-index = <0x4>;
225236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
226236024Sraj			reg = <0x10000 0x4000 0x104000 0x1000>;
227236024Sraj			interrupts = <113 2 0 0>;
228236024Sraj		};
229236024Sraj		bman-portal@14000 {
230236024Sraj			cell-index = <0x5>;
231236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
232236024Sraj			reg = <0x14000 0x4000 0x105000 0x1000>;
233236024Sraj			interrupts = <115 2 0 0>;
234236024Sraj		};
235236024Sraj		bman-portal@18000 {
236236024Sraj			cell-index = <0x6>;
237236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
238236024Sraj			reg = <0x18000 0x4000 0x106000 0x1000>;
239236024Sraj			interrupts = <117 2 0 0>;
240236024Sraj		};
241236024Sraj		bman-portal@1c000 {
242236024Sraj			cell-index = <0x7>;
243236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
244236024Sraj			reg = <0x1c000 0x4000 0x107000 0x1000>;
245236024Sraj			interrupts = <119 2 0 0>;
246236024Sraj		};
247236024Sraj		bman-portal@20000 {
248236024Sraj			cell-index = <0x8>;
249236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
250236024Sraj			reg = <0x20000 0x4000 0x108000 0x1000>;
251236024Sraj			interrupts = <121 2 0 0>;
252236024Sraj		};
253236024Sraj		bman-portal@24000 {
254236024Sraj			cell-index = <0x9>;
255236024Sraj			compatible = "fsl,p5020-bman-portal", "fsl,bman-portal";
256236024Sraj			reg = <0x24000 0x4000 0x109000 0x1000>;
257236024Sraj			interrupts = <123 2 0 0>;
258236024Sraj		};
259236024Sraj
260236024Sraj		buffer-pool@0 {
261236024Sraj			compatible = "fsl,p5020-bpool", "fsl,bpool";
262236024Sraj			fsl,bpid = <0>;
263236024Sraj			fsl,bpool-cfg = <0 0x100 0 1 0 0x100>;
264236024Sraj		};
265236024Sraj	};
266236024Sraj
267236024Sraj	qman-portals@ff4200000 {
268236024Sraj		#address-cells = <0x1>;
269236024Sraj		#size-cells = <0x1>;
270236024Sraj		compatible = "qman-portals";
271236024Sraj		ranges = <0x0 0xf 0xfdc00000 0x200000>;
272236024Sraj		qportal0: qman-portal@0 {
273236024Sraj			cell-index = <0x0>;
274236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
275236024Sraj			reg = <0x0 0x4000 0x100000 0x1000>;
276236024Sraj			interrupts = <104 0x2 0 0>;
277236024Sraj			fsl,qman-channel-id = <0x0>;
278236024Sraj		};
279236024Sraj
280236024Sraj		qportal1: qman-portal@4000 {
281236024Sraj			cell-index = <0x1>;
282236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
283236024Sraj			reg = <0x4000 0x4000 0x101000 0x1000>;
284236024Sraj			interrupts = <106 0x2 0 0>;
285236024Sraj			fsl,qman-channel-id = <0x1>;
286236024Sraj		};
287236024Sraj
288236024Sraj		qportal2: qman-portal@8000 {
289236024Sraj			cell-index = <0x2>;
290236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
291236024Sraj			reg = <0x8000 0x4000 0x102000 0x1000>;
292236024Sraj			interrupts = <108 0x2 0 0>;
293236024Sraj			fsl,qman-channel-id = <0x2>;
294236024Sraj		};
295236024Sraj
296236024Sraj		qportal3: qman-portal@c000 {
297236024Sraj			cell-index = <0x3>;
298236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
299236024Sraj			reg = <0xc000 0x4000 0x103000 0x1000>;
300236024Sraj			interrupts = <110 0x2 0 0>;
301236024Sraj			fsl,qman-channel-id = <0x3>;
302236024Sraj		};
303236024Sraj
304236024Sraj		qportal4: qman-portal@10000 {
305236024Sraj			cell-index = <0x4>;
306236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
307236024Sraj			reg = <0x10000 0x4000 0x104000 0x1000>;
308236024Sraj			interrupts = <112 0x2 0 0>;
309236024Sraj			fsl,qman-channel-id = <0x4>;
310236024Sraj		};
311236024Sraj
312236024Sraj		qportal5: qman-portal@14000 {
313236024Sraj			cell-index = <0x5>;
314236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
315236024Sraj			reg = <0x14000 0x4000 0x105000 0x1000>;
316236024Sraj			interrupts = <114 0x2 0 0>;
317236024Sraj			fsl,qman-channel-id = <0x5>;
318236024Sraj		};
319236024Sraj
320236024Sraj		qportal6: qman-portal@18000 {
321236024Sraj			cell-index = <0x6>;
322236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
323236024Sraj			reg = <0x18000 0x4000 0x106000 0x1000>;
324236024Sraj			interrupts = <116 0x2 0 0>;
325236024Sraj			fsl,qman-channel-id = <0x6>;
326236024Sraj		};
327236024Sraj
328236024Sraj		qportal7: qman-portal@1c000 {
329236024Sraj			cell-index = <0x7>;
330236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
331236024Sraj			reg = <0x1c000 0x4000 0x107000 0x1000>;
332236024Sraj			interrupts = <118 0x2 0 0>;
333236024Sraj			fsl,qman-channel-id = <0x7>;
334236024Sraj		};
335236024Sraj
336236024Sraj		qportal8: qman-portal@20000 {
337236024Sraj			cell-index = <0x8>;
338236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
339236024Sraj			reg = <0x20000 0x4000 0x108000 0x1000>;
340236024Sraj			interrupts = <120 0x2 0 0>;
341236024Sraj			fsl,qman-channel-id = <0x8>;
342236024Sraj		};
343236024Sraj
344236024Sraj		qportal9: qman-portal@24000 {
345236024Sraj			cell-index = <0x9>;
346236024Sraj			compatible = "fsl,p5020-qman-portal", "fsl,qman-portal";
347236024Sraj			reg = <0x24000 0x4000 0x109000 0x1000>;
348236024Sraj			interrupts = <122 0x2 0 0>;
349236024Sraj			fsl,qman-channel-id = <0x9>;
350236024Sraj		};
351236024Sraj
352236024Sraj		qpool1: qman-pool@1 {
353236024Sraj			cell-index = <1>;
354236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
355236024Sraj			fsl,qman-channel-id = <0x21>;
356236024Sraj		};
357236024Sraj
358236024Sraj		qpool2: qman-pool@2 {
359236024Sraj			cell-index = <2>;
360236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
361236024Sraj			fsl,qman-channel-id = <0x22>;
362236024Sraj		};
363236024Sraj
364236024Sraj		qpool3: qman-pool@3 {
365236024Sraj			cell-index = <3>;
366236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
367236024Sraj			fsl,qman-channel-id = <0x23>;
368236024Sraj		};
369236024Sraj
370236024Sraj		qpool4: qman-pool@4 {
371236024Sraj			cell-index = <4>;
372236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
373236024Sraj			fsl,qman-channel-id = <0x24>;
374236024Sraj		};
375236024Sraj
376236024Sraj		qpool5: qman-pool@5 {
377236024Sraj			cell-index = <5>;
378236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
379236024Sraj			fsl,qman-channel-id = <0x25>;
380236024Sraj		};
381236024Sraj
382236024Sraj		qpool6: qman-pool@6 {
383236024Sraj			cell-index = <6>;
384236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
385236024Sraj			fsl,qman-channel-id = <0x26>;
386236024Sraj		};
387236024Sraj
388236024Sraj		qpool7: qman-pool@7 {
389236024Sraj			cell-index = <7>;
390236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
391236024Sraj			fsl,qman-channel-id = <0x27>;
392236024Sraj		};
393236024Sraj
394236024Sraj		qpool8: qman-pool@8 {
395236024Sraj			cell-index = <8>;
396236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
397236024Sraj			fsl,qman-channel-id = <0x28>;
398236024Sraj		};
399236024Sraj
400236024Sraj		qpool9: qman-pool@9 {
401236024Sraj			cell-index = <9>;
402236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
403236024Sraj			fsl,qman-channel-id = <0x29>;
404236024Sraj		};
405236024Sraj
406236024Sraj		qpool10: qman-pool@10 {
407236024Sraj			cell-index = <10>;
408236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
409236024Sraj			fsl,qman-channel-id = <0x2a>;
410236024Sraj		};
411236024Sraj
412236024Sraj		qpool11: qman-pool@11 {
413236024Sraj			cell-index = <11>;
414236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
415236024Sraj			fsl,qman-channel-id = <0x2b>;
416236024Sraj		};
417236024Sraj
418236024Sraj		qpool12: qman-pool@12 {
419236024Sraj			cell-index = <12>;
420236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
421236024Sraj			fsl,qman-channel-id = <0x2c>;
422236024Sraj		};
423236024Sraj
424236024Sraj		qpool13: qman-pool@13 {
425236024Sraj			cell-index = <13>;
426236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
427236024Sraj			fsl,qman-channel-id = <0x2d>;
428236024Sraj		};
429236024Sraj
430236024Sraj		qpool14: qman-pool@14 {
431236024Sraj			cell-index = <14>;
432236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
433236024Sraj			fsl,qman-channel-id = <0x2e>;
434236024Sraj		};
435236024Sraj
436236024Sraj		qpool15: qman-pool@15 {
437236024Sraj			cell-index = <15>;
438236024Sraj			compatible = "fsl,p5020-qman-pool-channel", "fsl,qman-pool-channel";
439236024Sraj			fsl,qman-channel-id = <0x2f>;
440236024Sraj		};
441236024Sraj	};
442236024Sraj
443236024Sraj	soc: soc@ffe000000 {
444236024Sraj		#address-cells = <1>;
445236024Sraj		#size-cells = <1>;
446236024Sraj		device_type = "soc";
447236024Sraj		compatible = "simple-bus";
448236024Sraj		
449236024Sraj		bus-frequency = <0>;	// Filled out by kernel.
450236024Sraj		
451236024Sraj		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
452236024Sraj		reg = <0xf 0xfe000000 0 0x00001000>;
453236024Sraj
454236024Sraj		soc-sram-error {
455236024Sraj			compatible = "fsl,soc-sram-error";
456236024Sraj			interrupts = <16 2 1 29>;
457236024Sraj		};
458236024Sraj
459236024Sraj		corenet-law@0 {
460236024Sraj			compatible = "fsl,corenet-law";
461236024Sraj			reg = <0x0 0x1000>;
462236024Sraj			fsl,num-laws = <32>;
463236024Sraj		};
464236024Sraj
465236024Sraj		ddr1: memory-controller@8000 {
466236024Sraj			compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
467236024Sraj			reg = <0x8000 0x1000>;
468236024Sraj			interrupts = <16 2 1 23>;
469236024Sraj		};
470236024Sraj
471236024Sraj		ddr2: memory-controller@9000 {
472236024Sraj			compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
473236024Sraj			reg = <0x9000 0x1000>;
474236024Sraj			interrupts = <16 2 1 22>;
475236024Sraj		};
476236024Sraj
477236024Sraj		cpc: l3-cache-controller@10000 {
478236024Sraj			compatible = "fsl,p5020-l3-cache-controller", "fsl,p4080-l3-cache-controller", "cache";
479236024Sraj			reg = <0x10000 0x1000
480236024Sraj			       0x11000 0x1000>;
481236024Sraj			interrupts = <16 2 1 27
482236024Sraj				      16 2 1 26>;
483236024Sraj		};
484236024Sraj
485236024Sraj		corenet-cf@18000 {
486236024Sraj			compatible = "fsl,corenet-cf";
487236024Sraj			reg = <0x18000 0x1000>;
488236024Sraj			interrupts = <16 2 1 31>;
489236024Sraj			fsl,ccf-num-csdids = <32>;
490236024Sraj			fsl,ccf-num-snoopids = <32>;
491236024Sraj		};
492236024Sraj
493236024Sraj		iommu@20000 {
494236024Sraj			compatible = "fsl,pamu-v1.0", "fsl,pamu";
495236024Sraj			reg = <0x20000 0x4000>;
496236024Sraj			interrupts = <
497236024Sraj				24 2 0 0
498236024Sraj				16 2 1 30>;
499236024Sraj		};
500236024Sraj
501236024Sraj		mpic: pic@40000 {
502236024Sraj			clock-frequency = <0>;
503236024Sraj			interrupt-controller;
504236024Sraj			#address-cells = <0>;
505236024Sraj			#interrupt-cells = <4>;
506236024Sraj			reg = <0x40000 0x40000>;
507236024Sraj			compatible = "fsl,mpic", "chrp,open-pic";
508236024Sraj			device_type = "open-pic";
509236024Sraj		};
510236024Sraj
511236024Sraj		msi0: msi@41600 {
512236024Sraj			compatible = "fsl,mpic-msi";
513236024Sraj			reg = <0x41600 0x200>;
514236024Sraj			msi-available-ranges = <0 0x100>;
515236024Sraj			interrupts = <
516236024Sraj				0xe0 0 0 0
517236024Sraj				0xe1 0 0 0
518236024Sraj				0xe2 0 0 0
519236024Sraj				0xe3 0 0 0
520236024Sraj				0xe4 0 0 0
521236024Sraj				0xe5 0 0 0
522236024Sraj				0xe6 0 0 0
523236024Sraj				0xe7 0 0 0>;
524236024Sraj		};
525236024Sraj
526236024Sraj		msi1: msi@41800 {
527236024Sraj			compatible = "fsl,mpic-msi";
528236024Sraj			reg = <0x41800 0x200>;
529236024Sraj			msi-available-ranges = <0 0x100>;
530236024Sraj			interrupts = <
531236024Sraj				0xe8 0 0 0
532236024Sraj				0xe9 0 0 0
533236024Sraj				0xea 0 0 0
534236024Sraj				0xeb 0 0 0
535236024Sraj				0xec 0 0 0
536236024Sraj				0xed 0 0 0
537236024Sraj				0xee 0 0 0
538236024Sraj				0xef 0 0 0>;
539236024Sraj		};
540236024Sraj
541236024Sraj		msi2: msi@41a00 {
542236024Sraj			compatible = "fsl,mpic-msi";
543236024Sraj			reg = <0x41a00 0x200>;
544236024Sraj			msi-available-ranges = <0 0x100>;
545236024Sraj			interrupts = <
546236024Sraj				0xf0 0 0 0
547236024Sraj				0xf1 0 0 0
548236024Sraj				0xf2 0 0 0
549236024Sraj				0xf3 0 0 0
550236024Sraj				0xf4 0 0 0
551236024Sraj				0xf5 0 0 0
552236024Sraj				0xf6 0 0 0
553236024Sraj				0xf7 0 0 0>;
554236024Sraj		};
555236024Sraj
556236024Sraj		guts: global-utilities@e0000 {
557236024Sraj			compatible = "fsl,qoriq-device-config-1.0";
558236024Sraj			reg = <0xe0000 0xe00>;
559236024Sraj			fsl,has-rstcr;
560236024Sraj			#sleep-cells = <1>;
561236024Sraj			fsl,liodn-bits = <12>;
562236024Sraj		};
563236024Sraj
564236024Sraj		pins: global-utilities@e0e00 {
565236024Sraj			compatible = "fsl,qoriq-pin-control-1.0";
566236024Sraj			reg = <0xe0e00 0x200>;
567236024Sraj			#sleep-cells = <2>;
568236024Sraj		};
569236024Sraj
570236024Sraj		clockgen: global-utilities@e1000 {
571236024Sraj			compatible = "fsl,p5020-clockgen", "fsl,qoriq-clockgen-1.0";
572236024Sraj			reg = <0xe1000 0x1000>;
573236024Sraj			clock-frequency = <0>;
574236024Sraj		};
575236024Sraj
576236024Sraj		rcpm: global-utilities@e2000 {
577236024Sraj			compatible = "fsl,qoriq-rcpm-1.0";
578236024Sraj			reg = <0xe2000 0x1000>;
579236024Sraj			#sleep-cells = <1>;
580236024Sraj		};
581236024Sraj
582236024Sraj		sfp: sfp@e8000 {
583236024Sraj			compatible = "fsl,p5020-sfp", "fsl,qoriq-sfp-1.0";
584236024Sraj			reg	   = <0xe8000 0x1000>;
585236024Sraj		};
586236024Sraj
587236024Sraj		serdes: serdes@ea000 {
588236024Sraj			compatible = "fsl,p5020-serdes";
589236024Sraj			reg	   = <0xea000 0x1000>;
590236024Sraj		};
591236024Sraj
592236024Sraj		dma0: dma@100300 {
593236024Sraj			#address-cells = <1>;
594236024Sraj			#size-cells = <1>;
595236024Sraj			compatible = "fsl,p5020-dma", "fsl,eloplus-dma";
596236024Sraj			reg = <0x100300 0x4>;
597236024Sraj			ranges = <0x0 0x100100 0x200>;
598236024Sraj			cell-index = <0>;
599236024Sraj			dma-channel@0 {
600236024Sraj				compatible = "fsl,p5020-dma-channel",
601236024Sraj						"fsl,eloplus-dma-channel";
602236024Sraj				reg = <0x0 0x80>;
603236024Sraj				cell-index = <0>;
604236024Sraj				interrupts = <28 2 0 0>;
605236024Sraj			};
606236024Sraj			dma-channel@80 {
607236024Sraj				compatible = "fsl,p5020-dma-channel",
608236024Sraj						"fsl,eloplus-dma-channel";
609236024Sraj				reg = <0x80 0x80>;
610236024Sraj				cell-index = <1>;
611236024Sraj				interrupts = <29 2 0 0>;
612236024Sraj			};
613236024Sraj			dma-channel@100 {
614236024Sraj				compatible = "fsl,p5020-dma-channel",
615236024Sraj						"fsl,eloplus-dma-channel";
616236024Sraj				reg = <0x100 0x80>;
617236024Sraj				cell-index = <2>;
618236024Sraj				interrupts = <30 2 0 0>;
619236024Sraj			};
620236024Sraj			dma-channel@180 {
621236024Sraj				compatible = "fsl,p5020-dma-channel",
622236024Sraj						"fsl,eloplus-dma-channel";
623236024Sraj				reg = <0x180 0x80>;
624236024Sraj				cell-index = <3>;
625236024Sraj				interrupts = <31 2 0 0>;
626236024Sraj			};
627236024Sraj		};
628236024Sraj
629236024Sraj		dma1: dma@101300 {
630236024Sraj			#address-cells = <1>;
631236024Sraj			#size-cells = <1>;
632236024Sraj			compatible = "fsl,p5020-dma", "fsl,eloplus-dma";
633236024Sraj			reg = <0x101300 0x4>;
634236024Sraj			ranges = <0x0 0x101100 0x200>;
635236024Sraj			cell-index = <1>;
636236024Sraj			dma-channel@0 {
637236024Sraj				compatible = "fsl,p5020-dma-channel",
638236024Sraj						"fsl,eloplus-dma-channel";
639236024Sraj				reg = <0x0 0x80>;
640236024Sraj				cell-index = <0>;
641236024Sraj				interrupts = <32 2 0 0>;
642236024Sraj			};
643236024Sraj			dma-channel@80 {
644236024Sraj				compatible = "fsl,p5020-dma-channel",
645236024Sraj						"fsl,eloplus-dma-channel";
646236024Sraj				reg = <0x80 0x80>;
647236024Sraj				cell-index = <1>;
648236024Sraj				interrupts = <33 2 0 0>;
649236024Sraj			};
650236024Sraj			dma-channel@100 {
651236024Sraj				compatible = "fsl,p5020-dma-channel",
652236024Sraj						"fsl,eloplus-dma-channel";
653236024Sraj				reg = <0x100 0x80>;
654236024Sraj				cell-index = <2>;
655236024Sraj				interrupts = <34 2 0 0>;
656236024Sraj			};
657236024Sraj			dma-channel@180 {
658236024Sraj				compatible = "fsl,p5020-dma-channel",
659236024Sraj						"fsl,eloplus-dma-channel";
660236024Sraj				reg = <0x180 0x80>;
661236024Sraj				cell-index = <3>;
662236024Sraj				interrupts = <35 2 0 0>;
663236024Sraj			};
664236024Sraj		};
665236024Sraj
666236024Sraj		spi@110000 {
667236024Sraj			#address-cells = <1>;
668236024Sraj			#size-cells = <0>;
669236024Sraj			compatible = "fsl,p5020-espi", "fsl,mpc8536-espi";
670236024Sraj			reg = <0x110000 0x1000>;
671236024Sraj			interrupts = <53 0x2 0 0>;
672236024Sraj			fsl,espi-num-chipselects = <4>;
673236024Sraj		};
674236024Sraj
675236024Sraj		sdhc: sdhc@114000 {
676236024Sraj			compatible = "fsl,p5020-esdhc", "fsl,esdhc";
677236024Sraj			reg = <0x114000 0x1000>;
678236024Sraj			interrupts = <48 2 0 0>;
679236024Sraj			sdhci,auto-cmd12;
680236024Sraj			clock-frequency = <0>;
681236024Sraj		};
682236024Sraj
683236024Sraj		i2c@118000 {
684236024Sraj			#address-cells = <1>;
685236024Sraj			#size-cells = <0>;
686236024Sraj			cell-index = <0>;
687236024Sraj			compatible = "fsl-i2c";
688236024Sraj			reg = <0x118000 0x100>;
689236024Sraj			interrupts = <38 2 0 0>;
690236024Sraj			dfsrr;
691236024Sraj		};
692236024Sraj
693236024Sraj		i2c@118100 {
694236024Sraj			#address-cells = <1>;
695236024Sraj			#size-cells = <0>;
696236024Sraj			cell-index = <1>;
697236024Sraj			compatible = "fsl-i2c";
698236024Sraj			reg = <0x118100 0x100>;
699236024Sraj			interrupts = <38 2 0 0>;
700236024Sraj			dfsrr;
701236024Sraj		};
702236024Sraj
703236024Sraj		i2c@119000 {
704236024Sraj			#address-cells = <1>;
705236024Sraj			#size-cells = <0>;
706236024Sraj			cell-index = <2>;
707236024Sraj			compatible = "fsl-i2c";
708236024Sraj			reg = <0x119000 0x100>;
709236024Sraj			interrupts = <39 2 0 0>;
710236024Sraj			dfsrr;
711236024Sraj		};
712236024Sraj
713236024Sraj		i2c@119100 {
714236024Sraj			#address-cells = <1>;
715236024Sraj			#size-cells = <0>;
716236024Sraj			cell-index = <3>;
717236024Sraj			compatible = "fsl-i2c";
718236024Sraj			reg = <0x119100 0x100>;
719236024Sraj			interrupts = <39 2 0 0>;
720236024Sraj			dfsrr;
721236024Sraj		};
722236024Sraj
723236024Sraj		serial0: serial@11c500 {
724236024Sraj			cell-index = <0>;
725236024Sraj			device_type = "serial";
726236024Sraj			compatible = "ns16550";
727236024Sraj			reg = <0x11c500 0x100>;
728236024Sraj			clock-frequency = <0>;
729236024Sraj			interrupts = <36 2 0 0>;
730236024Sraj		};
731236024Sraj
732236024Sraj		serial1: serial@11c600 {
733236024Sraj			cell-index = <1>;
734236024Sraj			device_type = "serial";
735236024Sraj			compatible = "ns16550";
736236024Sraj			reg = <0x11c600 0x100>;
737236024Sraj			clock-frequency = <0>;
738236024Sraj			interrupts = <36 2 0 0>;
739236024Sraj		};
740236024Sraj
741236024Sraj		serial2: serial@11d500 {
742236024Sraj			cell-index = <2>;
743236024Sraj			device_type = "serial";
744236024Sraj			compatible = "ns16550";
745236024Sraj			reg = <0x11d500 0x100>;
746236024Sraj			clock-frequency = <0>;
747236024Sraj			interrupts = <37 2 0 0>;
748236024Sraj		};
749236024Sraj
750236024Sraj		serial3: serial@11d600 {
751236024Sraj			cell-index = <3>;
752236024Sraj			device_type = "serial";
753236024Sraj			compatible = "ns16550";
754236024Sraj			reg = <0x11d600 0x100>;
755236024Sraj			clock-frequency = <0>;
756236024Sraj			interrupts = <37 2 0 0>;
757236024Sraj		};
758236024Sraj
759236024Sraj		gpio0: gpio@130000 {
760236024Sraj			compatible = "fsl,p5020-gpio", "fsl,qoriq-gpio";
761236024Sraj			reg = <0x130000 0x1000>;
762236024Sraj			interrupts = <55 2 0 0>;
763236024Sraj			#gpio-cells = <2>;
764236024Sraj			gpio-controller;
765236024Sraj		};
766236024Sraj
767236024Sraj		rman: rman@1e0000 {
768236024Sraj			compatible = "fsl,rman";
769236024Sraj			#address-cells = <1>;
770236024Sraj			#size-cells = <1>;
771236024Sraj			ranges = <0x0 0x1e0000 0x20000>;
772236024Sraj			reg = <0x1e0000 0x20000>;
773236024Sraj			interrupts = <16 2 1 11>; /* err_irq */
774236024Sraj			fsl,qman-channels-id = <0x62 0x63>;
775236024Sraj
776236024Sraj			inbound-block@0 {
777236024Sraj				compatible = "fsl,rman-inbound-block";
778236024Sraj				reg = <0x0 0x800>;
779236024Sraj			};
780236024Sraj			global-cfg@b00 {
781236024Sraj				compatible = "fsl,rman-global-cfg";
782236024Sraj				reg = <0xb00 0x500>;
783236024Sraj			};
784236024Sraj			inbound-block@1000 {
785236024Sraj				compatible = "fsl,rman-inbound-block";
786236024Sraj				reg = <0x1000 0x800>;
787236024Sraj			};
788236024Sraj			inbound-block@2000 {
789236024Sraj				compatible = "fsl,rman-inbound-block";
790236024Sraj				reg = <0x2000 0x800>;
791236024Sraj			};
792236024Sraj			inbound-block@3000 {
793236024Sraj				compatible = "fsl,rman-inbound-block";
794236024Sraj				reg = <0x3000 0x800>;
795236024Sraj			};
796236024Sraj		};
797236024Sraj
798236024Sraj		usb0: usb@210000 {
799236024Sraj			compatible = "fsl,p5020-usb2-mph",
800236024Sraj					"fsl,mpc85xx-usb2-mph", "fsl-usb2-mph";
801236024Sraj			reg = <0x210000 0x1000>;
802236024Sraj			#address-cells = <1>;
803236024Sraj			#size-cells = <0>;
804236024Sraj			interrupts = <44 0x2 0 0>;
805236024Sraj			phy_type = "utmi";
806236024Sraj			port0;
807236024Sraj		};
808236024Sraj
809236024Sraj		usb1: usb@211000 {
810236024Sraj			compatible = "fsl,p5020-usb2-dr",
811236024Sraj					"fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
812236024Sraj			reg = <0x211000 0x1000>;
813236024Sraj			#address-cells = <1>;
814236024Sraj			#size-cells = <0>;
815236024Sraj			interrupts = <45 0x2 0 0>;
816236024Sraj			dr_mode = "host";
817236024Sraj			phy_type = "utmi";
818236024Sraj		};
819236024Sraj
820236024Sraj		sata@220000 {
821236024Sraj			compatible = "fsl,p5020-sata", "fsl,pq-sata-v2";
822236024Sraj			reg = <0x220000 0x1000>;
823236024Sraj			interrupts = <68 0x2 0 0>;
824236024Sraj		};
825236024Sraj
826236024Sraj		sata@221000 {
827236024Sraj			compatible = "fsl,p5020-sata", "fsl,pq-sata-v2";
828236024Sraj			reg = <0x221000 0x1000>;
829236024Sraj			interrupts = <69 0x2 0 0>;
830236024Sraj		};
831236024Sraj
832236024Sraj		crypto: crypto@300000 {
833236024Sraj			compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
834236024Sraj			#address-cells = <1>;
835236024Sraj			#size-cells = <1>;
836236024Sraj			reg		 = <0x300000 0x10000>;
837236024Sraj			ranges		 = <0 0x300000 0x10000>;
838236024Sraj			interrupts	 = <92 2 0 0>;
839236024Sraj
840236024Sraj			sec_jr0: jr@1000 {
841236024Sraj				compatible = "fsl,sec-v4.2-job-ring",
842236024Sraj					     "fsl,sec-v4.0-job-ring";
843236024Sraj				reg = <0x1000 0x1000>;
844236024Sraj				interrupts = <88 2 0 0>;
845236024Sraj			};
846236024Sraj
847236024Sraj			sec_jr1: jr@2000 {
848236024Sraj				compatible = "fsl,sec-v4.2-job-ring",
849236024Sraj					     "fsl,sec-v4.0-job-ring";
850236024Sraj				reg = <0x2000 0x1000>;
851236024Sraj				interrupts = <89 2 0 0>;
852236024Sraj			};
853236024Sraj
854236024Sraj			sec_jr2: jr@3000 {
855236024Sraj				compatible = "fsl,sec-v4.2-job-ring",
856236024Sraj					     "fsl,sec-v4.0-job-ring";
857236024Sraj				reg = <0x3000 0x1000>;
858236024Sraj				interrupts = <90 2 0 0>;
859236024Sraj			};
860236024Sraj
861236024Sraj			sec_jr3: jr@4000 {
862236024Sraj				compatible = "fsl,sec-v4.2-job-ring",
863236024Sraj					     "fsl,sec-v4.0-job-ring";
864236024Sraj				reg = <0x4000 0x1000>;
865236024Sraj				interrupts = <91 2 0 0>;
866236024Sraj			};
867236024Sraj
868236024Sraj			rtic@6000 {
869236024Sraj				compatible = "fsl,sec-v4.2-rtic",
870236024Sraj					     "fsl,sec-v4.0-rtic";
871236024Sraj				#address-cells = <1>;
872236024Sraj				#size-cells = <1>;
873236024Sraj				reg = <0x6000 0x100>;
874236024Sraj				ranges = <0x0 0x6100 0xe00>;
875236024Sraj
876236024Sraj				rtic_a: rtic-a@0 {
877236024Sraj					compatible = "fsl,sec-v4.2-rtic-memory",
878236024Sraj						     "fsl,sec-v4.0-rtic-memory";
879236024Sraj					reg = <0x00 0x20 0x100 0x80>;
880236024Sraj				};
881236024Sraj
882236024Sraj				rtic_b: rtic-b@20 {
883236024Sraj					compatible = "fsl,sec-v4.2-rtic-memory",
884236024Sraj						     "fsl,sec-v4.0-rtic-memory";
885236024Sraj					reg = <0x20 0x20 0x200 0x80>;
886236024Sraj				};
887236024Sraj
888236024Sraj				rtic_c: rtic-c@40 {
889236024Sraj					compatible = "fsl,sec-v4.2-rtic-memory",
890236024Sraj						     "fsl,sec-v4.0-rtic-memory";
891236024Sraj					reg = <0x40 0x20 0x300 0x80>;
892236024Sraj				};
893236024Sraj
894236024Sraj				rtic_d: rtic-d@60 {
895236024Sraj					compatible = "fsl,sec-v4.2-rtic-memory",
896236024Sraj						     "fsl,sec-v4.0-rtic-memory";
897236024Sraj					reg = <0x60 0x20 0x500 0x80>;
898236024Sraj				};
899236024Sraj			};
900236024Sraj		};
901236024Sraj
902236024Sraj		sec_mon: sec_mon@314000 {
903236024Sraj			compatible = "fsl,sec-v4.2-mon", "fsl,sec-v4.0-mon";
904236024Sraj			reg = <0x314000 0x1000>;
905236024Sraj			interrupts = <93 2 0 0>;
906236024Sraj		};
907236024Sraj
908236024Sraj		raideng: raideng@320000 {
909236024Sraj			compatible = "fsl,raideng-v1.0";
910236024Sraj			#address-cells = <1>;
911236024Sraj			#size-cells = <1>;
912236024Sraj			reg = <0x320000 0x10000>;
913236024Sraj			ranges = <0 0x320000 0x10000>;
914236024Sraj
915236024Sraj			raideng_jq0@1000 {
916236024Sraj				compatible = "fsl,raideng-v1.0-job-queue";
917236024Sraj				#address-cells = <1>;
918236024Sraj				#size-cells = <1>;
919236024Sraj				reg = <0x1000 0x1000>;
920236024Sraj				ranges = <0x0 0x1000 0x1000>;
921236024Sraj
922236024Sraj				raideng_jr0: jr@0 {
923236024Sraj					compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
924236024Sraj					reg = <0x0 0x400>;
925236024Sraj					interrupts = <139 2 0 0>;
926236024Sraj					interrupt-parent = <&mpic>;
927236024Sraj				};
928236024Sraj
929236024Sraj				raideng_jr1: jr@400 {
930236024Sraj					compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
931236024Sraj					reg = <0x400 0x400>;
932236024Sraj					interrupts = <140 2 0 0>;
933236024Sraj					interrupt-parent = <&mpic>;
934236024Sraj				};
935236024Sraj			};
936236024Sraj
937236024Sraj			raideng_jq1@2000 {
938236024Sraj				compatible = "fsl,raideng-v1.0-job-queue";
939236024Sraj				#address-cells = <1>;
940236024Sraj				#size-cells = <1>;
941236024Sraj				reg = <0x2000 0x1000>;
942236024Sraj				ranges = <0x0 0x2000 0x1000>;
943236024Sraj
944236024Sraj				raideng_jr2: jr@0 {
945236024Sraj					compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
946236024Sraj					reg = <0x0 0x400>;
947236024Sraj					interrupts = <141 2 0 0>;
948236024Sraj					interrupt-parent = <&mpic>;
949236024Sraj				};
950236024Sraj
951236024Sraj				raideng_jr3: jr@400 {
952236024Sraj					compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
953236024Sraj					reg = <0x400 0x400>;
954236024Sraj					interrupts = <142 2 0 0>;
955236024Sraj					interrupt-parent = <&mpic>;
956236024Sraj				};
957236024Sraj			};
958236024Sraj		};
959236024Sraj
960236024Sraj		pme: pme@316000 {
961236024Sraj			compatible = "fsl,pme";
962236024Sraj			reg = <0x316000 0x10000>;
963236024Sraj			/* fsl,pme-pdsr = <0x0 0x23000000 0x0 0x01000000>; */
964236024Sraj			/* fsl,pme-sre = <0x0 0x24000000 0x0 0x00a00000>; */
965236024Sraj			interrupts = <16 2 1 5>;
966236024Sraj		};
967236024Sraj
968236024Sraj		qman: qman@318000 {
969236024Sraj			compatible = "fsl,p5020-qman", "fsl,qman";
970236024Sraj			reg = <0x318000 0x1000>;
971236024Sraj			interrupts = <16 2 1 3>;
972236024Sraj			/* Commented out, use default allocation */
973236024Sraj			/* fsl,qman-fqd = <0x0 0x20000000 0x0 0x01000000>; */
974236024Sraj			/* fsl,qman-pfdr = <0x0 0x21000000 0x0 0x01000000>; */
975236024Sraj		};
976236024Sraj
977236024Sraj		bman: bman@31a000 {
978236024Sraj			compatible = "fsl,p5020-bman", "fsl,bman";
979236024Sraj			reg = <0x31a000 0x1000>;
980236024Sraj			interrupts = <16 2 1 2>;
981236024Sraj			/* Same as fsl,qman-*, use default allocation */
982236024Sraj			/* fsl,bman-fbpr = <0x0 0x22000000 0x0 0x01000000>; */
983236024Sraj		};
984236024Sraj
985236024Sraj		fman0: fman@400000 {
986236024Sraj			#address-cells = <1>;
987236024Sraj			#size-cells = <1>;
988236024Sraj			cell-index = <0>;
989236024Sraj			compatible = "fsl,p5020-fman", "fsl,fman", "simple-bus";
990236024Sraj			ranges = <0 0x400000 0x100000>;
991236024Sraj			reg = <0x400000 0x100000>;
992236024Sraj			clock-frequency = <0>;
993236024Sraj			interrupts = <
994236024Sraj				96 2 0 0
995236024Sraj				16 2 1 1>;
996236024Sraj
997236024Sraj			cc@0 {
998236024Sraj				compatible = "fsl,p5020-fman-cc", "fsl,fman-cc";
999236024Sraj			};
1000236024Sraj
1001236024Sraj			parser@c7000 {
1002236024Sraj				compatible = "fsl,p5020-fman-parser", "fsl,fman-parser";
1003236024Sraj				reg = <0xc7000 0x1000>;
1004236024Sraj			};
1005236024Sraj
1006236024Sraj			keygen@c1000 {
1007236024Sraj				compatible = "fsl,p5020-fman-keygen", "fsl,fman-keygen";
1008236024Sraj				reg = <0xc1000 0x1000>;
1009236024Sraj			};
1010236024Sraj
1011236024Sraj			policer@c0000 {
1012236024Sraj				compatible = "fsl,p5020-fman-policer", "fsl,fman-policer";
1013236024Sraj				reg = <0xc0000 0x1000>;
1014236024Sraj			};
1015236024Sraj
1016236024Sraj			muram@0 {
1017236024Sraj				compatible = "fsl,p5020-fman-muram", "fsl,fman-muram";
1018236024Sraj				reg = <0x0 0x28000>;
1019236024Sraj			};
1020236024Sraj
1021236024Sraj			bmi@80000 {
1022236024Sraj				compatible = "fsl,p5020-fman-bmi", "fsl,fman-bmi";
1023236024Sraj				reg = <0x80000 0x400>;
1024236024Sraj			};
1025236024Sraj
1026236024Sraj			qmi@80400 {
1027236024Sraj				compatible = "fsl,p5020-fman-qmi", "fsl,fman-qmi";
1028236024Sraj				reg = <0x80400 0x400>;
1029236024Sraj			};
1030236024Sraj
1031236024Sraj			fman0_rx0: port@88000 {
1032236024Sraj				cell-index = <0>;
1033236024Sraj				compatible = "fsl,p5020-fman-port-1g-rx", "fsl,fman-port-1g-rx";
1034236024Sraj				reg = <0x88000 0x1000>;
1035236024Sraj			};
1036236024Sraj			fman0_rx1: port@89000 {
1037236024Sraj				cell-index = <1>;
1038236024Sraj				compatible = "fsl,p5020-fman-port-1g-rx", "fsl,fman-port-1g-rx";
1039236024Sraj				reg = <0x89000 0x1000>;
1040236024Sraj			};
1041236024Sraj			fman0_rx2: port@8a000 {
1042236024Sraj				cell-index = <2>;
1043236024Sraj				compatible = "fsl,p5020-fman-port-1g-rx", "fsl,fman-port-1g-rx";
1044236024Sraj				reg = <0x8a000 0x1000>;
1045236024Sraj			};
1046236024Sraj			fman0_rx3: port@8b000 {
1047236024Sraj				cell-index = <3>;
1048236024Sraj				compatible = "fsl,p5020-fman-port-1g-rx", "fsl,fman-port-1g-rx";
1049236024Sraj				reg = <0x8b000 0x1000>;
1050236024Sraj			};
1051236024Sraj			fman0_rx4: port@8c000 {
1052236024Sraj				cell-index = <4>;
1053236024Sraj				compatible = "fsl,p5020-fman-port-1g-rx", "fsl,fman-port-1g-rx";
1054236024Sraj				reg = <0x8c000 0x1000>;
1055236024Sraj			};
1056236024Sraj			fman0_rx5: port@90000 {
1057236024Sraj				cell-index = <0>;
1058236024Sraj				compatible = "fsl,p5020-fman-port-10g-rx", "fsl,fman-port-10g-rx";
1059236024Sraj				reg = <0x90000 0x1000>;
1060236024Sraj			};
1061236024Sraj
1062236024Sraj			fman0_tx5: port@b0000 {
1063236024Sraj				cell-index = <0>;
1064236024Sraj				compatible = "fsl,p5020-fman-port-10g-tx", "fsl,fman-port-10g-tx";
1065236024Sraj				reg = <0xb0000 0x1000>;
1066236024Sraj				fsl,qman-channel-id = <0x40>;
1067236024Sraj			};
1068236024Sraj			fman0_tx0: port@a8000 {
1069236024Sraj				cell-index = <0>;
1070236024Sraj				compatible = "fsl,p5020-fman-port-1g-tx", "fsl,fman-port-1g-tx";
1071236024Sraj				reg = <0xa8000 0x1000>;
1072236024Sraj				fsl,qman-channel-id = <0x41>;
1073236024Sraj			};
1074236024Sraj			fman0_tx1: port@a9000 {
1075236024Sraj				cell-index = <1>;
1076236024Sraj				compatible = "fsl,p5020-fman-port-1g-tx", "fsl,fman-port-1g-tx";
1077236024Sraj				reg = <0xa9000 0x1000>;
1078236024Sraj				fsl,qman-channel-id = <0x42>;
1079236024Sraj			};
1080236024Sraj			fman0_tx2: port@aa000 {
1081236024Sraj				cell-index = <2>;
1082236024Sraj				compatible = "fsl,p5020-fman-port-1g-tx", "fsl,fman-port-1g-tx";
1083236024Sraj				reg = <0xaa000 0x1000>;
1084236024Sraj				fsl,qman-channel-id = <0x43>;
1085236024Sraj			};
1086236024Sraj			fman0_tx3: port@ab000 {
1087236024Sraj				cell-index = <3>;
1088236024Sraj				compatible = "fsl,p5020-fman-port-1g-tx", "fsl,fman-port-1g-tx";
1089236024Sraj				reg = <0xab000 0x1000>;
1090236024Sraj				fsl,qman-channel-id = <0x44>;
1091236024Sraj			};
1092236024Sraj			fman0_tx4: port@ac000 {
1093236024Sraj				cell-index = <4>;
1094236024Sraj				compatible = "fsl,p5020-fman-port-1g-tx", "fsl,fman-port-1g-tx";
1095236024Sraj				reg = <0xac000 0x1000>;
1096236024Sraj				fsl,qman-channel-id = <0x45>;
1097236024Sraj			};
1098236024Sraj
1099236024Sraj			fman0_oh0: port@81000 {
1100236024Sraj				cell-index = <0>;
1101236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1102236024Sraj				reg = <0x81000 0x1000>;
1103236024Sraj				fsl,qman-channel-id = <0x46>;
1104236024Sraj			};
1105236024Sraj			fman0_oh1: port@82000 {
1106236024Sraj				cell-index = <1>;
1107236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1108236024Sraj				reg = <0x82000 0x1000>;
1109236024Sraj				fsl,qman-channel-id = <0x47>;
1110236024Sraj			};
1111236024Sraj			fman0_oh2: port@83000 {
1112236024Sraj				cell-index = <2>;
1113236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1114236024Sraj				reg = <0x83000 0x1000>;
1115236024Sraj				fsl,qman-channel-id = <0x48>;
1116236024Sraj			};
1117236024Sraj			fman0_oh3: port@84000 {
1118236024Sraj				cell-index = <3>;
1119236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1120236024Sraj				reg = <0x84000 0x1000>;
1121236024Sraj				fsl,qman-channel-id = <0x49>;
1122236024Sraj			};
1123236024Sraj			fman0_oh4: port@85000 {
1124236024Sraj				cell-index = <4>;
1125236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1126236024Sraj				reg = <0x85000 0x1000>;
1127236024Sraj				fsl,qman-channel-id = <0x4a>;
1128236024Sraj			};
1129236024Sraj			fman0_oh5: port@86000 {
1130236024Sraj				cell-index = <5>;
1131236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1132236024Sraj				reg = <0x86000 0x1000>;
1133236024Sraj				fsl,qman-channel-id = <0x4b>;
1134236024Sraj			};
1135236024Sraj			fman0_oh6: port@87000 {
1136236024Sraj				cell-index = <6>;
1137236024Sraj				compatible = "fsl,p5020-fman-port-oh", "fsl,fman-port-oh";
1138236024Sraj				reg = <0x87000 0x1000>;
1139236024Sraj			};
1140236024Sraj
1141236024Sraj			enet0: ethernet@e0000 {
1142236024Sraj				cell-index = <0>;
1143236024Sraj				compatible = "fsl,p5020-fman-1g-mac", "fsl,fman-1g-mac";
1144236024Sraj				reg = <0xe0000 0x1000>;
1145236024Sraj				fsl,port-handles = <&fman0_rx0 &fman0_tx0>;
1146236024Sraj				ptimer-handle = <&ptp_timer0>;
1147236024Sraj			};
1148236024Sraj
1149236024Sraj			mdio0: mdio@e1120 {
1150236024Sraj				#address-cells = <1>;
1151236024Sraj				#size-cells = <0>;
1152236024Sraj				compatible = "fsl,fman-mdio";
1153236024Sraj				reg = <0xe1120 0xee0>;
1154236024Sraj				interrupts = <100 1 0 0>;
1155236024Sraj			};
1156236024Sraj
1157236024Sraj			enet1: ethernet@e2000 {
1158236024Sraj				cell-index = <1>;
1159236024Sraj				compatible = "fsl,p5020-fman-1g-mac", "fsl,fman-1g-mac";
1160236024Sraj				reg = <0xe2000 0x1000>;
1161236024Sraj				fsl,port-handles = <&fman0_rx1 &fman0_tx1>;
1162236024Sraj				ptimer-handle = <&ptp_timer0>;
1163236024Sraj			};
1164236024Sraj
1165236024Sraj			mdio@e3120 {
1166236024Sraj				#address-cells = <1>;
1167236024Sraj				#size-cells = <0>;
1168236024Sraj				compatible = "fsl,fman-tbi";
1169236024Sraj				reg = <0xe3120 0xee0>;
1170236024Sraj				interrupts = <100 1 0 0>;
1171236024Sraj			};
1172236024Sraj
1173236024Sraj			enet2: ethernet@e4000 {
1174236024Sraj				cell-index = <2>;
1175236024Sraj				compatible = "fsl,p5020-fman-1g-mac", "fsl,fman-1g-mac";
1176236024Sraj				reg = <0xe4000 0x1000>;
1177236024Sraj				fsl,port-handles = <&fman0_rx2 &fman0_tx2>;
1178236024Sraj				ptimer-handle = <&ptp_timer0>;
1179236024Sraj			};
1180236024Sraj
1181236024Sraj			mdio@e5120 {
1182236024Sraj				#address-cells = <1>;
1183236024Sraj				#size-cells = <0>;
1184236024Sraj				compatible = "fsl,fman-tbi";
1185236024Sraj				reg = <0xe5120 0xee0>;
1186236024Sraj				interrupts = <100 1 0 0>;
1187236024Sraj			};
1188236024Sraj
1189236024Sraj			enet3: ethernet@e6000 {
1190236024Sraj				cell-index = <3>;
1191236024Sraj				compatible = "fsl,p5020-fman-1g-mac", "fsl,fman-1g-mac";
1192236024Sraj				reg = <0xe6000 0x1000>;
1193236024Sraj				fsl,port-handles = <&fman0_rx3 &fman0_tx3>;
1194236024Sraj				ptimer-handle = <&ptp_timer0>;
1195236024Sraj			};
1196236024Sraj
1197236024Sraj			mdio@e7120 {
1198236024Sraj				#address-cells = <1>;
1199236024Sraj				#size-cells = <0>;
1200236024Sraj				compatible = "fsl,fman-tbi";
1201236024Sraj				reg = <0xe7120 0xee0>;
1202236024Sraj				interrupts = <100 1 0 0>;
1203236024Sraj			};
1204236024Sraj
1205236024Sraj			enet4: ethernet@e8000 {
1206236024Sraj				cell-index = <4>;
1207236024Sraj				compatible = "fsl,p5020-fman-1g-mac", "fsl,fman-1g-mac";
1208236024Sraj				reg = <0xe8000 0x1000>;
1209236024Sraj				fsl,port-handles = <&fman0_rx4 &fman0_tx4>;
1210236024Sraj				ptimer-handle = <&ptp_timer0>;
1211236024Sraj			};
1212236024Sraj
1213236024Sraj			mdio@e9120 {
1214236024Sraj				#address-cells = <1>;
1215236024Sraj				#size-cells = <0>;
1216236024Sraj				compatible = "fsl,fman-tbi";
1217236024Sraj				reg = <0xe9120 0xee0>;
1218236024Sraj				interrupts = <100 1 0 0>;
1219236024Sraj			};
1220236024Sraj
1221236024Sraj			enet5: ethernet@f0000 {
1222236024Sraj				cell-index = <0>;
1223236024Sraj				compatible = "fsl,p5020-fman-10g-mac", "fsl,fman-10g-mac";
1224236024Sraj				reg = <0xf0000 0x1000>;
1225236024Sraj				fsl,port-handles = <&fman0_rx5 &fman0_tx5>;
1226236024Sraj			};
1227236024Sraj
1228236024Sraj			mdio@f1000 {
1229236024Sraj				#address-cells = <1>;
1230236024Sraj				#size-cells = <0>;
1231236024Sraj				compatible = "fsl,fman-xmdio";
1232236024Sraj				reg = <0xf1000 0x1000>;
1233236024Sraj				interrupts = <100 1 0 0>;
1234236024Sraj			};
1235236024Sraj
1236236024Sraj			ptp_timer0: rtc@fe000 {
1237236024Sraj				compatible = "fsl,fman-rtc";
1238236024Sraj				reg = <0xfe000 0x1000>;
1239236024Sraj			};
1240236024Sraj		};
1241236024Sraj	};
1242236024Sraj
1243236024Sraj	rapidio@ffe0c0000 {
1244236024Sraj		compatible = "fsl,srio";
1245236024Sraj		interrupts = <16 2 1 11>;
1246236024Sraj		#address-cells = <2>;
1247236024Sraj		#size-cells = <2>;
1248236024Sraj		ranges;
1249236024Sraj
1250236024Sraj		port1 {
1251236024Sraj			#address-cells = <2>;
1252236024Sraj			#size-cells = <2>;
1253236024Sraj			cell-index = <1>;
1254236024Sraj		};
1255236024Sraj
1256236024Sraj		port2 {
1257236024Sraj			#address-cells = <2>;
1258236024Sraj			#size-cells = <2>;
1259236024Sraj			cell-index = <2>;
1260236024Sraj		};
1261236024Sraj	};
1262236024Sraj
1263236024Sraj	localbus@ffe124000 {
1264236024Sraj		compatible = "fsl,p5020-rev1.0-elbc", "simple-bus", "fsl,elbc";
1265236024Sraj		interrupts = <
1266236024Sraj			25 2 0 0
1267236024Sraj			16 2 1 19
1268236024Sraj			>;
1269236024Sraj		#address-cells = <2>;
1270236024Sraj		#size-cells = <1>;
1271236024Sraj	};
1272236024Sraj
1273236024Sraj	pci0: pcie@ffe200000 {
1274236024Sraj		compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
1275236024Sraj		device_type = "pci";
1276236024Sraj		status = "okay";
1277236024Sraj		#size-cells = <2>;
1278236024Sraj		#address-cells = <3>;
1279236024Sraj		cell-index = <0>;
1280236024Sraj		bus-range = <0x0 0xff>;
1281236024Sraj		clock-frequency = <0x1fca055>;
1282236024Sraj		fsl,msi = <&msi0>;
1283236024Sraj		interrupts = <16 2 1 15>;
1284236024Sraj
1285236024Sraj		pcie@0 {
1286236024Sraj			reg = <0 0 0 0 0>;
1287236024Sraj			#interrupt-cells = <1>;
1288236024Sraj			#size-cells = <2>;
1289236024Sraj			#address-cells = <3>;
1290236024Sraj			device_type = "pci";
1291236024Sraj			interrupts = <16 2 1 15>;
1292236024Sraj			interrupt-map-mask = <0xf800 0 0 7>;
1293236024Sraj			interrupt-map = <
1294236024Sraj				/* IDSEL 0x0 */
1295236024Sraj				0000 0 0 1 &mpic 40 1 0 0
1296236024Sraj				0000 0 0 2 &mpic 1 1 0 0
1297236024Sraj				0000 0 0 3 &mpic 2 1 0 0
1298236024Sraj				0000 0 0 4 &mpic 3 1 0 0
1299236024Sraj				>;
1300236024Sraj		};
1301236024Sraj	};
1302236024Sraj
1303236024Sraj	pci1: pcie@ffe201000 {
1304236024Sraj		compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
1305236024Sraj		device_type = "pci";
1306236024Sraj		status = "disabled";
1307236024Sraj		#size-cells = <2>;
1308236024Sraj		#address-cells = <3>;
1309236024Sraj		cell-index = <1>;
1310236024Sraj		bus-range = <0 0xff>;
1311236024Sraj		clock-frequency = <0x1fca055>;
1312236024Sraj		fsl,msi = <&msi1>;
1313236024Sraj		interrupts = <16 2 1 14>;
1314236024Sraj		pcie@0 {
1315236024Sraj			reg = <0 0 0 0 0>;
1316236024Sraj			#interrupt-cells = <1>;
1317236024Sraj			#size-cells = <2>;
1318236024Sraj			#address-cells = <3>;
1319236024Sraj			device_type = "pci";
1320236024Sraj			interrupts = <16 2 1 14>;
1321236024Sraj			interrupt-map-mask = <0xf800 0 0 7>;
1322236024Sraj			interrupt-map = <
1323236024Sraj				/* IDSEL 0x0 */
1324236024Sraj				0000 0 0 1 &mpic 41 1 0 0
1325236024Sraj				0000 0 0 2 &mpic 5 1 0 0
1326236024Sraj				0000 0 0 3 &mpic 6 1 0 0
1327236024Sraj				0000 0 0 4 &mpic 7 1 0 0
1328236024Sraj				>;
1329236024Sraj		};
1330236024Sraj	};
1331236024Sraj
1332236024Sraj	pci2: pcie@ffe202000 {
1333236024Sraj		compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
1334236024Sraj		device_type = "pci";
1335236024Sraj		status = "okay";
1336236024Sraj		#size-cells = <2>;
1337236024Sraj		#address-cells = <3>;
1338236024Sraj		cell-index = <2>;
1339236024Sraj		bus-range = <0x0 0xff>;
1340236024Sraj		clock-frequency = <0x1fca055>;
1341236024Sraj		fsl,msi = <&msi2>;
1342236024Sraj		interrupts = <16 2 1 13>;
1343236024Sraj		pcie@0 {
1344236024Sraj			reg = <0 0 0 0 0>;
1345236024Sraj			#interrupt-cells = <1>;
1346236024Sraj			#size-cells = <2>;
1347236024Sraj			#address-cells = <3>;
1348236024Sraj			device_type = "pci";
1349236024Sraj			interrupts = <16 2 1 13>;
1350236024Sraj			interrupt-map-mask = <0xf800 0 0 7>;
1351236024Sraj			interrupt-map = <
1352236024Sraj				/* IDSEL 0x0 */
1353236024Sraj				0000 0 0 1 &mpic 42 1 0 0
1354236024Sraj				0000 0 0 2 &mpic 9 1 0 0
1355236024Sraj				0000 0 0 3 &mpic 10 1 0 0
1356236024Sraj				0000 0 0 4 &mpic 11 1 0 0
1357236024Sraj				>;
1358236024Sraj		};
1359236024Sraj	};
1360236024Sraj
1361236024Sraj	pci3: pcie@ffe203000 {
1362236024Sraj		compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
1363236024Sraj		device_type = "pci";
1364236024Sraj		status = "disabled";
1365236024Sraj		#size-cells = <2>;
1366236024Sraj		#address-cells = <3>;
1367236024Sraj		cell-index = <3>;
1368236024Sraj		bus-range = <0x0 0xff>;
1369236024Sraj		clock-frequency = <0x1fca055>;
1370236024Sraj		fsl,msi = <&msi2>;
1371236024Sraj		interrupts = <16 2 1 12>;
1372236024Sraj		pcie@0 {
1373236024Sraj			reg = <0 0 0 0 0>;
1374236024Sraj			#interrupt-cells = <1>;
1375236024Sraj			#size-cells = <2>;
1376236024Sraj			#address-cells = <3>;
1377236024Sraj			device_type = "pci";
1378236024Sraj			interrupts = <16 2 1 12>;
1379236024Sraj			interrupt-map-mask = <0xf800 0 0 7>;
1380236024Sraj			interrupt-map = <
1381236024Sraj				/* IDSEL 0x0 */
1382236024Sraj				0000 0 0 1 &mpic 43 1 0 0
1383236024Sraj				0000 0 0 2 &mpic 0 1 0 0
1384236024Sraj				0000 0 0 3 &mpic 4 1 0 0
1385236024Sraj				0000 0 0 4 &mpic 8 1 0 0
1386236024Sraj				>;
1387236024Sraj		};
1388236024Sraj	};
1389236024Sraj};
1390