blob: 3e6739fc0aa27f46431b903bcec67127f215a519 [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
14/*
15/memreserve/ 00000000 1000000;
16*/
17
18/ {
19 model = "MPC8568EMDS";
Kumar Gala52094872007-02-17 16:04:23 -060020 compatible = "MPC8568EMDS", "MPC85xxMDS";
Andy Flemingc2882bb2007-02-09 17:28:31 -060021 #address-cells = <1>;
22 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060023
Kumar Galaea082fa2007-12-12 01:46:12 -060024 aliases {
25 ethernet0 = &enet0;
26 ethernet1 = &enet1;
27 ethernet2 = &enet2;
28 ethernet3 = &enet3;
29 serial0 = &serial0;
30 serial1 = &serial1;
31 pci0 = &pci0;
32 pci1 = &pci1;
33 };
34
Andy Flemingc2882bb2007-02-09 17:28:31 -060035 cpus {
Andy Flemingc2882bb2007-02-09 17:28:31 -060036 #address-cells = <1>;
37 #size-cells = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060038
39 PowerPC,8568@0 {
40 device_type = "cpu";
Kumar Gala32f960e2008-04-17 01:28:15 -050041 reg = <0x0>;
42 d-cache-line-size = <32>; // 32 bytes
43 i-cache-line-size = <32>; // 32 bytes
44 d-cache-size = <0x8000>; // L1, 32K
45 i-cache-size = <0x8000>; // L1, 32K
Andy Flemingc2882bb2007-02-09 17:28:31 -060046 timebase-frequency = <0>;
47 bus-frequency = <0>;
48 clock-frequency = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060049 };
50 };
51
52 memory {
53 device_type = "memory";
Kumar Gala32f960e2008-04-17 01:28:15 -050054 reg = <0x0 0x10000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060055 };
56
57 bcsr@f8000000 {
58 device_type = "board-control";
Kumar Gala32f960e2008-04-17 01:28:15 -050059 reg = <0xf8000000 0x8000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060060 };
61
62 soc8568@e0000000 {
63 #address-cells = <1>;
64 #size-cells = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060065 device_type = "soc";
Kumar Gala32f960e2008-04-17 01:28:15 -050066 ranges = <0x0 0xe0000000 0x100000>;
67 reg = <0xe0000000 0x1000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060068 bus-frequency = <0>;
69
Kumar Gala4da421d2007-05-15 13:20:05 -050070 memory-controller@2000 {
71 compatible = "fsl,8568-memory-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050072 reg = <0x2000 0x1000>;
Kumar Gala4da421d2007-05-15 13:20:05 -050073 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050074 interrupts = <18 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050075 };
76
77 l2-cache-controller@20000 {
78 compatible = "fsl,8568-l2-cache-controller";
Kumar Gala32f960e2008-04-17 01:28:15 -050079 reg = <0x20000 0x1000>;
80 cache-line-size = <32>; // 32 bytes
81 cache-size = <0x80000>; // L2, 512K
Kumar Gala4da421d2007-05-15 13:20:05 -050082 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -050083 interrupts = <16 2>;
Kumar Gala4da421d2007-05-15 13:20:05 -050084 };
85
Andy Flemingc2882bb2007-02-09 17:28:31 -060086 i2c@3000 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040087 #address-cells = <1>;
88 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060089 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060090 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -050091 reg = <0x3000 0x100>;
92 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -060093 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -060094 dfsrr;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040095
96 rtc@68 {
97 compatible = "dallas,ds1374";
Kumar Gala32f960e2008-04-17 01:28:15 -050098 reg = <0x68>;
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +040099 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600100 };
101
102 i2c@3100 {
Anton Vorontsovc0e4eb22007-10-02 17:47:43 +0400103 #address-cells = <1>;
104 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600105 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600106 compatible = "fsl-i2c";
Kumar Gala32f960e2008-04-17 01:28:15 -0500107 reg = <0x3100 0x100>;
108 interrupts = <43 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600109 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600110 dfsrr;
111 };
112
113 mdio@24520 {
114 #address-cells = <1>;
115 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600116 compatible = "fsl,gianfar-mdio";
Kumar Gala32f960e2008-04-17 01:28:15 -0500117 reg = <0x24520 0x20>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600118
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400119 phy0: ethernet-phy@7 {
Kumar Gala52094872007-02-17 16:04:23 -0600120 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500121 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500122 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600123 device_type = "ethernet-phy";
124 };
Kumar Gala52094872007-02-17 16:04:23 -0600125 phy1: ethernet-phy@1 {
126 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500127 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500128 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600129 device_type = "ethernet-phy";
130 };
Kumar Gala52094872007-02-17 16:04:23 -0600131 phy2: ethernet-phy@2 {
132 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500133 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500134 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600135 device_type = "ethernet-phy";
136 };
Kumar Gala52094872007-02-17 16:04:23 -0600137 phy3: ethernet-phy@3 {
138 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500139 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500140 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600141 device_type = "ethernet-phy";
142 };
143 };
144
Kumar Galae77b28e2007-12-12 00:28:35 -0600145 enet0: ethernet@24000 {
146 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600147 device_type = "network";
148 model = "eTSEC";
149 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500150 reg = <0x24000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500151 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500152 interrupts = <29 2 30 2 34 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600153 interrupt-parent = <&mpic>;
154 phy-handle = <&phy2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600155 };
156
Kumar Galae77b28e2007-12-12 00:28:35 -0600157 enet1: ethernet@25000 {
158 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600159 device_type = "network";
160 model = "eTSEC";
161 compatible = "gianfar";
Kumar Gala32f960e2008-04-17 01:28:15 -0500162 reg = <0x25000 0x1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500163 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala32f960e2008-04-17 01:28:15 -0500164 interrupts = <35 2 36 2 40 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600165 interrupt-parent = <&mpic>;
166 phy-handle = <&phy3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600167 };
168
Kumar Galaea082fa2007-12-12 01:46:12 -0600169 serial0: serial@4500 {
170 cell-index = <0>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600171 device_type = "serial";
172 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500173 reg = <0x4500 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600174 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500175 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600176 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600177 };
178
Roy Zang10ce8c62007-07-13 17:35:33 +0800179 global-utilities@e0000 { //global utilities block
180 compatible = "fsl,mpc8548-guts";
Kumar Gala32f960e2008-04-17 01:28:15 -0500181 reg = <0xe0000 0x1000>;
Roy Zang10ce8c62007-07-13 17:35:33 +0800182 fsl,has-rstcr;
183 };
184
Kumar Galaea082fa2007-12-12 01:46:12 -0600185 serial1: serial@4600 {
186 cell-index = <1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600187 device_type = "serial";
188 compatible = "ns16550";
Kumar Gala32f960e2008-04-17 01:28:15 -0500189 reg = <0x4600 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600190 clock-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500191 interrupts = <42 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600192 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600193 };
194
195 crypto@30000 {
196 device_type = "crypto";
197 model = "SEC2";
198 compatible = "talitos";
Kumar Gala32f960e2008-04-17 01:28:15 -0500199 reg = <0x30000 0xf000>;
200 interrupts = <45 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600201 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600202 num-channels = <4>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500203 channel-fifo-len = <24>;
204 exec-units-mask = <0xfe>;
205 descriptor-types-mask = <0x12b0ebf>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600206 };
207
Kumar Gala52094872007-02-17 16:04:23 -0600208 mpic: pic@40000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600209 clock-frequency = <0>;
210 interrupt-controller;
211 #address-cells = <0>;
212 #interrupt-cells = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500213 reg = <0x40000 0x40000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600214 compatible = "chrp,open-pic";
215 device_type = "open-pic";
216 big-endian;
217 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500218
Andy Flemingc2882bb2007-02-09 17:28:31 -0600219 par_io@e0100 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500220 reg = <0xe0100 0x100>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600221 device_type = "par_io";
222 num-ports = <7>;
223
Kumar Gala52094872007-02-17 16:04:23 -0600224 pio1: ucc_pin@01 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600225 pio-map = <
226 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500227 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
228 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
229 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
230 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
231 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
232 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
233 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
234 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
235 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
236 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
237 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
238 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
239 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
240 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
241 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
242 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
243 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
244 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
245 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
246 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
247 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
248 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
249 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600250 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500251
Kumar Gala52094872007-02-17 16:04:23 -0600252 pio2: ucc_pin@02 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600253 pio-map = <
254 /* port pin dir open_drain assignment has_irq */
Kumar Gala32f960e2008-04-17 01:28:15 -0500255 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */
256 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */
257 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */
258 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */
259 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */
260 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */
261 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */
262 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */
263 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */
264 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */
265 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
266 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */
267 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */
268 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */
269 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */
270 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */
271 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */
272 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */
273 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */
274 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */
275 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */
276 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */
277 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */
278 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */
279 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */
Andy Flemingc2882bb2007-02-09 17:28:31 -0600280 };
281 };
282 };
283
284 qe@e0080000 {
285 #address-cells = <1>;
286 #size-cells = <1>;
287 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300288 compatible = "fsl,qe";
Kumar Gala32f960e2008-04-17 01:28:15 -0500289 ranges = <0x0 0xe0080000 0x40000>;
290 reg = <0xe0080000 0x480>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600291 brg-frequency = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500292 bus-frequency = <396000000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600293
294 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500295 #address-cells = <1>;
296 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300297 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Kumar Gala32f960e2008-04-17 01:28:15 -0500298 ranges = <0x0 0x10000 0xc000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600299
Paul Gortmaker390167e2008-01-28 02:27:51 -0500300 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300301 compatible = "fsl,qe-muram-data",
302 "fsl,cpm-muram-data";
Kumar Gala32f960e2008-04-17 01:28:15 -0500303 reg = <0x0 0xc000>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600304 };
305 };
306
307 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300308 cell-index = <0>;
309 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500310 reg = <0x4c0 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600311 interrupts = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600312 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600313 mode = "cpu";
314 };
315
316 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300317 cell-index = <1>;
318 compatible = "fsl,spi";
Kumar Gala32f960e2008-04-17 01:28:15 -0500319 reg = <0x500 0x40>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600320 interrupts = <1>;
Kumar Gala52094872007-02-17 16:04:23 -0600321 interrupt-parent = <&qeic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600322 mode = "cpu";
323 };
324
Kumar Galae77b28e2007-12-12 00:28:35 -0600325 enet2: ucc@2000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600326 device_type = "network";
327 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600328 cell-index = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500329 reg = <0x2000 0x200>;
330 interrupts = <32>;
Kumar Gala52094872007-02-17 16:04:23 -0600331 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500332 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600333 rx-clock-name = "none";
334 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600335 pio-handle = <&pio1>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400336 phy-handle = <&phy0>;
337 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600338 };
339
Kumar Galae77b28e2007-12-12 00:28:35 -0600340 enet3: ucc@3000 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600341 device_type = "network";
342 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600343 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500344 reg = <0x3000 0x200>;
345 interrupts = <33>;
Kumar Gala52094872007-02-17 16:04:23 -0600346 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500347 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600348 rx-clock-name = "none";
349 tx-clock-name = "clk16";
Kumar Gala52094872007-02-17 16:04:23 -0600350 pio-handle = <&pio2>;
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400351 phy-handle = <&phy1>;
352 phy-connection-type = "rgmii-id";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600353 };
354
355 mdio@2120 {
356 #address-cells = <1>;
357 #size-cells = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500358 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300359 compatible = "fsl,ucc-mdio";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600360
361 /* These are the same PHYs as on
362 * gianfar's MDIO bus */
Anton Vorontsovaf6521e2007-10-05 21:46:53 +0400363 qe_phy0: ethernet-phy@07 {
Kumar Gala52094872007-02-17 16:04:23 -0600364 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500365 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500366 reg = <0x7>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600367 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600368 };
Kumar Gala52094872007-02-17 16:04:23 -0600369 qe_phy1: ethernet-phy@01 {
370 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500371 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500372 reg = <0x1>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600373 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600374 };
Kumar Gala52094872007-02-17 16:04:23 -0600375 qe_phy2: ethernet-phy@02 {
376 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500377 interrupts = <1 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500378 reg = <0x2>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600379 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600380 };
Kumar Gala52094872007-02-17 16:04:23 -0600381 qe_phy3: ethernet-phy@03 {
382 interrupt-parent = <&mpic>;
Kumar Galab533f8a2007-07-03 02:35:35 -0500383 interrupts = <2 1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500384 reg = <0x3>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600385 device_type = "ethernet-phy";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600386 };
387 };
388
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300389 qeic: interrupt-controller@80 {
Andy Flemingc2882bb2007-02-09 17:28:31 -0600390 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300391 compatible = "fsl,qe-ic";
Andy Flemingc2882bb2007-02-09 17:28:31 -0600392 #address-cells = <0>;
393 #interrupt-cells = <1>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500394 reg = <0x80 0x80>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600395 big-endian;
Kumar Gala32f960e2008-04-17 01:28:15 -0500396 interrupts = <46 2 46 2>; //high:30 low:30
Kumar Gala52094872007-02-17 16:04:23 -0600397 interrupt-parent = <&mpic>;
Andy Flemingc2882bb2007-02-09 17:28:31 -0600398 };
399
400 };
Kumar Gala86a04d92007-10-02 09:51:32 -0500401
Kumar Galaea082fa2007-12-12 01:46:12 -0600402 pci0: pci@e0008000 {
403 cell-index = <0>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500404 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500405 interrupt-map = <
406 /* IDSEL 0x12 AD18 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500407 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1
408 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1
409 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1
410 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
Kumar Gala86a04d92007-10-02 09:51:32 -0500411
412 /* IDSEL 0x13 AD19 */
Kumar Gala32f960e2008-04-17 01:28:15 -0500413 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1
414 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1
415 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1
416 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500417
418 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500419 interrupts = <24 2>;
420 bus-range = <0 255>;
421 ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
422 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
423 clock-frequency = <66666666>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500424 #interrupt-cells = <1>;
425 #size-cells = <2>;
426 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500427 reg = <0xe0008000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500428 compatible = "fsl,mpc8540-pci";
429 device_type = "pci";
430 };
431
432 /* PCI Express */
Kumar Galaea082fa2007-12-12 01:46:12 -0600433 pci1: pcie@e000a000 {
434 cell-index = <2>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500435 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500436 interrupt-map = <
437
438 /* IDSEL 0x0 (PEX) */
Kumar Gala32f960e2008-04-17 01:28:15 -0500439 00000 0x0 0x0 0x1 &mpic 0x0 0x1
440 00000 0x0 0x0 0x2 &mpic 0x1 0x1
441 00000 0x0 0x0 0x3 &mpic 0x2 0x1
442 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500443
444 interrupt-parent = <&mpic>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500445 interrupts = <26 2>;
446 bus-range = <0 255>;
447 ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
448 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
449 clock-frequency = <33333333>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500450 #interrupt-cells = <1>;
451 #size-cells = <2>;
452 #address-cells = <3>;
Kumar Gala32f960e2008-04-17 01:28:15 -0500453 reg = <0xe000a000 0x1000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500454 compatible = "fsl,mpc8548-pcie";
455 device_type = "pci";
456 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -0500457 reg = <0x0 0x0 0x0 0x0 0x0>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500458 #size-cells = <2>;
459 #address-cells = <3>;
460 device_type = "pci";
Kumar Gala32f960e2008-04-17 01:28:15 -0500461 ranges = <0x2000000 0x0 0xa0000000
462 0x2000000 0x0 0xa0000000
463 0x0 0x10000000
Kumar Gala86a04d92007-10-02 09:51:32 -0500464
Kumar Gala32f960e2008-04-17 01:28:15 -0500465 0x1000000 0x0 0x0
466 0x1000000 0x0 0x0
467 0x0 0x800000>;
Kumar Gala86a04d92007-10-02 09:51:32 -0500468 };
469 };
Andy Flemingc2882bb2007-02-09 17:28:31 -0600470};