xref: /linux/arch/powerpc/boot/dts/sequoia.dts (revision 70a92003de599ff2f15815b3d9c4459411ca4ebf)
1d60ff953SValentine Barshak/*
2d60ff953SValentine Barshak * Device Tree Source for AMCC Sequoia
3d60ff953SValentine Barshak *
4d60ff953SValentine Barshak * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
5d60ff953SValentine Barshak * Copyright (c) 2006, 2007 IBM Corp.
6d60ff953SValentine Barshak *
7d60ff953SValentine Barshak * FIXME: Draft only!
8d60ff953SValentine Barshak *
9d60ff953SValentine Barshak * This file is licensed under the terms of the GNU General Public
10d60ff953SValentine Barshak * License version 2.  This program is licensed "as is" without
11d60ff953SValentine Barshak * any warranty of any kind, whether express or implied.
12d60ff953SValentine Barshak *
13d60ff953SValentine Barshak */
14d60ff953SValentine Barshak
1571f34979SDavid Gibson/dts-v1/;
1671f34979SDavid Gibson
17d60ff953SValentine Barshak/ {
18d60ff953SValentine Barshak	#address-cells = <2>;
19d60ff953SValentine Barshak	#size-cells = <1>;
20d60ff953SValentine Barshak	model = "amcc,sequoia";
21d60ff953SValentine Barshak	compatible = "amcc,sequoia";
2271f34979SDavid Gibson	dcr-parent = <&{/cpus/cpu@0}>;
23d60ff953SValentine Barshak
248aaed98cSStefan Roese	aliases {
258aaed98cSStefan Roese		ethernet0 = &EMAC0;
268aaed98cSStefan Roese		ethernet1 = &EMAC1;
278aaed98cSStefan Roese		serial0 = &UART0;
288aaed98cSStefan Roese		serial1 = &UART1;
298aaed98cSStefan Roese		serial2 = &UART2;
308aaed98cSStefan Roese		serial3 = &UART3;
318aaed98cSStefan Roese	};
328aaed98cSStefan Roese
33d60ff953SValentine Barshak	cpus {
34d60ff953SValentine Barshak		#address-cells = <1>;
35d60ff953SValentine Barshak		#size-cells = <0>;
36d60ff953SValentine Barshak
3772fda114SJosh Boyer		cpu@0 {
38d60ff953SValentine Barshak			device_type = "cpu";
3972fda114SJosh Boyer			model = "PowerPC,440EPx";
4071f34979SDavid Gibson			reg = <0x00000000>;
41d60ff953SValentine Barshak			clock-frequency = <0>; /* Filled in by zImage */
42d60ff953SValentine Barshak			timebase-frequency = <0>; /* Filled in by zImage */
4371f34979SDavid Gibson			i-cache-line-size = <32>;
4471f34979SDavid Gibson			d-cache-line-size = <32>;
4571f34979SDavid Gibson			i-cache-size = <32768>;
4671f34979SDavid Gibson			d-cache-size = <32768>;
47d60ff953SValentine Barshak			dcr-controller;
48d60ff953SValentine Barshak			dcr-access-method = "native";
49d60ff953SValentine Barshak		};
50d60ff953SValentine Barshak	};
51d60ff953SValentine Barshak
52d60ff953SValentine Barshak	memory {
53d60ff953SValentine Barshak		device_type = "memory";
5471f34979SDavid Gibson		reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */
55d60ff953SValentine Barshak	};
56d60ff953SValentine Barshak
57d60ff953SValentine Barshak	UIC0: interrupt-controller0 {
58d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
59d60ff953SValentine Barshak		interrupt-controller;
60d60ff953SValentine Barshak		cell-index = <0>;
6171f34979SDavid Gibson		dcr-reg = <0x0c0 0x009>;
62d60ff953SValentine Barshak		#address-cells = <0>;
63d60ff953SValentine Barshak		#size-cells = <0>;
64d60ff953SValentine Barshak		#interrupt-cells = <2>;
65d60ff953SValentine Barshak	};
66d60ff953SValentine Barshak
67d60ff953SValentine Barshak	UIC1: interrupt-controller1 {
68d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
69d60ff953SValentine Barshak		interrupt-controller;
70d60ff953SValentine Barshak		cell-index = <1>;
7171f34979SDavid Gibson		dcr-reg = <0x0d0 0x009>;
72d60ff953SValentine Barshak		#address-cells = <0>;
73d60ff953SValentine Barshak		#size-cells = <0>;
74d60ff953SValentine Barshak		#interrupt-cells = <2>;
7571f34979SDavid Gibson		interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
76d60ff953SValentine Barshak		interrupt-parent = <&UIC0>;
77d60ff953SValentine Barshak	};
78d60ff953SValentine Barshak
79d60ff953SValentine Barshak	UIC2: interrupt-controller2 {
80d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
81d60ff953SValentine Barshak		interrupt-controller;
82d60ff953SValentine Barshak		cell-index = <2>;
8371f34979SDavid Gibson		dcr-reg = <0x0e0 0x009>;
84d60ff953SValentine Barshak		#address-cells = <0>;
85d60ff953SValentine Barshak		#size-cells = <0>;
86d60ff953SValentine Barshak		#interrupt-cells = <2>;
8771f34979SDavid Gibson		interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */
88d60ff953SValentine Barshak		interrupt-parent = <&UIC0>;
89d60ff953SValentine Barshak	};
90d60ff953SValentine Barshak
91d60ff953SValentine Barshak	SDR0: sdr {
92d60ff953SValentine Barshak		compatible = "ibm,sdr-440epx", "ibm,sdr-440ep";
9371f34979SDavid Gibson		dcr-reg = <0x00e 0x002>;
94d60ff953SValentine Barshak	};
95d60ff953SValentine Barshak
96d60ff953SValentine Barshak	CPR0: cpr {
97d60ff953SValentine Barshak		compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
9871f34979SDavid Gibson		dcr-reg = <0x00c 0x002>;
99d60ff953SValentine Barshak	};
100d60ff953SValentine Barshak
101d60ff953SValentine Barshak	plb {
102d60ff953SValentine Barshak		compatible = "ibm,plb-440epx", "ibm,plb4";
103d60ff953SValentine Barshak		#address-cells = <2>;
104d60ff953SValentine Barshak		#size-cells = <1>;
105d60ff953SValentine Barshak		ranges;
106d60ff953SValentine Barshak		clock-frequency = <0>; /* Filled in by zImage */
107d60ff953SValentine Barshak
108d60ff953SValentine Barshak		SDRAM0: sdram {
109d60ff953SValentine Barshak			compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali";
11071f34979SDavid Gibson			dcr-reg = <0x010 0x002>;
111d60ff953SValentine Barshak		};
112d60ff953SValentine Barshak
11361d1baaeSJosh Boyer		CRYPTO: crypto@e0100000 {
11461d1baaeSJosh Boyer			compatible = "amcc,ppc440epx-crypto","amcc,ppc4xx-crypto";
11561d1baaeSJosh Boyer			reg = <0 0xE0100000 0x80400>;
11661d1baaeSJosh Boyer			interrupt-parent = <&UIC0>;
11761d1baaeSJosh Boyer			interrupts = <0x17 0x4>;
11861d1baaeSJosh Boyer		};
11961d1baaeSJosh Boyer
12061d1baaeSJosh Boyer		rng@e0120000 {
12161d1baaeSJosh Boyer			compatible = "amcc,ppc440epx-rng","amcc,ppc4xx-rng";
12261d1baaeSJosh Boyer			reg = <0 0xE0120000 0x150>;
12361d1baaeSJosh Boyer		};
12461d1baaeSJosh Boyer
125d60ff953SValentine Barshak		DMA0: dma {
126d60ff953SValentine Barshak			compatible = "ibm,dma-440epx", "ibm,dma-4xx";
12771f34979SDavid Gibson			dcr-reg = <0x100 0x027>;
128d60ff953SValentine Barshak		};
129d60ff953SValentine Barshak
130d60ff953SValentine Barshak		MAL0: mcmal {
131d60ff953SValentine Barshak			compatible = "ibm,mcmal-440epx", "ibm,mcmal2";
13271f34979SDavid Gibson			dcr-reg = <0x180 0x062>;
133bd0076ccSValentine Barshak			num-tx-chans = <2>;
134bd0076ccSValentine Barshak			num-rx-chans = <2>;
135d60ff953SValentine Barshak			interrupt-parent = <&MAL0>;
13671f34979SDavid Gibson			interrupts = <0x0 0x1 0x2 0x3 0x4>;
137d60ff953SValentine Barshak			#interrupt-cells = <1>;
138d60ff953SValentine Barshak			#address-cells = <0>;
139d60ff953SValentine Barshak			#size-cells = <0>;
14071f34979SDavid Gibson			interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4
14171f34979SDavid Gibson					/*RXEOB*/ 0x1 &UIC0 0xb 0x4
14271f34979SDavid Gibson					/*SERR*/  0x2 &UIC1 0x0 0x4
14371f34979SDavid Gibson					/*TXDE*/  0x3 &UIC1 0x1 0x4
14471f34979SDavid Gibson					/*RXDE*/  0x4 &UIC1 0x2 0x4>;
14571f34979SDavid Gibson			interrupt-map-mask = <0xffffffff>;
146d60ff953SValentine Barshak		};
147d60ff953SValentine Barshak
148f82f5a26SValentine Barshak		USB1: usb@e0000400 {
149796bcae7SVitaly Bordug			compatible = "ibm,usb-ohci-440epx", "ohci-be";
15071f34979SDavid Gibson			reg = <0x00000000 0xe0000400 0x00000060>;
151f82f5a26SValentine Barshak			interrupt-parent = <&UIC0>;
15271f34979SDavid Gibson			interrupts = <0x15 0x8>;
153f82f5a26SValentine Barshak		};
154f82f5a26SValentine Barshak
1553c0c6cb5SValentine Barshak		USB0: ehci@e0000300 {
1563c0c6cb5SValentine Barshak			compatible = "ibm,usb-ehci-440epx", "usb-ehci";
1573c0c6cb5SValentine Barshak			interrupt-parent = <&UIC0>;
15871f34979SDavid Gibson			interrupts = <0x1a 0x4>;
15971f34979SDavid Gibson			reg = <0x00000000 0xe0000300 0x00000090 0x00000000 0xe0000390 0x00000070>;
1603c0c6cb5SValentine Barshak			big-endian;
1613c0c6cb5SValentine Barshak		};
1623c0c6cb5SValentine Barshak
163d60ff953SValentine Barshak		POB0: opb {
164d60ff953SValentine Barshak		  	compatible = "ibm,opb-440epx", "ibm,opb";
165d60ff953SValentine Barshak			#address-cells = <1>;
166d60ff953SValentine Barshak			#size-cells = <1>;
16771f34979SDavid Gibson		  	ranges = <0x00000000 0x00000001 0x00000000 0x80000000
16871f34979SDavid Gibson			          0x80000000 0x00000001 0x80000000 0x80000000>;
169d60ff953SValentine Barshak		  	interrupt-parent = <&UIC1>;
17071f34979SDavid Gibson		  	interrupts = <0x7 0x4>;
171d60ff953SValentine Barshak		  	clock-frequency = <0>; /* Filled in by zImage */
172d60ff953SValentine Barshak
173d60ff953SValentine Barshak			EBC0: ebc {
174d60ff953SValentine Barshak				compatible = "ibm,ebc-440epx", "ibm,ebc";
17571f34979SDavid Gibson				dcr-reg = <0x012 0x002>;
176d60ff953SValentine Barshak				#address-cells = <2>;
177d60ff953SValentine Barshak				#size-cells = <1>;
178d60ff953SValentine Barshak				clock-frequency = <0>; /* Filled in by zImage */
17971f34979SDavid Gibson				interrupts = <0x5 0x1>;
180d60ff953SValentine Barshak				interrupt-parent = <&UIC1>;
181d60ff953SValentine Barshak
182d60ff953SValentine Barshak				nor_flash@0,0 {
183504ca43eSJosh Boyer					compatible = "amd,s29gl256n", "cfi-flash";
184d60ff953SValentine Barshak					bank-width = <2>;
18571f34979SDavid Gibson					reg = <0x00000000 0x00000000 0x04000000>;
186504ca43eSJosh Boyer					#address-cells = <1>;
187504ca43eSJosh Boyer					#size-cells = <1>;
188504ca43eSJosh Boyer					partition@0 {
189504ca43eSJosh Boyer						label = "Kernel";
19071f34979SDavid Gibson						reg = <0x00000000 0x00180000>;
191504ca43eSJosh Boyer					};
192504ca43eSJosh Boyer					partition@180000 {
193504ca43eSJosh Boyer						label = "ramdisk";
19471f34979SDavid Gibson						reg = <0x00180000 0x00200000>;
195504ca43eSJosh Boyer					};
196504ca43eSJosh Boyer					partition@380000 {
197504ca43eSJosh Boyer						label = "file system";
19871f34979SDavid Gibson						reg = <0x00380000 0x03aa0000>;
199504ca43eSJosh Boyer					};
200504ca43eSJosh Boyer					partition@3e20000 {
201504ca43eSJosh Boyer						label = "kozio";
20271f34979SDavid Gibson						reg = <0x03e20000 0x00140000>;
203504ca43eSJosh Boyer					};
204504ca43eSJosh Boyer					partition@3f60000 {
205504ca43eSJosh Boyer						label = "env";
20671f34979SDavid Gibson						reg = <0x03f60000 0x00040000>;
207504ca43eSJosh Boyer					};
208504ca43eSJosh Boyer					partition@3fa0000 {
209504ca43eSJosh Boyer						label = "u-boot";
21071f34979SDavid Gibson						reg = <0x03fa0000 0x00060000>;
211504ca43eSJosh Boyer					};
212d60ff953SValentine Barshak				};
213d60ff953SValentine Barshak
2147b8d639cSStefan Roese				ndfc@3,0 {
2157b8d639cSStefan Roese					compatible = "ibm,ndfc";
2167b8d639cSStefan Roese					reg = <0x00000003 0x00000000 0x00002000>;
2177b8d639cSStefan Roese					ccr = <0x00001000>;
2187b8d639cSStefan Roese					bank-settings = <0x80002222>;
2197b8d639cSStefan Roese					#address-cells = <1>;
2207b8d639cSStefan Roese					#size-cells = <1>;
2217b8d639cSStefan Roese
2227b8d639cSStefan Roese					nand {
2237b8d639cSStefan Roese						#address-cells = <1>;
2247b8d639cSStefan Roese						#size-cells = <1>;
2257b8d639cSStefan Roese
2267b8d639cSStefan Roese						partition@0 {
2277b8d639cSStefan Roese							label = "u-boot";
2287b8d639cSStefan Roese							reg = <0x00000000 0x00084000>;
2297b8d639cSStefan Roese						};
2307b8d639cSStefan Roese						partition@84000 {
2317b8d639cSStefan Roese							label = "user";
232*70a92003SPavel Machek							reg = <0x00084000 0x01f7c000>;
2337b8d639cSStefan Roese						};
2347b8d639cSStefan Roese					};
2357b8d639cSStefan Roese				};
236d60ff953SValentine Barshak			};
237d60ff953SValentine Barshak
238d60ff953SValentine Barshak			UART0: serial@ef600300 {
239d60ff953SValentine Barshak		   		device_type = "serial";
240d60ff953SValentine Barshak		   		compatible = "ns16550";
24171f34979SDavid Gibson		   		reg = <0xef600300 0x00000008>;
24271f34979SDavid Gibson		   		virtual-reg = <0xef600300>;
243d60ff953SValentine Barshak		   		clock-frequency = <0>; /* Filled in by zImage */
24471f34979SDavid Gibson		   		current-speed = <115200>;
245d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
24671f34979SDavid Gibson		   		interrupts = <0x0 0x4>;
247d60ff953SValentine Barshak	   		};
248d60ff953SValentine Barshak
249d60ff953SValentine Barshak			UART1: serial@ef600400 {
250d60ff953SValentine Barshak		   		device_type = "serial";
251d60ff953SValentine Barshak		   		compatible = "ns16550";
25271f34979SDavid Gibson		   		reg = <0xef600400 0x00000008>;
25371f34979SDavid Gibson		   		virtual-reg = <0xef600400>;
254d60ff953SValentine Barshak		   		clock-frequency = <0>;
255d60ff953SValentine Barshak		   		current-speed = <0>;
256d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
25771f34979SDavid Gibson		   		interrupts = <0x1 0x4>;
258d60ff953SValentine Barshak	   		};
259d60ff953SValentine Barshak
260d60ff953SValentine Barshak			UART2: serial@ef600500 {
261d60ff953SValentine Barshak		   		device_type = "serial";
262d60ff953SValentine Barshak		   		compatible = "ns16550";
26371f34979SDavid Gibson		   		reg = <0xef600500 0x00000008>;
26471f34979SDavid Gibson		   		virtual-reg = <0xef600500>;
265d60ff953SValentine Barshak		   		clock-frequency = <0>;
266d60ff953SValentine Barshak		   		current-speed = <0>;
267d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
26871f34979SDavid Gibson		   		interrupts = <0x3 0x4>;
269d60ff953SValentine Barshak	   		};
270d60ff953SValentine Barshak
271d60ff953SValentine Barshak			UART3: serial@ef600600 {
272d60ff953SValentine Barshak		   		device_type = "serial";
273d60ff953SValentine Barshak		   		compatible = "ns16550";
27471f34979SDavid Gibson		   		reg = <0xef600600 0x00000008>;
27571f34979SDavid Gibson		   		virtual-reg = <0xef600600>;
276d60ff953SValentine Barshak		   		clock-frequency = <0>;
277d60ff953SValentine Barshak		   		current-speed = <0>;
278d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
27971f34979SDavid Gibson		   		interrupts = <0x4 0x4>;
280d60ff953SValentine Barshak	   		};
281d60ff953SValentine Barshak
282d60ff953SValentine Barshak			IIC0: i2c@ef600700 {
283423da269SMatthias Fuchs				#address-cells = <1>;
284423da269SMatthias Fuchs				#size-cells = <0>;
285d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
28671f34979SDavid Gibson				reg = <0xef600700 0x00000014>;
287d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
28871f34979SDavid Gibson				interrupts = <0x2 0x4>;
289423da269SMatthias Fuchs
290423da269SMatthias Fuchs				hwmon@48 {
291423da269SMatthias Fuchs					compatible = "adi,ad7414";
292423da269SMatthias Fuchs					reg = <0x48>;
293423da269SMatthias Fuchs				};
294d60ff953SValentine Barshak			};
295d60ff953SValentine Barshak
296d60ff953SValentine Barshak			IIC1: i2c@ef600800 {
297423da269SMatthias Fuchs				#address-cells = <1>;
298423da269SMatthias Fuchs				#size-cells = <0>;
299d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
30071f34979SDavid Gibson				reg = <0xef600800 0x00000014>;
301d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
30271f34979SDavid Gibson				interrupts = <0x7 0x4>;
303d60ff953SValentine Barshak			};
304d60ff953SValentine Barshak
305d60ff953SValentine Barshak			ZMII0: emac-zmii@ef600d00 {
306d60ff953SValentine Barshak				compatible = "ibm,zmii-440epx", "ibm,zmii";
30771f34979SDavid Gibson				reg = <0xef600d00 0x0000000c>;
308d60ff953SValentine Barshak			};
309d60ff953SValentine Barshak
3101f69dcfdSValentine Barshak			RGMII0: emac-rgmii@ef601000 {
3111f69dcfdSValentine Barshak				compatible = "ibm,rgmii-440epx", "ibm,rgmii";
31271f34979SDavid Gibson				reg = <0xef601000 0x00000008>;
3131f57877aSBenjamin Herrenschmidt				has-mdio;
3141f69dcfdSValentine Barshak			};
3151f69dcfdSValentine Barshak
316d60ff953SValentine Barshak			EMAC0: ethernet@ef600e00 {
317d60ff953SValentine Barshak				device_type = "network";
318d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
319d60ff953SValentine Barshak				interrupt-parent = <&EMAC0>;
32071f34979SDavid Gibson				interrupts = <0x0 0x1>;
321d60ff953SValentine Barshak				#interrupt-cells = <1>;
322d60ff953SValentine Barshak				#address-cells = <0>;
323d60ff953SValentine Barshak				#size-cells = <0>;
32471f34979SDavid Gibson				interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
32571f34979SDavid Gibson						/*Wake*/  0x1 &UIC1 0x1d 0x4>;
32605781ccdSGrant Erickson				reg = <0xef600e00 0x00000074>;
327d60ff953SValentine Barshak				local-mac-address = [000000000000];
328d60ff953SValentine Barshak				mal-device = <&MAL0>;
329bd0076ccSValentine Barshak				mal-tx-channel = <0>;
330d60ff953SValentine Barshak				mal-rx-channel = <0>;
331d60ff953SValentine Barshak				cell-index = <0>;
33271f34979SDavid Gibson				max-frame-size = <9000>;
33371f34979SDavid Gibson				rx-fifo-size = <4096>;
33471f34979SDavid Gibson				tx-fifo-size = <2048>;
3351f69dcfdSValentine Barshak				phy-mode = "rgmii";
33671f34979SDavid Gibson				phy-map = <0x00000000>;
337d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
338d60ff953SValentine Barshak				zmii-channel = <0>;
3391f69dcfdSValentine Barshak				rgmii-device = <&RGMII0>;
3401f69dcfdSValentine Barshak				rgmii-channel = <0>;
341bff713b5SBenjamin Herrenschmidt				has-inverted-stacr-oc;
342bff713b5SBenjamin Herrenschmidt				has-new-stacr-staopc;
343d60ff953SValentine Barshak			};
344d60ff953SValentine Barshak
345d60ff953SValentine Barshak			EMAC1: ethernet@ef600f00 {
346d60ff953SValentine Barshak				device_type = "network";
347d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
348d60ff953SValentine Barshak				interrupt-parent = <&EMAC1>;
34971f34979SDavid Gibson				interrupts = <0x0 0x1>;
350d60ff953SValentine Barshak				#interrupt-cells = <1>;
351d60ff953SValentine Barshak				#address-cells = <0>;
352d60ff953SValentine Barshak				#size-cells = <0>;
35371f34979SDavid Gibson				interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4
35471f34979SDavid Gibson						/*Wake*/  0x1 &UIC1 0x1f 0x4>;
35505781ccdSGrant Erickson				reg = <0xef600f00 0x00000074>;
356d60ff953SValentine Barshak				local-mac-address = [000000000000];
357d60ff953SValentine Barshak				mal-device = <&MAL0>;
358bd0076ccSValentine Barshak				mal-tx-channel = <1>;
359d60ff953SValentine Barshak				mal-rx-channel = <1>;
360d60ff953SValentine Barshak				cell-index = <1>;
36171f34979SDavid Gibson				max-frame-size = <9000>;
36271f34979SDavid Gibson				rx-fifo-size = <4096>;
36371f34979SDavid Gibson				tx-fifo-size = <2048>;
3641f69dcfdSValentine Barshak				phy-mode = "rgmii";
36571f34979SDavid Gibson				phy-map = <0x00000000>;
366d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
367d60ff953SValentine Barshak				zmii-channel = <1>;
3681f69dcfdSValentine Barshak				rgmii-device = <&RGMII0>;
3691f69dcfdSValentine Barshak				rgmii-channel = <1>;
370bff713b5SBenjamin Herrenschmidt				has-inverted-stacr-oc;
371bff713b5SBenjamin Herrenschmidt				has-new-stacr-staopc;
372d60ff953SValentine Barshak			};
373d60ff953SValentine Barshak		};
3742a13448aSValentine Barshak
3752a13448aSValentine Barshak		PCI0: pci@1ec000000 {
3762a13448aSValentine Barshak			device_type = "pci";
3772a13448aSValentine Barshak			#interrupt-cells = <1>;
3782a13448aSValentine Barshak			#size-cells = <2>;
3792a13448aSValentine Barshak			#address-cells = <3>;
3802a13448aSValentine Barshak			compatible = "ibm,plb440epx-pci", "ibm,plb-pci";
3812a13448aSValentine Barshak			primary;
38271f34979SDavid Gibson			reg = <0x00000001 0xeec00000 0x00000008	/* Config space access */
38371f34979SDavid Gibson			       0x00000001 0xeed00000 0x00000004	/* IACK */
38471f34979SDavid Gibson			       0x00000001 0xeed00000 0x00000004	/* Special cycle */
38571f34979SDavid Gibson			       0x00000001 0xef400000 0x00000040>;	/* Internal registers */
3862a13448aSValentine Barshak
3872a13448aSValentine Barshak			/* Outbound ranges, one memory and one IO,
3882a13448aSValentine Barshak			 * later cannot be changed. Chip supports a second
3892a13448aSValentine Barshak			 * IO range but we don't use it for now
39078be7647SChristian Ehrhardt			 * From the 440EPx user manual:
39178be7647SChristian Ehrhardt			 * PCI 1 Memory     1 8000 0000     1 BFFF FFFF     1GB
39278be7647SChristian Ehrhardt			 * I/O              1 E800 0000     1 E800 FFFF     64KB
39378be7647SChristian Ehrhardt			 * I/O              1 E880 0000     1 EBFF FFFF     56MB
3942a13448aSValentine Barshak			 */
39571f34979SDavid Gibson			ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x40000000
39671f34979SDavid Gibson				0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00010000
39771f34979SDavid Gibson				0x01000000 0x00000000 0x00000000 0x00000001 0xe8800000 0x00000000 0x03800000>;
3982a13448aSValentine Barshak
3992a13448aSValentine Barshak			/* Inbound 2GB range starting at 0 */
40071f34979SDavid Gibson			dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
4012a13448aSValentine Barshak
4022a13448aSValentine Barshak			/* All PCI interrupts are routed to IRQ 67 */
40371f34979SDavid Gibson			interrupt-map-mask = <0x0 0x0 0x0 0x0>;
40471f34979SDavid Gibson			interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >;
4052a13448aSValentine Barshak		};
406d60ff953SValentine Barshak	};
407d60ff953SValentine Barshak
408d60ff953SValentine Barshak	chosen {
409d60ff953SValentine Barshak		linux,stdout-path = "/plb/opb/serial@ef600300";
410d60ff953SValentine Barshak		bootargs = "console=ttyS0,115200";
411d60ff953SValentine Barshak	};
412d60ff953SValentine Barshak};
413