2 * Device Tree Source for IBM Ebony
4 * Copyright (c) 2006, 2007 IBM Corp.
5 * Josh Boyer <jwboyer@linux.vnet.ibm.com>, David Gibson <dwg@au1.ibm.com>
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.
18 compatible = "ibm,ebony";
19 dcr-parent = <&/cpus/cpu@0>;
34 model = "PowerPC,440GP";
36 clock-frequency = <0>; // Filled in by zImage
37 timebase-frequency = <0>; // Filled in by zImage
38 i-cache-line-size = <20>;
39 d-cache-line-size = <20>;
40 i-cache-size = <8000>; /* 32 kB */
41 d-cache-size = <8000>; /* 32 kB */
43 dcr-access-method = "native";
48 device_type = "memory";
49 reg = <0 0 0>; // Filled in by zImage
52 UIC0: interrupt-controller0 {
53 compatible = "ibm,uic-440gp", "ibm,uic";
59 #interrupt-cells = <2>;
63 UIC1: interrupt-controller1 {
64 compatible = "ibm,uic-440gp", "ibm,uic";
70 #interrupt-cells = <2>;
71 interrupts = <1e 4 1f 4>; /* cascade */
72 interrupt-parent = <&UIC0>;
76 compatible = "ibm,cpc-440gp";
77 dcr-reg = <0b0 003 0e0 010>;
78 // FIXME: anything else?
82 compatible = "ibm,plb-440gp", "ibm,plb4";
86 clock-frequency = <0>; // Filled in by zImage
88 SDRAM0: memory-controller {
89 compatible = "ibm,sdram-440gp";
91 // FIXME: anything else?
95 compatible = "ibm,sram-440gp";
96 dcr-reg = <020 8 00a 1>;
101 compatible = "ibm,dma-440gp";
106 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
110 interrupt-parent = <&MAL0>;
111 interrupts = <0 1 2 3 4>;
112 #interrupt-cells = <1>;
113 #address-cells = <0>;
115 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
116 /*RXEOB*/ 1 &UIC0 b 4
119 /*RXDE*/ 4 &UIC1 2 4>;
120 interrupt-map-mask = <ffffffff>;
124 compatible = "ibm,opb-440gp", "ibm,opb";
125 #address-cells = <1>;
127 /* Wish there was a nicer way of specifying a full 32-bit
129 ranges = <00000000 1 00000000 80000000
130 80000000 1 80000000 80000000>;
132 interrupt-parent = <&UIC1>;
134 clock-frequency = <0>; // Filled in by zImage
137 compatible = "ibm,ebc-440gp", "ibm,ebc";
139 #address-cells = <2>;
141 clock-frequency = <0>; // Filled in by zImage
142 // ranges property is supplied by zImage
143 // based on firmware's configuration of the
146 interrupt-parent = <&UIC1>;
148 small-flash@0,80000 {
149 compatible = "jedec-flash";
151 reg = <0 80000 80000>;
152 #address-cells = <1>;
163 compatible = "ds1743-nvram";
169 compatible = "jedec-flash";
172 #address-cells = <1>;
180 reg = <380000 80000>;
189 compatible = "Ebony-FPGA";
191 virtual-reg = <e8300000>;
195 UART0: serial@40000200 {
196 device_type = "serial";
197 compatible = "ns16550";
199 virtual-reg = <e0000200>;
200 clock-frequency = <A8C000>;
201 current-speed = <2580>;
202 interrupt-parent = <&UIC0>;
206 UART1: serial@40000300 {
207 device_type = "serial";
208 compatible = "ns16550";
210 virtual-reg = <e0000300>;
211 clock-frequency = <A8C000>;
212 current-speed = <2580>;
213 interrupt-parent = <&UIC0>;
219 compatible = "ibm,iic-440gp", "ibm,iic";
221 interrupt-parent = <&UIC0>;
226 compatible = "ibm,iic-440gp", "ibm,iic";
228 interrupt-parent = <&UIC0>;
232 GPIO0: gpio@40000700 {
234 compatible = "ibm,gpio-440gp";
238 ZMII0: emac-zmii@40000780 {
239 compatible = "ibm,zmii-440gp", "ibm,zmii";
243 EMAC0: ethernet@40000800 {
244 linux,network-index = <0>;
245 device_type = "network";
246 compatible = "ibm,emac-440gp", "ibm,emac";
247 interrupt-parent = <&UIC1>;
248 interrupts = <1c 4 1d 4>;
250 local-mac-address = [000000000000]; // Filled in by zImage
251 mal-device = <&MAL0>;
252 mal-tx-channel = <0 1>;
253 mal-rx-channel = <0>;
255 max-frame-size = <5dc>;
256 rx-fifo-size = <1000>;
257 tx-fifo-size = <800>;
259 phy-map = <00000001>;
260 zmii-device = <&ZMII0>;
263 EMAC1: ethernet@40000900 {
264 linux,network-index = <1>;
265 device_type = "network";
266 compatible = "ibm,emac-440gp", "ibm,emac";
267 interrupt-parent = <&UIC1>;
268 interrupts = <1e 4 1f 4>;
270 local-mac-address = [000000000000]; // Filled in by zImage
271 mal-device = <&MAL0>;
272 mal-tx-channel = <2 3>;
273 mal-rx-channel = <1>;
275 max-frame-size = <5dc>;
276 rx-fifo-size = <1000>;
277 tx-fifo-size = <800>;
279 phy-map = <00000001>;
280 zmii-device = <&ZMII0>;
288 interrupt-parent = <&UIC0>;
289 interrupts = <12 4 13 4 14 4 15 4 16 4>;
294 PCIX0: pci@20ec00000 {
296 #interrupt-cells = <1>;
298 #address-cells = <3>;
299 compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix";
301 reg = <2 0ec00000 8 /* Config space access */
302 0 0 0 /* no IACK cycles */
303 2 0ed00000 4 /* Special cycles */
304 2 0ec80000 f0 /* Internal registers */
305 2 0ec80100 fc>; /* Internal messaging registers */
307 /* Outbound ranges, one memory and one IO,
308 * later cannot be changed
310 ranges = <02000000 0 80000000 00000003 80000000 0 80000000
311 01000000 0 00000000 00000002 08000000 0 00010000>;
313 /* Inbound 2GB range starting at 0 */
314 dma-ranges = <42000000 0 0 0 0 0 80000000>;
316 /* Ebony has all 4 IRQ pins tied together per slot */
317 interrupt-map-mask = <f800 0 0 0>;
320 0800 0 0 0 &UIC0 17 8
323 1000 0 0 0 &UIC0 18 8
326 1800 0 0 0 &UIC0 19 8
329 2000 0 0 0 &UIC0 1a 8
335 linux,stdout-path = "/plb/opb/serial@40000200";