2 * Device Tree Source for IBM/AMCC Taishan
4 * Copyright 2007 IBM Corp.
5 * Hugh Blemings <hugh@au.ibm.com> based off code by
6 * Josh Boyer <jwboyer@linux.vnet.ibm.com>, David Gibson <dwg@au1.ibm.com>
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2. This program is licensed "as is" without
10 * any warranty of any kind, whether express or implied.
16 model = "amcc,taishan";
17 compatible = "amcc,taishan";
18 dcr-parent = <&/cpus/cpu@0>;
33 model = "PowerPC,440GX";
35 clock-frequency = <2FAF0800>; // 800MHz
36 timebase-frequency = <0>; // Filled in by zImage
37 i-cache-line-size = <32>;
38 d-cache-line-size = <32>;
39 i-cache-size = <8000>; /* 32 kB */
40 d-cache-size = <8000>; /* 32 kB */
42 dcr-access-method = "native";
47 device_type = "memory";
48 reg = <0 0 0>; // Filled in by zImage
52 UICB0: interrupt-controller-base {
53 compatible = "ibm,uic-440gx", "ibm,uic";
59 #interrupt-cells = <2>;
63 UIC0: interrupt-controller0 {
64 compatible = "ibm,uic-440gx", "ibm,uic";
70 #interrupt-cells = <2>;
71 interrupts = <01 4 00 4>; /* cascade - first non-critical */
72 interrupt-parent = <&UICB0>;
76 UIC1: interrupt-controller1 {
77 compatible = "ibm,uic-440gx", "ibm,uic";
83 #interrupt-cells = <2>;
84 interrupts = <03 4 02 4>; /* cascade */
85 interrupt-parent = <&UICB0>;
88 UIC2: interrupt-controller2 {
89 compatible = "ibm,uic-440gx", "ibm,uic";
91 cell-index = <2>; /* was 1 */
95 #interrupt-cells = <2>;
96 interrupts = <05 4 04 4>; /* cascade */
97 interrupt-parent = <&UICB0>;
102 compatible = "ibm,cpc-440gp";
103 dcr-reg = <0b0 003 0e0 010>;
104 // FIXME: anything else?
108 compatible = "ibm,plb-440gx", "ibm,plb4";
109 #address-cells = <2>;
112 clock-frequency = <9896800>; // 160MHz
114 SDRAM0: memory-controller {
115 compatible = "ibm,sdram-440gp";
117 // FIXME: anything else?
121 compatible = "ibm,sram-440gp";
122 dcr-reg = <020 8 00a 1>;
127 compatible = "ibm,dma-440gp";
132 compatible = "ibm,mcmal-440gx", "ibm,mcmal2";
136 interrupt-parent = <&MAL0>;
137 interrupts = <0 1 2 3 4>;
138 #interrupt-cells = <1>;
139 #address-cells = <0>;
141 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
142 /*RXEOB*/ 1 &UIC0 b 4
145 /*RXDE*/ 4 &UIC1 2 4>;
146 interrupt-map-mask = <ffffffff>;
150 compatible = "ibm,opb-440gx", "ibm,opb";
151 #address-cells = <1>;
153 /* Wish there was a nicer way of specifying a full 32-bit
155 ranges = <00000000 1 00000000 80000000
156 80000000 1 80000000 80000000>;
158 interrupt-parent = <&UIC1>;
160 clock-frequency = <4C4B400>; // 80MHz
164 compatible = "ibm,ebc-440gx", "ibm,ebc";
166 #address-cells = <2>;
168 clock-frequency = <4C4B400>; // 80MHz
170 /* ranges property is supplied by zImage
171 * based on firmware's configuration of the
175 interrupt-parent = <&UIC1>;
177 /* TODO: Add other EBC devices */
182 UART0: serial@40000200 {
183 device_type = "serial";
184 compatible = "ns16550";
186 virtual-reg = <e0000200>;
187 clock-frequency = <A8C000>;
188 current-speed = <1C200>; /* 115200 */
189 interrupt-parent = <&UIC0>;
193 UART1: serial@40000300 {
194 device_type = "serial";
195 compatible = "ns16550";
197 virtual-reg = <e0000300>;
198 clock-frequency = <A8C000>;
199 current-speed = <1C200>; /* 115200 */
200 interrupt-parent = <&UIC0>;
206 compatible = "ibm,iic-440gp", "ibm,iic";
208 interrupt-parent = <&UIC0>;
213 compatible = "ibm,iic-440gp", "ibm,iic";
215 interrupt-parent = <&UIC0>;
219 GPIO0: gpio@40000700 {
221 compatible = "ibm,gpio-440gp";
225 ZMII0: emac-zmii@40000780 {
226 compatible = "ibm,zmii-440gx", "ibm,zmii";
230 RGMII0: emac-rgmii@40000790 {
231 compatible = "ibm,rgmii";
235 TAH0: emac-tah@40000b50 {
236 compatible = "ibm,tah-440gx", "ibm,tah";
240 TAH1: emac-tah@40000d50 {
241 compatible = "ibm,tah-440gx", "ibm,tah";
245 EMAC0: ethernet@40000800 {
247 device_type = "network";
248 compatible = "ibm,emac-440gx", "ibm,emac4";
249 interrupt-parent = <&UIC1>;
250 interrupts = <1c 4 1d 4>;
252 local-mac-address = [000000000000]; // Filled in by zImage
253 mal-device = <&MAL0>;
254 mal-tx-channel = <0>;
255 mal-rx-channel = <0>;
257 max-frame-size = <5dc>;
258 rx-fifo-size = <1000>;
259 tx-fifo-size = <800>;
261 phy-map = <00000001>;
262 zmii-device = <&ZMII0>;
265 EMAC1: ethernet@40000900 {
267 device_type = "network";
268 compatible = "ibm,emac-440gx", "ibm,emac4";
269 interrupt-parent = <&UIC1>;
270 interrupts = <1e 4 1f 4>;
272 local-mac-address = [000000000000]; // Filled in by zImage
273 mal-device = <&MAL0>;
274 mal-tx-channel = <1>;
275 mal-rx-channel = <1>;
277 max-frame-size = <5dc>;
278 rx-fifo-size = <1000>;
279 tx-fifo-size = <800>;
281 phy-map = <00000001>;
282 zmii-device = <&ZMII0>;
286 EMAC2: ethernet@40000c00 {
287 device_type = "network";
288 compatible = "ibm,emac-440gx", "ibm,emac4";
289 interrupt-parent = <&UIC2>;
290 interrupts = <0 4 1 4>;
292 local-mac-address = [000000000000]; // Filled in by zImage
293 mal-device = <&MAL0>;
294 mal-tx-channel = <2>;
295 mal-rx-channel = <2>;
297 max-frame-size = <5dc>;
298 rx-fifo-size = <1000>;
299 tx-fifo-size = <800>;
301 phy-map = <00000001>;
302 rgmii-device = <&RGMII0>;
304 zmii-device = <&ZMII0>;
306 tah-device = <&TAH0>;
310 EMAC3: ethernet@40000e00 {
311 device_type = "network";
312 compatible = "ibm,emac-440gx", "ibm,emac4";
313 interrupt-parent = <&UIC2>;
314 interrupts = <2 4 3 4>;
316 local-mac-address = [000000000000]; // Filled in by zImage
317 mal-device = <&MAL0>;
318 mal-tx-channel = <3>;
319 mal-rx-channel = <3>;
321 max-frame-size = <5dc>;
322 rx-fifo-size = <1000>;
323 tx-fifo-size = <800>;
325 phy-map = <00000003>;
326 rgmii-device = <&RGMII0>;
328 zmii-device = <&ZMII0>;
330 tah-device = <&TAH1>;
338 interrupt-parent = <&UIC0>;
339 interrupts = <12 4 13 4 14 4 15 4 16 4>;
344 PCIX0: pci@20ec00000 {
346 #interrupt-cells = <1>;
348 #address-cells = <3>;
349 compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix";
351 large-inbound-windows;
353 reg = <2 0ec00000 8 /* Config space access */
354 0 0 0 /* no IACK cycles */
355 2 0ed00000 4 /* Special cycles */
356 2 0ec80000 100 /* Internal registers */
357 2 0ec80100 fc>; /* Internal messaging registers */
359 /* Outbound ranges, one memory and one IO,
360 * later cannot be changed
362 ranges = <02000000 0 80000000 00000003 80000000 0 80000000
363 01000000 0 00000000 00000002 08000000 0 00010000>;
365 /* Inbound 2GB range starting at 0 */
366 dma-ranges = <42000000 0 0 0 0 0 80000000>;
368 interrupt-map-mask = <f800 0 0 7>;
371 0800 0 0 1 &UIC0 17 8
372 0800 0 0 2 &UIC0 18 8
373 0800 0 0 3 &UIC0 19 8
374 0800 0 0 4 &UIC0 1a 8
377 1000 0 0 1 &UIC0 18 8
378 1000 0 0 2 &UIC0 19 8
379 1000 0 0 3 &UIC0 1a 8
380 1000 0 0 4 &UIC0 17 8
386 linux,stdout-path = "/plb/opb/serial@40000300";