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