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 = <20>;
35 d-cache-line-size = <20>;
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 property is supplied by zImage
139 // based on firmware's configuration of the
142 interrupt-parent = <&UIC1>;
144 small-flash@0,80000 {
146 compatible = "direct-mapped";
147 probe-type = "JEDEC";
149 partitions = <0 80000>;
150 partition-names = "OpenBIOS";
151 reg = <0 80000 80000>;
156 compatible = "ds1743";
162 compatible = "direct-mapped";
163 probe-type = "JEDEC";
165 partitions = <0 380000
167 partition-names = "fs", "firmware";
176 compatible = "Ebony-FPGA";
181 UART0: serial@40000200 {
182 device_type = "serial";
183 compatible = "ns16550";
185 virtual-reg = <e0000200>;
186 clock-frequency = <A8C000>;
187 current-speed = <2580>;
188 interrupt-parent = <&UIC0>;
192 UART1: serial@40000300 {
193 device_type = "serial";
194 compatible = "ns16550";
196 virtual-reg = <e0000300>;
197 clock-frequency = <A8C000>;
198 current-speed = <2580>;
199 interrupt-parent = <&UIC0>;
206 compatible = "ibm,iic-440gp", "ibm,iic";
208 interrupt-parent = <&UIC0>;
214 compatible = "ibm,iic-440gp", "ibm,iic";
216 interrupt-parent = <&UIC0>;
220 GPIO0: gpio@40000700 {
222 compatible = "ibm,gpio-440gp";
226 ZMII0: emac-zmii@40000780 {
227 compatible = "ibm,zmii-440gp", "ibm,zmii";
231 EMAC0: ethernet@40000800 {
232 linux,network-index = <0>;
233 device_type = "network";
234 compatible = "ibm,emac-440gp", "ibm,emac";
235 interrupt-parent = <&UIC1>;
236 interrupts = <1c 4 1d 4>;
238 local-mac-address = [000000000000]; // Filled in by zImage
239 mal-device = <&MAL0>;
240 mal-tx-channel = <0 1>;
241 mal-rx-channel = <0>;
243 max-frame-size = <5dc>;
244 rx-fifo-size = <1000>;
245 tx-fifo-size = <800>;
247 phy-map = <00000001>;
248 zmii-device = <&ZMII0>;
251 EMAC1: ethernet@40000900 {
252 linux,network-index = <1>;
253 device_type = "network";
254 compatible = "ibm,emac-440gp", "ibm,emac";
255 interrupt-parent = <&UIC1>;
256 interrupts = <1e 4 1f 4>;
258 local-mac-address = [000000000000]; // Filled in by zImage
259 mal-device = <&MAL0>;
260 mal-tx-channel = <2 3>;
261 mal-rx-channel = <1>;
263 max-frame-size = <5dc>;
264 rx-fifo-size = <1000>;
265 tx-fifo-size = <800>;
267 phy-map = <00000001>;
268 zmii-device = <&ZMII0>;
276 interrupt-parent = <&UIC0>;
277 interrupts = <12 4 13 4 14 4 15 4 16 4>;
292 linux,stdout-path = "/plb/opb/serial@40000200";