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