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 */
130 interrupt-parent = <&UIC1>;
133 UART0: serial@ef600300 {
134 device_type = "serial";
135 compatible = "ns16550";
137 virtual-reg = <ef600300>;
138 clock-frequency = <0>; /* Filled in by zImage */
139 current-speed = <1c200>;
140 interrupt-parent = <&UIC0>;
144 UART1: serial@ef600400 {
145 device_type = "serial";
146 compatible = "ns16550";
148 virtual-reg = <ef600400>;
149 clock-frequency = <0>;
151 interrupt-parent = <&UIC0>;
155 UART2: serial@ef600500 {
156 device_type = "serial";
157 compatible = "ns16550";
159 virtual-reg = <ef600500>;
160 clock-frequency = <0>;
162 interrupt-parent = <&UIC0>;
166 UART3: serial@ef600600 {
167 device_type = "serial";
168 compatible = "ns16550";
170 virtual-reg = <ef600600>;
171 clock-frequency = <0>;
173 interrupt-parent = <&UIC0>;
179 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
181 interrupt-parent = <&UIC0>;
187 compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
189 interrupt-parent = <&UIC0>;
193 ZMII0: emac-zmii@ef600d00 {
194 device_type = "zmii-interface";
195 compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
199 EMAC0: ethernet@ef600e00 {
200 linux,network-index = <0>;
201 device_type = "network";
202 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
203 interrupt-parent = <&UIC1>;
204 interrupts = <1c 4 1d 4>;
206 local-mac-address = [000000000000];
207 mal-device = <&MAL0>;
208 mal-tx-channel = <0 1>;
209 mal-rx-channel = <0>;
211 max-frame-size = <5dc>;
212 rx-fifo-size = <1000>;
213 tx-fifo-size = <800>;
215 phy-map = <00000000>;
216 zmii-device = <&ZMII0>;
220 EMAC1: ethernet@ef600f00 {
221 linux,network-index = <1>;
222 device_type = "network";
223 compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
224 interrupt-parent = <&UIC1>;
225 interrupts = <1e 4 1f 4>;
227 local-mac-address = [000000000000];
228 mal-device = <&MAL0>;
229 mal-tx-channel = <2 3>;
230 mal-rx-channel = <1>;
232 max-frame-size = <5dc>;
233 rx-fifo-size = <1000>;
234 tx-fifo-size = <800>;
236 phy-map = <00000000>;
237 zmii-device = <&ZMII0>;
242 compatible = "ohci-be";
244 interrupts = <8 1 9 1>;
245 interrupt-parent = < &UIC1 >;
251 #interrupt-cells = <1>;
253 #address-cells = <3>;
254 compatible = "ibm,plb440ep-pci", "ibm,plb-pci";
256 reg = <0 eec00000 8 /* Config space access */
257 0 eed00000 4 /* IACK */
258 0 eed00000 4 /* Special cycle */
259 0 ef400000 40>; /* Internal registers */
261 /* Outbound ranges, one memory and one IO,
262 * later cannot be changed. Chip supports a second
263 * IO range but we don't use it for now
265 ranges = <02000000 0 a0000000 0 a0000000 0 20000000
266 01000000 0 00000000 0 e8000000 0 00010000>;
268 /* Inbound 2GB range starting at 0 */
269 dma-ranges = <42000000 0 0 0 0 0 80000000>;
271 /* Bamboo has all 4 IRQ pins tied together per slot */
272 interrupt-map-mask = <f800 0 0 0>;
275 0800 0 0 0 &UIC0 1c 8
278 1000 0 0 0 &UIC0 1b 8
281 1800 0 0 0 &UIC0 1a 8
284 2000 0 0 0 &UIC0 19 8
290 linux,stdout-path = "/plb/opb/serial@ef600300";