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>;
27 model = "PowerPC,440GP";
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>; /* 32 kB */
34 d-cache-size = <8000>; /* 32 kB */
36 dcr-access-method = "native";
41 device_type = "memory";
42 reg = <0 0 0>; // Filled in by zImage
45 UIC0: interrupt-controller0 {
46 compatible = "ibm,uic-440gp", "ibm,uic";
52 #interrupt-cells = <2>;
56 UIC1: interrupt-controller1 {
57 compatible = "ibm,uic-440gp", "ibm,uic";
63 #interrupt-cells = <2>;
64 interrupts = <1e 4 1f 4>; /* cascade */
65 interrupt-parent = <&UIC0>;
69 compatible = "ibm,cpc-440gp";
70 dcr-reg = <0b0 003 0e0 010>;
71 // FIXME: anything else?
75 compatible = "ibm,plb-440gp", "ibm,plb4";
79 clock-frequency = <0>; // Filled in by zImage
81 SDRAM0: memory-controller {
82 compatible = "ibm,sdram-440gp";
84 // FIXME: anything else?
88 compatible = "ibm,sram-440gp";
89 dcr-reg = <020 8 00a 1>;
94 compatible = "ibm,dma-440gp";
99 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
103 interrupt-parent = <&MAL0>;
104 interrupts = <0 1 2 3 4>;
105 #interrupt-cells = <1>;
106 #address-cells = <0>;
108 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
109 /*RXEOB*/ 1 &UIC0 b 4
112 /*RXDE*/ 4 &UIC1 2 4>;
113 interrupt-map-mask = <ffffffff>;
117 compatible = "ibm,opb-440gp", "ibm,opb";
118 #address-cells = <1>;
120 /* Wish there was a nicer way of specifying a full 32-bit
122 ranges = <00000000 1 00000000 80000000
123 80000000 1 80000000 80000000>;
125 interrupt-parent = <&UIC1>;
127 clock-frequency = <0>; // Filled in by zImage
130 compatible = "ibm,ebc-440gp", "ibm,ebc";
132 #address-cells = <2>;
134 clock-frequency = <0>; // Filled in by zImage
135 // ranges property is supplied by zImage
136 // based on firmware's configuration of the
139 interrupt-parent = <&UIC1>;
141 small-flash@0,80000 {
142 compatible = "jedec-flash";
144 reg = <0 80000 80000>;
145 #address-cells = <1>;
156 compatible = "ds1743";
161 compatible = "jedec-flash";
164 #address-cells = <1>;
172 reg = <380000 80000>;
181 compatible = "Ebony-FPGA";
183 virtual-reg = <e8300000>;
187 UART0: serial@40000200 {
188 device_type = "serial";
189 compatible = "ns16550";
191 virtual-reg = <e0000200>;
192 clock-frequency = <A8C000>;
193 current-speed = <2580>;
194 interrupt-parent = <&UIC0>;
198 UART1: serial@40000300 {
199 device_type = "serial";
200 compatible = "ns16550";
202 virtual-reg = <e0000300>;
203 clock-frequency = <A8C000>;
204 current-speed = <2580>;
205 interrupt-parent = <&UIC0>;
212 compatible = "ibm,iic-440gp", "ibm,iic";
214 interrupt-parent = <&UIC0>;
220 compatible = "ibm,iic-440gp", "ibm,iic";
222 interrupt-parent = <&UIC0>;
226 GPIO0: gpio@40000700 {
228 compatible = "ibm,gpio-440gp";
232 ZMII0: emac-zmii@40000780 {
233 compatible = "ibm,zmii-440gp", "ibm,zmii";
237 EMAC0: ethernet@40000800 {
238 linux,network-index = <0>;
239 device_type = "network";
240 compatible = "ibm,emac-440gp", "ibm,emac";
241 interrupt-parent = <&UIC1>;
242 interrupts = <1c 4 1d 4>;
244 local-mac-address = [000000000000]; // Filled in by zImage
245 mal-device = <&MAL0>;
246 mal-tx-channel = <0 1>;
247 mal-rx-channel = <0>;
249 max-frame-size = <5dc>;
250 rx-fifo-size = <1000>;
251 tx-fifo-size = <800>;
253 phy-map = <00000001>;
254 zmii-device = <&ZMII0>;
257 EMAC1: ethernet@40000900 {
258 linux,network-index = <1>;
259 device_type = "network";
260 compatible = "ibm,emac-440gp", "ibm,emac";
261 interrupt-parent = <&UIC1>;
262 interrupts = <1e 4 1f 4>;
264 local-mac-address = [000000000000]; // Filled in by zImage
265 mal-device = <&MAL0>;
266 mal-tx-channel = <2 3>;
267 mal-rx-channel = <1>;
269 max-frame-size = <5dc>;
270 rx-fifo-size = <1000>;
271 tx-fifo-size = <800>;
273 phy-map = <00000001>;
274 zmii-device = <&ZMII0>;
282 interrupt-parent = <&UIC0>;
283 interrupts = <12 4 13 4 14 4 15 4 16 4>;
288 PCIX0: pci@20ec00000 {
290 #interrupt-cells = <1>;
292 #address-cells = <3>;
293 compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix";
295 reg = <2 0ec00000 8 /* Config space access */
296 0 0 0 /* no IACK cycles */
297 2 0ed00000 4 /* Special cycles */
298 2 0ec80000 f0 /* Internal registers */
299 2 0ec80100 fc>; /* Internal messaging registers */
301 /* Outbound ranges, one memory and one IO,
302 * later cannot be changed
304 ranges = <02000000 0 80000000 00000003 80000000 0 80000000
305 01000000 0 00000000 00000002 08000000 0 00010000>;
307 /* Inbound 2GB range starting at 0 */
308 dma-ranges = <42000000 0 0 0 0 0 80000000>;
310 /* Ebony has all 4 IRQ pins tied together per slot */
311 interrupt-map-mask = <f800 0 0 0>;
314 0800 0 0 0 &UIC0 17 8
317 1000 0 0 0 &UIC0 18 8
320 1800 0 0 0 &UIC0 19 8
323 2000 0 0 0 &UIC0 1a 8
329 linux,stdout-path = "/plb/opb/serial@40000200";