xref: /linux/arch/powerpc/boot/dts/sequoia.dts (revision d60ff953652f0a2f74ad17ab2d9a0e928c1902d3)
1*d60ff953SValentine Barshak/*
2*d60ff953SValentine Barshak * Device Tree Source for AMCC Sequoia
3*d60ff953SValentine Barshak *
4*d60ff953SValentine Barshak * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
5*d60ff953SValentine Barshak * Copyright (c) 2006, 2007 IBM Corp.
6*d60ff953SValentine Barshak *
7*d60ff953SValentine Barshak * FIXME: Draft only!
8*d60ff953SValentine Barshak *
9*d60ff953SValentine Barshak * This file is licensed under the terms of the GNU General Public
10*d60ff953SValentine Barshak * License version 2.  This program is licensed "as is" without
11*d60ff953SValentine Barshak * any warranty of any kind, whether express or implied.
12*d60ff953SValentine Barshak *
13*d60ff953SValentine Barshak */
14*d60ff953SValentine Barshak
15*d60ff953SValentine Barshak/ {
16*d60ff953SValentine Barshak	#address-cells = <2>;
17*d60ff953SValentine Barshak	#size-cells = <1>;
18*d60ff953SValentine Barshak	model = "amcc,sequoia";
19*d60ff953SValentine Barshak	compatible = "amcc,sequoia";
20*d60ff953SValentine Barshak	dcr-parent = <&/cpus/PowerPC,440EPx@0>;
21*d60ff953SValentine Barshak
22*d60ff953SValentine Barshak	cpus {
23*d60ff953SValentine Barshak		#address-cells = <1>;
24*d60ff953SValentine Barshak		#size-cells = <0>;
25*d60ff953SValentine Barshak
26*d60ff953SValentine Barshak		PowerPC,440EPx@0 {
27*d60ff953SValentine Barshak			device_type = "cpu";
28*d60ff953SValentine Barshak			reg = <0>;
29*d60ff953SValentine Barshak			clock-frequency = <0>; /* Filled in by zImage */
30*d60ff953SValentine Barshak			timebase-frequency = <0>; /* Filled in by zImage */
31*d60ff953SValentine Barshak			i-cache-line-size = <20>;
32*d60ff953SValentine Barshak			d-cache-line-size = <20>;
33*d60ff953SValentine Barshak			i-cache-size = <8000>;
34*d60ff953SValentine Barshak			d-cache-size = <8000>;
35*d60ff953SValentine Barshak			dcr-controller;
36*d60ff953SValentine Barshak			dcr-access-method = "native";
37*d60ff953SValentine Barshak		};
38*d60ff953SValentine Barshak	};
39*d60ff953SValentine Barshak
40*d60ff953SValentine Barshak	memory {
41*d60ff953SValentine Barshak		device_type = "memory";
42*d60ff953SValentine Barshak		reg = <0 0 0>; /* Filled in by zImage */
43*d60ff953SValentine Barshak	};
44*d60ff953SValentine Barshak
45*d60ff953SValentine Barshak	UIC0: interrupt-controller0 {
46*d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
47*d60ff953SValentine Barshak		interrupt-controller;
48*d60ff953SValentine Barshak		cell-index = <0>;
49*d60ff953SValentine Barshak		dcr-reg = <0c0 009>;
50*d60ff953SValentine Barshak		#address-cells = <0>;
51*d60ff953SValentine Barshak		#size-cells = <0>;
52*d60ff953SValentine Barshak		#interrupt-cells = <2>;
53*d60ff953SValentine Barshak	};
54*d60ff953SValentine Barshak
55*d60ff953SValentine Barshak	UIC1: interrupt-controller1 {
56*d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
57*d60ff953SValentine Barshak		interrupt-controller;
58*d60ff953SValentine Barshak		cell-index = <1>;
59*d60ff953SValentine Barshak		dcr-reg = <0d0 009>;
60*d60ff953SValentine Barshak		#address-cells = <0>;
61*d60ff953SValentine Barshak		#size-cells = <0>;
62*d60ff953SValentine Barshak		#interrupt-cells = <2>;
63*d60ff953SValentine Barshak		interrupts = <1e 4 1f 4>; /* cascade */
64*d60ff953SValentine Barshak		interrupt-parent = <&UIC0>;
65*d60ff953SValentine Barshak	};
66*d60ff953SValentine Barshak
67*d60ff953SValentine Barshak	UIC2: interrupt-controller2 {
68*d60ff953SValentine Barshak		compatible = "ibm,uic-440epx","ibm,uic";
69*d60ff953SValentine Barshak		interrupt-controller;
70*d60ff953SValentine Barshak		cell-index = <2>;
71*d60ff953SValentine Barshak		dcr-reg = <0e0 009>;
72*d60ff953SValentine Barshak		#address-cells = <0>;
73*d60ff953SValentine Barshak		#size-cells = <0>;
74*d60ff953SValentine Barshak		#interrupt-cells = <2>;
75*d60ff953SValentine Barshak		interrupts = <1c 4 1d 4>; /* cascade */
76*d60ff953SValentine Barshak		interrupt-parent = <&UIC0>;
77*d60ff953SValentine Barshak	};
78*d60ff953SValentine Barshak
79*d60ff953SValentine Barshak	SDR0: sdr {
80*d60ff953SValentine Barshak		compatible = "ibm,sdr-440epx", "ibm,sdr-440ep";
81*d60ff953SValentine Barshak		dcr-reg = <00e 002>;
82*d60ff953SValentine Barshak	};
83*d60ff953SValentine Barshak
84*d60ff953SValentine Barshak	CPR0: cpr {
85*d60ff953SValentine Barshak		compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
86*d60ff953SValentine Barshak		dcr-reg = <00c 002>;
87*d60ff953SValentine Barshak	};
88*d60ff953SValentine Barshak
89*d60ff953SValentine Barshak	plb {
90*d60ff953SValentine Barshak		compatible = "ibm,plb-440epx", "ibm,plb4";
91*d60ff953SValentine Barshak		#address-cells = <2>;
92*d60ff953SValentine Barshak		#size-cells = <1>;
93*d60ff953SValentine Barshak		ranges;
94*d60ff953SValentine Barshak		clock-frequency = <0>; /* Filled in by zImage */
95*d60ff953SValentine Barshak
96*d60ff953SValentine Barshak		SDRAM0: sdram {
97*d60ff953SValentine Barshak			device_type = "memory-controller";
98*d60ff953SValentine Barshak			compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali";
99*d60ff953SValentine Barshak			dcr-reg = <010 2>;
100*d60ff953SValentine Barshak		};
101*d60ff953SValentine Barshak
102*d60ff953SValentine Barshak		DMA0: dma {
103*d60ff953SValentine Barshak			compatible = "ibm,dma-440epx", "ibm,dma-4xx";
104*d60ff953SValentine Barshak			dcr-reg = <100 027>;
105*d60ff953SValentine Barshak		};
106*d60ff953SValentine Barshak
107*d60ff953SValentine Barshak		MAL0: mcmal {
108*d60ff953SValentine Barshak			compatible = "ibm,mcmal-440epx", "ibm,mcmal2";
109*d60ff953SValentine Barshak			dcr-reg = <180 62>;
110*d60ff953SValentine Barshak			num-tx-chans = <4>;
111*d60ff953SValentine Barshak			num-rx-chans = <4>;
112*d60ff953SValentine Barshak			interrupt-parent = <&MAL0>;
113*d60ff953SValentine Barshak			interrupts = <0 1 2 3 4>;
114*d60ff953SValentine Barshak			#interrupt-cells = <1>;
115*d60ff953SValentine Barshak			#address-cells = <0>;
116*d60ff953SValentine Barshak			#size-cells = <0>;
117*d60ff953SValentine Barshak			interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
118*d60ff953SValentine Barshak					/*RXEOB*/ 1 &UIC0 b 4
119*d60ff953SValentine Barshak					/*SERR*/  2 &UIC1 0 4
120*d60ff953SValentine Barshak					/*TXDE*/  3 &UIC1 1 4
121*d60ff953SValentine Barshak					/*RXDE*/  4 &UIC1 2 4>;
122*d60ff953SValentine Barshak			interrupt-map-mask = <ffffffff>;
123*d60ff953SValentine Barshak		};
124*d60ff953SValentine Barshak
125*d60ff953SValentine Barshak		POB0: opb {
126*d60ff953SValentine Barshak		  	compatible = "ibm,opb-440epx", "ibm,opb";
127*d60ff953SValentine Barshak			#address-cells = <1>;
128*d60ff953SValentine Barshak			#size-cells = <1>;
129*d60ff953SValentine Barshak		  	ranges = <00000000 1 00000000 80000000
130*d60ff953SValentine Barshak			          80000000 1 80000000 80000000>;
131*d60ff953SValentine Barshak		  	interrupt-parent = <&UIC1>;
132*d60ff953SValentine Barshak		  	interrupts = <7 4>;
133*d60ff953SValentine Barshak		  	clock-frequency = <0>; /* Filled in by zImage */
134*d60ff953SValentine Barshak
135*d60ff953SValentine Barshak			EBC0: ebc {
136*d60ff953SValentine Barshak				compatible = "ibm,ebc-440epx", "ibm,ebc";
137*d60ff953SValentine Barshak				dcr-reg = <012 2>;
138*d60ff953SValentine Barshak				#address-cells = <2>;
139*d60ff953SValentine Barshak				#size-cells = <1>;
140*d60ff953SValentine Barshak				clock-frequency = <0>; /* Filled in by zImage */
141*d60ff953SValentine Barshak				interrupts = <5 1>;
142*d60ff953SValentine Barshak				interrupt-parent = <&UIC1>;
143*d60ff953SValentine Barshak
144*d60ff953SValentine Barshak				nor_flash@0,0 {
145*d60ff953SValentine Barshak					device_type = "rom";
146*d60ff953SValentine Barshak					compatible = "direct-mapped";
147*d60ff953SValentine Barshak					probe-type = "CFI";
148*d60ff953SValentine Barshak					bank-width = <2>;
149*d60ff953SValentine Barshak					partitions = <	0	180000
150*d60ff953SValentine Barshak							180000	200000
151*d60ff953SValentine Barshak							380000	3aa0000
152*d60ff953SValentine Barshak							3e20000	140000
153*d60ff953SValentine Barshak							3f60000	40000
154*d60ff953SValentine Barshak							3fa0000	60000>;
155*d60ff953SValentine Barshak					partition-names = "Kernel", "ramdisk", "file system",
156*d60ff953SValentine Barshak								"kozio", "env", "u-boot";
157*d60ff953SValentine Barshak					reg = <0 000000 4000000>;
158*d60ff953SValentine Barshak				};
159*d60ff953SValentine Barshak
160*d60ff953SValentine Barshak			};
161*d60ff953SValentine Barshak
162*d60ff953SValentine Barshak			UART0: serial@ef600300 {
163*d60ff953SValentine Barshak		   		device_type = "serial";
164*d60ff953SValentine Barshak		   		compatible = "ns16550";
165*d60ff953SValentine Barshak		   		reg = <ef600300 8>;
166*d60ff953SValentine Barshak		   		virtual-reg = <ef600300>;
167*d60ff953SValentine Barshak		   		clock-frequency = <0>; /* Filled in by zImage */
168*d60ff953SValentine Barshak		   		current-speed = <1c200>;
169*d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
170*d60ff953SValentine Barshak		   		interrupts = <0 4>;
171*d60ff953SValentine Barshak	   		};
172*d60ff953SValentine Barshak
173*d60ff953SValentine Barshak			UART1: serial@ef600400 {
174*d60ff953SValentine Barshak		   		device_type = "serial";
175*d60ff953SValentine Barshak		   		compatible = "ns16550";
176*d60ff953SValentine Barshak		   		reg = <ef600400 8>;
177*d60ff953SValentine Barshak		   		virtual-reg = <ef600400>;
178*d60ff953SValentine Barshak		   		clock-frequency = <0>;
179*d60ff953SValentine Barshak		   		current-speed = <0>;
180*d60ff953SValentine Barshak		   		interrupt-parent = <&UIC0>;
181*d60ff953SValentine Barshak		   		interrupts = <1 4>;
182*d60ff953SValentine Barshak	   		};
183*d60ff953SValentine Barshak
184*d60ff953SValentine Barshak			UART2: serial@ef600500 {
185*d60ff953SValentine Barshak		   		device_type = "serial";
186*d60ff953SValentine Barshak		   		compatible = "ns16550";
187*d60ff953SValentine Barshak		   		reg = <ef600500 8>;
188*d60ff953SValentine Barshak		   		virtual-reg = <ef600500>;
189*d60ff953SValentine Barshak		   		clock-frequency = <0>;
190*d60ff953SValentine Barshak		   		current-speed = <0>;
191*d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
192*d60ff953SValentine Barshak		   		interrupts = <3 4>;
193*d60ff953SValentine Barshak	   		};
194*d60ff953SValentine Barshak
195*d60ff953SValentine Barshak			UART3: serial@ef600600 {
196*d60ff953SValentine Barshak		   		device_type = "serial";
197*d60ff953SValentine Barshak		   		compatible = "ns16550";
198*d60ff953SValentine Barshak		   		reg = <ef600600 8>;
199*d60ff953SValentine Barshak		   		virtual-reg = <ef600600>;
200*d60ff953SValentine Barshak		   		clock-frequency = <0>;
201*d60ff953SValentine Barshak		   		current-speed = <0>;
202*d60ff953SValentine Barshak		   		interrupt-parent = <&UIC1>;
203*d60ff953SValentine Barshak		   		interrupts = <4 4>;
204*d60ff953SValentine Barshak	   		};
205*d60ff953SValentine Barshak
206*d60ff953SValentine Barshak			IIC0: i2c@ef600700 {
207*d60ff953SValentine Barshak				device_type = "i2c";
208*d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
209*d60ff953SValentine Barshak				reg = <ef600700 14>;
210*d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
211*d60ff953SValentine Barshak				interrupts = <2 4>;
212*d60ff953SValentine Barshak			};
213*d60ff953SValentine Barshak
214*d60ff953SValentine Barshak			IIC1: i2c@ef600800 {
215*d60ff953SValentine Barshak				device_type = "i2c";
216*d60ff953SValentine Barshak				compatible = "ibm,iic-440epx", "ibm,iic";
217*d60ff953SValentine Barshak				reg = <ef600800 14>;
218*d60ff953SValentine Barshak				interrupt-parent = <&UIC0>;
219*d60ff953SValentine Barshak				interrupts = <7 4>;
220*d60ff953SValentine Barshak			};
221*d60ff953SValentine Barshak
222*d60ff953SValentine Barshak			ZMII0: emac-zmii@ef600d00 {
223*d60ff953SValentine Barshak				device_type = "zmii-interface";
224*d60ff953SValentine Barshak				compatible = "ibm,zmii-440epx", "ibm,zmii";
225*d60ff953SValentine Barshak				reg = <ef600d00 c>;
226*d60ff953SValentine Barshak			};
227*d60ff953SValentine Barshak
228*d60ff953SValentine Barshak			EMAC0: ethernet@ef600e00 {
229*d60ff953SValentine Barshak				linux,network-index = <0>;
230*d60ff953SValentine Barshak				device_type = "network";
231*d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
232*d60ff953SValentine Barshak				interrupt-parent = <&EMAC0>;
233*d60ff953SValentine Barshak				interrupts = <0 1>;
234*d60ff953SValentine Barshak				#interrupt-cells = <1>;
235*d60ff953SValentine Barshak				#address-cells = <0>;
236*d60ff953SValentine Barshak				#size-cells = <0>;
237*d60ff953SValentine Barshak				interrupt-map = </*Status*/ 0 &UIC0 18 4
238*d60ff953SValentine Barshak						/*Wake*/  1 &UIC1 1d 4>;
239*d60ff953SValentine Barshak				reg = <ef600e00 70>;
240*d60ff953SValentine Barshak				local-mac-address = [000000000000];
241*d60ff953SValentine Barshak				mal-device = <&MAL0>;
242*d60ff953SValentine Barshak				mal-tx-channel = <0 1>;
243*d60ff953SValentine Barshak				mal-rx-channel = <0>;
244*d60ff953SValentine Barshak				cell-index = <0>;
245*d60ff953SValentine Barshak				max-frame-size = <5dc>;
246*d60ff953SValentine Barshak				rx-fifo-size = <1000>;
247*d60ff953SValentine Barshak				tx-fifo-size = <800>;
248*d60ff953SValentine Barshak				phy-mode = "rmii";
249*d60ff953SValentine Barshak				phy-map = <00000000>;
250*d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
251*d60ff953SValentine Barshak				zmii-channel = <0>;
252*d60ff953SValentine Barshak			};
253*d60ff953SValentine Barshak
254*d60ff953SValentine Barshak			EMAC1: ethernet@ef600f00 {
255*d60ff953SValentine Barshak				linux,network-index = <1>;
256*d60ff953SValentine Barshak				device_type = "network";
257*d60ff953SValentine Barshak				compatible = "ibm,emac-440epx", "ibm,emac4";
258*d60ff953SValentine Barshak				interrupt-parent = <&EMAC1>;
259*d60ff953SValentine Barshak				interrupts = <0 1>;
260*d60ff953SValentine Barshak				#interrupt-cells = <1>;
261*d60ff953SValentine Barshak				#address-cells = <0>;
262*d60ff953SValentine Barshak				#size-cells = <0>;
263*d60ff953SValentine Barshak				interrupt-map = </*Status*/ 0 &UIC0 19 4
264*d60ff953SValentine Barshak						/*Wake*/  1 &UIC1 1f 4>;
265*d60ff953SValentine Barshak				reg = <ef600f00 70>;
266*d60ff953SValentine Barshak				local-mac-address = [000000000000];
267*d60ff953SValentine Barshak				mal-device = <&MAL0>;
268*d60ff953SValentine Barshak				mal-tx-channel = <2 3>;
269*d60ff953SValentine Barshak				mal-rx-channel = <1>;
270*d60ff953SValentine Barshak				cell-index = <1>;
271*d60ff953SValentine Barshak				max-frame-size = <5dc>;
272*d60ff953SValentine Barshak				rx-fifo-size = <1000>;
273*d60ff953SValentine Barshak				tx-fifo-size = <800>;
274*d60ff953SValentine Barshak				phy-mode = "rmii";
275*d60ff953SValentine Barshak				phy-map = <00000000>;
276*d60ff953SValentine Barshak				zmii-device = <&ZMII0>;
277*d60ff953SValentine Barshak				zmii-channel = <1>;
278*d60ff953SValentine Barshak			};
279*d60ff953SValentine Barshak		};
280*d60ff953SValentine Barshak	};
281*d60ff953SValentine Barshak
282*d60ff953SValentine Barshak	chosen {
283*d60ff953SValentine Barshak		linux,stdout-path = "/plb/opb/serial@ef600300";
284*d60ff953SValentine Barshak		bootargs = "console=ttyS0,115200";
285*d60ff953SValentine Barshak	};
286*d60ff953SValentine Barshak};
287