2 * Device Tree Source for AMCC Bamboo
4 * Copyright (c) 2006, 2007 IBM Corp.
5 * Josh Boyer <jwboyer@linux.vnet.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.
17 model = "amcc,bamboo";
18 compatible = "amcc,bamboo";
19 dcr-parent = <&/cpus/cpu@0>;
36 model = "PowerPC,440EP";
38 clock-frequency = <0>; /* Filled in by zImage */
39 timebase-frequency = <0>; /* Filled in by zImage */
40 i-cache-line-size = <20>;
41 d-cache-line-size = <20>;
42 i-cache-size = <8000>;
43 d-cache-size = <8000>;
45 dcr-access-method = "native";
50 device_type = "memory";
51 reg = <0 0 0>; /* Filled in by zImage */
54 UIC0: interrupt-controller0 {
55 compatible = "ibm,uic-440ep","ibm,uic";
61 #interrupt-cells = <2>;
64 UIC1: interrupt-controller1 {
65 compatible = "ibm,uic-440ep","ibm,uic";
71 #interrupt-cells = <2>;
72 interrupts = <1e 4 1f 4>; /* cascade */
73 interrupt-parent = <&UIC0>;
77 compatible = "ibm,sdr-440ep";
82 compatible = "ibm,cpr-440ep";
87 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
91 clock-frequency = <0>; /* Filled in by zImage */
94 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
99 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
104 compatible = "ibm,mcmal-440ep", "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>;
121 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
122 #address-cells = <1>;
124 /* Bamboo is oddball in the 44x world and doesn't use the ERPN
127 ranges = <00000000 0 00000000 80000000
128 80000000 0 80000000 80000000>;
129 interrupt-parent = <&UIC1>;
131 clock-frequency = <0>; /* Filled in by zImage */
134 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
136 #address-cells = <2>;
138 clock-frequency = <0>; /* Filled in by zImage */
140 interrupt-parent = <&UIC1>;
143 UART0: serial@ef600300 {
144 device_type = "serial";
145 compatible = "ns16550";
147 virtual-reg = <ef600300>;
148 clock-frequency = <0>; /* Filled in by zImage */
149 current-speed = <1c200>;
150 interrupt-parent = <&UIC0>;
154 UART1: serial@ef600400 {
155 device_type = "serial";
156 compatible = "ns16550";
158 virtual-reg = <ef600400>;
159 clock-frequency = <0>;
161 interrupt-parent = <&UIC0>;
165 UART2: serial@ef600500 {
166 device_type = "serial";
167 compatible = "ns16550";
169 virtual-reg = <ef600500>;
170 clock-frequency = <0>;
172 interrupt-parent = <&UIC0>;
176 UART3: serial@ef600600 {
177 device_type = "serial";
178 compatible = "ns16550";
180 virtual-reg = <ef600600>;
181 clock-frequency = <0>;
183 interrupt-parent = <&UIC0>;
189 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
191 interrupt-parent = <&UIC0>;
197 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
199 interrupt-parent = <&UIC0>;
203 ZMII0: emac-zmii@ef600d00 {
204 device_type = "zmii-interface";
205 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
209 EMAC0: ethernet@ef600e00 {
210 linux,network-index = <0>;
211 device_type = "network";
212 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
213 interrupt-parent = <&UIC1>;
214 interrupts = <1c 4 1d 4>;
216 local-mac-address = [000000000000];
217 mal-device = <&MAL0>;
218 mal-tx-channel = <0 1>;
219 mal-rx-channel = <0>;
221 max-frame-size = <5dc>;
222 rx-fifo-size = <1000>;
223 tx-fifo-size = <800>;
225 phy-map = <00000000>;
226 zmii-device = <&ZMII0>;
230 EMAC1: ethernet@ef600f00 {
231 linux,network-index = <1>;
232 device_type = "network";
233 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
234 interrupt-parent = <&UIC1>;
235 interrupts = <1e 4 1f 4>;
237 local-mac-address = [000000000000];
238 mal-device = <&MAL0>;
239 mal-tx-channel = <2 3>;
240 mal-rx-channel = <1>;
242 max-frame-size = <5dc>;
243 rx-fifo-size = <1000>;
244 tx-fifo-size = <800>;
246 phy-map = <00000000>;
247 zmii-device = <&ZMII0>;
252 compatible = "ohci-be";
254 interrupts = <8 1 9 1>;
255 interrupt-parent = < &UIC1 >;
261 #interrupt-cells = <1>;
263 #address-cells = <3>;
264 compatible = "ibm,plb440ep-pci", "ibm,plb-pci";
266 reg = <0 eec00000 8 /* Config space access */
267 0 eed00000 4 /* IACK */
268 0 eed00000 4 /* Special cycle */
269 0 ef400000 40>; /* Internal registers */
271 /* Outbound ranges, one memory and one IO,
272 * later cannot be changed. Chip supports a second
273 * IO range but we don't use it for now
275 ranges = <02000000 0 a0000000 0 a0000000 0 20000000
276 01000000 0 00000000 0 e8000000 0 00010000>;
278 /* Inbound 2GB range starting at 0 */
279 dma-ranges = <42000000 0 0 0 0 0 80000000>;
281 /* Bamboo has all 4 IRQ pins tied together per slot */
282 interrupt-map-mask = <f800 0 0 0>;
285 0800 0 0 0 &UIC0 1c 8
288 1000 0 0 0 &UIC0 1b 8
291 1800 0 0 0 &UIC0 1a 8
294 2000 0 0 0 &UIC0 19 8
300 linux,stdout-path = "/plb/opb/serial@ef600300";