xref: /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/sequoia.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * Device Tree Source for AMCC Sequoia
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
5*4882a593Smuzhiyun * Copyright (c) 2006, 2007 IBM Corp.
6*4882a593Smuzhiyun *
7*4882a593Smuzhiyun * FIXME: Draft only!
8*4882a593Smuzhiyun *
9*4882a593Smuzhiyun * This file is licensed under the terms of the GNU General Public
10*4882a593Smuzhiyun * License version 2.  This program is licensed "as is" without
11*4882a593Smuzhiyun * any warranty of any kind, whether express or implied.
12*4882a593Smuzhiyun *
13*4882a593Smuzhiyun */
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun/dts-v1/;
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun/ {
18*4882a593Smuzhiyun	#address-cells = <2>;
19*4882a593Smuzhiyun	#size-cells = <1>;
20*4882a593Smuzhiyun	model = "amcc,sequoia";
21*4882a593Smuzhiyun	compatible = "amcc,sequoia";
22*4882a593Smuzhiyun	dcr-parent = <&{/cpus/cpu@0}>;
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	aliases {
25*4882a593Smuzhiyun		ethernet0 = &EMAC0;
26*4882a593Smuzhiyun		ethernet1 = &EMAC1;
27*4882a593Smuzhiyun		serial0 = &UART0;
28*4882a593Smuzhiyun		serial1 = &UART1;
29*4882a593Smuzhiyun		serial2 = &UART2;
30*4882a593Smuzhiyun		serial3 = &UART3;
31*4882a593Smuzhiyun	};
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun	cpus {
34*4882a593Smuzhiyun		#address-cells = <1>;
35*4882a593Smuzhiyun		#size-cells = <0>;
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun		cpu@0 {
38*4882a593Smuzhiyun			device_type = "cpu";
39*4882a593Smuzhiyun			model = "PowerPC,440EPx";
40*4882a593Smuzhiyun			reg = <0x00000000>;
41*4882a593Smuzhiyun			clock-frequency = <0>; /* Filled in by zImage */
42*4882a593Smuzhiyun			timebase-frequency = <0>; /* Filled in by zImage */
43*4882a593Smuzhiyun			i-cache-line-size = <32>;
44*4882a593Smuzhiyun			d-cache-line-size = <32>;
45*4882a593Smuzhiyun			i-cache-size = <32768>;
46*4882a593Smuzhiyun			d-cache-size = <32768>;
47*4882a593Smuzhiyun			dcr-controller;
48*4882a593Smuzhiyun			dcr-access-method = "native";
49*4882a593Smuzhiyun		};
50*4882a593Smuzhiyun	};
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun	memory {
53*4882a593Smuzhiyun		device_type = "memory";
54*4882a593Smuzhiyun		reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */
55*4882a593Smuzhiyun	};
56*4882a593Smuzhiyun
57*4882a593Smuzhiyun	UIC0: interrupt-controller0 {
58*4882a593Smuzhiyun		compatible = "ibm,uic-440epx","ibm,uic";
59*4882a593Smuzhiyun		interrupt-controller;
60*4882a593Smuzhiyun		cell-index = <0>;
61*4882a593Smuzhiyun		dcr-reg = <0x0c0 0x009>;
62*4882a593Smuzhiyun		#address-cells = <0>;
63*4882a593Smuzhiyun		#size-cells = <0>;
64*4882a593Smuzhiyun		#interrupt-cells = <2>;
65*4882a593Smuzhiyun	};
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun	UIC1: interrupt-controller1 {
68*4882a593Smuzhiyun		compatible = "ibm,uic-440epx","ibm,uic";
69*4882a593Smuzhiyun		interrupt-controller;
70*4882a593Smuzhiyun		cell-index = <1>;
71*4882a593Smuzhiyun		dcr-reg = <0x0d0 0x009>;
72*4882a593Smuzhiyun		#address-cells = <0>;
73*4882a593Smuzhiyun		#size-cells = <0>;
74*4882a593Smuzhiyun		#interrupt-cells = <2>;
75*4882a593Smuzhiyun		interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
76*4882a593Smuzhiyun		interrupt-parent = <&UIC0>;
77*4882a593Smuzhiyun	};
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun	UIC2: interrupt-controller2 {
80*4882a593Smuzhiyun		compatible = "ibm,uic-440epx","ibm,uic";
81*4882a593Smuzhiyun		interrupt-controller;
82*4882a593Smuzhiyun		cell-index = <2>;
83*4882a593Smuzhiyun		dcr-reg = <0x0e0 0x009>;
84*4882a593Smuzhiyun		#address-cells = <0>;
85*4882a593Smuzhiyun		#size-cells = <0>;
86*4882a593Smuzhiyun		#interrupt-cells = <2>;
87*4882a593Smuzhiyun		interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */
88*4882a593Smuzhiyun		interrupt-parent = <&UIC0>;
89*4882a593Smuzhiyun	};
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun	SDR0: sdr {
92*4882a593Smuzhiyun		compatible = "ibm,sdr-440epx", "ibm,sdr-440ep";
93*4882a593Smuzhiyun		dcr-reg = <0x00e 0x002>;
94*4882a593Smuzhiyun	};
95*4882a593Smuzhiyun
96*4882a593Smuzhiyun	CPR0: cpr {
97*4882a593Smuzhiyun		compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
98*4882a593Smuzhiyun		dcr-reg = <0x00c 0x002>;
99*4882a593Smuzhiyun	};
100*4882a593Smuzhiyun
101*4882a593Smuzhiyun	plb {
102*4882a593Smuzhiyun		compatible = "ibm,plb-440epx", "ibm,plb4";
103*4882a593Smuzhiyun		#address-cells = <2>;
104*4882a593Smuzhiyun		#size-cells = <1>;
105*4882a593Smuzhiyun		ranges;
106*4882a593Smuzhiyun		clock-frequency = <0>; /* Filled in by zImage */
107*4882a593Smuzhiyun
108*4882a593Smuzhiyun		SDRAM0: sdram {
109*4882a593Smuzhiyun			compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali";
110*4882a593Smuzhiyun			dcr-reg = <0x010 0x002>;
111*4882a593Smuzhiyun		};
112*4882a593Smuzhiyun
113*4882a593Smuzhiyun		CRYPTO: crypto@e0100000 {
114*4882a593Smuzhiyun			compatible = "amcc,ppc440epx-crypto","amcc,ppc4xx-crypto";
115*4882a593Smuzhiyun			reg = <0 0xE0100000 0x80400>;
116*4882a593Smuzhiyun			interrupt-parent = <&UIC0>;
117*4882a593Smuzhiyun			interrupts = <0x17 0x4>;
118*4882a593Smuzhiyun		};
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun		rng@e0120000 {
121*4882a593Smuzhiyun			compatible = "amcc,ppc440epx-rng","amcc,ppc4xx-rng";
122*4882a593Smuzhiyun			reg = <0 0xE0120000 0x150>;
123*4882a593Smuzhiyun		};
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun		DMA0: dma {
126*4882a593Smuzhiyun			compatible = "ibm,dma-440epx", "ibm,dma-4xx";
127*4882a593Smuzhiyun			dcr-reg = <0x100 0x027>;
128*4882a593Smuzhiyun		};
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun		MAL0: mcmal {
131*4882a593Smuzhiyun			compatible = "ibm,mcmal-440epx", "ibm,mcmal2";
132*4882a593Smuzhiyun			dcr-reg = <0x180 0x062>;
133*4882a593Smuzhiyun			num-tx-chans = <2>;
134*4882a593Smuzhiyun			num-rx-chans = <2>;
135*4882a593Smuzhiyun			interrupt-parent = <&MAL0>;
136*4882a593Smuzhiyun			interrupts = <0x0 0x1 0x2 0x3 0x4>;
137*4882a593Smuzhiyun			#interrupt-cells = <1>;
138*4882a593Smuzhiyun			#address-cells = <0>;
139*4882a593Smuzhiyun			#size-cells = <0>;
140*4882a593Smuzhiyun			interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4
141*4882a593Smuzhiyun					/*RXEOB*/ 0x1 &UIC0 0xb 0x4
142*4882a593Smuzhiyun					/*SERR*/  0x2 &UIC1 0x0 0x4
143*4882a593Smuzhiyun					/*TXDE*/  0x3 &UIC1 0x1 0x4
144*4882a593Smuzhiyun					/*RXDE*/  0x4 &UIC1 0x2 0x4>;
145*4882a593Smuzhiyun			interrupt-map-mask = <0xffffffff>;
146*4882a593Smuzhiyun		};
147*4882a593Smuzhiyun
148*4882a593Smuzhiyun		USB1: usb@e0000400 {
149*4882a593Smuzhiyun			compatible = "ibm,usb-ohci-440epx", "ohci-be";
150*4882a593Smuzhiyun			reg = <0x00000000 0xe0000400 0x00000060>;
151*4882a593Smuzhiyun			interrupt-parent = <&UIC0>;
152*4882a593Smuzhiyun			interrupts = <0x15 0x8>;
153*4882a593Smuzhiyun		};
154*4882a593Smuzhiyun
155*4882a593Smuzhiyun		USB0: ehci@e0000300 {
156*4882a593Smuzhiyun			compatible = "ibm,usb-ehci-440epx", "usb-ehci";
157*4882a593Smuzhiyun			interrupt-parent = <&UIC0>;
158*4882a593Smuzhiyun			interrupts = <0x1a 0x4>;
159*4882a593Smuzhiyun			reg = <0x00000000 0xe0000300 0x00000090 0x00000000 0xe0000390 0x00000070>;
160*4882a593Smuzhiyun			big-endian;
161*4882a593Smuzhiyun		};
162*4882a593Smuzhiyun
163*4882a593Smuzhiyun		POB0: opb {
164*4882a593Smuzhiyun		  	compatible = "ibm,opb-440epx", "ibm,opb";
165*4882a593Smuzhiyun			#address-cells = <1>;
166*4882a593Smuzhiyun			#size-cells = <1>;
167*4882a593Smuzhiyun		  	ranges = <0x00000000 0x00000001 0x00000000 0x80000000
168*4882a593Smuzhiyun			          0x80000000 0x00000001 0x80000000 0x80000000>;
169*4882a593Smuzhiyun		  	interrupt-parent = <&UIC1>;
170*4882a593Smuzhiyun		  	interrupts = <0x7 0x4>;
171*4882a593Smuzhiyun		  	clock-frequency = <0>; /* Filled in by zImage */
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun			EBC0: ebc {
174*4882a593Smuzhiyun				compatible = "ibm,ebc-440epx", "ibm,ebc";
175*4882a593Smuzhiyun				dcr-reg = <0x012 0x002>;
176*4882a593Smuzhiyun				#address-cells = <2>;
177*4882a593Smuzhiyun				#size-cells = <1>;
178*4882a593Smuzhiyun				clock-frequency = <0>; /* Filled in by zImage */
179*4882a593Smuzhiyun				interrupts = <0x5 0x1>;
180*4882a593Smuzhiyun				interrupt-parent = <&UIC1>;
181*4882a593Smuzhiyun
182*4882a593Smuzhiyun				nor_flash@0,0 {
183*4882a593Smuzhiyun					compatible = "amd,s29gl256n", "cfi-flash";
184*4882a593Smuzhiyun					bank-width = <2>;
185*4882a593Smuzhiyun					reg = <0x00000000 0x00000000 0x04000000>;
186*4882a593Smuzhiyun					#address-cells = <1>;
187*4882a593Smuzhiyun					#size-cells = <1>;
188*4882a593Smuzhiyun					partition@0 {
189*4882a593Smuzhiyun						label = "Kernel";
190*4882a593Smuzhiyun						reg = <0x00000000 0x00180000>;
191*4882a593Smuzhiyun					};
192*4882a593Smuzhiyun					partition@180000 {
193*4882a593Smuzhiyun						label = "ramdisk";
194*4882a593Smuzhiyun						reg = <0x00180000 0x00200000>;
195*4882a593Smuzhiyun					};
196*4882a593Smuzhiyun					partition@380000 {
197*4882a593Smuzhiyun						label = "file system";
198*4882a593Smuzhiyun						reg = <0x00380000 0x03aa0000>;
199*4882a593Smuzhiyun					};
200*4882a593Smuzhiyun					partition@3e20000 {
201*4882a593Smuzhiyun						label = "kozio";
202*4882a593Smuzhiyun						reg = <0x03e20000 0x00140000>;
203*4882a593Smuzhiyun					};
204*4882a593Smuzhiyun					partition@3f60000 {
205*4882a593Smuzhiyun						label = "env";
206*4882a593Smuzhiyun						reg = <0x03f60000 0x00040000>;
207*4882a593Smuzhiyun					};
208*4882a593Smuzhiyun					partition@3fa0000 {
209*4882a593Smuzhiyun						label = "u-boot";
210*4882a593Smuzhiyun						reg = <0x03fa0000 0x00060000>;
211*4882a593Smuzhiyun					};
212*4882a593Smuzhiyun				};
213*4882a593Smuzhiyun
214*4882a593Smuzhiyun				ndfc@3,0 {
215*4882a593Smuzhiyun					compatible = "ibm,ndfc";
216*4882a593Smuzhiyun					reg = <0x00000003 0x00000000 0x00002000>;
217*4882a593Smuzhiyun					ccr = <0x00001000>;
218*4882a593Smuzhiyun					bank-settings = <0x80002222>;
219*4882a593Smuzhiyun					#address-cells = <1>;
220*4882a593Smuzhiyun					#size-cells = <1>;
221*4882a593Smuzhiyun
222*4882a593Smuzhiyun					nand {
223*4882a593Smuzhiyun						#address-cells = <1>;
224*4882a593Smuzhiyun						#size-cells = <1>;
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun						partition@0 {
227*4882a593Smuzhiyun							label = "u-boot";
228*4882a593Smuzhiyun							reg = <0x00000000 0x00084000>;
229*4882a593Smuzhiyun						};
230*4882a593Smuzhiyun						partition@84000 {
231*4882a593Smuzhiyun							label = "user";
232*4882a593Smuzhiyun							reg = <0x00084000 0x01f7c000>;
233*4882a593Smuzhiyun						};
234*4882a593Smuzhiyun					};
235*4882a593Smuzhiyun				};
236*4882a593Smuzhiyun			};
237*4882a593Smuzhiyun
238*4882a593Smuzhiyun			UART0: serial@ef600300 {
239*4882a593Smuzhiyun		   		device_type = "serial";
240*4882a593Smuzhiyun		   		compatible = "ns16550";
241*4882a593Smuzhiyun		   		reg = <0xef600300 0x00000008>;
242*4882a593Smuzhiyun		   		virtual-reg = <0xef600300>;
243*4882a593Smuzhiyun		   		clock-frequency = <0>; /* Filled in by zImage */
244*4882a593Smuzhiyun		   		current-speed = <115200>;
245*4882a593Smuzhiyun		   		interrupt-parent = <&UIC0>;
246*4882a593Smuzhiyun		   		interrupts = <0x0 0x4>;
247*4882a593Smuzhiyun	   		};
248*4882a593Smuzhiyun
249*4882a593Smuzhiyun			UART1: serial@ef600400 {
250*4882a593Smuzhiyun		   		device_type = "serial";
251*4882a593Smuzhiyun		   		compatible = "ns16550";
252*4882a593Smuzhiyun		   		reg = <0xef600400 0x00000008>;
253*4882a593Smuzhiyun		   		virtual-reg = <0xef600400>;
254*4882a593Smuzhiyun		   		clock-frequency = <0>;
255*4882a593Smuzhiyun		   		current-speed = <0>;
256*4882a593Smuzhiyun		   		interrupt-parent = <&UIC0>;
257*4882a593Smuzhiyun		   		interrupts = <0x1 0x4>;
258*4882a593Smuzhiyun	   		};
259*4882a593Smuzhiyun
260*4882a593Smuzhiyun			UART2: serial@ef600500 {
261*4882a593Smuzhiyun		   		device_type = "serial";
262*4882a593Smuzhiyun		   		compatible = "ns16550";
263*4882a593Smuzhiyun		   		reg = <0xef600500 0x00000008>;
264*4882a593Smuzhiyun		   		virtual-reg = <0xef600500>;
265*4882a593Smuzhiyun		   		clock-frequency = <0>;
266*4882a593Smuzhiyun		   		current-speed = <0>;
267*4882a593Smuzhiyun		   		interrupt-parent = <&UIC1>;
268*4882a593Smuzhiyun		   		interrupts = <0x3 0x4>;
269*4882a593Smuzhiyun	   		};
270*4882a593Smuzhiyun
271*4882a593Smuzhiyun			UART3: serial@ef600600 {
272*4882a593Smuzhiyun		   		device_type = "serial";
273*4882a593Smuzhiyun		   		compatible = "ns16550";
274*4882a593Smuzhiyun		   		reg = <0xef600600 0x00000008>;
275*4882a593Smuzhiyun		   		virtual-reg = <0xef600600>;
276*4882a593Smuzhiyun		   		clock-frequency = <0>;
277*4882a593Smuzhiyun		   		current-speed = <0>;
278*4882a593Smuzhiyun		   		interrupt-parent = <&UIC1>;
279*4882a593Smuzhiyun		   		interrupts = <0x4 0x4>;
280*4882a593Smuzhiyun	   		};
281*4882a593Smuzhiyun
282*4882a593Smuzhiyun			IIC0: i2c@ef600700 {
283*4882a593Smuzhiyun				#address-cells = <1>;
284*4882a593Smuzhiyun				#size-cells = <0>;
285*4882a593Smuzhiyun				compatible = "ibm,iic-440epx", "ibm,iic";
286*4882a593Smuzhiyun				reg = <0xef600700 0x00000014>;
287*4882a593Smuzhiyun				interrupt-parent = <&UIC0>;
288*4882a593Smuzhiyun				interrupts = <0x2 0x4>;
289*4882a593Smuzhiyun
290*4882a593Smuzhiyun				hwmon@48 {
291*4882a593Smuzhiyun					compatible = "adi,ad7414";
292*4882a593Smuzhiyun					reg = <0x48>;
293*4882a593Smuzhiyun				};
294*4882a593Smuzhiyun			};
295*4882a593Smuzhiyun
296*4882a593Smuzhiyun			IIC1: i2c@ef600800 {
297*4882a593Smuzhiyun				#address-cells = <1>;
298*4882a593Smuzhiyun				#size-cells = <0>;
299*4882a593Smuzhiyun				compatible = "ibm,iic-440epx", "ibm,iic";
300*4882a593Smuzhiyun				reg = <0xef600800 0x00000014>;
301*4882a593Smuzhiyun				interrupt-parent = <&UIC0>;
302*4882a593Smuzhiyun				interrupts = <0x7 0x4>;
303*4882a593Smuzhiyun			};
304*4882a593Smuzhiyun
305*4882a593Smuzhiyun			ZMII0: emac-zmii@ef600d00 {
306*4882a593Smuzhiyun				compatible = "ibm,zmii-440epx", "ibm,zmii";
307*4882a593Smuzhiyun				reg = <0xef600d00 0x0000000c>;
308*4882a593Smuzhiyun			};
309*4882a593Smuzhiyun
310*4882a593Smuzhiyun			RGMII0: emac-rgmii@ef601000 {
311*4882a593Smuzhiyun				compatible = "ibm,rgmii-440epx", "ibm,rgmii";
312*4882a593Smuzhiyun				reg = <0xef601000 0x00000008>;
313*4882a593Smuzhiyun				has-mdio;
314*4882a593Smuzhiyun			};
315*4882a593Smuzhiyun
316*4882a593Smuzhiyun			EMAC0: ethernet@ef600e00 {
317*4882a593Smuzhiyun				device_type = "network";
318*4882a593Smuzhiyun				compatible = "ibm,emac-440epx", "ibm,emac4";
319*4882a593Smuzhiyun				interrupt-parent = <&EMAC0>;
320*4882a593Smuzhiyun				interrupts = <0x0 0x1>;
321*4882a593Smuzhiyun				#interrupt-cells = <1>;
322*4882a593Smuzhiyun				#address-cells = <0>;
323*4882a593Smuzhiyun				#size-cells = <0>;
324*4882a593Smuzhiyun				interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
325*4882a593Smuzhiyun						/*Wake*/  0x1 &UIC1 0x1d 0x4>;
326*4882a593Smuzhiyun				reg = <0xef600e00 0x00000074>;
327*4882a593Smuzhiyun				local-mac-address = [000000000000];
328*4882a593Smuzhiyun				mal-device = <&MAL0>;
329*4882a593Smuzhiyun				mal-tx-channel = <0>;
330*4882a593Smuzhiyun				mal-rx-channel = <0>;
331*4882a593Smuzhiyun				cell-index = <0>;
332*4882a593Smuzhiyun				max-frame-size = <9000>;
333*4882a593Smuzhiyun				rx-fifo-size = <4096>;
334*4882a593Smuzhiyun				tx-fifo-size = <2048>;
335*4882a593Smuzhiyun				phy-mode = "rgmii";
336*4882a593Smuzhiyun				phy-map = <0x00000000>;
337*4882a593Smuzhiyun				zmii-device = <&ZMII0>;
338*4882a593Smuzhiyun				zmii-channel = <0>;
339*4882a593Smuzhiyun				rgmii-device = <&RGMII0>;
340*4882a593Smuzhiyun				rgmii-channel = <0>;
341*4882a593Smuzhiyun				has-inverted-stacr-oc;
342*4882a593Smuzhiyun				has-new-stacr-staopc;
343*4882a593Smuzhiyun			};
344*4882a593Smuzhiyun
345*4882a593Smuzhiyun			EMAC1: ethernet@ef600f00 {
346*4882a593Smuzhiyun				device_type = "network";
347*4882a593Smuzhiyun				compatible = "ibm,emac-440epx", "ibm,emac4";
348*4882a593Smuzhiyun				interrupt-parent = <&EMAC1>;
349*4882a593Smuzhiyun				interrupts = <0x0 0x1>;
350*4882a593Smuzhiyun				#interrupt-cells = <1>;
351*4882a593Smuzhiyun				#address-cells = <0>;
352*4882a593Smuzhiyun				#size-cells = <0>;
353*4882a593Smuzhiyun				interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4
354*4882a593Smuzhiyun						/*Wake*/  0x1 &UIC1 0x1f 0x4>;
355*4882a593Smuzhiyun				reg = <0xef600f00 0x00000074>;
356*4882a593Smuzhiyun				local-mac-address = [000000000000];
357*4882a593Smuzhiyun				mal-device = <&MAL0>;
358*4882a593Smuzhiyun				mal-tx-channel = <1>;
359*4882a593Smuzhiyun				mal-rx-channel = <1>;
360*4882a593Smuzhiyun				cell-index = <1>;
361*4882a593Smuzhiyun				max-frame-size = <9000>;
362*4882a593Smuzhiyun				rx-fifo-size = <4096>;
363*4882a593Smuzhiyun				tx-fifo-size = <2048>;
364*4882a593Smuzhiyun				phy-mode = "rgmii";
365*4882a593Smuzhiyun				phy-map = <0x00000000>;
366*4882a593Smuzhiyun				zmii-device = <&ZMII0>;
367*4882a593Smuzhiyun				zmii-channel = <1>;
368*4882a593Smuzhiyun				rgmii-device = <&RGMII0>;
369*4882a593Smuzhiyun				rgmii-channel = <1>;
370*4882a593Smuzhiyun				has-inverted-stacr-oc;
371*4882a593Smuzhiyun				has-new-stacr-staopc;
372*4882a593Smuzhiyun			};
373*4882a593Smuzhiyun		};
374*4882a593Smuzhiyun
375*4882a593Smuzhiyun		PCI0: pci@1ec000000 {
376*4882a593Smuzhiyun			device_type = "pci";
377*4882a593Smuzhiyun			#interrupt-cells = <1>;
378*4882a593Smuzhiyun			#size-cells = <2>;
379*4882a593Smuzhiyun			#address-cells = <3>;
380*4882a593Smuzhiyun			compatible = "ibm,plb440epx-pci", "ibm,plb-pci";
381*4882a593Smuzhiyun			primary;
382*4882a593Smuzhiyun			reg = <0x00000001 0xeec00000 0x00000008	/* Config space access */
383*4882a593Smuzhiyun			       0x00000001 0xeed00000 0x00000004	/* IACK */
384*4882a593Smuzhiyun			       0x00000001 0xeed00000 0x00000004	/* Special cycle */
385*4882a593Smuzhiyun			       0x00000001 0xef400000 0x00000040>;	/* Internal registers */
386*4882a593Smuzhiyun
387*4882a593Smuzhiyun			/* Outbound ranges, one memory and one IO,
388*4882a593Smuzhiyun			 * later cannot be changed. Chip supports a second
389*4882a593Smuzhiyun			 * IO range but we don't use it for now
390*4882a593Smuzhiyun			 * From the 440EPx user manual:
391*4882a593Smuzhiyun			 * PCI 1 Memory     1 8000 0000     1 BFFF FFFF     1GB
392*4882a593Smuzhiyun			 * I/O              1 E800 0000     1 E800 FFFF     64KB
393*4882a593Smuzhiyun			 * I/O              1 E880 0000     1 EBFF FFFF     56MB
394*4882a593Smuzhiyun			 */
395*4882a593Smuzhiyun			ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x40000000
396*4882a593Smuzhiyun				0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00010000
397*4882a593Smuzhiyun				0x01000000 0x00000000 0x00000000 0x00000001 0xe8800000 0x00000000 0x03800000>;
398*4882a593Smuzhiyun
399*4882a593Smuzhiyun			/* Inbound 2GB range starting at 0 */
400*4882a593Smuzhiyun			dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
401*4882a593Smuzhiyun
402*4882a593Smuzhiyun			/* All PCI interrupts are routed to IRQ 67 */
403*4882a593Smuzhiyun			interrupt-map-mask = <0x0 0x0 0x0 0x0>;
404*4882a593Smuzhiyun			interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >;
405*4882a593Smuzhiyun		};
406*4882a593Smuzhiyun	};
407*4882a593Smuzhiyun
408*4882a593Smuzhiyun	chosen {
409*4882a593Smuzhiyun		stdout-path = "/plb/opb/serial@ef600300";
410*4882a593Smuzhiyun		bootargs = "console=ttyS0,115200";
411*4882a593Smuzhiyun	};
412*4882a593Smuzhiyun};
413