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/PowerPC,440EP@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>;
33 d-cache-size = <8000>;
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-440ep","ibm,uic";
51 #interrupt-cells = <2>;
54 UIC1: interrupt-controller1 {
55 compatible = "ibm,uic-440ep","ibm,uic";
61 #interrupt-cells = <2>;
62 interrupts = <1e 4 1f 4>; /* cascade */
63 interrupt-parent = <&UIC0>;
67 compatible = "ibm,sdr-440ep";
72 compatible = "ibm,cpr-440ep";
77 compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
81 clock-frequency = <0>; /* Filled in by zImage */
84 compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
89 compatible = "ibm,dma-440ep", "ibm,dma-440gp";
94 compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
98 interrupt-parent = <&MAL0>;
99 interrupts = <0 1 2 3 4>;
100 #interrupt-cells = <1>;
101 #address-cells = <0>;
103 interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
104 /*RXEOB*/ 1 &UIC0 b 4
107 /*RXDE*/ 4 &UIC1 2 4>;
111 compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
112 #address-cells = <1>;
114 /* Bamboo is oddball in the 44x world and doesn't use the ERPN
117 ranges = <00000000 0 00000000 80000000
118 80000000 0 80000000 80000000>;
119 interrupt-parent = <&UIC1>;
121 clock-frequency = <0>; /* Filled in by zImage */
124 compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
126 #address-cells = <2>;
128 clock-frequency = <0>; /* Filled in by zImage */
131 interrupt-parent = <&UIC1>;
134 UART0: serial@ef600300 {
135 device_type = "serial";
136 compatible = "ns16550";
138 virtual-reg = <ef600300>;
139 clock-frequency = <0>; /* Filled in by zImage */
140 current-speed = <1c200>;
141 interrupt-parent = <&UIC0>;
145 UART1: serial@ef600400 {
146 device_type = "serial";
147 compatible = "ns16550";
149 virtual-reg = <ef600400>;
150 clock-frequency = <0>;
152 interrupt-parent = <&UIC0>;
156 UART2: serial@ef600500 {
157 device_type = "serial";
158 compatible = "ns16550";
160 virtual-reg = <ef600500>;
161 clock-frequency = <0>;
163 interrupt-parent = <&UIC0>;
167 UART3: serial@ef600600 {
168 device_type = "serial";
169 compatible = "ns16550";
171 virtual-reg = <ef600600>;
172 clock-frequency = <0>;
174 interrupt-parent = <&UIC0>;
180 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
182 interrupt-parent = <&UIC0>;
188 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
190 interrupt-parent = <&UIC0>;
194 ZMII0: emac-zmii@ef600d00 {
195 device_type = "zmii-interface";
196 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
200 EMAC0: ethernet@ef600e00 {
201 linux,network-index = <0>;
202 device_type = "network";
203 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
204 interrupt-parent = <&UIC1>;
205 interrupts = <1c 4 1d 4>;
207 local-mac-address = [000000000000];
208 mal-device = <&MAL0>;
209 mal-tx-channel = <0 1>;
210 mal-rx-channel = <0>;
212 max-frame-size = <5dc>;
213 rx-fifo-size = <1000>;
214 tx-fifo-size = <800>;
216 phy-map = <00000000>;
217 zmii-device = <&ZMII0>;
221 EMAC1: ethernet@ef600f00 {
222 linux,network-index = <1>;
223 device_type = "network";
224 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
225 interrupt-parent = <&UIC1>;
226 interrupts = <1e 4 1f 4>;
228 local-mac-address = [000000000000];
229 mal-device = <&MAL0>;
230 mal-tx-channel = <2 3>;
231 mal-rx-channel = <1>;
233 max-frame-size = <5dc>;
234 rx-fifo-size = <1000>;
235 tx-fifo-size = <800>;
237 phy-map = <00000000>;
238 zmii-device = <&ZMII0>;
243 compatible = "ohci-be";
245 interrupts = <8 1 9 1>;
246 interrupt-parent = < &UIC1 >;
252 #interrupt-cells = <1>;
254 #address-cells = <3>;
255 compatible = "ibm,plb440ep-pci", "ibm,plb-pci";
257 reg = <0 eec00000 8 /* Config space access */
258 0 eed00000 4 /* IACK */
259 0 eed00000 4 /* Special cycle */
260 0 ef400000 40>; /* Internal registers */
262 /* Outbound ranges, one memory and one IO,
263 * later cannot be changed. Chip supports a second
264 * IO range but we don't use it for now
266 ranges = <02000000 0 a0000000 0 a0000000 0 20000000
267 01000000 0 00000000 0 e8000000 0 00010000>;
269 /* Inbound 2GB range starting at 0 */
270 dma-ranges = <42000000 0 0 0 0 0 80000000>;
272 /* Bamboo has all 4 IRQ pins tied together per slot */
273 interrupt-map-mask = <f800 0 0 0>;
276 0800 0 0 0 &UIC0 1c 8
279 1000 0 0 0 &UIC0 1b 8
282 1800 0 0 0 &UIC0 1a 8
285 2000 0 0 0 &UIC0 19 8
291 linux,stdout-path = "/plb/opb/serial@ef600300";