blob: 1955bd9e113d9d605d7264f790f669197a715074 [file] [log] [blame]
Andy Flemingc2882bb2007-02-09 17:28:31 -06001/*
2 * MPC8568E MDS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2007, 2008 Freescale Semiconductor Inc.
Andy Flemingc2882bb2007-02-09 17:28:31 -06005 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
Kumar Gala32f960e2008-04-17 01:28:15 -050012/dts-v1/;
Andy Flemingc2882bb2007-02-09 17:28:31 -060013
Andy Flemingc2882bb2007-02-09 17:28:31 -060014/ {
15 model = "MPC8568EMDS";
Kumar Gala52094872007-02-17 16:04:23 -060016 compatible = "MPC8568EMDS", "MPC85xxMDS";
Andy Flemingc2882bb2007-02-09 17:28:31 -060017 #address-cells = <1>;
18 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060019
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 ethernet2 = &enet2;
24 ethernet3 = &enet3;
25 serial0 = &serial0;
26 serial1 = &serial1;
27 pci0 = &pci0;
28 pci1 = &pci1;
29 };
30
Andy Flemingc2882bb2007-02-09 17:28:31 -060031 cpus {
Andy Flemingc2882bb2007-02-09 17:28:31 -060032 #address-cells = <1>;
33 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060034
35 PowerPC,8568@0 {
36 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050037 reg = <0x0>;
38 d-cache-line-size = <32>; // 32 bytes
39 i-cache-line-size = <32>; // 32 bytes
40 d-cache-size = <0x8000>; // L1, 32K
41 i-cache-size = <0x8000>; // L1, 32K
Andy Flemingc2882bb2007-02-09 17:28:31 -060042 timebase-frequency = <0>;
43 bus-frequency = <0>;
44 clock-frequency = <0>;
Kumar Galac0540652008-05-30 13:43:43 -050045 next-level-cache = <&L2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060046 };
47 };
48
49 memory {
50 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050051 reg = <0x0 0x10000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060052 };
53
54 bcsr@f8000000 {
Anton Vorontsovfd657ef2008-10-18 04:23:52 +040055 compatible = "fsl,mpc8568mds-bcsr";
Kumar Gala32f960e2008-04-17 01:28:15 -050056 reg = <0xf8000000 0x8000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060057 };
58
59 soc8568@e0000000 {
60 #address-cells = <1>;
61 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060062 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050063 compatible = "simple-bus";
Kumar Gala32f960e2008-04-17 01:28:15 -050064 ranges = <0x0 0xe0000000 0x100000>;
65 reg = <0xe0000000 0x1000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060066 bus-frequency = <0>;
67
Kumar Gala4da421d2007-05-15 13:20:05 -050068 memory-controller@2000 {
69 compatible = "fsl,8568-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050070 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050071 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050072 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050073 };
74
Kumar Galac0540652008-05-30 13:43:43 -050075 L2: l2-cache-controller@20000 {
Kumar Gala4da421d2007-05-15 13:20:05 -050076 compatible = "fsl,8568-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050077 reg = <0x20000 0x1000>;
78 cache-line-size = <32>; // 32 bytes
79 cache-size = <0x80000>; // L2, 512K
Kumar Gala4da421d2007-05-15 13:20:05 -050080 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050081 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050082 };
83
Andy Flemingc2882bb2007-02-09 17:28:31 -060084 i2c@3000 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040085 #address-cells = <1>;
86 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060087 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060088 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050089 reg = <0x3000 0x100>;
90 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060091 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060092 dfsrr;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040093
94 rtc@68 {
95 compatible = "dallas,ds1374";
Kumar Gala32f960e2008-04-17 01:28:15 -050096 reg = <0x68>;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040097 };
Andy Flemingc2882bb2007-02-09 17:28:31 -060098 };
99
100 i2c@3100 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400101 #address-cells = <1>;
102 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600103 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600104 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500105 reg = <0x3100 0x100>;
106 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600107 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600108 dfsrr;
109 };
110
Kumar Galadee80552008-06-27 13:45:19 -0500111 dma@21300 {
112 #address-cells = <1>;
113 #size-cells = <1>;
114 compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma";
115 reg = <0x21300 0x4>;
116 ranges = <0x0 0x21100 0x200>;
117 cell-index = <0>;
118 dma-channel@0 {
119 compatible = "fsl,mpc8568-dma-channel",
120 "fsl,eloplus-dma-channel";
121 reg = <0x0 0x80>;
122 cell-index = <0>;
123 interrupt-parent = <&mpic>;
124 interrupts = <20 2>;
125 };
126 dma-channel@80 {
127 compatible = "fsl,mpc8568-dma-channel",
128 "fsl,eloplus-dma-channel";
129 reg = <0x80 0x80>;
130 cell-index = <1>;
131 interrupt-parent = <&mpic>;
132 interrupts = <21 2>;
133 };
134 dma-channel@100 {
135 compatible = "fsl,mpc8568-dma-channel",
136 "fsl,eloplus-dma-channel";
137 reg = <0x100 0x80>;
138 cell-index = <2>;
139 interrupt-parent = <&mpic>;
140 interrupts = <22 2>;
141 };
142 dma-channel@180 {
143 compatible = "fsl,mpc8568-dma-channel",
144 "fsl,eloplus-dma-channel";
145 reg = <0x180 0x80>;
146 cell-index = <3>;
147 interrupt-parent = <&mpic>;
148 interrupts = <23 2>;
149 };
150 };
151
Andy Flemingc2882bb2007-02-09 17:28:31 -0600152 mdio@24520 {
153 #address-cells = <1>;
154 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600155 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500156 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600157
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400158 phy0: ethernet-phy@7 {
Kumar Gala52094872007-02-17 16:04:23 -0600159 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500160 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500161 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600162 device_type = "ethernet-phy";
163 };
Kumar Gala52094872007-02-17 16:04:23 -0600164 phy1: ethernet-phy@1 {
165 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500166 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500167 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600168 device_type = "ethernet-phy";
169 };
Kumar Gala52094872007-02-17 16:04:23 -0600170 phy2: ethernet-phy@2 {
171 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500172 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500173 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600174 device_type = "ethernet-phy";
175 };
Kumar Gala52094872007-02-17 16:04:23 -0600176 phy3: ethernet-phy@3 {
177 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500178 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500179 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600180 device_type = "ethernet-phy";
181 };
Andy Flemingb31a1d82008-12-16 15:29:15 -0800182 tbi0: tbi-phy@11 {
183 reg = <0x11>;
184 device_type = "tbi-phy";
185 };
186 };
187
188 mdio@25520 {
189 #address-cells = <1>;
190 #size-cells = <0>;
191 compatible = "fsl,gianfar-tbi";
192 reg = <0x25520 0x20>;
193
194 tbi1: tbi-phy@11 {
195 reg = <0x11>;
196 device_type = "tbi-phy";
197 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600198 };
199
Kumar Galae77b28e2007-12-12 00:28:35 -0600200 enet0: ethernet@24000 {
201 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600202 device_type = "network";
203 model = "eTSEC";
204 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500205 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500206 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500207 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600208 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800209 tbi-handle = <&tbi0>;
Kumar Gala52094872007-02-17 16:04:23 -0600210 phy-handle = <&phy2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600211 };
212
Kumar Galae77b28e2007-12-12 00:28:35 -0600213 enet1: ethernet@25000 {
214 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600215 device_type = "network";
216 model = "eTSEC";
217 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500218 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500219 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500220 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600221 interrupt-parent = <&mpic>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800222 tbi-handle = <&tbi1>;
Kumar Gala52094872007-02-17 16:04:23 -0600223 phy-handle = <&phy3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600224 };
225
Kumar Galaea082fa2007-12-12 01:46:12 -0600226 serial0: serial@4500 {
227 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600228 device_type = "serial";
229 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500230 reg = <0x4500 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600231 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500232 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600233 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600234 };
235
Roy Zang10ce8c62007-07-13 17:35:33 +0800236 global-utilities@e0000 { //global utilities block
237 compatible = "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500238 reg = <0xe0000 0x1000>;
Roy Zang10ce8c62007-07-13 17:35:33 +0800239 fsl,has-rstcr;
240 };
241
Kumar Galaea082fa2007-12-12 01:46:12 -0600242 serial1: serial@4600 {
243 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600244 device_type = "serial";
245 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500246 reg = <0x4600 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600247 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500248 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600249 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600250 };
251
252 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500253 compatible = "fsl,sec2.1", "fsl,sec2.0";
254 reg = <0x30000 0x10000>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500255 interrupts = <45 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600256 interrupt-parent = <&mpic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500257 fsl,num-channels = <4>;
258 fsl,channel-fifo-len = <24>;
259 fsl,exec-units-mask = <0xfe>;
260 fsl,descriptor-types-mask = <0x12b0ebf>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600261 };
262
Kumar Gala52094872007-02-17 16:04:23 -0600263 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600264 interrupt-controller;
265 #address-cells = <0>;
266 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500267 reg = <0x40000 0x40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600268 compatible = "chrp,open-pic";
269 device_type = "open-pic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600270 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500271
Andy Flemingc2882bb2007-02-09 17:28:31 -0600272 par_io@e0100 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500273 reg = <0xe0100 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600274 device_type = "par_io";
275 num-ports = <7>;
276
Kumar Gala52094872007-02-17 16:04:23 -0600277 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600278 pio-map = <
279 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500280 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
281 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
282 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
283 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
284 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
285 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
286 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
287 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
288 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
289 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
290 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
291 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
292 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
293 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
294 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
295 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
296 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
297 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
298 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
299 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
300 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
301 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
302 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600303 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500304
Kumar Gala52094872007-02-17 16:04:23 -0600305 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600306 pio-map = <
307 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500308 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
309 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
310 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
311 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
312 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
313 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
314 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
315 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
316 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
317 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
318 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
319 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
320 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
321 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
322 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
323 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
324 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
325 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
326 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
327 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
328 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
329 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
330 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
331 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
332 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600333 };
334 };
335 };
336
337 qe@e0080000 {
338 #address-cells = <1>;
339 #size-cells = <1>;
340 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300341 compatible = "fsl,qe";
Kumar Gala32f960e2008-04-17 01:28:15 -0500342 ranges = <0x0 0xe0080000 0x40000>;
343 reg = <0xe0080000 0x480>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600344 brg-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500345 bus-frequency = <396000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600346
347 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500348 #address-cells = <1>;
349 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300350 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400351 ranges = <0x0 0x10000 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600352
Paul Gortmaker390167e2008-01-28 02:27:51 -0500353 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300354 compatible = "fsl,qe-muram-data",
355 "fsl,cpm-muram-data";
Haiying Wang8bdf5732008-04-17 08:56:02 -0400356 reg = <0x0 0x10000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600357 };
358 };
359
360 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300361 cell-index = <0>;
362 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500363 reg = <0x4c0 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600364 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600365 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600366 mode = "cpu";
367 };
368
369 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300370 cell-index = <1>;
371 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500372 reg = <0x500 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600373 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600374 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600375 mode = "cpu";
376 };
377
Kumar Galae77b28e2007-12-12 00:28:35 -0600378 enet2: ucc@2000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600379 device_type = "network";
380 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600381 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500382 reg = <0x2000 0x200>;
383 interrupts = <32>;
Kumar Gala52094872007-02-17 16:04:23 -0600384 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500385 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600386 rx-clock-name = "none";
387 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600388 pio-handle = <&pio1>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400389 phy-handle = <&phy0>;
390 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600391 };
392
Kumar Galae77b28e2007-12-12 00:28:35 -0600393 enet3: ucc@3000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600394 device_type = "network";
395 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600396 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500397 reg = <0x3000 0x200>;
398 interrupts = <33>;
Kumar Gala52094872007-02-17 16:04:23 -0600399 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500400 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600401 rx-clock-name = "none";
402 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600403 pio-handle = <&pio2>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400404 phy-handle = <&phy1>;
405 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600406 };
407
408 mdio@2120 {
409 #address-cells = <1>;
410 #size-cells = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500411 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300412 compatible = "fsl,ucc-mdio";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600413
414 /* These are the same PHYs as on
415 * gianfar's MDIO bus */
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400416 qe_phy0: ethernet-phy@07 {
Kumar Gala52094872007-02-17 16:04:23 -0600417 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500418 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500419 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600420 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600421 };
Kumar Gala52094872007-02-17 16:04:23 -0600422 qe_phy1: ethernet-phy@01 {
423 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500424 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500425 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600426 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600427 };
Kumar Gala52094872007-02-17 16:04:23 -0600428 qe_phy2: ethernet-phy@02 {
429 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500430 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500431 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600432 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600433 };
Kumar Gala52094872007-02-17 16:04:23 -0600434 qe_phy3: ethernet-phy@03 {
435 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500436 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500437 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600438 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600439 };
440 };
441
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300442 qeic: interrupt-controller@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600443 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300444 compatible = "fsl,qe-ic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600445 #address-cells = <0>;
446 #interrupt-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500447 reg = <0x80 0x80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600448 big-endian;
Kumar Gala32f960e2008-04-17 01:28:15 -0500449 interrupts = <46 2 46 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600450 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600451 };
452
453 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500454
Kumar Galaea082fa2007-12-12 01:46:12 -0600455 pci0: pci@e0008000 {
456 cell-index = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500457 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500458 interrupt-map = <
459 /* IDSEL 0x12 AD18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500460 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
461 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
462 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
463 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala86a04d92007-10-02 09:51:32 -0500464
465 /* IDSEL 0x13 AD19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500466 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
467 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
468 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
469 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500470
471 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500472 interrupts = <24 2>;
473 bus-range = <0 255>;
474 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
475 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
476 clock-frequency = <66666666>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500477 #interrupt-cells = <1>;
478 #size-cells = <2>;
479 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500480 reg = <0xe0008000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500481 compatible = "fsl,mpc8540-pci";
482 device_type = "pci";
483 };
484
485 /* PCI Express */
Kumar Galaea082fa2007-12-12 01:46:12 -0600486 pci1: pcie@e000a000 {
487 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500488 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500489 interrupt-map = <
490
491 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500492 00000 0x0 0x0 0x1 &mpic 0x0 0x1
493 00000 0x0 0x0 0x2 &mpic 0x1 0x1
494 00000 0x0 0x0 0x3 &mpic 0x2 0x1
495 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500496
497 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500498 interrupts = <26 2>;
499 bus-range = <0 255>;
500 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
501 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
502 clock-frequency = <33333333>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500503 #interrupt-cells = <1>;
504 #size-cells = <2>;
505 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500506 reg = <0xe000a000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500507 compatible = "fsl,mpc8548-pcie";
508 device_type = "pci";
509 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500510 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500511 #size-cells = <2>;
512 #address-cells = <3>;
513 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500514 ranges = <0x2000000 0x0 0xa0000000
515 0x2000000 0x0 0xa0000000
516 0x0 0x10000000
Kumar Gala86a04d92007-10-02 09:51:32 -0500517
Kumar Gala32f960e2008-04-17 01:28:15 -0500518 0x1000000 0x0 0x0
519 0x1000000 0x0 0x0
520 0x0 0x800000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500521 };
522 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600523};