xref: /freebsd/sys/dts/powerpc/p1020rdb.dts (revision 71625ec9ad2a9bc8c09784fbd23b759830e0ee5f)
1*2e36db14SWarner Losh/*
2*2e36db14SWarner Losh * P1020 RDB Device Tree Source
3*2e36db14SWarner Losh *
4*2e36db14SWarner Losh * Copyright 2009 Freescale Semiconductor Inc.
5*2e36db14SWarner Losh *
6*2e36db14SWarner Losh * Redistribution and use in source and binary forms, with or without
7*2e36db14SWarner Losh * modification, are permitted provided that the following conditions are met:
8*2e36db14SWarner Losh *     * Redistributions of source code must retain the above copyright
9*2e36db14SWarner Losh *       notice, this list of conditions and the following disclaimer.
10*2e36db14SWarner Losh *     * Redistributions in binary form must reproduce the above copyright
11*2e36db14SWarner Losh *       notice, this list of conditions and the following disclaimer in the
12*2e36db14SWarner Losh *       documentation and/or other materials provided with the distribution.
13*2e36db14SWarner Losh *     * Neither the name of Freescale Semiconductor nor the
14*2e36db14SWarner Losh *       names of its contributors may be used to endorse or promote products
15*2e36db14SWarner Losh *       derived from this software without specific prior written permission.
16*2e36db14SWarner Losh *
17*2e36db14SWarner Losh *
18*2e36db14SWarner Losh * ALTERNATIVELY, this software may be distributed under the terms of the
19*2e36db14SWarner Losh * GNU General Public License ("GPL") as published by the Free Software
20*2e36db14SWarner Losh * Foundation, either version 2 of that License or (at your option) any
21*2e36db14SWarner Losh * later version.
22*2e36db14SWarner Losh *
23*2e36db14SWarner Losh * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*2e36db14SWarner Losh * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*2e36db14SWarner Losh * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*2e36db14SWarner Losh * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*2e36db14SWarner Losh * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*2e36db14SWarner Losh * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*2e36db14SWarner Losh * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*2e36db14SWarner Losh * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*2e36db14SWarner Losh * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*2e36db14SWarner Losh * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*2e36db14SWarner Losh */
34*2e36db14SWarner Losh
35*2e36db14SWarner Losh/dts-v1/;
36*2e36db14SWarner Losh
37*2e36db14SWarner Losh/ {
38*2e36db14SWarner Losh	model = "fsl,P1020";
39*2e36db14SWarner Losh	compatible = "fsl,P1020RDB";
40*2e36db14SWarner Losh	#address-cells = <2>;
41*2e36db14SWarner Losh	#size-cells = <2>;
42*2e36db14SWarner Losh
43*2e36db14SWarner Losh	aliases {
44*2e36db14SWarner Losh		serial0 = &serial0;
45*2e36db14SWarner Losh		serial1 = &serial1;
46*2e36db14SWarner Losh		ethernet0 = &enet0;
47*2e36db14SWarner Losh		ethernet1 = &enet1;
48*2e36db14SWarner Losh		ethernet2 = &enet2;
49*2e36db14SWarner Losh		pci0 = &pci0;
50*2e36db14SWarner Losh		pci1 = &pci1;
51*2e36db14SWarner Losh	};
52*2e36db14SWarner Losh
53*2e36db14SWarner Losh	cpus {
54*2e36db14SWarner Losh		#address-cells = <1>;
55*2e36db14SWarner Losh		#size-cells = <0>;
56*2e36db14SWarner Losh
57*2e36db14SWarner Losh		PowerPC,P1020@0 {
58*2e36db14SWarner Losh			device_type = "cpu";
59*2e36db14SWarner Losh			reg = <0x0>;
60*2e36db14SWarner Losh			next-level-cache = <&L2>;
61*2e36db14SWarner Losh		};
62*2e36db14SWarner Losh
63*2e36db14SWarner Losh		PowerPC,P1020@1 {
64*2e36db14SWarner Losh			device_type = "cpu";
65*2e36db14SWarner Losh			reg = <0x1>;
66*2e36db14SWarner Losh			next-level-cache = <&L2>;
67*2e36db14SWarner Losh		};
68*2e36db14SWarner Losh	};
69*2e36db14SWarner Losh
70*2e36db14SWarner Losh	memory {
71*2e36db14SWarner Losh		device_type = "memory";
72*2e36db14SWarner Losh	};
73*2e36db14SWarner Losh
74*2e36db14SWarner Losh	localbus@ffe05000 {
75*2e36db14SWarner Losh		#address-cells = <2>;
76*2e36db14SWarner Losh		#size-cells = <1>;
77*2e36db14SWarner Losh		compatible = "fsl,p1020-elbc", "fsl,elbc", "simple-bus";
78*2e36db14SWarner Losh		reg = <0 0xffe05000 0 0x1000>;
79*2e36db14SWarner Losh		interrupts = <19 2>;
80*2e36db14SWarner Losh		interrupt-parent = <&mpic>;
81*2e36db14SWarner Losh
82*2e36db14SWarner Losh		/* NOR, NAND Flashes and Vitesse 5 port L2 switch */
83*2e36db14SWarner Losh		ranges = <0x0 0x0 0x0 0xef000000 0x01000000
84*2e36db14SWarner Losh			  0x1 0x0 0x0 0xffa00000 0x00040000
85*2e36db14SWarner Losh			  0x2 0x0 0x0 0xffb00000 0x00020000>;
86*2e36db14SWarner Losh
87*2e36db14SWarner Losh		nor@0,0 {
88*2e36db14SWarner Losh			#address-cells = <1>;
89*2e36db14SWarner Losh			#size-cells = <1>;
90*2e36db14SWarner Losh			compatible = "cfi-flash";
91*2e36db14SWarner Losh			reg = <0x0 0x0 0x1000000>;
92*2e36db14SWarner Losh			bank-width = <2>;
93*2e36db14SWarner Losh			device-width = <1>;
94*2e36db14SWarner Losh
95*2e36db14SWarner Losh			partition@0 {
96*2e36db14SWarner Losh				/* This location must not be altered  */
97*2e36db14SWarner Losh				/* 256KB for Vitesse 7385 Switch firmware */
98*2e36db14SWarner Losh				reg = <0x0 0x00040000>;
99*2e36db14SWarner Losh				label = "NOR (RO) Vitesse-7385 Firmware";
100*2e36db14SWarner Losh				read-only;
101*2e36db14SWarner Losh			};
102*2e36db14SWarner Losh
103*2e36db14SWarner Losh			partition@40000 {
104*2e36db14SWarner Losh				/* 256KB for DTB Image */
105*2e36db14SWarner Losh				reg = <0x00040000 0x00040000>;
106*2e36db14SWarner Losh				label = "NOR (RO) DTB Image";
107*2e36db14SWarner Losh				read-only;
108*2e36db14SWarner Losh			};
109*2e36db14SWarner Losh
110*2e36db14SWarner Losh			partition@80000 {
111*2e36db14SWarner Losh				/* 3.5 MB for Linux Kernel Image */
112*2e36db14SWarner Losh				reg = <0x00080000 0x00380000>;
113*2e36db14SWarner Losh				label = "NOR (RO) Linux Kernel Image";
114*2e36db14SWarner Losh				read-only;
115*2e36db14SWarner Losh			};
116*2e36db14SWarner Losh
117*2e36db14SWarner Losh			partition@400000 {
118*2e36db14SWarner Losh				/* 11MB for JFFS2 based Root file System */
119*2e36db14SWarner Losh				reg = <0x00400000 0x00b00000>;
120*2e36db14SWarner Losh				label = "NOR (RW) JFFS2 Root File System";
121*2e36db14SWarner Losh			};
122*2e36db14SWarner Losh
123*2e36db14SWarner Losh			partition@f00000 {
124*2e36db14SWarner Losh				/* This location must not be altered  */
125*2e36db14SWarner Losh				/* 512KB for u-boot Bootloader Image */
126*2e36db14SWarner Losh				/* 512KB for u-boot Environment Variables */
127*2e36db14SWarner Losh				reg = <0x00f00000 0x00100000>;
128*2e36db14SWarner Losh				label = "NOR (RO) U-Boot Image";
129*2e36db14SWarner Losh				read-only;
130*2e36db14SWarner Losh			};
131*2e36db14SWarner Losh		};
132*2e36db14SWarner Losh
133*2e36db14SWarner Losh		nand@1,0 {
134*2e36db14SWarner Losh			#address-cells = <1>;
135*2e36db14SWarner Losh			#size-cells = <1>;
136*2e36db14SWarner Losh			compatible = "fsl,p1020-fcm-nand",
137*2e36db14SWarner Losh				     "fsl,elbc-fcm-nand";
138*2e36db14SWarner Losh			reg = <0x1 0x0 0x40000>;
139*2e36db14SWarner Losh
140*2e36db14SWarner Losh			partition@0 {
141*2e36db14SWarner Losh				/* This location must not be altered  */
142*2e36db14SWarner Losh				/* 1MB for u-boot Bootloader Image */
143*2e36db14SWarner Losh				reg = <0x0 0x00100000>;
144*2e36db14SWarner Losh				label = "NAND (RO) U-Boot Image";
145*2e36db14SWarner Losh				read-only;
146*2e36db14SWarner Losh			};
147*2e36db14SWarner Losh
148*2e36db14SWarner Losh			partition@100000 {
149*2e36db14SWarner Losh				/* 1MB for DTB Image */
150*2e36db14SWarner Losh				reg = <0x00100000 0x00100000>;
151*2e36db14SWarner Losh				label = "NAND (RO) DTB Image";
152*2e36db14SWarner Losh				read-only;
153*2e36db14SWarner Losh			};
154*2e36db14SWarner Losh
155*2e36db14SWarner Losh			partition@200000 {
156*2e36db14SWarner Losh				/* 4MB for Linux Kernel Image */
157*2e36db14SWarner Losh				reg = <0x00200000 0x00400000>;
158*2e36db14SWarner Losh				label = "NAND (RO) Linux Kernel Image";
159*2e36db14SWarner Losh				read-only;
160*2e36db14SWarner Losh			};
161*2e36db14SWarner Losh
162*2e36db14SWarner Losh			partition@600000 {
163*2e36db14SWarner Losh				/* 4MB for Compressed Root file System Image */
164*2e36db14SWarner Losh				reg = <0x00600000 0x00400000>;
165*2e36db14SWarner Losh				label = "NAND (RO) Compressed RFS Image";
166*2e36db14SWarner Losh				read-only;
167*2e36db14SWarner Losh			};
168*2e36db14SWarner Losh
169*2e36db14SWarner Losh			partition@a00000 {
170*2e36db14SWarner Losh				/* 7MB for JFFS2 based Root file System */
171*2e36db14SWarner Losh				reg = <0x00a00000 0x00700000>;
172*2e36db14SWarner Losh				label = "NAND (RW) JFFS2 Root File System";
173*2e36db14SWarner Losh			};
174*2e36db14SWarner Losh
175*2e36db14SWarner Losh			partition@1100000 {
176*2e36db14SWarner Losh				/* 15MB for JFFS2 based Root file System */
177*2e36db14SWarner Losh				reg = <0x01100000 0x00f00000>;
178*2e36db14SWarner Losh				label = "NAND (RW) Writable User area";
179*2e36db14SWarner Losh			};
180*2e36db14SWarner Losh		};
181*2e36db14SWarner Losh
182*2e36db14SWarner Losh		L2switch@2,0 {
183*2e36db14SWarner Losh			#address-cells = <1>;
184*2e36db14SWarner Losh			#size-cells = <1>;
185*2e36db14SWarner Losh			compatible = "vitesse-7385";
186*2e36db14SWarner Losh			reg = <0x2 0x0 0x20000>;
187*2e36db14SWarner Losh		};
188*2e36db14SWarner Losh
189*2e36db14SWarner Losh	};
190*2e36db14SWarner Losh
191*2e36db14SWarner Losh	soc@ffe00000 {
192*2e36db14SWarner Losh		#address-cells = <1>;
193*2e36db14SWarner Losh		#size-cells = <1>;
194*2e36db14SWarner Losh		device_type = "soc";
195*2e36db14SWarner Losh		compatible = "fsl,p1020-immr", "simple-bus";
196*2e36db14SWarner Losh		ranges = <0x0  0x0 0xffe00000 0x100000>;
197*2e36db14SWarner Losh		bus-frequency = <0>;		// Filled out by uboot.
198*2e36db14SWarner Losh
199*2e36db14SWarner Losh		ecm-law@0 {
200*2e36db14SWarner Losh			compatible = "fsl,ecm-law";
201*2e36db14SWarner Losh			reg = <0x0 0x1000>;
202*2e36db14SWarner Losh			fsl,num-laws = <12>;
203*2e36db14SWarner Losh		};
204*2e36db14SWarner Losh
205*2e36db14SWarner Losh		ecm@1000 {
206*2e36db14SWarner Losh			compatible = "fsl,p1020-ecm", "fsl,ecm";
207*2e36db14SWarner Losh			reg = <0x1000 0x1000>;
208*2e36db14SWarner Losh			interrupts = <16 2>;
209*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
210*2e36db14SWarner Losh		};
211*2e36db14SWarner Losh
212*2e36db14SWarner Losh		memory-controller@2000 {
213*2e36db14SWarner Losh			compatible = "fsl,p1020-memory-controller";
214*2e36db14SWarner Losh			reg = <0x2000 0x1000>;
215*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
216*2e36db14SWarner Losh			interrupts = <16 2>;
217*2e36db14SWarner Losh		};
218*2e36db14SWarner Losh
219*2e36db14SWarner Losh		i2c@3000 {
220*2e36db14SWarner Losh			#address-cells = <1>;
221*2e36db14SWarner Losh			#size-cells = <0>;
222*2e36db14SWarner Losh			cell-index = <0>;
223*2e36db14SWarner Losh			compatible = "fsl-i2c";
224*2e36db14SWarner Losh			reg = <0x3000 0x100>;
225*2e36db14SWarner Losh			interrupts = <43 2>;
226*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
227*2e36db14SWarner Losh			dfsrr;
228*2e36db14SWarner Losh			rtc@68 {
229*2e36db14SWarner Losh				compatible = "dallas,ds1339";
230*2e36db14SWarner Losh				reg = <0x68>;
231*2e36db14SWarner Losh			};
232*2e36db14SWarner Losh		};
233*2e36db14SWarner Losh
234*2e36db14SWarner Losh		i2c@3100 {
235*2e36db14SWarner Losh			#address-cells = <1>;
236*2e36db14SWarner Losh			#size-cells = <0>;
237*2e36db14SWarner Losh			cell-index = <1>;
238*2e36db14SWarner Losh			compatible = "fsl-i2c";
239*2e36db14SWarner Losh			reg = <0x3100 0x100>;
240*2e36db14SWarner Losh			interrupts = <43 2>;
241*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
242*2e36db14SWarner Losh			dfsrr;
243*2e36db14SWarner Losh		};
244*2e36db14SWarner Losh
245*2e36db14SWarner Losh		serial0: serial@4500 {
246*2e36db14SWarner Losh			cell-index = <0>;
247*2e36db14SWarner Losh			device_type = "serial";
248*2e36db14SWarner Losh			compatible = "ns16550";
249*2e36db14SWarner Losh			reg = <0x4500 0x100>;
250*2e36db14SWarner Losh			clock-frequency = <0>;
251*2e36db14SWarner Losh			interrupts = <42 2>;
252*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
253*2e36db14SWarner Losh		};
254*2e36db14SWarner Losh
255*2e36db14SWarner Losh		serial1: serial@4600 {
256*2e36db14SWarner Losh			cell-index = <1>;
257*2e36db14SWarner Losh			device_type = "serial";
258*2e36db14SWarner Losh			compatible = "ns16550";
259*2e36db14SWarner Losh			reg = <0x4600 0x100>;
260*2e36db14SWarner Losh			clock-frequency = <0>;
261*2e36db14SWarner Losh			interrupts = <42 2>;
262*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
263*2e36db14SWarner Losh		};
264*2e36db14SWarner Losh
265*2e36db14SWarner Losh		spi@7000 {
266*2e36db14SWarner Losh			cell-index = <0>;
267*2e36db14SWarner Losh			#address-cells = <1>;
268*2e36db14SWarner Losh			#size-cells = <0>;
269*2e36db14SWarner Losh			compatible = "fsl,espi";
270*2e36db14SWarner Losh			reg = <0x7000 0x1000>;
271*2e36db14SWarner Losh			interrupts = <59 0x2>;
272*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
273*2e36db14SWarner Losh			mode = "cpu";
274*2e36db14SWarner Losh
275*2e36db14SWarner Losh			fsl_m25p80@0 {
276*2e36db14SWarner Losh				#address-cells = <1>;
277*2e36db14SWarner Losh				#size-cells = <1>;
278*2e36db14SWarner Losh				compatible = "fsl,espi-flash";
279*2e36db14SWarner Losh				reg = <0>;
280*2e36db14SWarner Losh				linux,modalias = "fsl_m25p80";
281*2e36db14SWarner Losh				modal = "s25sl128b";
282*2e36db14SWarner Losh				spi-max-frequency = <50000000>;
283*2e36db14SWarner Losh				mode = <0>;
284*2e36db14SWarner Losh
285*2e36db14SWarner Losh				partition@0 {
286*2e36db14SWarner Losh					/* 512KB for u-boot Bootloader Image */
287*2e36db14SWarner Losh					reg = <0x0 0x00080000>;
288*2e36db14SWarner Losh					label = "SPI (RO) U-Boot Image";
289*2e36db14SWarner Losh					read-only;
290*2e36db14SWarner Losh				};
291*2e36db14SWarner Losh
292*2e36db14SWarner Losh				partition@80000 {
293*2e36db14SWarner Losh					/* 512KB for DTB Image */
294*2e36db14SWarner Losh					reg = <0x00080000 0x00080000>;
295*2e36db14SWarner Losh					label = "SPI (RO) DTB Image";
296*2e36db14SWarner Losh					read-only;
297*2e36db14SWarner Losh				};
298*2e36db14SWarner Losh
299*2e36db14SWarner Losh				partition@100000 {
300*2e36db14SWarner Losh					/* 4MB for Linux Kernel Image */
301*2e36db14SWarner Losh					reg = <0x00100000 0x00400000>;
302*2e36db14SWarner Losh					label = "SPI (RO) Linux Kernel Image";
303*2e36db14SWarner Losh					read-only;
304*2e36db14SWarner Losh				};
305*2e36db14SWarner Losh
306*2e36db14SWarner Losh				partition@500000 {
307*2e36db14SWarner Losh					/* 4MB for Compressed RFS Image */
308*2e36db14SWarner Losh					reg = <0x00500000 0x00400000>;
309*2e36db14SWarner Losh					label = "SPI (RO) Compressed RFS Image";
310*2e36db14SWarner Losh					read-only;
311*2e36db14SWarner Losh				};
312*2e36db14SWarner Losh
313*2e36db14SWarner Losh				partition@900000 {
314*2e36db14SWarner Losh					/* 7MB for JFFS2 based RFS */
315*2e36db14SWarner Losh					reg = <0x00900000 0x00700000>;
316*2e36db14SWarner Losh					label = "SPI (RW) JFFS2 RFS";
317*2e36db14SWarner Losh				};
318*2e36db14SWarner Losh			};
319*2e36db14SWarner Losh		};
320*2e36db14SWarner Losh
321*2e36db14SWarner Losh		gpio: gpio-controller@f000 {
322*2e36db14SWarner Losh			#gpio-cells = <2>;
323*2e36db14SWarner Losh			compatible = "fsl,mpc8572-gpio";
324*2e36db14SWarner Losh			reg = <0xf000 0x100>;
325*2e36db14SWarner Losh			interrupts = <47 0x2>;
326*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
327*2e36db14SWarner Losh			gpio-controller;
328*2e36db14SWarner Losh		};
329*2e36db14SWarner Losh
330*2e36db14SWarner Losh		L2: l2-cache-controller@20000 {
331*2e36db14SWarner Losh			compatible = "fsl,p1020-l2-cache-controller";
332*2e36db14SWarner Losh			reg = <0x20000 0x1000>;
333*2e36db14SWarner Losh			cache-line-size = <32>;	// 32 bytes
334*2e36db14SWarner Losh			cache-size = <0x40000>; // L2,256K
335*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
336*2e36db14SWarner Losh			interrupts = <16 2>;
337*2e36db14SWarner Losh		};
338*2e36db14SWarner Losh
339*2e36db14SWarner Losh		dma@21300 {
340*2e36db14SWarner Losh			#address-cells = <1>;
341*2e36db14SWarner Losh			#size-cells = <1>;
342*2e36db14SWarner Losh			compatible = "fsl,eloplus-dma";
343*2e36db14SWarner Losh			reg = <0x21300 0x4>;
344*2e36db14SWarner Losh			ranges = <0x0 0x21100 0x200>;
345*2e36db14SWarner Losh			cell-index = <0>;
346*2e36db14SWarner Losh			dma-channel@0 {
347*2e36db14SWarner Losh				compatible = "fsl,eloplus-dma-channel";
348*2e36db14SWarner Losh				reg = <0x0 0x80>;
349*2e36db14SWarner Losh				cell-index = <0>;
350*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
351*2e36db14SWarner Losh				interrupts = <20 2>;
352*2e36db14SWarner Losh			};
353*2e36db14SWarner Losh			dma-channel@80 {
354*2e36db14SWarner Losh				compatible = "fsl,eloplus-dma-channel";
355*2e36db14SWarner Losh				reg = <0x80 0x80>;
356*2e36db14SWarner Losh				cell-index = <1>;
357*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
358*2e36db14SWarner Losh				interrupts = <21 2>;
359*2e36db14SWarner Losh			};
360*2e36db14SWarner Losh			dma-channel@100 {
361*2e36db14SWarner Losh				compatible = "fsl,eloplus-dma-channel";
362*2e36db14SWarner Losh				reg = <0x100 0x80>;
363*2e36db14SWarner Losh				cell-index = <2>;
364*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
365*2e36db14SWarner Losh				interrupts = <22 2>;
366*2e36db14SWarner Losh			};
367*2e36db14SWarner Losh			dma-channel@180 {
368*2e36db14SWarner Losh				compatible = "fsl,eloplus-dma-channel";
369*2e36db14SWarner Losh				reg = <0x180 0x80>;
370*2e36db14SWarner Losh				cell-index = <3>;
371*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
372*2e36db14SWarner Losh				interrupts = <23 2>;
373*2e36db14SWarner Losh			};
374*2e36db14SWarner Losh		};
375*2e36db14SWarner Losh
376*2e36db14SWarner Losh		mdio@24000 {
377*2e36db14SWarner Losh			#address-cells = <1>;
378*2e36db14SWarner Losh			#size-cells = <0>;
379*2e36db14SWarner Losh			compatible = "fsl,etsec2-mdio";
380*2e36db14SWarner Losh			reg = <0x24000 0x1000 0xb0030 0x4>;
381*2e36db14SWarner Losh
382*2e36db14SWarner Losh			phy0: ethernet-phy@0 {
383*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
384*2e36db14SWarner Losh				interrupts = <3 1>;
385*2e36db14SWarner Losh				reg = <0x0>;
386*2e36db14SWarner Losh			};
387*2e36db14SWarner Losh
388*2e36db14SWarner Losh			phy1: ethernet-phy@1 {
389*2e36db14SWarner Losh				interrupt-parent = <&mpic>;
390*2e36db14SWarner Losh				interrupts = <2 1>;
391*2e36db14SWarner Losh				reg = <0x1>;
392*2e36db14SWarner Losh			};
393*2e36db14SWarner Losh		};
394*2e36db14SWarner Losh
395*2e36db14SWarner Losh		mdio@25000 {
396*2e36db14SWarner Losh			#address-cells = <1>;
397*2e36db14SWarner Losh			#size-cells = <0>;
398*2e36db14SWarner Losh			compatible = "fsl,etsec2-tbi";
399*2e36db14SWarner Losh			reg = <0x25000 0x1000 0xb1030 0x4>;
400*2e36db14SWarner Losh
401*2e36db14SWarner Losh			tbi0: tbi-phy@11 {
402*2e36db14SWarner Losh				reg = <0x11>;
403*2e36db14SWarner Losh				device_type = "tbi-phy";
404*2e36db14SWarner Losh			};
405*2e36db14SWarner Losh		};
406*2e36db14SWarner Losh
407*2e36db14SWarner Losh		enet0: ethernet@b0000 {
408*2e36db14SWarner Losh			#address-cells = <1>;
409*2e36db14SWarner Losh			#size-cells = <1>;
410*2e36db14SWarner Losh			device_type = "network";
411*2e36db14SWarner Losh			model = "eTSEC";
412*2e36db14SWarner Losh			compatible = "fsl,etsec2";
413*2e36db14SWarner Losh			fsl,num_rx_queues = <0x8>;
414*2e36db14SWarner Losh			fsl,num_tx_queues = <0x8>;
415*2e36db14SWarner Losh			local-mac-address = [ 00 00 00 00 00 00 ];
416*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
417*2e36db14SWarner Losh			fixed-link = <1 1 1000 0 0>;
418*2e36db14SWarner Losh			phy-connection-type = "rgmii-id";
419*2e36db14SWarner Losh
420*2e36db14SWarner Losh			queue-group@0 {
421*2e36db14SWarner Losh				#address-cells = <1>;
422*2e36db14SWarner Losh				#size-cells = <1>;
423*2e36db14SWarner Losh				reg = <0xb0000 0x1000>;
424*2e36db14SWarner Losh				interrupts = <29 2 30 2 34 2>;
425*2e36db14SWarner Losh			};
426*2e36db14SWarner Losh
427*2e36db14SWarner Losh			queue-group@1 {
428*2e36db14SWarner Losh				#address-cells = <1>;
429*2e36db14SWarner Losh				#size-cells = <1>;
430*2e36db14SWarner Losh				reg = <0xb4000 0x1000>;
431*2e36db14SWarner Losh				interrupts = <17 2 18 2 24 2>;
432*2e36db14SWarner Losh			};
433*2e36db14SWarner Losh		};
434*2e36db14SWarner Losh
435*2e36db14SWarner Losh		enet1: ethernet@b1000 {
436*2e36db14SWarner Losh			#address-cells = <1>;
437*2e36db14SWarner Losh			#size-cells = <1>;
438*2e36db14SWarner Losh			device_type = "network";
439*2e36db14SWarner Losh			model = "eTSEC";
440*2e36db14SWarner Losh			compatible = "fsl,etsec2";
441*2e36db14SWarner Losh			fsl,num_rx_queues = <0x8>;
442*2e36db14SWarner Losh			fsl,num_tx_queues = <0x8>;
443*2e36db14SWarner Losh			local-mac-address = [ 00 00 00 00 00 00 ];
444*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
445*2e36db14SWarner Losh			phy-handle = <&phy0>;
446*2e36db14SWarner Losh			tbi-handle = <&tbi0>;
447*2e36db14SWarner Losh			phy-connection-type = "sgmii";
448*2e36db14SWarner Losh
449*2e36db14SWarner Losh			queue-group@0 {
450*2e36db14SWarner Losh				#address-cells = <1>;
451*2e36db14SWarner Losh				#size-cells = <1>;
452*2e36db14SWarner Losh				reg = <0xb1000 0x1000>;
453*2e36db14SWarner Losh				interrupts = <35 2 36 2 40 2>;
454*2e36db14SWarner Losh			};
455*2e36db14SWarner Losh
456*2e36db14SWarner Losh			queue-group@1 {
457*2e36db14SWarner Losh				#address-cells = <1>;
458*2e36db14SWarner Losh				#size-cells = <1>;
459*2e36db14SWarner Losh				reg = <0xb5000 0x1000>;
460*2e36db14SWarner Losh				interrupts = <51 2 52 2 67 2>;
461*2e36db14SWarner Losh			};
462*2e36db14SWarner Losh		};
463*2e36db14SWarner Losh
464*2e36db14SWarner Losh		enet2: ethernet@b2000 {
465*2e36db14SWarner Losh			#address-cells = <1>;
466*2e36db14SWarner Losh			#size-cells = <1>;
467*2e36db14SWarner Losh			device_type = "network";
468*2e36db14SWarner Losh			model = "eTSEC";
469*2e36db14SWarner Losh			compatible = "fsl,etsec2";
470*2e36db14SWarner Losh			fsl,num_rx_queues = <0x8>;
471*2e36db14SWarner Losh			fsl,num_tx_queues = <0x8>;
472*2e36db14SWarner Losh			local-mac-address = [ 00 00 00 00 00 00 ];
473*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
474*2e36db14SWarner Losh			phy-handle = <&phy1>;
475*2e36db14SWarner Losh			phy-connection-type = "rgmii-id";
476*2e36db14SWarner Losh
477*2e36db14SWarner Losh			queue-group@0 {
478*2e36db14SWarner Losh				#address-cells = <1>;
479*2e36db14SWarner Losh				#size-cells = <1>;
480*2e36db14SWarner Losh				reg = <0xb2000 0x1000>;
481*2e36db14SWarner Losh				interrupts = <31 2 32 2 33 2>;
482*2e36db14SWarner Losh			};
483*2e36db14SWarner Losh
484*2e36db14SWarner Losh			queue-group@1 {
485*2e36db14SWarner Losh				#address-cells = <1>;
486*2e36db14SWarner Losh				#size-cells = <1>;
487*2e36db14SWarner Losh				reg = <0xb6000 0x1000>;
488*2e36db14SWarner Losh				interrupts = <25 2 26 2 27 2>;
489*2e36db14SWarner Losh			};
490*2e36db14SWarner Losh		};
491*2e36db14SWarner Losh
492*2e36db14SWarner Losh		usb@22000 {
493*2e36db14SWarner Losh			#address-cells = <1>;
494*2e36db14SWarner Losh			#size-cells = <0>;
495*2e36db14SWarner Losh			compatible = "fsl-usb2-dr";
496*2e36db14SWarner Losh			reg = <0x22000 0x1000>;
497*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
498*2e36db14SWarner Losh			interrupts = <28 0x2>;
499*2e36db14SWarner Losh			phy_type = "ulpi";
500*2e36db14SWarner Losh		};
501*2e36db14SWarner Losh
502*2e36db14SWarner Losh		/* USB2 is shared with localbus, so it must be disabled
503*2e36db14SWarner Losh		   by default. We can't put 'status = "disabled";' here
504*2e36db14SWarner Losh		   since U-Boot doesn't clear the status property when
505*2e36db14SWarner Losh		   it enables USB2. OTOH, U-Boot does create a new node
506*2e36db14SWarner Losh		   when there isn't any. So, just comment it out.
507*2e36db14SWarner Losh		usb@23000 {
508*2e36db14SWarner Losh			#address-cells = <1>;
509*2e36db14SWarner Losh			#size-cells = <0>;
510*2e36db14SWarner Losh			compatible = "fsl-usb2-dr";
511*2e36db14SWarner Losh			reg = <0x23000 0x1000>;
512*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
513*2e36db14SWarner Losh			interrupts = <46 0x2>;
514*2e36db14SWarner Losh			phy_type = "ulpi";
515*2e36db14SWarner Losh		};
516*2e36db14SWarner Losh		*/
517*2e36db14SWarner Losh
518*2e36db14SWarner Losh		sdhci@2e000 {
519*2e36db14SWarner Losh			compatible = "fsl,p1020-esdhc", "fsl,esdhc";
520*2e36db14SWarner Losh			reg = <0x2e000 0x1000>;
521*2e36db14SWarner Losh			interrupts = <72 0x2>;
522*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
523*2e36db14SWarner Losh			/* Filled in by U-Boot */
524*2e36db14SWarner Losh			clock-frequency = <0>;
525*2e36db14SWarner Losh		};
526*2e36db14SWarner Losh
527*2e36db14SWarner Losh		crypto@30000 {
528*2e36db14SWarner Losh			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
529*2e36db14SWarner Losh				     "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
530*2e36db14SWarner Losh			reg = <0x30000 0x10000>;
531*2e36db14SWarner Losh			interrupts = <45 2 58 2>;
532*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
533*2e36db14SWarner Losh			fsl,num-channels = <4>;
534*2e36db14SWarner Losh			fsl,channel-fifo-len = <24>;
535*2e36db14SWarner Losh			fsl,exec-units-mask = <0xbfe>;
536*2e36db14SWarner Losh			fsl,descriptor-types-mask = <0x3ab0ebf>;
537*2e36db14SWarner Losh		};
538*2e36db14SWarner Losh
539*2e36db14SWarner Losh		mpic: pic@40000 {
540*2e36db14SWarner Losh			interrupt-controller;
541*2e36db14SWarner Losh			#address-cells = <0>;
542*2e36db14SWarner Losh			#interrupt-cells = <2>;
543*2e36db14SWarner Losh			reg = <0x40000 0x40000>;
544*2e36db14SWarner Losh			compatible = "chrp,open-pic";
545*2e36db14SWarner Losh			device_type = "open-pic";
546*2e36db14SWarner Losh		};
547*2e36db14SWarner Losh
548*2e36db14SWarner Losh		msi@41600 {
549*2e36db14SWarner Losh			compatible = "fsl,p1020-msi", "fsl,mpic-msi";
550*2e36db14SWarner Losh			reg = <0x41600 0x80>;
551*2e36db14SWarner Losh			msi-available-ranges = <0 0x100>;
552*2e36db14SWarner Losh			interrupts = <
553*2e36db14SWarner Losh				0xe0 0
554*2e36db14SWarner Losh				0xe1 0
555*2e36db14SWarner Losh				0xe2 0
556*2e36db14SWarner Losh				0xe3 0
557*2e36db14SWarner Losh				0xe4 0
558*2e36db14SWarner Losh				0xe5 0
559*2e36db14SWarner Losh				0xe6 0
560*2e36db14SWarner Losh				0xe7 0>;
561*2e36db14SWarner Losh			interrupt-parent = <&mpic>;
562*2e36db14SWarner Losh		};
563*2e36db14SWarner Losh
564*2e36db14SWarner Losh		global-utilities@e0000 {	//global utilities block
565*2e36db14SWarner Losh			compatible = "fsl,p1020-guts";
566*2e36db14SWarner Losh			reg = <0xe0000 0x1000>;
567*2e36db14SWarner Losh			fsl,has-rstcr;
568*2e36db14SWarner Losh		};
569*2e36db14SWarner Losh	};
570*2e36db14SWarner Losh
571*2e36db14SWarner Losh	pci0: pcie@ffe09000 {
572*2e36db14SWarner Losh		compatible = "fsl,mpc8548-pcie";
573*2e36db14SWarner Losh		device_type = "pci";
574*2e36db14SWarner Losh		#interrupt-cells = <1>;
575*2e36db14SWarner Losh		#size-cells = <2>;
576*2e36db14SWarner Losh		#address-cells = <3>;
577*2e36db14SWarner Losh		reg = <0 0xffe09000 0 0x1000>;
578*2e36db14SWarner Losh		bus-range = <0 255>;
579*2e36db14SWarner Losh		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
580*2e36db14SWarner Losh			  0x1000000 0x0 0x00000000 0 0xffc30000 0x0 0x10000>;
581*2e36db14SWarner Losh		clock-frequency = <33333333>;
582*2e36db14SWarner Losh		interrupt-parent = <&mpic>;
583*2e36db14SWarner Losh		interrupts = <16 2>;
584*2e36db14SWarner Losh		pcie@0 {
585*2e36db14SWarner Losh			reg = <0x0 0x0 0x0 0x0 0x0>;
586*2e36db14SWarner Losh			#size-cells = <2>;
587*2e36db14SWarner Losh			#address-cells = <3>;
588*2e36db14SWarner Losh			device_type = "pci";
589*2e36db14SWarner Losh			ranges = <0x2000000 0x0 0xa0000000
590*2e36db14SWarner Losh				  0x2000000 0x0 0xa0000000
591*2e36db14SWarner Losh				  0x0 0x20000000
592*2e36db14SWarner Losh
593*2e36db14SWarner Losh				  0x1000000 0x0 0x0
594*2e36db14SWarner Losh				  0x1000000 0x0 0x0
595*2e36db14SWarner Losh				  0x0 0x100000>;
596*2e36db14SWarner Losh		};
597*2e36db14SWarner Losh	};
598*2e36db14SWarner Losh
599*2e36db14SWarner Losh	pci1: pcie@ffe0a000 {
600*2e36db14SWarner Losh		compatible = "fsl,mpc8548-pcie";
601*2e36db14SWarner Losh		device_type = "pci";
602*2e36db14SWarner Losh		#interrupt-cells = <1>;
603*2e36db14SWarner Losh		#size-cells = <2>;
604*2e36db14SWarner Losh		#address-cells = <3>;
605*2e36db14SWarner Losh		reg = <0 0xffe0a000 0 0x1000>;
606*2e36db14SWarner Losh		bus-range = <0 255>;
607*2e36db14SWarner Losh		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
608*2e36db14SWarner Losh			  0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
609*2e36db14SWarner Losh		clock-frequency = <33333333>;
610*2e36db14SWarner Losh		interrupt-parent = <&mpic>;
611*2e36db14SWarner Losh		interrupts = <16 2>;
612*2e36db14SWarner Losh		pcie@0 {
613*2e36db14SWarner Losh			reg = <0x0 0x0 0x0 0x0 0x0>;
614*2e36db14SWarner Losh			#size-cells = <2>;
615*2e36db14SWarner Losh			#address-cells = <3>;
616*2e36db14SWarner Losh			device_type = "pci";
617*2e36db14SWarner Losh			ranges = <0x2000000 0x0 0xc0000000
618*2e36db14SWarner Losh				  0x2000000 0x0 0xc0000000
619*2e36db14SWarner Losh				  0x0 0x20000000
620*2e36db14SWarner Losh
621*2e36db14SWarner Losh				  0x1000000 0x0 0x0
622*2e36db14SWarner Losh				  0x1000000 0x0 0x0
623*2e36db14SWarner Losh				  0x0 0x100000>;
624*2e36db14SWarner Losh		};
625*2e36db14SWarner Losh	};
626*2e36db14SWarner Losh};
627