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>;
39 dcr-access-method = "native";
44 device_type = "memory";
45 reg = <0 0 0>; // Filled in by zImage
48 UIC0: interrupt-controller0 {
49 device_type = "ibm,uic";
50 compatible = "ibm,uic-440gp", "ibm,uic";
56 #interrupt-cells = <2>;
60 UIC1: interrupt-controller1 {
61 device_type = "ibm,uic";
62 compatible = "ibm,uic-440gp", "ibm,uic";
68 #interrupt-cells = <2>;
69 interrupts = <1e 4 1f 4>; /* cascade */
70 interrupt-parent = <&UIC0>;
74 device_type = "ibm,cpc";
75 compatible = "ibm,cpc-440gp";
76 dcr-reg = <0b0 003 0e0 010>;
77 // FIXME: anything else?
81 device_type = "ibm,plb";
82 compatible = "ibm,plb-440gp", "ibm,plb4";
86 clock-frequency = <0>; // Filled in by zImage
89 device_type = "memory-controller";
90 compatible = "ibm,sdram-440gp", "ibm,sdram";
92 // FIXME: anything else?
97 device_type = "ibm,dma-4xx";
98 compatible = "ibm,dma-440gp", "ibm,dma-4xx";
103 device_type = "mcmal-dma";
104 compatible = "ibm,mcmal-440gp", "ibm,mcmal";
108 interrupt-parent = <&MAL0>;
109 interrupts = <0 1 2 3 4>;
110 #interrupt-cells = <1>;
111 #address-cells = <0>;
113 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
114 /*RXEOB*/ 1 &UIC0 b 4
117 /*RXDE*/ 4 &UIC1 2 4>;
118 interrupt-map-mask = <ffffffff>;
122 device_type = "ibm,opb";
123 compatible = "ibm,opb-440gp", "ibm,opb";
124 #address-cells = <1>;
126 /* Wish there was a nicer way of specifying a full 32-bit
128 ranges = <00000000 1 00000000 80000000
129 80000000 1 80000000 80000000>;
131 interrupt-parent = <&UIC1>;
133 clock-frequency = <0>; // Filled in by zImage
136 device_type = "ibm,ebc";
137 compatible = "ibm,ebc-440gp";
139 #address-cells = <2>;
141 clock-frequency = <0>; // Filled in by zImage
142 ranges = <0 00000000 fff00000 100000
143 1 00000000 48000000 100000
144 2 00000000 ff800000 400000
145 3 00000000 48200000 100000
146 7 00000000 48300000 100000>;
148 interrupt-parent = <&UIC1>;
152 compatible = "direct-mapped";
153 probe-type = "JEDEC";
155 partitions = <0 80000>;
156 partition-names = "OpenBIOS";
157 reg = <0 80000 80000>;
162 device_type = "nvram";
163 compatible = "ds1743";
169 compatible = "direct-mapped";
170 probe-type = "JEDEC";
172 partitions = <0 380000
174 partition-names = "fs", "firmware";
183 compatible = "Ebony-FPGA";
188 UART0: serial@40000200 {
189 device_type = "serial";
190 compatible = "ns16550";
192 virtual-reg = <e0000200>;
193 clock-frequency = <A8C000>;
194 current-speed = <2580>;
195 interrupt-parent = <&UIC0>;
199 UART1: serial@40000300 {
200 device_type = "serial";
201 compatible = "ns16550";
203 virtual-reg = <e0000300>;
204 clock-frequency = <A8C000>;
205 current-speed = <2580>;
206 interrupt-parent = <&UIC0>;
213 compatible = "ibm,iic-440gp", "ibm,iic";
215 interrupt-parent = <&UIC0>;
221 compatible = "ibm,iic-440gp", "ibm,iic";
223 interrupt-parent = <&UIC0>;
227 GPIO0: gpio@40000700 {
229 device_type = "gpio";
230 compatible = "ibm,gpio-440gp";
234 ZMII0: emac-zmii@40000780 {
235 device_type = "emac-zmii";
236 compatible = "ibm,zmii-440gp", "ibm,zmii";
240 EMAC0: ethernet@40000800 {
241 linux,network-index = <0>;
242 device_type = "network";
243 compatible = "ibm,emac-440gp", "ibm,emac";
244 interrupt-parent = <&UIC1>;
245 interrupts = <1c 4 1d 4>;
247 local-mac-address = [000000000000]; // Filled in by zImage
248 mal-device = <&MAL0>;
249 mal-tx-channel = <0 1>;
250 mal-rx-channel = <0>;
252 max-frame-size = <5dc>;
253 rx-fifo-size = <1000>;
254 tx-fifo-size = <800>;
256 phy-map = <00000001>;
257 zmii-device = <&ZMII0>;
260 EMAC1: ethernet@40000900 {
261 linux,network-index = <1>;
262 device_type = "network";
263 compatible = "ibm,emac-440gp", "ibm,emac";
264 interrupt-parent = <&UIC1>;
265 interrupts = <1e 4 1f 4>;
267 local-mac-address = [000000000000]; // Filled in by zImage
268 mal-device = <&MAL0>;
269 mal-tx-channel = <2 3>;
270 mal-rx-channel = <1>;
272 max-frame-size = <5dc>;
273 rx-fifo-size = <1000>;
274 tx-fifo-size = <800>;
276 phy-map = <00000001>;
277 zmii-device = <&ZMII0>;
285 interrupt-parent = <&UIC0>;
286 interrupts = <12 4 13 4 14 4 15 4 16 4>;
301 linux,stdout-path = "/plb/opb/serial@40000200";
302 // linux,initrd-start = <0>; /* FIXME */
303 // linux,initrd-end = <0>;