blob: 2000060386d7c009572ef3dc204634a08bf3be25 [file] [log] [blame]
Stefan Roesec06cf7d2008-03-20 17:34:24 +11001/*
2 * Device Tree Source for AMCC Glacier (460GT)
3 *
Stefan Roese5a6543e2010-02-09 23:08:28 +00004 * Copyright 2008-2010 DENX Software Engineering, Stefan Roese <sr@denx.de>
Stefan Roesec06cf7d2008-03-20 17:34:24 +11005 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without
8 * any warranty of any kind, whether express or implied.
9 */
10
David Gibson71f34972008-05-15 16:46:39 +100011/dts-v1/;
12
Stefan Roesec06cf7d2008-03-20 17:34:24 +110013/ {
14 #address-cells = <2>;
15 #size-cells = <1>;
16 model = "amcc,glacier";
Josh Boyerded563c2008-08-19 11:27:01 -040017 compatible = "amcc,glacier";
David Gibson71f34972008-05-15 16:46:39 +100018 dcr-parent = <&{/cpus/cpu@0}>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110019
20 aliases {
21 ethernet0 = &EMAC0;
22 ethernet1 = &EMAC1;
23 ethernet2 = &EMAC2;
24 ethernet3 = &EMAC3;
25 serial0 = &UART0;
26 serial1 = &UART1;
27 };
28
29 cpus {
30 #address-cells = <1>;
31 #size-cells = <0>;
32
33 cpu@0 {
34 device_type = "cpu";
35 model = "PowerPC,460GT";
David Gibson71f34972008-05-15 16:46:39 +100036 reg = <0x00000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110037 clock-frequency = <0>; /* Filled in by U-Boot */
38 timebase-frequency = <0>; /* Filled in by U-Boot */
David Gibson71f34972008-05-15 16:46:39 +100039 i-cache-line-size = <32>;
40 d-cache-line-size = <32>;
41 i-cache-size = <32768>;
42 d-cache-size = <32768>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110043 dcr-controller;
44 dcr-access-method = "native";
Stefan Roese5a6543e2010-02-09 23:08:28 +000045 next-level-cache = <&L2C0>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110046 };
47 };
48
49 memory {
50 device_type = "memory";
David Gibson71f34972008-05-15 16:46:39 +100051 reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
Stefan Roesec06cf7d2008-03-20 17:34:24 +110052 };
53
54 UIC0: interrupt-controller0 {
55 compatible = "ibm,uic-460gt","ibm,uic";
56 interrupt-controller;
57 cell-index = <0>;
David Gibson71f34972008-05-15 16:46:39 +100058 dcr-reg = <0x0c0 0x009>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110059 #address-cells = <0>;
60 #size-cells = <0>;
61 #interrupt-cells = <2>;
62 };
63
64 UIC1: interrupt-controller1 {
65 compatible = "ibm,uic-460gt","ibm,uic";
66 interrupt-controller;
67 cell-index = <1>;
David Gibson71f34972008-05-15 16:46:39 +100068 dcr-reg = <0x0d0 0x009>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110069 #address-cells = <0>;
70 #size-cells = <0>;
71 #interrupt-cells = <2>;
David Gibson71f34972008-05-15 16:46:39 +100072 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
Stefan Roesec06cf7d2008-03-20 17:34:24 +110073 interrupt-parent = <&UIC0>;
74 };
75
76 UIC2: interrupt-controller2 {
77 compatible = "ibm,uic-460gt","ibm,uic";
78 interrupt-controller;
79 cell-index = <2>;
David Gibson71f34972008-05-15 16:46:39 +100080 dcr-reg = <0x0e0 0x009>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110081 #address-cells = <0>;
82 #size-cells = <0>;
83 #interrupt-cells = <2>;
David Gibson71f34972008-05-15 16:46:39 +100084 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
Stefan Roesec06cf7d2008-03-20 17:34:24 +110085 interrupt-parent = <&UIC0>;
86 };
87
88 UIC3: interrupt-controller3 {
89 compatible = "ibm,uic-460gt","ibm,uic";
90 interrupt-controller;
91 cell-index = <3>;
David Gibson71f34972008-05-15 16:46:39 +100092 dcr-reg = <0x0f0 0x009>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +110093 #address-cells = <0>;
94 #size-cells = <0>;
95 #interrupt-cells = <2>;
David Gibson71f34972008-05-15 16:46:39 +100096 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
Stefan Roesec06cf7d2008-03-20 17:34:24 +110097 interrupt-parent = <&UIC0>;
98 };
99
100 SDR0: sdr {
101 compatible = "ibm,sdr-460gt";
David Gibson71f34972008-05-15 16:46:39 +1000102 dcr-reg = <0x00e 0x002>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100103 };
104
105 CPR0: cpr {
106 compatible = "ibm,cpr-460gt";
David Gibson71f34972008-05-15 16:46:39 +1000107 dcr-reg = <0x00c 0x002>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100108 };
109
Stefan Roese5a6543e2010-02-09 23:08:28 +0000110 L2C0: l2c {
111 compatible = "ibm,l2-cache-460gt", "ibm,l2-cache";
112 dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */
113 0x030 0x008>; /* L2 cache DCR's */
114 cache-line-size = <32>; /* 32 bytes */
115 cache-size = <262144>; /* L2, 256K */
116 interrupt-parent = <&UIC1>;
117 interrupts = <11 1>;
118 };
119
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100120 plb {
121 compatible = "ibm,plb-460gt", "ibm,plb4";
122 #address-cells = <2>;
123 #size-cells = <1>;
124 ranges;
125 clock-frequency = <0>; /* Filled in by U-Boot */
126
127 SDRAM0: sdram {
128 compatible = "ibm,sdram-460gt", "ibm,sdram-405gp";
David Gibson71f34972008-05-15 16:46:39 +1000129 dcr-reg = <0x010 0x002>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100130 };
131
Stefan Roese5a6543e2010-02-09 23:08:28 +0000132 CRYPTO: crypto@180000 {
Mike Williams57308492011-06-22 06:09:43 +0000133 compatible = "amcc,ppc460gt-crypto", "amcc,ppc460ex-crypto",
134 "amcc,ppc4xx-crypto";
Stefan Roese5a6543e2010-02-09 23:08:28 +0000135 reg = <4 0x00180000 0x80400>;
136 interrupt-parent = <&UIC0>;
137 interrupts = <0x1d 0x4>;
138 };
139
Mike Williams57308492011-06-22 06:09:43 +0000140 HWRNG: hwrng@110000 {
141 compatible = "amcc,ppc460ex-rng", "ppc4xx-rng";
142 reg = <4 0x00110000 0x50>;
143 };
144
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100145 MAL0: mcmal {
146 compatible = "ibm,mcmal-460gt", "ibm,mcmal2";
David Gibson71f34972008-05-15 16:46:39 +1000147 dcr-reg = <0x180 0x062>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100148 num-tx-chans = <4>;
David Gibson71f34972008-05-15 16:46:39 +1000149 num-rx-chans = <32>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100150 #address-cells = <0>;
151 #size-cells = <0>;
152 interrupt-parent = <&UIC2>;
David Gibson71f34972008-05-15 16:46:39 +1000153 interrupts = < /*TXEOB*/ 0x6 0x4
154 /*RXEOB*/ 0x7 0x4
155 /*SERR*/ 0x3 0x4
156 /*TXDE*/ 0x4 0x4
157 /*RXDE*/ 0x5 0x4>;
158 desc-base-addr-high = <0x8>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100159 };
160
161 POB0: opb {
162 compatible = "ibm,opb-460gt", "ibm,opb";
163 #address-cells = <1>;
164 #size-cells = <1>;
David Gibson71f34972008-05-15 16:46:39 +1000165 ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100166 clock-frequency = <0>; /* Filled in by U-Boot */
167
168 EBC0: ebc {
169 compatible = "ibm,ebc-460gt", "ibm,ebc";
David Gibson71f34972008-05-15 16:46:39 +1000170 dcr-reg = <0x012 0x002>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100171 #address-cells = <2>;
172 #size-cells = <1>;
173 clock-frequency = <0>; /* Filled in by U-Boot */
Stefan Roese50202312008-04-19 19:57:18 +1000174 /* ranges property is supplied by U-Boot */
David Gibson71f34972008-05-15 16:46:39 +1000175 interrupts = <0x6 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100176 interrupt-parent = <&UIC1>;
Stefan Roese50202312008-04-19 19:57:18 +1000177
178 nor_flash@0,0 {
179 compatible = "amd,s29gl512n", "cfi-flash";
180 bank-width = <2>;
David Gibson71f34972008-05-15 16:46:39 +1000181 reg = <0x00000000 0x00000000 0x04000000>;
Stefan Roese50202312008-04-19 19:57:18 +1000182 #address-cells = <1>;
183 #size-cells = <1>;
184 partition@0 {
185 label = "kernel";
David Gibson71f34972008-05-15 16:46:39 +1000186 reg = <0x00000000 0x001e0000>;
Stefan Roese50202312008-04-19 19:57:18 +1000187 };
188 partition@1e0000 {
189 label = "dtb";
David Gibson71f34972008-05-15 16:46:39 +1000190 reg = <0x001e0000 0x00020000>;
Stefan Roese50202312008-04-19 19:57:18 +1000191 };
192 partition@200000 {
193 label = "ramdisk";
David Gibson71f34972008-05-15 16:46:39 +1000194 reg = <0x00200000 0x01400000>;
Stefan Roese50202312008-04-19 19:57:18 +1000195 };
196 partition@1600000 {
197 label = "jffs2";
David Gibson71f34972008-05-15 16:46:39 +1000198 reg = <0x01600000 0x00400000>;
Stefan Roese50202312008-04-19 19:57:18 +1000199 };
200 partition@1a00000 {
201 label = "user";
David Gibson71f34972008-05-15 16:46:39 +1000202 reg = <0x01a00000 0x02560000>;
Stefan Roese50202312008-04-19 19:57:18 +1000203 };
204 partition@3f60000 {
205 label = "env";
David Gibson71f34972008-05-15 16:46:39 +1000206 reg = <0x03f60000 0x00040000>;
Stefan Roese50202312008-04-19 19:57:18 +1000207 };
208 partition@3fa0000 {
209 label = "u-boot";
David Gibson71f34972008-05-15 16:46:39 +1000210 reg = <0x03fa0000 0x00060000>;
Stefan Roese50202312008-04-19 19:57:18 +1000211 };
212 };
Stefan Roese5a6543e2010-02-09 23:08:28 +0000213
214 ndfc@3,0 {
215 compatible = "ibm,ndfc";
216 reg = <0x00000003 0x00000000 0x00002000>;
217 ccr = <0x00001000>;
218 bank-settings = <0x80002222>;
219 #address-cells = <1>;
220 #size-cells = <1>;
221
222 nand {
223 #address-cells = <1>;
224 #size-cells = <1>;
225
226 partition@0 {
227 label = "u-boot";
228 reg = <0x00000000 0x00100000>;
229 };
230 partition@100000 {
231 label = "user";
232 reg = <0x00000000 0x03f00000>;
233 };
234 };
235 };
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100236 };
237
238 UART0: serial@ef600300 {
239 device_type = "serial";
240 compatible = "ns16550";
David Gibson71f34972008-05-15 16:46:39 +1000241 reg = <0xef600300 0x00000008>;
242 virtual-reg = <0xef600300>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100243 clock-frequency = <0>; /* Filled in by U-Boot */
244 current-speed = <0>; /* Filled in by U-Boot */
245 interrupt-parent = <&UIC1>;
David Gibson71f34972008-05-15 16:46:39 +1000246 interrupts = <0x1 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100247 };
248
249 UART1: serial@ef600400 {
250 device_type = "serial";
251 compatible = "ns16550";
David Gibson71f34972008-05-15 16:46:39 +1000252 reg = <0xef600400 0x00000008>;
253 virtual-reg = <0xef600400>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100254 clock-frequency = <0>; /* Filled in by U-Boot */
255 current-speed = <0>; /* Filled in by U-Boot */
256 interrupt-parent = <&UIC0>;
David Gibson71f34972008-05-15 16:46:39 +1000257 interrupts = <0x1 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100258 };
259
260 UART2: serial@ef600500 {
261 device_type = "serial";
262 compatible = "ns16550";
David Gibson71f34972008-05-15 16:46:39 +1000263 reg = <0xef600500 0x00000008>;
264 virtual-reg = <0xef600500>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100265 clock-frequency = <0>; /* Filled in by U-Boot */
266 current-speed = <0>; /* Filled in by U-Boot */
267 interrupt-parent = <&UIC1>;
Stefan Roese9a52e392010-06-03 22:29:59 +0000268 interrupts = <28 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100269 };
270
271 UART3: serial@ef600600 {
272 device_type = "serial";
273 compatible = "ns16550";
David Gibson71f34972008-05-15 16:46:39 +1000274 reg = <0xef600600 0x00000008>;
275 virtual-reg = <0xef600600>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100276 clock-frequency = <0>; /* Filled in by U-Boot */
277 current-speed = <0>; /* Filled in by U-Boot */
278 interrupt-parent = <&UIC1>;
Stefan Roese9a52e392010-06-03 22:29:59 +0000279 interrupts = <29 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100280 };
281
282 IIC0: i2c@ef600700 {
283 compatible = "ibm,iic-460gt", "ibm,iic";
David Gibson71f34972008-05-15 16:46:39 +1000284 reg = <0xef600700 0x00000014>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100285 interrupt-parent = <&UIC0>;
David Gibson71f34972008-05-15 16:46:39 +1000286 interrupts = <0x2 0x4>;
Stefan Roese5a6543e2010-02-09 23:08:28 +0000287 #address-cells = <1>;
288 #size-cells = <0>;
289 rtc@68 {
290 compatible = "stm,m41t80";
291 reg = <0x68>;
292 interrupt-parent = <&UIC2>;
293 interrupts = <0x19 0x8>;
294 };
295 sttm@48 {
296 compatible = "ad,ad7414";
297 reg = <0x48>;
298 interrupt-parent = <&UIC1>;
299 interrupts = <0x14 0x8>;
300 };
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100301 };
302
303 IIC1: i2c@ef600800 {
304 compatible = "ibm,iic-460gt", "ibm,iic";
David Gibson71f34972008-05-15 16:46:39 +1000305 reg = <0xef600800 0x00000014>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100306 interrupt-parent = <&UIC0>;
David Gibson71f34972008-05-15 16:46:39 +1000307 interrupts = <0x3 0x4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100308 };
309
310 ZMII0: emac-zmii@ef600d00 {
311 compatible = "ibm,zmii-460gt", "ibm,zmii";
David Gibson71f34972008-05-15 16:46:39 +1000312 reg = <0xef600d00 0x0000000c>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100313 };
314
315 RGMII0: emac-rgmii@ef601500 {
316 compatible = "ibm,rgmii-460gt", "ibm,rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000317 reg = <0xef601500 0x00000008>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100318 has-mdio;
319 };
320
321 RGMII1: emac-rgmii@ef601600 {
322 compatible = "ibm,rgmii-460gt", "ibm,rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000323 reg = <0xef601600 0x00000008>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100324 has-mdio;
325 };
326
327 TAH0: emac-tah@ef601350 {
328 compatible = "ibm,tah-460gt", "ibm,tah";
David Gibson71f34972008-05-15 16:46:39 +1000329 reg = <0xef601350 0x00000030>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100330 };
331
332 TAH1: emac-tah@ef601450 {
333 compatible = "ibm,tah-460gt", "ibm,tah";
David Gibson71f34972008-05-15 16:46:39 +1000334 reg = <0xef601450 0x00000030>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100335 };
336
337 EMAC0: ethernet@ef600e00 {
338 device_type = "network";
Stefan Roese5a6543e2010-02-09 23:08:28 +0000339 compatible = "ibm,emac-460gt", "ibm,emac4sync";
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100340 interrupt-parent = <&EMAC0>;
David Gibson71f34972008-05-15 16:46:39 +1000341 interrupts = <0x0 0x1>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100342 #interrupt-cells = <1>;
343 #address-cells = <0>;
344 #size-cells = <0>;
David Gibson71f34972008-05-15 16:46:39 +1000345 interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4
346 /*Wake*/ 0x1 &UIC2 0x14 0x4>;
Stefan Roese5a6543e2010-02-09 23:08:28 +0000347 reg = <0xef600e00 0x000000c4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100348 local-mac-address = [000000000000]; /* Filled in by U-Boot */
349 mal-device = <&MAL0>;
350 mal-tx-channel = <0>;
351 mal-rx-channel = <0>;
352 cell-index = <0>;
David Gibson71f34972008-05-15 16:46:39 +1000353 max-frame-size = <9000>;
354 rx-fifo-size = <4096>;
355 tx-fifo-size = <2048>;
Dave Mitchell835ad8e2009-10-08 06:33:29 +0000356 rx-fifo-size-gige = <16384>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100357 phy-mode = "rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000358 phy-map = <0x00000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100359 rgmii-device = <&RGMII0>;
360 rgmii-channel = <0>;
361 tah-device = <&TAH0>;
362 tah-channel = <0>;
363 has-inverted-stacr-oc;
364 has-new-stacr-staopc;
365 };
366
367 EMAC1: ethernet@ef600f00 {
368 device_type = "network";
Stefan Roese5a6543e2010-02-09 23:08:28 +0000369 compatible = "ibm,emac-460gt", "ibm,emac4sync";
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100370 interrupt-parent = <&EMAC1>;
David Gibson71f34972008-05-15 16:46:39 +1000371 interrupts = <0x0 0x1>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100372 #interrupt-cells = <1>;
373 #address-cells = <0>;
374 #size-cells = <0>;
David Gibson71f34972008-05-15 16:46:39 +1000375 interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4
376 /*Wake*/ 0x1 &UIC2 0x15 0x4>;
Stefan Roese5a6543e2010-02-09 23:08:28 +0000377 reg = <0xef600f00 0x000000c4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100378 local-mac-address = [000000000000]; /* Filled in by U-Boot */
379 mal-device = <&MAL0>;
380 mal-tx-channel = <1>;
381 mal-rx-channel = <8>;
382 cell-index = <1>;
David Gibson71f34972008-05-15 16:46:39 +1000383 max-frame-size = <9000>;
384 rx-fifo-size = <4096>;
385 tx-fifo-size = <2048>;
Dave Mitchell835ad8e2009-10-08 06:33:29 +0000386 rx-fifo-size-gige = <16384>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100387 phy-mode = "rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000388 phy-map = <0x00000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100389 rgmii-device = <&RGMII0>;
390 rgmii-channel = <1>;
391 tah-device = <&TAH1>;
Stefan Roesea6190a82008-04-04 00:35:06 +1100392 tah-channel = <1>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100393 has-inverted-stacr-oc;
394 has-new-stacr-staopc;
Stefan Roesea6190a82008-04-04 00:35:06 +1100395 mdio-device = <&EMAC0>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100396 };
397
398 EMAC2: ethernet@ef601100 {
399 device_type = "network";
Stefan Roese5a6543e2010-02-09 23:08:28 +0000400 compatible = "ibm,emac-460gt", "ibm,emac4sync";
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100401 interrupt-parent = <&EMAC2>;
David Gibson71f34972008-05-15 16:46:39 +1000402 interrupts = <0x0 0x1>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100403 #interrupt-cells = <1>;
404 #address-cells = <0>;
405 #size-cells = <0>;
David Gibson71f34972008-05-15 16:46:39 +1000406 interrupt-map = </*Status*/ 0x0 &UIC2 0x12 0x4
407 /*Wake*/ 0x1 &UIC2 0x16 0x4>;
Stefan Roese5a6543e2010-02-09 23:08:28 +0000408 reg = <0xef601100 0x000000c4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100409 local-mac-address = [000000000000]; /* Filled in by U-Boot */
410 mal-device = <&MAL0>;
411 mal-tx-channel = <2>;
David Gibson71f34972008-05-15 16:46:39 +1000412 mal-rx-channel = <16>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100413 cell-index = <2>;
David Gibson71f34972008-05-15 16:46:39 +1000414 max-frame-size = <9000>;
415 rx-fifo-size = <4096>;
416 tx-fifo-size = <2048>;
Dave Mitchell835ad8e2009-10-08 06:33:29 +0000417 rx-fifo-size-gige = <16384>;
418 tx-fifo-size-gige = <16384>; /* emac2&3 only */
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100419 phy-mode = "rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000420 phy-map = <0x00000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100421 rgmii-device = <&RGMII1>;
422 rgmii-channel = <0>;
423 has-inverted-stacr-oc;
424 has-new-stacr-staopc;
Stefan Roesea6190a82008-04-04 00:35:06 +1100425 mdio-device = <&EMAC0>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100426 };
427
428 EMAC3: ethernet@ef601200 {
429 device_type = "network";
Stefan Roese5a6543e2010-02-09 23:08:28 +0000430 compatible = "ibm,emac-460gt", "ibm,emac4sync";
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100431 interrupt-parent = <&EMAC3>;
David Gibson71f34972008-05-15 16:46:39 +1000432 interrupts = <0x0 0x1>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100433 #interrupt-cells = <1>;
434 #address-cells = <0>;
435 #size-cells = <0>;
David Gibson71f34972008-05-15 16:46:39 +1000436 interrupt-map = </*Status*/ 0x0 &UIC2 0x13 0x4
437 /*Wake*/ 0x1 &UIC2 0x17 0x4>;
Stefan Roese5a6543e2010-02-09 23:08:28 +0000438 reg = <0xef601200 0x000000c4>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100439 local-mac-address = [000000000000]; /* Filled in by U-Boot */
440 mal-device = <&MAL0>;
441 mal-tx-channel = <3>;
David Gibson71f34972008-05-15 16:46:39 +1000442 mal-rx-channel = <24>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100443 cell-index = <3>;
David Gibson71f34972008-05-15 16:46:39 +1000444 max-frame-size = <9000>;
445 rx-fifo-size = <4096>;
446 tx-fifo-size = <2048>;
Dave Mitchell835ad8e2009-10-08 06:33:29 +0000447 rx-fifo-size-gige = <16384>;
448 tx-fifo-size-gige = <16384>; /* emac2&3 only */
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100449 phy-mode = "rgmii";
David Gibson71f34972008-05-15 16:46:39 +1000450 phy-map = <0x00000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100451 rgmii-device = <&RGMII1>;
452 rgmii-channel = <1>;
453 has-inverted-stacr-oc;
454 has-new-stacr-staopc;
Stefan Roesea6190a82008-04-04 00:35:06 +1100455 mdio-device = <&EMAC0>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100456 };
457 };
458
459 PCIX0: pci@c0ec00000 {
460 device_type = "pci";
461 #interrupt-cells = <1>;
462 #size-cells = <2>;
463 #address-cells = <3>;
464 compatible = "ibm,plb-pcix-460gt", "ibm,plb-pcix";
465 primary;
466 large-inbound-windows;
467 enable-msi-hole;
David Gibson71f34972008-05-15 16:46:39 +1000468 reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */
469 0x00000000 0x00000000 0x00000000 /* no IACK cycles */
470 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */
471 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */
472 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100473
474 /* Outbound ranges, one memory and one IO,
475 * later cannot be changed
476 */
David Gibson71f34972008-05-15 16:46:39 +1000477 ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000
Stefan Roese5a6543e2010-02-09 23:08:28 +0000478 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000
David Gibson71f34972008-05-15 16:46:39 +1000479 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100480
481 /* Inbound 2GB range starting at 0 */
David Gibson71f34972008-05-15 16:46:39 +1000482 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100483
484 /* This drives busses 0 to 0x3f */
David Gibson71f34972008-05-15 16:46:39 +1000485 bus-range = <0x0 0x3f>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100486
487 /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */
David Gibson71f34972008-05-15 16:46:39 +1000488 interrupt-map-mask = <0x0 0x0 0x0 0x0>;
489 interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100490 };
491
492 PCIE0: pciex@d00000000 {
493 device_type = "pci";
494 #interrupt-cells = <1>;
495 #size-cells = <2>;
496 #address-cells = <3>;
497 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
498 primary;
David Gibson71f34972008-05-15 16:46:39 +1000499 port = <0x0>; /* port number */
500 reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */
501 0x0000000c 0x08010000 0x00001000>; /* Registers */
502 dcr-reg = <0x100 0x020>;
503 sdr-base = <0x300>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100504
505 /* Outbound ranges, one memory and one IO,
506 * later cannot be changed
507 */
David Gibson71f34972008-05-15 16:46:39 +1000508 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000
Stefan Roese5a6543e2010-02-09 23:08:28 +0000509 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000
David Gibson71f34972008-05-15 16:46:39 +1000510 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100511
512 /* Inbound 2GB range starting at 0 */
David Gibson71f34972008-05-15 16:46:39 +1000513 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100514
515 /* This drives busses 40 to 0x7f */
David Gibson71f34972008-05-15 16:46:39 +1000516 bus-range = <0x40 0x7f>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100517
518 /* Legacy interrupts (note the weird polarity, the bridge seems
519 * to invert PCIe legacy interrupts).
520 * We are de-swizzling here because the numbers are actually for
521 * port of the root complex virtual P2P bridge. But I want
522 * to avoid putting a node for it in the tree, so the numbers
523 * below are basically de-swizzled numbers.
524 * The real slot is on idsel 0, so the swizzling is 1:1
525 */
David Gibson71f34972008-05-15 16:46:39 +1000526 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100527 interrupt-map = <
David Gibson71f34972008-05-15 16:46:39 +1000528 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */
529 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */
530 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */
531 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100532 };
533
534 PCIE1: pciex@d20000000 {
535 device_type = "pci";
536 #interrupt-cells = <1>;
537 #size-cells = <2>;
538 #address-cells = <3>;
539 compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex";
540 primary;
David Gibson71f34972008-05-15 16:46:39 +1000541 port = <0x1>; /* port number */
542 reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */
543 0x0000000c 0x08011000 0x00001000>; /* Registers */
544 dcr-reg = <0x120 0x020>;
545 sdr-base = <0x340>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100546
547 /* Outbound ranges, one memory and one IO,
548 * later cannot be changed
549 */
David Gibson71f34972008-05-15 16:46:39 +1000550 ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000
Stefan Roese5a6543e2010-02-09 23:08:28 +0000551 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000
David Gibson71f34972008-05-15 16:46:39 +1000552 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100553
554 /* Inbound 2GB range starting at 0 */
David Gibson71f34972008-05-15 16:46:39 +1000555 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100556
557 /* This drives busses 80 to 0xbf */
David Gibson71f34972008-05-15 16:46:39 +1000558 bus-range = <0x80 0xbf>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100559
560 /* Legacy interrupts (note the weird polarity, the bridge seems
561 * to invert PCIe legacy interrupts).
562 * We are de-swizzling here because the numbers are actually for
563 * port of the root complex virtual P2P bridge. But I want
564 * to avoid putting a node for it in the tree, so the numbers
565 * below are basically de-swizzled numbers.
566 * The real slot is on idsel 0, so the swizzling is 1:1
567 */
David Gibson71f34972008-05-15 16:46:39 +1000568 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100569 interrupt-map = <
David Gibson71f34972008-05-15 16:46:39 +1000570 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */
571 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */
572 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */
573 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>;
Stefan Roesec06cf7d2008-03-20 17:34:24 +1100574 };
575 };
576};