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 {
141 compatible = "jedec-flash";
143 reg = <0 80000 80000>;
144 #address-cells = <1>;
155 compatible = "ds1743";
160 compatible = "jedec-flash";
163 #address-cells = <1>;
171 reg = <380000 80000>;
180 compatible = "Ebony-FPGA";
182 virtual-reg = <e8300000>;
186 UART0: serial@40000200 {
187 device_type = "serial";
188 compatible = "ns16550";
190 virtual-reg = <e0000200>;
191 clock-frequency = <A8C000>;
192 current-speed = <2580>;
193 interrupt-parent = <&UIC0>;
197 UART1: serial@40000300 {
198 device_type = "serial";
199 compatible = "ns16550";
201 virtual-reg = <e0000300>;
202 clock-frequency = <A8C000>;
203 current-speed = <2580>;
204 interrupt-parent = <&UIC0>;
211 compatible = "ibm,iic-440gp", "ibm,iic";
213 interrupt-parent = <&UIC0>;
219 compatible = "ibm,iic-440gp", "ibm,iic";
221 interrupt-parent = <&UIC0>;
225 GPIO0: gpio@40000700 {
227 compatible = "ibm,gpio-440gp";
231 ZMII0: emac-zmii@40000780 {
232 compatible = "ibm,zmii-440gp", "ibm,zmii";
236 EMAC0: ethernet@40000800 {
237 linux,network-index = <0>;
238 device_type = "network";
239 compatible = "ibm,emac-440gp", "ibm,emac";
240 interrupt-parent = <&UIC1>;
241 interrupts = <1c 4 1d 4>;
243 local-mac-address = [000000000000]; // Filled in by zImage
244 mal-device = <&MAL0>;
245 mal-tx-channel = <0 1>;
246 mal-rx-channel = <0>;
248 max-frame-size = <5dc>;
249 rx-fifo-size = <1000>;
250 tx-fifo-size = <800>;
252 phy-map = <00000001>;
253 zmii-device = <&ZMII0>;
256 EMAC1: ethernet@40000900 {
257 linux,network-index = <1>;
258 device_type = "network";
259 compatible = "ibm,emac-440gp", "ibm,emac";
260 interrupt-parent = <&UIC1>;
261 interrupts = <1e 4 1f 4>;
263 local-mac-address = [000000000000]; // Filled in by zImage
264 mal-device = <&MAL0>;
265 mal-tx-channel = <2 3>;
266 mal-rx-channel = <1>;
268 max-frame-size = <5dc>;
269 rx-fifo-size = <1000>;
270 tx-fifo-size = <800>;
272 phy-map = <00000001>;
273 zmii-device = <&ZMII0>;
281 interrupt-parent = <&UIC0>;
282 interrupts = <12 4 13 4 14 4 15 4 16 4>;
297 linux,stdout-path = "/plb/opb/serial@40000200";