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.
14 * dtc -I dts -O asm -o ebony.S -b 0 ebony.dts
15 * dtc -I dts -O dtb -o ebony.dtb -b 0 ebony.dts
22 compatible = "ibm,ebony";
23 dcr-parent = <&/cpus/PowerPC,440GP@0>;
32 clock-frequency = <0>; // Filled in by zImage
33 timebase-frequency = <0>; // Filled in by zImage
34 i-cache-line-size = <32>;
35 d-cache-line-size = <32>;
36 i-cache-size = <8000>; /* 32 kB */
37 d-cache-size = <8000>; /* 32 kB */
39 dcr-access-method = "native";
44 device_type = "memory";
45 reg = <0 0 0>; // Filled in by zImage
48 UIC0: interrupt-controller0 {
49 compatible = "ibm,uic-440gp", "ibm,uic";
55 #interrupt-cells = <2>;
59 UIC1: interrupt-controller1 {
60 compatible = "ibm,uic-440gp", "ibm,uic";
66 #interrupt-cells = <2>;
67 interrupts = <1e 4 1f 4>; /* cascade */
68 interrupt-parent = <&UIC0>;
72 compatible = "ibm,cpc-440gp";
73 dcr-reg = <0b0 003 0e0 010>;
74 // FIXME: anything else?
78 compatible = "ibm,plb-440gp", "ibm,plb4";
82 clock-frequency = <0>; // Filled in by zImage
84 SDRAM0: memory-controller {
85 compatible = "ibm,sdram-440gp";
87 // FIXME: anything else?
91 compatible = "ibm,sram-440gp";
92 dcr-reg = <020 8 00a 1>;
97 compatible = "ibm,dma-440gp";
102 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
106 interrupt-parent = <&MAL0>;
107 interrupts = <0 1 2 3 4>;
108 #interrupt-cells = <1>;
109 #address-cells = <0>;
111 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
112 /*RXEOB*/ 1 &UIC0 b 4
115 /*RXDE*/ 4 &UIC1 2 4>;
116 interrupt-map-mask = <ffffffff>;
120 compatible = "ibm,opb-440gp", "ibm,opb";
121 #address-cells = <1>;
123 /* Wish there was a nicer way of specifying a full 32-bit
125 ranges = <00000000 1 00000000 80000000
126 80000000 1 80000000 80000000>;
128 interrupt-parent = <&UIC1>;
130 clock-frequency = <0>; // Filled in by zImage
133 compatible = "ibm,ebc-440gp", "ibm,ebc";
135 #address-cells = <2>;
137 clock-frequency = <0>; // Filled in by zImage
138 ranges = <0 00000000 fff00000 100000
139 1 00000000 48000000 100000
140 2 00000000 ff800000 400000
141 3 00000000 48200000 100000
142 7 00000000 48300000 100000>;
144 interrupt-parent = <&UIC1>;
146 small-flash@0,80000 {
148 compatible = "direct-mapped";
149 probe-type = "JEDEC";
151 partitions = <0 80000>;
152 partition-names = "OpenBIOS";
153 reg = <0 80000 80000>;
158 compatible = "ds1743";
164 compatible = "direct-mapped";
165 probe-type = "JEDEC";
167 partitions = <0 380000
169 partition-names = "fs", "firmware";
178 compatible = "Ebony-FPGA";
183 UART0: serial@40000200 {
184 device_type = "serial";
185 compatible = "ns16550";
187 virtual-reg = <e0000200>;
188 clock-frequency = <A8C000>;
189 current-speed = <2580>;
190 interrupt-parent = <&UIC0>;
194 UART1: serial@40000300 {
195 device_type = "serial";
196 compatible = "ns16550";
198 virtual-reg = <e0000300>;
199 clock-frequency = <A8C000>;
200 current-speed = <2580>;
201 interrupt-parent = <&UIC0>;
208 compatible = "ibm,iic-440gp", "ibm,iic";
210 interrupt-parent = <&UIC0>;
216 compatible = "ibm,iic-440gp", "ibm,iic";
218 interrupt-parent = <&UIC0>;
222 GPIO0: gpio@40000700 {
224 compatible = "ibm,gpio-440gp";
228 ZMII0: emac-zmii@40000780 {
229 compatible = "ibm,zmii-440gp", "ibm,zmii";
233 EMAC0: ethernet@40000800 {
234 linux,network-index = <0>;
235 device_type = "network";
236 compatible = "ibm,emac-440gp", "ibm,emac";
237 interrupt-parent = <&UIC1>;
238 interrupts = <1c 4 1d 4>;
240 local-mac-address = [000000000000]; // Filled in by zImage
241 mal-device = <&MAL0>;
242 mal-tx-channel = <0 1>;
243 mal-rx-channel = <0>;
245 max-frame-size = <5dc>;
246 rx-fifo-size = <1000>;
247 tx-fifo-size = <800>;
249 phy-map = <00000001>;
250 zmii-device = <&ZMII0>;
253 EMAC1: ethernet@40000900 {
254 linux,network-index = <1>;
255 device_type = "network";
256 compatible = "ibm,emac-440gp", "ibm,emac";
257 interrupt-parent = <&UIC1>;
258 interrupts = <1e 4 1f 4>;
260 local-mac-address = [000000000000]; // Filled in by zImage
261 mal-device = <&MAL0>;
262 mal-tx-channel = <2 3>;
263 mal-rx-channel = <1>;
265 max-frame-size = <5dc>;
266 rx-fifo-size = <1000>;
267 tx-fifo-size = <800>;
269 phy-map = <00000001>;
270 zmii-device = <&ZMII0>;
278 interrupt-parent = <&UIC0>;
279 interrupts = <12 4 13 4 14 4 15 4 16 4>;
294 linux,stdout-path = "/plb/opb/serial@40000200";