xref: /linux/arch/powerpc/boot/dts/xpedite5301.dts (revision 317bf653a6700b0ae34cef5028b287d5205bdaf1)
1*317bf653SNate Case/*
2*317bf653SNate Case * Copyright (C) 2008 Extreme Engineering Solutions, Inc.
3*317bf653SNate Case * Based on MPC8572DS device tree from Freescale Semiconductor, Inc.
4*317bf653SNate Case *
5*317bf653SNate Case * XPedite5301 PMC/XMC module based on MPC8572E
6*317bf653SNate Case *
7*317bf653SNate Case * This is free software; you can redistribute it and/or modify
8*317bf653SNate Case * it under the terms of the GNU General Public License version 2 as
9*317bf653SNate Case * published by the Free Software Foundation.
10*317bf653SNate Case */
11*317bf653SNate Case
12*317bf653SNate Case/dts-v1/;
13*317bf653SNate Case/ {
14*317bf653SNate Case	model = "xes,xpedite5301";
15*317bf653SNate Case	compatible = "xes,xpedite5301", "xes,MPC8572";
16*317bf653SNate Case	#address-cells = <2>;
17*317bf653SNate Case	#size-cells = <2>;
18*317bf653SNate Case	form-factor = "PMC/XMC";
19*317bf653SNate Case	boot-bank = <0x0>;	/* 0: Primary flash, 1: Secondary flash */
20*317bf653SNate Case
21*317bf653SNate Case	aliases {
22*317bf653SNate Case		ethernet0 = &enet0;
23*317bf653SNate Case		ethernet1 = &enet1;
24*317bf653SNate Case		serial0 = &serial0;
25*317bf653SNate Case		serial1 = &serial1;
26*317bf653SNate Case		pci1 = &pci1;
27*317bf653SNate Case		pci2 = &pci2;
28*317bf653SNate Case	};
29*317bf653SNate Case
30*317bf653SNate Case	cpus {
31*317bf653SNate Case		#address-cells = <1>;
32*317bf653SNate Case		#size-cells = <0>;
33*317bf653SNate Case
34*317bf653SNate Case		PowerPC,8572@0 {
35*317bf653SNate Case			device_type = "cpu";
36*317bf653SNate Case			reg = <0x0>;
37*317bf653SNate Case			d-cache-line-size = <32>;	// 32 bytes
38*317bf653SNate Case			i-cache-line-size = <32>;	// 32 bytes
39*317bf653SNate Case			d-cache-size = <0x8000>;		// L1, 32K
40*317bf653SNate Case			i-cache-size = <0x8000>;		// L1, 32K
41*317bf653SNate Case			timebase-frequency = <0>;
42*317bf653SNate Case			bus-frequency = <0>;
43*317bf653SNate Case			clock-frequency = <0>;
44*317bf653SNate Case			next-level-cache = <&L2>;
45*317bf653SNate Case		};
46*317bf653SNate Case
47*317bf653SNate Case		PowerPC,8572@1 {
48*317bf653SNate Case			device_type = "cpu";
49*317bf653SNate Case			reg = <0x1>;
50*317bf653SNate Case			d-cache-line-size = <32>;	// 32 bytes
51*317bf653SNate Case			i-cache-line-size = <32>;	// 32 bytes
52*317bf653SNate Case			d-cache-size = <0x8000>;		// L1, 32K
53*317bf653SNate Case			i-cache-size = <0x8000>;		// L1, 32K
54*317bf653SNate Case			timebase-frequency = <0>;
55*317bf653SNate Case			bus-frequency = <0>;
56*317bf653SNate Case			clock-frequency = <0>;
57*317bf653SNate Case			next-level-cache = <&L2>;
58*317bf653SNate Case		};
59*317bf653SNate Case	};
60*317bf653SNate Case
61*317bf653SNate Case	memory {
62*317bf653SNate Case		device_type = "memory";
63*317bf653SNate Case		reg = <0x0 0x0 0x0 0x0>;	// Filled in by U-Boot
64*317bf653SNate Case	};
65*317bf653SNate Case
66*317bf653SNate Case	localbus@ef005000 {
67*317bf653SNate Case		#address-cells = <2>;
68*317bf653SNate Case		#size-cells = <1>;
69*317bf653SNate Case		compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
70*317bf653SNate Case		reg = <0 0xef005000 0 0x1000>;
71*317bf653SNate Case		interrupts = <19 2>;
72*317bf653SNate Case		interrupt-parent = <&mpic>;
73*317bf653SNate Case		/* Local bus region mappings */
74*317bf653SNate Case		ranges = <0 0 0 0xf8000000 0x8000000 /* CS0: Boot flash */
75*317bf653SNate Case			  1 0 0 0xf0000000 0x8000000 /* CS1: Alternate flash */
76*317bf653SNate Case			  2 0 0 0xef800000 0x40000   /* CS2: NAND CE1 */
77*317bf653SNate Case			  3 0 0 0xef840000 0x40000>; /* CS3: NAND CE2 */
78*317bf653SNate Case
79*317bf653SNate Case		nor-boot@0,0 {
80*317bf653SNate Case			compatible = "amd,s29gl01gp", "cfi-flash";
81*317bf653SNate Case			bank-width = <2>;
82*317bf653SNate Case			reg = <0 0 0x8000000>; /* 128MB */
83*317bf653SNate Case			#address-cells = <1>;
84*317bf653SNate Case			#size-cells = <1>;
85*317bf653SNate Case			partition@0 {
86*317bf653SNate Case				label = "Primary user space";
87*317bf653SNate Case				reg = <0x00000000 0x6f00000>; /* 111 MB */
88*317bf653SNate Case			};
89*317bf653SNate Case			partition@6f00000 {
90*317bf653SNate Case				label = "Primary kernel";
91*317bf653SNate Case				reg = <0x6f00000 0x1000000>; /* 16 MB */
92*317bf653SNate Case			};
93*317bf653SNate Case			partition@7f00000 {
94*317bf653SNate Case				label = "Primary DTB";
95*317bf653SNate Case				reg = <0x7f00000 0x40000>; /* 256 KB */
96*317bf653SNate Case			};
97*317bf653SNate Case			partition@7f40000 {
98*317bf653SNate Case				label = "Primary U-Boot environment";
99*317bf653SNate Case				reg = <0x7f40000 0x40000>; /* 256 KB */
100*317bf653SNate Case			};
101*317bf653SNate Case			partition@7f80000 {
102*317bf653SNate Case				label = "Primary U-Boot";
103*317bf653SNate Case				reg = <0x7f80000 0x80000>; /* 512 KB */
104*317bf653SNate Case				read-only;
105*317bf653SNate Case			};
106*317bf653SNate Case		};
107*317bf653SNate Case
108*317bf653SNate Case		nor-alternate@1,0 {
109*317bf653SNate Case			compatible = "amd,s29gl01gp", "cfi-flash";
110*317bf653SNate Case			bank-width = <2>;
111*317bf653SNate Case			//reg = <0xf0000000 0x08000000>; /* 128MB */
112*317bf653SNate Case			reg = <1 0 0x8000000>; /* 128MB */
113*317bf653SNate Case			#address-cells = <1>;
114*317bf653SNate Case			#size-cells = <1>;
115*317bf653SNate Case			partition@0 {
116*317bf653SNate Case				label = "Secondary user space";
117*317bf653SNate Case				reg = <0x00000000 0x6f00000>; /* 111 MB */
118*317bf653SNate Case			};
119*317bf653SNate Case			partition@6f00000 {
120*317bf653SNate Case				label = "Secondary kernel";
121*317bf653SNate Case				reg = <0x6f00000 0x1000000>; /* 16 MB */
122*317bf653SNate Case			};
123*317bf653SNate Case			partition@7f00000 {
124*317bf653SNate Case				label = "Secondary DTB";
125*317bf653SNate Case				reg = <0x7f00000 0x40000>; /* 256 KB */
126*317bf653SNate Case			};
127*317bf653SNate Case			partition@7f40000 {
128*317bf653SNate Case				label = "Secondary U-Boot environment";
129*317bf653SNate Case				reg = <0x7f40000 0x40000>; /* 256 KB */
130*317bf653SNate Case			};
131*317bf653SNate Case			partition@7f80000 {
132*317bf653SNate Case				label = "Secondary U-Boot";
133*317bf653SNate Case				reg = <0x7f80000 0x80000>; /* 512 KB */
134*317bf653SNate Case				read-only;
135*317bf653SNate Case			};
136*317bf653SNate Case		};
137*317bf653SNate Case
138*317bf653SNate Case		nand@2,0 {
139*317bf653SNate Case			#address-cells = <1>;
140*317bf653SNate Case			#size-cells = <1>;
141*317bf653SNate Case			/*
142*317bf653SNate Case			 * Actual part could be ST Micro NAND08GW3B2A (1 GB),
143*317bf653SNate Case			 * Micron MT29F8G08DAA (2x 512 MB), or Micron
144*317bf653SNate Case			 * MT29F16G08FAA (2x 1 GB), depending on the build
145*317bf653SNate Case			 * configuration
146*317bf653SNate Case			 */
147*317bf653SNate Case			compatible = "fsl,mpc8572-fcm-nand",
148*317bf653SNate Case				     "fsl,elbc-fcm-nand";
149*317bf653SNate Case			reg = <2 0 0x40000>;
150*317bf653SNate Case			/* U-Boot should fix this up if chip size > 1 GB */
151*317bf653SNate Case			partition@0 {
152*317bf653SNate Case				label = "NAND Filesystem";
153*317bf653SNate Case				reg = <0 0x40000000>;
154*317bf653SNate Case			};
155*317bf653SNate Case		};
156*317bf653SNate Case
157*317bf653SNate Case	};
158*317bf653SNate Case
159*317bf653SNate Case	soc8572@ef000000 {
160*317bf653SNate Case		#address-cells = <1>;
161*317bf653SNate Case		#size-cells = <1>;
162*317bf653SNate Case		device_type = "soc";
163*317bf653SNate Case		compatible = "fsl,mpc8572-immr", "simple-bus";
164*317bf653SNate Case		ranges = <0x0 0 0xef000000 0x100000>;
165*317bf653SNate Case		bus-frequency = <0>;		// Filled out by uboot.
166*317bf653SNate Case
167*317bf653SNate Case		ecm-law@0 {
168*317bf653SNate Case			compatible = "fsl,ecm-law";
169*317bf653SNate Case			reg = <0x0 0x1000>;
170*317bf653SNate Case			fsl,num-laws = <12>;
171*317bf653SNate Case		};
172*317bf653SNate Case
173*317bf653SNate Case		ecm@1000 {
174*317bf653SNate Case			compatible = "fsl,mpc8572-ecm", "fsl,ecm";
175*317bf653SNate Case			reg = <0x1000 0x1000>;
176*317bf653SNate Case			interrupts = <17 2>;
177*317bf653SNate Case			interrupt-parent = <&mpic>;
178*317bf653SNate Case		};
179*317bf653SNate Case
180*317bf653SNate Case		memory-controller@2000 {
181*317bf653SNate Case			compatible = "fsl,mpc8572-memory-controller";
182*317bf653SNate Case			reg = <0x2000 0x1000>;
183*317bf653SNate Case			interrupt-parent = <&mpic>;
184*317bf653SNate Case			interrupts = <18 2>;
185*317bf653SNate Case		};
186*317bf653SNate Case
187*317bf653SNate Case		memory-controller@6000 {
188*317bf653SNate Case			compatible = "fsl,mpc8572-memory-controller";
189*317bf653SNate Case			reg = <0x6000 0x1000>;
190*317bf653SNate Case			interrupt-parent = <&mpic>;
191*317bf653SNate Case			interrupts = <18 2>;
192*317bf653SNate Case		};
193*317bf653SNate Case
194*317bf653SNate Case		L2: l2-cache-controller@20000 {
195*317bf653SNate Case			compatible = "fsl,mpc8572-l2-cache-controller";
196*317bf653SNate Case			reg = <0x20000 0x1000>;
197*317bf653SNate Case			cache-line-size = <32>;	// 32 bytes
198*317bf653SNate Case			cache-size = <0x100000>; // L2, 1M
199*317bf653SNate Case			interrupt-parent = <&mpic>;
200*317bf653SNate Case			interrupts = <16 2>;
201*317bf653SNate Case		};
202*317bf653SNate Case
203*317bf653SNate Case		i2c@3000 {
204*317bf653SNate Case			#address-cells = <1>;
205*317bf653SNate Case			#size-cells = <0>;
206*317bf653SNate Case			cell-index = <0>;
207*317bf653SNate Case			compatible = "fsl-i2c";
208*317bf653SNate Case			reg = <0x3000 0x100>;
209*317bf653SNate Case			interrupts = <43 2>;
210*317bf653SNate Case			interrupt-parent = <&mpic>;
211*317bf653SNate Case			dfsrr;
212*317bf653SNate Case
213*317bf653SNate Case			temp-sensor@48 {
214*317bf653SNate Case				compatible = "dallas,ds1631", "dallas,ds1621";
215*317bf653SNate Case				reg = <0x48>;
216*317bf653SNate Case			};
217*317bf653SNate Case
218*317bf653SNate Case			temp-sensor@4c {
219*317bf653SNate Case				compatible = "adi,adt7461";
220*317bf653SNate Case				reg = <0x4c>;
221*317bf653SNate Case			};
222*317bf653SNate Case
223*317bf653SNate Case			cpu-supervisor@51 {
224*317bf653SNate Case				compatible = "dallas,ds4510";
225*317bf653SNate Case				reg = <0x51>;
226*317bf653SNate Case			};
227*317bf653SNate Case
228*317bf653SNate Case			eeprom@54 {
229*317bf653SNate Case				compatible = "atmel,at24c128b";
230*317bf653SNate Case				reg = <0x54>;
231*317bf653SNate Case			};
232*317bf653SNate Case
233*317bf653SNate Case			rtc@68 {
234*317bf653SNate Case				compatible = "stm,m41t00",
235*317bf653SNate Case				             "dallas,ds1338";
236*317bf653SNate Case				reg = <0x68>;
237*317bf653SNate Case			};
238*317bf653SNate Case
239*317bf653SNate Case			pcie-switch@70 {
240*317bf653SNate Case				compatible = "plx,pex8518";
241*317bf653SNate Case				reg = <0x70>;
242*317bf653SNate Case			};
243*317bf653SNate Case
244*317bf653SNate Case			gpio1: gpio@18 {
245*317bf653SNate Case				compatible = "nxp,pca9557";
246*317bf653SNate Case				reg = <0x18>;
247*317bf653SNate Case				#gpio-cells = <2>;
248*317bf653SNate Case				gpio-controller;
249*317bf653SNate Case				polarity = <0x00>;
250*317bf653SNate Case			};
251*317bf653SNate Case
252*317bf653SNate Case			gpio2: gpio@1c {
253*317bf653SNate Case				compatible = "nxp,pca9557";
254*317bf653SNate Case				reg = <0x1c>;
255*317bf653SNate Case				#gpio-cells = <2>;
256*317bf653SNate Case				gpio-controller;
257*317bf653SNate Case				polarity = <0x00>;
258*317bf653SNate Case			};
259*317bf653SNate Case
260*317bf653SNate Case			gpio3: gpio@1e {
261*317bf653SNate Case				compatible = "nxp,pca9557";
262*317bf653SNate Case				reg = <0x1e>;
263*317bf653SNate Case				#gpio-cells = <2>;
264*317bf653SNate Case				gpio-controller;
265*317bf653SNate Case				polarity = <0x00>;
266*317bf653SNate Case			};
267*317bf653SNate Case
268*317bf653SNate Case			gpio4: gpio@1f {
269*317bf653SNate Case				compatible = "nxp,pca9557";
270*317bf653SNate Case				reg = <0x1f>;
271*317bf653SNate Case				#gpio-cells = <2>;
272*317bf653SNate Case				gpio-controller;
273*317bf653SNate Case				polarity = <0x00>;
274*317bf653SNate Case			};
275*317bf653SNate Case		};
276*317bf653SNate Case
277*317bf653SNate Case		i2c@3100 {
278*317bf653SNate Case			#address-cells = <1>;
279*317bf653SNate Case			#size-cells = <0>;
280*317bf653SNate Case			cell-index = <1>;
281*317bf653SNate Case			compatible = "fsl-i2c";
282*317bf653SNate Case			reg = <0x3100 0x100>;
283*317bf653SNate Case			interrupts = <43 2>;
284*317bf653SNate Case			interrupt-parent = <&mpic>;
285*317bf653SNate Case			dfsrr;
286*317bf653SNate Case		};
287*317bf653SNate Case
288*317bf653SNate Case		dma@c300 {
289*317bf653SNate Case			#address-cells = <1>;
290*317bf653SNate Case			#size-cells = <1>;
291*317bf653SNate Case			compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
292*317bf653SNate Case			reg = <0xc300 0x4>;
293*317bf653SNate Case			ranges = <0x0 0xc100 0x200>;
294*317bf653SNate Case			cell-index = <1>;
295*317bf653SNate Case			dma-channel@0 {
296*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
297*317bf653SNate Case						"fsl,eloplus-dma-channel";
298*317bf653SNate Case				reg = <0x0 0x80>;
299*317bf653SNate Case				cell-index = <0>;
300*317bf653SNate Case				interrupt-parent = <&mpic>;
301*317bf653SNate Case				interrupts = <76 2>;
302*317bf653SNate Case			};
303*317bf653SNate Case			dma-channel@80 {
304*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
305*317bf653SNate Case						"fsl,eloplus-dma-channel";
306*317bf653SNate Case				reg = <0x80 0x80>;
307*317bf653SNate Case				cell-index = <1>;
308*317bf653SNate Case				interrupt-parent = <&mpic>;
309*317bf653SNate Case				interrupts = <77 2>;
310*317bf653SNate Case			};
311*317bf653SNate Case			dma-channel@100 {
312*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
313*317bf653SNate Case						"fsl,eloplus-dma-channel";
314*317bf653SNate Case				reg = <0x100 0x80>;
315*317bf653SNate Case				cell-index = <2>;
316*317bf653SNate Case				interrupt-parent = <&mpic>;
317*317bf653SNate Case				interrupts = <78 2>;
318*317bf653SNate Case			};
319*317bf653SNate Case			dma-channel@180 {
320*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
321*317bf653SNate Case						"fsl,eloplus-dma-channel";
322*317bf653SNate Case				reg = <0x180 0x80>;
323*317bf653SNate Case				cell-index = <3>;
324*317bf653SNate Case				interrupt-parent = <&mpic>;
325*317bf653SNate Case				interrupts = <79 2>;
326*317bf653SNate Case			};
327*317bf653SNate Case		};
328*317bf653SNate Case
329*317bf653SNate Case		dma@21300 {
330*317bf653SNate Case			#address-cells = <1>;
331*317bf653SNate Case			#size-cells = <1>;
332*317bf653SNate Case			compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
333*317bf653SNate Case			reg = <0x21300 0x4>;
334*317bf653SNate Case			ranges = <0x0 0x21100 0x200>;
335*317bf653SNate Case			cell-index = <0>;
336*317bf653SNate Case			dma-channel@0 {
337*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
338*317bf653SNate Case						"fsl,eloplus-dma-channel";
339*317bf653SNate Case				reg = <0x0 0x80>;
340*317bf653SNate Case				cell-index = <0>;
341*317bf653SNate Case				interrupt-parent = <&mpic>;
342*317bf653SNate Case				interrupts = <20 2>;
343*317bf653SNate Case			};
344*317bf653SNate Case			dma-channel@80 {
345*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
346*317bf653SNate Case						"fsl,eloplus-dma-channel";
347*317bf653SNate Case				reg = <0x80 0x80>;
348*317bf653SNate Case				cell-index = <1>;
349*317bf653SNate Case				interrupt-parent = <&mpic>;
350*317bf653SNate Case				interrupts = <21 2>;
351*317bf653SNate Case			};
352*317bf653SNate Case			dma-channel@100 {
353*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
354*317bf653SNate Case						"fsl,eloplus-dma-channel";
355*317bf653SNate Case				reg = <0x100 0x80>;
356*317bf653SNate Case				cell-index = <2>;
357*317bf653SNate Case				interrupt-parent = <&mpic>;
358*317bf653SNate Case				interrupts = <22 2>;
359*317bf653SNate Case			};
360*317bf653SNate Case			dma-channel@180 {
361*317bf653SNate Case				compatible = "fsl,mpc8572-dma-channel",
362*317bf653SNate Case						"fsl,eloplus-dma-channel";
363*317bf653SNate Case				reg = <0x180 0x80>;
364*317bf653SNate Case				cell-index = <3>;
365*317bf653SNate Case				interrupt-parent = <&mpic>;
366*317bf653SNate Case				interrupts = <23 2>;
367*317bf653SNate Case			};
368*317bf653SNate Case		};
369*317bf653SNate Case
370*317bf653SNate Case		/* eTSEC 1 */
371*317bf653SNate Case		enet0: ethernet@24000 {
372*317bf653SNate Case			#address-cells = <1>;
373*317bf653SNate Case			#size-cells = <1>;
374*317bf653SNate Case			cell-index = <0>;
375*317bf653SNate Case			device_type = "network";
376*317bf653SNate Case			model = "eTSEC";
377*317bf653SNate Case			compatible = "gianfar";
378*317bf653SNate Case			reg = <0x24000 0x1000>;
379*317bf653SNate Case			ranges = <0x0 0x24000 0x1000>;
380*317bf653SNate Case			local-mac-address = [ 00 00 00 00 00 00 ];
381*317bf653SNate Case			interrupts = <29 2 30 2 34 2>;
382*317bf653SNate Case			interrupt-parent = <&mpic>;
383*317bf653SNate Case			tbi-handle = <&tbi0>;
384*317bf653SNate Case			phy-handle = <&phy0>;
385*317bf653SNate Case			phy-connection-type = "sgmii";
386*317bf653SNate Case
387*317bf653SNate Case			mdio@520 {
388*317bf653SNate Case				#address-cells = <1>;
389*317bf653SNate Case				#size-cells = <0>;
390*317bf653SNate Case				compatible = "fsl,gianfar-mdio";
391*317bf653SNate Case				reg = <0x520 0x20>;
392*317bf653SNate Case
393*317bf653SNate Case				phy0: ethernet-phy@1 {
394*317bf653SNate Case					interrupt-parent = <&mpic>;
395*317bf653SNate Case					interrupts = <8 1>;
396*317bf653SNate Case					reg = <0x1>;
397*317bf653SNate Case				};
398*317bf653SNate Case				phy1: ethernet-phy@2 {
399*317bf653SNate Case					interrupt-parent = <&mpic>;
400*317bf653SNate Case					interrupts = <8 1>;
401*317bf653SNate Case					reg = <0x2>;
402*317bf653SNate Case				};
403*317bf653SNate Case				tbi0: tbi-phy@11 {
404*317bf653SNate Case					reg = <0x11>;
405*317bf653SNate Case					device_type = "tbi-phy";
406*317bf653SNate Case				};
407*317bf653SNate Case			};
408*317bf653SNate Case		};
409*317bf653SNate Case
410*317bf653SNate Case		/* eTSEC 2 */
411*317bf653SNate Case		enet1: ethernet@25000 {
412*317bf653SNate Case			#address-cells = <1>;
413*317bf653SNate Case			#size-cells = <1>;
414*317bf653SNate Case			cell-index = <1>;
415*317bf653SNate Case			device_type = "network";
416*317bf653SNate Case			model = "eTSEC";
417*317bf653SNate Case			compatible = "gianfar";
418*317bf653SNate Case			reg = <0x25000 0x1000>;
419*317bf653SNate Case			ranges = <0x0 0x25000 0x1000>;
420*317bf653SNate Case			local-mac-address = [ 00 00 00 00 00 00 ];
421*317bf653SNate Case			interrupts = <35 2 36 2 40 2>;
422*317bf653SNate Case			interrupt-parent = <&mpic>;
423*317bf653SNate Case			tbi-handle = <&tbi1>;
424*317bf653SNate Case			phy-handle = <&phy1>;
425*317bf653SNate Case			phy-connection-type = "sgmii";
426*317bf653SNate Case
427*317bf653SNate Case			mdio@520 {
428*317bf653SNate Case				#address-cells = <1>;
429*317bf653SNate Case				#size-cells = <0>;
430*317bf653SNate Case				compatible = "fsl,gianfar-tbi";
431*317bf653SNate Case				reg = <0x520 0x20>;
432*317bf653SNate Case
433*317bf653SNate Case				tbi1: tbi-phy@11 {
434*317bf653SNate Case					reg = <0x11>;
435*317bf653SNate Case					device_type = "tbi-phy";
436*317bf653SNate Case				};
437*317bf653SNate Case			};
438*317bf653SNate Case		};
439*317bf653SNate Case
440*317bf653SNate Case		/* UART0 */
441*317bf653SNate Case		serial0: serial@4500 {
442*317bf653SNate Case			cell-index = <0>;
443*317bf653SNate Case			device_type = "serial";
444*317bf653SNate Case			compatible = "ns16550";
445*317bf653SNate Case			reg = <0x4500 0x100>;
446*317bf653SNate Case			clock-frequency = <0>;
447*317bf653SNate Case			interrupts = <42 2>;
448*317bf653SNate Case			interrupt-parent = <&mpic>;
449*317bf653SNate Case		};
450*317bf653SNate Case
451*317bf653SNate Case		/* UART1 */
452*317bf653SNate Case		serial1: serial@4600 {
453*317bf653SNate Case			cell-index = <1>;
454*317bf653SNate Case			device_type = "serial";
455*317bf653SNate Case			compatible = "ns16550";
456*317bf653SNate Case			reg = <0x4600 0x100>;
457*317bf653SNate Case			clock-frequency = <0>;
458*317bf653SNate Case			interrupts = <42 2>;
459*317bf653SNate Case			interrupt-parent = <&mpic>;
460*317bf653SNate Case		};
461*317bf653SNate Case
462*317bf653SNate Case		global-utilities@e0000 {	//global utilities block
463*317bf653SNate Case			compatible = "fsl,mpc8572-guts";
464*317bf653SNate Case			reg = <0xe0000 0x1000>;
465*317bf653SNate Case			fsl,has-rstcr;
466*317bf653SNate Case		};
467*317bf653SNate Case
468*317bf653SNate Case		msi@41600 {
469*317bf653SNate Case			compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
470*317bf653SNate Case			reg = <0x41600 0x80>;
471*317bf653SNate Case			msi-available-ranges = <0 0x100>;
472*317bf653SNate Case			interrupts = <
473*317bf653SNate Case				0xe0 0
474*317bf653SNate Case				0xe1 0
475*317bf653SNate Case				0xe2 0
476*317bf653SNate Case				0xe3 0
477*317bf653SNate Case				0xe4 0
478*317bf653SNate Case				0xe5 0
479*317bf653SNate Case				0xe6 0
480*317bf653SNate Case				0xe7 0>;
481*317bf653SNate Case			interrupt-parent = <&mpic>;
482*317bf653SNate Case		};
483*317bf653SNate Case
484*317bf653SNate Case		crypto@30000 {
485*317bf653SNate Case			compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
486*317bf653SNate Case				     "fsl,sec2.1", "fsl,sec2.0";
487*317bf653SNate Case			reg = <0x30000 0x10000>;
488*317bf653SNate Case			interrupts = <45 2 58 2>;
489*317bf653SNate Case			interrupt-parent = <&mpic>;
490*317bf653SNate Case			fsl,num-channels = <4>;
491*317bf653SNate Case			fsl,channel-fifo-len = <24>;
492*317bf653SNate Case			fsl,exec-units-mask = <0x9fe>;
493*317bf653SNate Case			fsl,descriptor-types-mask = <0x3ab0ebf>;
494*317bf653SNate Case		};
495*317bf653SNate Case
496*317bf653SNate Case		mpic: pic@40000 {
497*317bf653SNate Case			interrupt-controller;
498*317bf653SNate Case			#address-cells = <0>;
499*317bf653SNate Case			#interrupt-cells = <2>;
500*317bf653SNate Case			reg = <0x40000 0x40000>;
501*317bf653SNate Case			compatible = "chrp,open-pic";
502*317bf653SNate Case			device_type = "open-pic";
503*317bf653SNate Case		};
504*317bf653SNate Case
505*317bf653SNate Case		gpio0: gpio@f000 {
506*317bf653SNate Case			compatible = "fsl,mpc8572-gpio";
507*317bf653SNate Case			reg = <0xf000 0x1000>;
508*317bf653SNate Case			interrupts = <47 2>;
509*317bf653SNate Case			interrupt-parent = <&mpic>;
510*317bf653SNate Case			#gpio-cells = <2>;
511*317bf653SNate Case			gpio-controller;
512*317bf653SNate Case		};
513*317bf653SNate Case
514*317bf653SNate Case		gpio-leds {
515*317bf653SNate Case			compatible = "gpio-leds";
516*317bf653SNate Case
517*317bf653SNate Case			heartbeat {
518*317bf653SNate Case				label = "Heartbeat";
519*317bf653SNate Case				gpios = <&gpio0 4 1>;
520*317bf653SNate Case				linux,default-trigger = "heartbeat";
521*317bf653SNate Case			};
522*317bf653SNate Case
523*317bf653SNate Case			yellow {
524*317bf653SNate Case				label = "Yellow";
525*317bf653SNate Case				gpios = <&gpio0 5 1>;
526*317bf653SNate Case			};
527*317bf653SNate Case
528*317bf653SNate Case			red {
529*317bf653SNate Case				label = "Red";
530*317bf653SNate Case				gpios = <&gpio0 6 1>;
531*317bf653SNate Case			};
532*317bf653SNate Case
533*317bf653SNate Case			green {
534*317bf653SNate Case				label = "Green";
535*317bf653SNate Case				gpios = <&gpio0 7 1>;
536*317bf653SNate Case			};
537*317bf653SNate Case		};
538*317bf653SNate Case
539*317bf653SNate Case		/* PME (pattern-matcher) */
540*317bf653SNate Case		pme@10000 {
541*317bf653SNate Case			compatible = "fsl,mpc8572-pme", "pme8572";
542*317bf653SNate Case			reg = <0x10000 0x5000>;
543*317bf653SNate Case			interrupts = <57 2 64 2 65 2 66 2 67 2>;
544*317bf653SNate Case			interrupt-parent = <&mpic>;
545*317bf653SNate Case		};
546*317bf653SNate Case
547*317bf653SNate Case		tlu@2f000 {
548*317bf653SNate Case			compatible = "fsl,mpc8572-tlu", "fsl_tlu";
549*317bf653SNate Case			reg = <0x2f000 0x1000>;
550*317bf653SNate Case			interupts = <61 2 >;
551*317bf653SNate Case			interrupt-parent = <&mpic>;
552*317bf653SNate Case		};
553*317bf653SNate Case
554*317bf653SNate Case		tlu@15000 {
555*317bf653SNate Case			compatible = "fsl,mpc8572-tlu", "fsl_tlu";
556*317bf653SNate Case			reg = <0x15000 0x1000>;
557*317bf653SNate Case			interupts = <75 2>;
558*317bf653SNate Case			interrupt-parent = <&mpic>;
559*317bf653SNate Case		};
560*317bf653SNate Case	};
561*317bf653SNate Case
562*317bf653SNate Case	/*
563*317bf653SNate Case	 * PCI Express controller 3 @ ef008000 is not used.
564*317bf653SNate Case	 * This would have been pci0 on other mpc85xx platforms.
565*317bf653SNate Case	 */
566*317bf653SNate Case
567*317bf653SNate Case	/* PCI Express controller 2, wired to XMC P15 connector */
568*317bf653SNate Case	pci1: pcie@ef009000 {
569*317bf653SNate Case		compatible = "fsl,mpc8548-pcie";
570*317bf653SNate Case		device_type = "pci";
571*317bf653SNate Case		#interrupt-cells = <1>;
572*317bf653SNate Case		#size-cells = <2>;
573*317bf653SNate Case		#address-cells = <3>;
574*317bf653SNate Case		reg = <0 0xef009000 0 0x1000>;
575*317bf653SNate Case		bus-range = <0 255>;
576*317bf653SNate Case		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x10000000
577*317bf653SNate Case			  0x1000000 0x0 0x00000000 0 0xe8800000 0x0 0x00010000>;
578*317bf653SNate Case		clock-frequency = <33333333>;
579*317bf653SNate Case		interrupt-parent = <&mpic>;
580*317bf653SNate Case		interrupts = <25 2>;
581*317bf653SNate Case		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
582*317bf653SNate Case		interrupt-map = <
583*317bf653SNate Case			/* IDSEL 0x0 */
584*317bf653SNate Case			0x0 0x0 0x0 0x1 &mpic 0x4 0x1
585*317bf653SNate Case			0x0 0x0 0x0 0x2 &mpic 0x5 0x1
586*317bf653SNate Case			0x0 0x0 0x0 0x3 &mpic 0x6 0x1
587*317bf653SNate Case			0x0 0x0 0x0 0x4 &mpic 0x7 0x1
588*317bf653SNate Case			>;
589*317bf653SNate Case		pcie@0 {
590*317bf653SNate Case			reg = <0x00000000 0x00000000 0x00000000 0x00000000 0x00000000>;
591*317bf653SNate Case			#size-cells = <2>;
592*317bf653SNate Case			#address-cells = <3>;
593*317bf653SNate Case			device_type = "pci";
594*317bf653SNate Case			ranges = <0x2000000 0x0 0xc0000000
595*317bf653SNate Case				  0x2000000 0x0 0xc0000000
596*317bf653SNate Case				  0x0 0x10000000
597*317bf653SNate Case
598*317bf653SNate Case				  0x1000000 0x0 0x0
599*317bf653SNate Case				  0x1000000 0x0 0x0
600*317bf653SNate Case				  0x0 0x100000>;
601*317bf653SNate Case		};
602*317bf653SNate Case	};
603*317bf653SNate Case
604*317bf653SNate Case	/* PCI Express controller 1, wired to PEX8112 for PMC interface */
605*317bf653SNate Case	pci2: pcie@ef00a000 {
606*317bf653SNate Case		compatible = "fsl,mpc8548-pcie";
607*317bf653SNate Case		device_type = "pci";
608*317bf653SNate Case		#interrupt-cells = <1>;
609*317bf653SNate Case		#size-cells = <2>;
610*317bf653SNate Case		#address-cells = <3>;
611*317bf653SNate Case		reg = <0 0xef00a000 0 0x1000>;
612*317bf653SNate Case		bus-range = <0 255>;
613*317bf653SNate Case		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x40000000
614*317bf653SNate Case			  0x1000000 0x0 0x00000000 0 0xe8000000 0x0 0x10000>;
615*317bf653SNate Case		clock-frequency = <33333333>;
616*317bf653SNate Case		interrupt-parent = <&mpic>;
617*317bf653SNate Case		interrupts = <26 2>;
618*317bf653SNate Case		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
619*317bf653SNate Case		interrupt-map = <
620*317bf653SNate Case			/* IDSEL 0x0 */
621*317bf653SNate Case			0x0 0x0 0x0 0x1 &mpic 0x0 0x1
622*317bf653SNate Case			0x0 0x0 0x0 0x2 &mpic 0x1 0x1
623*317bf653SNate Case			0x0 0x0 0x0 0x3 &mpic 0x2 0x1
624*317bf653SNate Case			0x0 0x0 0x0 0x4 &mpic 0x3 0x1
625*317bf653SNate Case			>;
626*317bf653SNate Case		pcie@0 {
627*317bf653SNate Case			reg = <0x0 0x0 0x0 0x0 0x0>;
628*317bf653SNate Case			#size-cells = <2>;
629*317bf653SNate Case			#address-cells = <3>;
630*317bf653SNate Case			device_type = "pci";
631*317bf653SNate Case			ranges = <0x2000000 0x0 0x80000000
632*317bf653SNate Case				  0x2000000 0x0 0x80000000
633*317bf653SNate Case				  0x0 0x40000000
634*317bf653SNate Case
635*317bf653SNate Case				  0x1000000 0x0 0x0
636*317bf653SNate Case				  0x1000000 0x0 0x0
637*317bf653SNate Case				  0x0 0x100000>;
638*317bf653SNate Case		};
639*317bf653SNate Case	};
640*317bf653SNate Case};
641