xref: /linux/arch/powerpc/boot/dts/sequoia.dts (revision 7b8d639cfc7967388d1cfe2a81e7e3c872a81a0d)
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
113d60ff953SValentine Barshak		DMA0: dma {
114d60ff953SValentine Barshak			compatible = "ibm,dma-440epx", "ibm,dma-4xx";
11571f34979SDavid Gibson			dcr-reg = <0x100 0x027>;
116d60ff953SValentine Barshak		};
117d60ff953SValentine Barshak
118d60ff953SValentine Barshak		MAL0: mcmal {
119d60ff953SValentine Barshak			compatible = "ibm,mcmal-440epx", "ibm,mcmal2";
12071f34979SDavid Gibson			dcr-reg = <0x180 0x062>;
121bd0076ccSValentine Barshak			num-tx-chans = <2>;
122bd0076ccSValentine Barshak			num-rx-chans = <2>;
123d60ff953SValentine Barshak			interrupt-parent = <&MAL0>;
12471f34979SDavid Gibson			interrupts = <0x0 0x1 0x2 0x3 0x4>;
125d60ff953SValentine Barshak			#interrupt-cells = <1>;
126d60ff953SValentine Barshak			#address-cells = <0>;
127d60ff953SValentine Barshak			#size-cells = <0>;
12871f34979SDavid Gibson			interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4
12971f34979SDavid Gibson					/*RXEOB*/ 0x1 &UIC0 0xb 0x4
13071f34979SDavid Gibson					/*SERR*/  0x2 &UIC1 0x0 0x4
13171f34979SDavid Gibson					/*TXDE*/  0x3 &UIC1 0x1 0x4
13271f34979SDavid Gibson					/*RXDE*/  0x4 &UIC1 0x2 0x4>;
13371f34979SDavid Gibson			interrupt-map-mask = <0xffffffff>;
134d60ff953SValentine Barshak		};
135d60ff953SValentine Barshak
136f82f5a26SValentine Barshak		USB1: usb@e0000400 {
137796bcae7SVitaly Bordug			compatible = "ibm,usb-ohci-440epx", "ohci-be";
13871f34979SDavid Gibson			reg = <0x00000000 0xe0000400 0x00000060>;
139f82f5a26SValentine Barshak			interrupt-parent = <&UIC0>;
14071f34979SDavid Gibson			interrupts = <0x15 0x8>;
141f82f5a26SValentine Barshak		};
142f82f5a26SValentine Barshak
1433c0c6cb5SValentine Barshak		USB0: ehci@e0000300 {
1443c0c6cb5SValentine Barshak			compatible = "ibm,usb-ehci-440epx", "usb-ehci";
1453c0c6cb5SValentine Barshak			interrupt-parent = <&UIC0>;
14671f34979SDavid Gibson			interrupts = <0x1a 0x4>;
14771f34979SDavid Gibson			reg = <0x00000000 0xe0000300 0x00000090 0x00000000 0xe0000390 0x00000070>;
1483c0c6cb5SValentine Barshak			big-endian;
1493c0c6cb5SValentine Barshak		};
1503c0c6cb5SValentine Barshak
151d60ff953SValentine Barshak		POB0: opb {
152d60ff953SValentine Barshak		  	compatible = "ibm,opb-440epx", "ibm,opb";
153d60ff953SValentine Barshak			#address-cells = <1>;
154d60ff953SValentine Barshak			#size-cells = <1>;
15571f34979SDavid Gibson		  	ranges = <0x00000000 0x00000001 0x00000000 0x80000000
15671f34979SDavid Gibson			          0x80000000 0x00000001 0x80000000 0x80000000>;
157d60ff953SValentine Barshak		  	interrupt-parent = <&UIC1>;
15871f34979SDavid Gibson		  	interrupts = <0x7 0x4>;
159d60ff953SValentine Barshak		  	clock-frequency = <0>; /* Filled in by zImage */
160d60ff953SValentine Barshak
161d60ff953SValentine Barshak			EBC0: ebc {
162d60ff953SValentine Barshak				compatible = "ibm,ebc-440epx", "ibm,ebc";
16371f34979SDavid Gibson				dcr-reg = <0x012 0x002>;
164d60ff953SValentine Barshak				#address-cells = <2>;
165d60ff953SValentine Barshak				#size-cells = <1>;
166d60ff953SValentine Barshak				clock-frequency = <0>; /* Filled in by zImage */
16771f34979SDavid Gibson				interrupts = <0x5 0x1>;
168d60ff953SValentine Barshak				interrupt-parent = <&UIC1>;
169d60ff953SValentine Barshak
170d60ff953SValentine Barshak				nor_flash@0,0 {
171504ca43eSJosh Boyer					compatible = "amd,s29gl256n", "cfi-flash";
172d60ff953SValentine Barshak					bank-width = <2>;
17371f34979SDavid Gibson					reg = <0x00000000 0x00000000 0x04000000>;
174504ca43eSJosh Boyer					#address-cells = <1>;
175504ca43eSJosh Boyer					#size-cells = <1>;
176504ca43eSJosh Boyer					partition@0 {
177504ca43eSJosh Boyer						label = "Kernel";
17871f34979SDavid Gibson						reg = <0x00000000 0x00180000>;
179504ca43eSJosh Boyer					};
180504ca43eSJosh Boyer					partition@180000 {
181504ca43eSJosh Boyer						label = "ramdisk";
18271f34979SDavid Gibson						reg = <0x00180000 0x00200000>;
183504ca43eSJosh Boyer					};
184504ca43eSJosh Boyer					partition@380000 {
185504ca43eSJosh Boyer						label = "file system";
18671f34979SDavid Gibson						reg = <0x00380000 0x03aa0000>;
187504ca43eSJosh Boyer					};
188504ca43eSJosh Boyer					partition@3e20000 {
189504ca43eSJosh Boyer						label = "kozio";
19071f34979SDavid Gibson						reg = <0x03e20000 0x00140000>;
191504ca43eSJosh Boyer					};
192504ca43eSJosh Boyer					partition@3f60000 {
193504ca43eSJosh Boyer						label = "env";
19471f34979SDavid Gibson						reg = <0x03f60000 0x00040000>;
195504ca43eSJosh Boyer					};
196504ca43eSJosh Boyer					partition@3fa0000 {
197504ca43eSJosh Boyer						label = "u-boot";
19871f34979SDavid Gibson						reg = <0x03fa0000 0x00060000>;
199504ca43eSJosh Boyer					};
200d60ff953SValentine Barshak				};
201d60ff953SValentine Barshak
202*7b8d639cSStefan Roese				ndfc@3,0 {
203*7b8d639cSStefan Roese					compatible = "ibm,ndfc";
204*7b8d639cSStefan Roese					reg = <0x00000003 0x00000000 0x00002000>;
205*7b8d639cSStefan Roese					ccr = <0x00001000>;
206*7b8d639cSStefan Roese					bank-settings = <0x80002222>;
207*7b8d639cSStefan Roese					#address-cells = <1>;
208*7b8d639cSStefan Roese					#size-cells = <1>;
209*7b8d639cSStefan Roese
210*7b8d639cSStefan Roese					nand {
211*7b8d639cSStefan Roese						#address-cells = <1>;
212*7b8d639cSStefan Roese						#size-cells = <1>;
213*7b8d639cSStefan Roese
214*7b8d639cSStefan Roese						partition@0 {
215*7b8d639cSStefan Roese							label = "u-boot";
216*7b8d639cSStefan Roese							reg = <0x00000000 0x00084000>;
217*7b8d639cSStefan Roese						};
218*7b8d639cSStefan Roese						partition@84000 {
219*7b8d639cSStefan Roese							label = "user";
220*7b8d639cSStefan Roese							reg = <0x00000000 0x01f7c000>;
221*7b8d639cSStefan Roese						};
222*7b8d639cSStefan Roese					};
223*7b8d639cSStefan Roese				};
224d60ff953SValentine Barshak			};
225d60ff953SValentine Barshak
226d60ff953SValentine Barshak			UART0: serial@ef600300 {
227d60ff953SValentine Barshak		   		device_type = "serial";
228d60ff953SValentine Barshak		   		compatible = "ns16550";
22971f34979SDavid Gibson		   		reg = <0xef600300 0x00000008>;
23071f34979SDavid Gibson		   		virtual-reg = <0xef600300>;
231d60ff953SValentine Barshak		   		clock-frequency = <0>; /* Filled in by zImage */
23271f34979SDavid Gibson		   		current-speed = <115200>;
233d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
23471f34979SDavid Gibson		   		interrupts = <0x0 0x4>;
235d60ff953SValentine Barshak	   		};
236d60ff953SValentine Barshak
237d60ff953SValentine Barshak			UART1: serial@ef600400 {
238d60ff953SValentine Barshak		   		device_type = "serial";
239d60ff953SValentine Barshak		   		compatible = "ns16550";
24071f34979SDavid Gibson		   		reg = <0xef600400 0x00000008>;
24171f34979SDavid Gibson		   		virtual-reg = <0xef600400>;
242d60ff953SValentine Barshak		   		clock-frequency = <0>;
243d60ff953SValentine Barshak		   		current-speed = <0>;
244d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
24571f34979SDavid Gibson		   		interrupts = <0x1 0x4>;
246d60ff953SValentine Barshak	   		};
247d60ff953SValentine Barshak
248d60ff953SValentine Barshak			UART2: serial@ef600500 {
249d60ff953SValentine Barshak		   		device_type = "serial";
250d60ff953SValentine Barshak		   		compatible = "ns16550";
25171f34979SDavid Gibson		   		reg = <0xef600500 0x00000008>;
25271f34979SDavid Gibson		   		virtual-reg = <0xef600500>;
253d60ff953SValentine Barshak		   		clock-frequency = <0>;
254d60ff953SValentine Barshak		   		current-speed = <0>;
255d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
25671f34979SDavid Gibson		   		interrupts = <0x3 0x4>;
257d60ff953SValentine Barshak	   		};
258d60ff953SValentine Barshak
259d60ff953SValentine Barshak			UART3: serial@ef600600 {
260d60ff953SValentine Barshak		   		device_type = "serial";
261d60ff953SValentine Barshak		   		compatible = "ns16550";
26271f34979SDavid Gibson		   		reg = <0xef600600 0x00000008>;
26371f34979SDavid Gibson		   		virtual-reg = <0xef600600>;
264d60ff953SValentine Barshak		   		clock-frequency = <0>;
265d60ff953SValentine Barshak		   		current-speed = <0>;
266d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
26771f34979SDavid Gibson		   		interrupts = <0x4 0x4>;
268d60ff953SValentine Barshak	   		};
269d60ff953SValentine Barshak
270d60ff953SValentine Barshak			IIC0: i2c@ef600700 {
271423da269SMatthias Fuchs				#address-cells = <1>;
272423da269SMatthias Fuchs				#size-cells = <0>;
273d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
27471f34979SDavid Gibson				reg = <0xef600700 0x00000014>;
275d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
27671f34979SDavid Gibson				interrupts = <0x2 0x4>;
277423da269SMatthias Fuchs
278423da269SMatthias Fuchs				hwmon@48 {
279423da269SMatthias Fuchs					compatible = "adi,ad7414";
280423da269SMatthias Fuchs					reg = <0x48>;
281423da269SMatthias Fuchs				};
282d60ff953SValentine Barshak			};
283d60ff953SValentine Barshak
284d60ff953SValentine Barshak			IIC1: i2c@ef600800 {
285423da269SMatthias Fuchs				#address-cells = <1>;
286423da269SMatthias Fuchs				#size-cells = <0>;
287d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
28871f34979SDavid Gibson				reg = <0xef600800 0x00000014>;
289d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
29071f34979SDavid Gibson				interrupts = <0x7 0x4>;
291d60ff953SValentine Barshak			};
292d60ff953SValentine Barshak
293d60ff953SValentine Barshak			ZMII0: emac-zmii@ef600d00 {
294d60ff953SValentine Barshak				compatible = "ibm,zmii-440epx", "ibm,zmii";
29571f34979SDavid Gibson				reg = <0xef600d00 0x0000000c>;
296d60ff953SValentine Barshak			};
297d60ff953SValentine Barshak
2981f69dcfdSValentine Barshak			RGMII0: emac-rgmii@ef601000 {
2991f69dcfdSValentine Barshak				compatible = "ibm,rgmii-440epx", "ibm,rgmii";
30071f34979SDavid Gibson				reg = <0xef601000 0x00000008>;
3011f57877aSBenjamin Herrenschmidt				has-mdio;
3021f69dcfdSValentine Barshak			};
3031f69dcfdSValentine Barshak
304d60ff953SValentine Barshak			EMAC0: ethernet@ef600e00 {
305d60ff953SValentine Barshak				device_type = "network";
306d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
307d60ff953SValentine Barshak				interrupt-parent = <&EMAC0>;
30871f34979SDavid Gibson				interrupts = <0x0 0x1>;
309d60ff953SValentine Barshak				#interrupt-cells = <1>;
310d60ff953SValentine Barshak				#address-cells = <0>;
311d60ff953SValentine Barshak				#size-cells = <0>;
31271f34979SDavid Gibson				interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
31371f34979SDavid Gibson						/*Wake*/  0x1 &UIC1 0x1d 0x4>;
31405781ccdSGrant Erickson				reg = <0xef600e00 0x00000074>;
315d60ff953SValentine Barshak				local-mac-address = [000000000000];
316d60ff953SValentine Barshak				mal-device = <&MAL0>;
317bd0076ccSValentine Barshak				mal-tx-channel = <0>;
318d60ff953SValentine Barshak				mal-rx-channel = <0>;
319d60ff953SValentine Barshak				cell-index = <0>;
32071f34979SDavid Gibson				max-frame-size = <9000>;
32171f34979SDavid Gibson				rx-fifo-size = <4096>;
32271f34979SDavid Gibson				tx-fifo-size = <2048>;
3231f69dcfdSValentine Barshak				phy-mode = "rgmii";
32471f34979SDavid Gibson				phy-map = <0x00000000>;
325d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
326d60ff953SValentine Barshak				zmii-channel = <0>;
3271f69dcfdSValentine Barshak				rgmii-device = <&RGMII0>;
3281f69dcfdSValentine Barshak				rgmii-channel = <0>;
329bff713b5SBenjamin Herrenschmidt				has-inverted-stacr-oc;
330bff713b5SBenjamin Herrenschmidt				has-new-stacr-staopc;
331d60ff953SValentine Barshak			};
332d60ff953SValentine Barshak
333d60ff953SValentine Barshak			EMAC1: ethernet@ef600f00 {
334d60ff953SValentine Barshak				device_type = "network";
335d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
336d60ff953SValentine Barshak				interrupt-parent = <&EMAC1>;
33771f34979SDavid Gibson				interrupts = <0x0 0x1>;
338d60ff953SValentine Barshak				#interrupt-cells = <1>;
339d60ff953SValentine Barshak				#address-cells = <0>;
340d60ff953SValentine Barshak				#size-cells = <0>;
34171f34979SDavid Gibson				interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4
34271f34979SDavid Gibson						/*Wake*/  0x1 &UIC1 0x1f 0x4>;
34305781ccdSGrant Erickson				reg = <0xef600f00 0x00000074>;
344d60ff953SValentine Barshak				local-mac-address = [000000000000];
345d60ff953SValentine Barshak				mal-device = <&MAL0>;
346bd0076ccSValentine Barshak				mal-tx-channel = <1>;
347d60ff953SValentine Barshak				mal-rx-channel = <1>;
348d60ff953SValentine Barshak				cell-index = <1>;
34971f34979SDavid Gibson				max-frame-size = <9000>;
35071f34979SDavid Gibson				rx-fifo-size = <4096>;
35171f34979SDavid Gibson				tx-fifo-size = <2048>;
3521f69dcfdSValentine Barshak				phy-mode = "rgmii";
35371f34979SDavid Gibson				phy-map = <0x00000000>;
354d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
355d60ff953SValentine Barshak				zmii-channel = <1>;
3561f69dcfdSValentine Barshak				rgmii-device = <&RGMII0>;
3571f69dcfdSValentine Barshak				rgmii-channel = <1>;
358bff713b5SBenjamin Herrenschmidt				has-inverted-stacr-oc;
359bff713b5SBenjamin Herrenschmidt				has-new-stacr-staopc;
360d60ff953SValentine Barshak			};
361d60ff953SValentine Barshak		};
3622a13448aSValentine Barshak
3632a13448aSValentine Barshak		PCI0: pci@1ec000000 {
3642a13448aSValentine Barshak			device_type = "pci";
3652a13448aSValentine Barshak			#interrupt-cells = <1>;
3662a13448aSValentine Barshak			#size-cells = <2>;
3672a13448aSValentine Barshak			#address-cells = <3>;
3682a13448aSValentine Barshak			compatible = "ibm,plb440epx-pci", "ibm,plb-pci";
3692a13448aSValentine Barshak			primary;
37071f34979SDavid Gibson			reg = <0x00000001 0xeec00000 0x00000008	/* Config space access */
37171f34979SDavid Gibson			       0x00000001 0xeed00000 0x00000004	/* IACK */
37271f34979SDavid Gibson			       0x00000001 0xeed00000 0x00000004	/* Special cycle */
37371f34979SDavid Gibson			       0x00000001 0xef400000 0x00000040>;	/* Internal registers */
3742a13448aSValentine Barshak
3752a13448aSValentine Barshak			/* Outbound ranges, one memory and one IO,
3762a13448aSValentine Barshak			 * later cannot be changed. Chip supports a second
3772a13448aSValentine Barshak			 * IO range but we don't use it for now
37878be7647SChristian Ehrhardt			 * From the 440EPx user manual:
37978be7647SChristian Ehrhardt			 * PCI 1 Memory     1 8000 0000     1 BFFF FFFF     1GB
38078be7647SChristian Ehrhardt			 * I/O              1 E800 0000     1 E800 FFFF     64KB
38178be7647SChristian Ehrhardt			 * I/O              1 E880 0000     1 EBFF FFFF     56MB
3822a13448aSValentine Barshak			 */
38371f34979SDavid Gibson			ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x40000000
38471f34979SDavid Gibson				0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00010000
38571f34979SDavid Gibson				0x01000000 0x00000000 0x00000000 0x00000001 0xe8800000 0x00000000 0x03800000>;
3862a13448aSValentine Barshak
3872a13448aSValentine Barshak			/* Inbound 2GB range starting at 0 */
38871f34979SDavid Gibson			dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
3892a13448aSValentine Barshak
3902a13448aSValentine Barshak			/* All PCI interrupts are routed to IRQ 67 */
39171f34979SDavid Gibson			interrupt-map-mask = <0x0 0x0 0x0 0x0>;
39271f34979SDavid Gibson			interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >;
3932a13448aSValentine Barshak		};
394d60ff953SValentine Barshak	};
395d60ff953SValentine Barshak
396d60ff953SValentine Barshak	chosen {
397d60ff953SValentine Barshak		linux,stdout-path = "/plb/opb/serial@ef600300";
398d60ff953SValentine Barshak		bootargs = "console=ttyS0,115200";
399d60ff953SValentine Barshak	};
400d60ff953SValentine Barshak};
401