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/PowerPC,440GP@0>;
28 clock-frequency = <0>; // Filled in by zImage
29 timebase-frequency = <0>; // Filled in by zImage
30 i-cache-line-size = <20>;
31 d-cache-line-size = <20>;
32 i-cache-size = <8000>; /* 32 kB */
33 d-cache-size = <8000>; /* 32 kB */
35 dcr-access-method = "native";
40 device_type = "memory";
41 reg = <0 0 0>; // Filled in by zImage
44 UIC0: interrupt-controller0 {
45 compatible = "ibm,uic-440gp", "ibm,uic";
51 #interrupt-cells = <2>;
55 UIC1: interrupt-controller1 {
56 compatible = "ibm,uic-440gp", "ibm,uic";
62 #interrupt-cells = <2>;
63 interrupts = <1e 4 1f 4>; /* cascade */
64 interrupt-parent = <&UIC0>;
68 compatible = "ibm,cpc-440gp";
69 dcr-reg = <0b0 003 0e0 010>;
70 // FIXME: anything else?
74 compatible = "ibm,plb-440gp", "ibm,plb4";
78 clock-frequency = <0>; // Filled in by zImage
80 SDRAM0: memory-controller {
81 compatible = "ibm,sdram-440gp";
83 // FIXME: anything else?
87 compatible = "ibm,sram-440gp";
88 dcr-reg = <020 8 00a 1>;
93 compatible = "ibm,dma-440gp";
98 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
102 interrupt-parent = <&MAL0>;
103 interrupts = <0 1 2 3 4>;
104 #interrupt-cells = <1>;
105 #address-cells = <0>;
107 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
108 /*RXEOB*/ 1 &UIC0 b 4
111 /*RXDE*/ 4 &UIC1 2 4>;
112 interrupt-map-mask = <ffffffff>;
116 compatible = "ibm,opb-440gp", "ibm,opb";
117 #address-cells = <1>;
119 /* Wish there was a nicer way of specifying a full 32-bit
121 ranges = <00000000 1 00000000 80000000
122 80000000 1 80000000 80000000>;
124 interrupt-parent = <&UIC1>;
126 clock-frequency = <0>; // Filled in by zImage
129 compatible = "ibm,ebc-440gp", "ibm,ebc";
131 #address-cells = <2>;
133 clock-frequency = <0>; // Filled in by zImage
134 // ranges property is supplied by zImage
135 // based on firmware's configuration of the
138 interrupt-parent = <&UIC1>;
140 small-flash@0,80000 {
142 compatible = "direct-mapped";
143 probe-type = "JEDEC";
145 partitions = <0 80000>;
146 partition-names = "OpenBIOS";
147 reg = <0 80000 80000>;
152 compatible = "ds1743";
158 compatible = "direct-mapped";
159 probe-type = "JEDEC";
161 partitions = <0 380000
163 partition-names = "fs", "firmware";
172 compatible = "Ebony-FPGA";
174 virtual-reg = <e8300000>;
178 UART0: serial@40000200 {
179 device_type = "serial";
180 compatible = "ns16550";
182 virtual-reg = <e0000200>;
183 clock-frequency = <A8C000>;
184 current-speed = <2580>;
185 interrupt-parent = <&UIC0>;
189 UART1: serial@40000300 {
190 device_type = "serial";
191 compatible = "ns16550";
193 virtual-reg = <e0000300>;
194 clock-frequency = <A8C000>;
195 current-speed = <2580>;
196 interrupt-parent = <&UIC0>;
203 compatible = "ibm,iic-440gp", "ibm,iic";
205 interrupt-parent = <&UIC0>;
211 compatible = "ibm,iic-440gp", "ibm,iic";
213 interrupt-parent = <&UIC0>;
217 GPIO0: gpio@40000700 {
219 compatible = "ibm,gpio-440gp";
223 ZMII0: emac-zmii@40000780 {
224 compatible = "ibm,zmii-440gp", "ibm,zmii";
228 EMAC0: ethernet@40000800 {
229 linux,network-index = <0>;
230 device_type = "network";
231 compatible = "ibm,emac-440gp", "ibm,emac";
232 interrupt-parent = <&UIC1>;
233 interrupts = <1c 4 1d 4>;
235 local-mac-address = [000000000000]; // Filled in by zImage
236 mal-device = <&MAL0>;
237 mal-tx-channel = <0 1>;
238 mal-rx-channel = <0>;
240 max-frame-size = <5dc>;
241 rx-fifo-size = <1000>;
242 tx-fifo-size = <800>;
244 phy-map = <00000001>;
245 zmii-device = <&ZMII0>;
248 EMAC1: ethernet@40000900 {
249 linux,network-index = <1>;
250 device_type = "network";
251 compatible = "ibm,emac-440gp", "ibm,emac";
252 interrupt-parent = <&UIC1>;
253 interrupts = <1e 4 1f 4>;
255 local-mac-address = [000000000000]; // Filled in by zImage
256 mal-device = <&MAL0>;
257 mal-tx-channel = <2 3>;
258 mal-rx-channel = <1>;
260 max-frame-size = <5dc>;
261 rx-fifo-size = <1000>;
262 tx-fifo-size = <800>;
264 phy-map = <00000001>;
265 zmii-device = <&ZMII0>;
273 interrupt-parent = <&UIC0>;
274 interrupts = <12 4 13 4 14 4 15 4 16 4>;
289 linux,stdout-path = "/plb/opb/serial@40000200";