blob: f4ca12ec57f18974cb6b96fbd6de9fe234d015b5 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001// SPDX-License-Identifier: GPL-2.0-or-later
Li Yang7a234d02006-10-02 20:10:10 -05002/*
3 * MPC8360E EMDS Device Tree Source
4 *
5 * Copyright 2006 Freescale Semiconductor Inc.
Li Yang7a234d02006-10-02 20:10:10 -05006 */
7
8
9/*
10/memreserve/ 00000000 1000000;
11*/
12
Paul Gortmakercda13dd2008-01-28 16:09:36 -050013/dts-v1/;
14
Li Yang7a234d02006-10-02 20:10:10 -050015/ {
Kumar Galad71a1dc62007-02-16 09:57:22 -060016 model = "MPC8360MDS";
17 compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
Li Yang7a234d02006-10-02 20:10:10 -050018 #address-cells = <1>;
19 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050020
Kumar Galaea082fa2007-12-12 01:46:12 -060021 aliases {
22 ethernet0 = &enet0;
23 ethernet1 = &enet1;
24 serial0 = &serial0;
25 serial1 = &serial1;
26 pci0 = &pci0;
27 };
28
Li Yang7a234d02006-10-02 20:10:10 -050029 cpus {
Li Yang7a234d02006-10-02 20:10:10 -050030 #address-cells = <1>;
31 #size-cells = <0>;
Li Yang7a234d02006-10-02 20:10:10 -050032
33 PowerPC,8360@0 {
34 device_type = "cpu";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050035 reg = <0x0>;
36 d-cache-line-size = <32>; // 32 bytes
37 i-cache-line-size = <32>; // 32 bytes
38 d-cache-size = <32768>; // L1, 32K
39 i-cache-size = <32768>; // L1, 32K
40 timebase-frequency = <66000000>;
41 bus-frequency = <264000000>;
42 clock-frequency = <528000000>;
Li Yang7a234d02006-10-02 20:10:10 -050043 };
44 };
45
46 memory {
47 device_type = "memory";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050048 reg = <0x00000000 0x10000000>;
Li Yang7a234d02006-10-02 20:10:10 -050049 };
50
Anton Vorontsov307db952008-08-14 21:13:42 +040051 localbus@e0005000 {
52 #address-cells = <2>;
53 #size-cells = <1>;
54 compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
55 "simple-bus";
56 reg = <0xe0005000 0xd8>;
57 ranges = <0 0 0xfe000000 0x02000000
58 1 0 0xf8000000 0x00008000>;
59
60 flash@0,0 {
61 compatible = "cfi-flash";
62 reg = <0 0 0x2000000>;
63 bank-width = <2>;
64 device-width = <1>;
65 };
66
67 bcsr@1,0 {
Anton Vorontsovc9c5e522008-12-18 19:37:31 +030068 #address-cells = <1>;
69 #size-cells = <1>;
Anton Vorontsovfd657ef2008-10-18 04:23:52 +040070 compatible = "fsl,mpc8360mds-bcsr";
Anton Vorontsov307db952008-08-14 21:13:42 +040071 reg = <1 0 0x8000>;
Anton Vorontsovc9c5e522008-12-18 19:37:31 +030072 ranges = <0 1 0 0x8000>;
73
74 bcsr13: gpio-controller@d {
75 #gpio-cells = <2>;
76 compatible = "fsl,mpc8360mds-bcsr-gpio";
77 reg = <0xd 1>;
78 gpio-controller;
79 };
Anton Vorontsov307db952008-08-14 21:13:42 +040080 };
Li Yang7a234d02006-10-02 20:10:10 -050081 };
82
83 soc8360@e0000000 {
84 #address-cells = <1>;
85 #size-cells = <1>;
Li Yang7a234d02006-10-02 20:10:10 -050086 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050087 compatible = "simple-bus";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050088 ranges = <0x0 0xe0000000 0x00100000>;
89 reg = <0xe0000000 0x00000200>;
90 bus-frequency = <264000000>;
Li Yang7a234d02006-10-02 20:10:10 -050091
92 wdt@200 {
93 device_type = "watchdog";
94 compatible = "mpc83xx_wdt";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050095 reg = <0x200 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -050096 };
97
Anton Vorontsov1f8a25d2009-09-16 01:44:02 +040098 pmc: power@b00 {
99 compatible = "fsl,mpc8360-pmc", "fsl,mpc8349-pmc";
100 reg = <0xb00 0x100 0xa00 0x100>;
101 interrupts = <80 0x8>;
102 interrupt-parent = <&ipic>;
103 };
104
Li Yang7a234d02006-10-02 20:10:10 -0500105 i2c@3000 {
Kim Phillips27f498072007-11-08 13:37:06 -0600106 #address-cells = <1>;
107 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600108 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -0500109 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500110 reg = <0x3000 0x100>;
111 interrupts = <14 0x8>;
112 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500113 dfsrr;
Kim Phillips27f498072007-11-08 13:37:06 -0600114
115 rtc@68 {
116 compatible = "dallas,ds1374";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500117 reg = <0x68>;
Kim Phillips27f498072007-11-08 13:37:06 -0600118 };
Li Yang7a234d02006-10-02 20:10:10 -0500119 };
120
121 i2c@3100 {
Kim Phillips27f498072007-11-08 13:37:06 -0600122 #address-cells = <1>;
123 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -0600124 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500125 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500126 reg = <0x3100 0x100>;
127 interrupts = <15 0x8>;
128 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500129 dfsrr;
130 };
131
Kumar Galaea082fa2007-12-12 01:46:12 -0600132 serial0: serial@4500 {
133 cell-index = <0>;
Li Yang7a234d02006-10-02 20:10:10 -0500134 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600135 compatible = "fsl,ns16550", "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500136 reg = <0x4500 0x100>;
137 clock-frequency = <264000000>;
138 interrupts = <9 0x8>;
139 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500140 };
141
Kumar Galaea082fa2007-12-12 01:46:12 -0600142 serial1: serial@4600 {
143 cell-index = <1>;
Li Yang7a234d02006-10-02 20:10:10 -0500144 device_type = "serial";
Kumar Galaf706bed2011-11-28 13:58:53 -0600145 compatible = "fsl,ns16550", "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500146 reg = <0x4600 0x100>;
147 clock-frequency = <264000000>;
148 interrupts = <10 0x8>;
149 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500150 };
151
Kumar Galadee80552008-06-27 13:45:19 -0500152 dma@82a8 {
153 #address-cells = <1>;
154 #size-cells = <1>;
155 compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
156 reg = <0x82a8 4>;
157 ranges = <0 0x8100 0x1a8>;
158 interrupt-parent = <&ipic>;
159 interrupts = <71 8>;
160 cell-index = <0>;
161 dma-channel@0 {
162 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
163 reg = <0 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500164 cell-index = <0>;
Kumar Galadee80552008-06-27 13:45:19 -0500165 interrupt-parent = <&ipic>;
166 interrupts = <71 8>;
167 };
168 dma-channel@80 {
169 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
170 reg = <0x80 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500171 cell-index = <1>;
Kumar Galadee80552008-06-27 13:45:19 -0500172 interrupt-parent = <&ipic>;
173 interrupts = <71 8>;
174 };
175 dma-channel@100 {
176 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
177 reg = <0x100 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500178 cell-index = <2>;
Kumar Galadee80552008-06-27 13:45:19 -0500179 interrupt-parent = <&ipic>;
180 interrupts = <71 8>;
181 };
182 dma-channel@180 {
183 compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
184 reg = <0x180 0x28>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500185 cell-index = <3>;
Kumar Galadee80552008-06-27 13:45:19 -0500186 interrupt-parent = <&ipic>;
187 interrupts = <71 8>;
188 };
189 };
190
Li Yang7a234d02006-10-02 20:10:10 -0500191 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500192 compatible = "fsl,sec2.0";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500193 reg = <0x30000 0x10000>;
194 interrupts = <11 0x8>;
195 interrupt-parent = <&ipic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500196 fsl,num-channels = <4>;
197 fsl,channel-fifo-len = <24>;
198 fsl,exec-units-mask = <0x7e>;
199 fsl,descriptor-types-mask = <0x01010ebf>;
Anton Vorontsov1f8a25d2009-09-16 01:44:02 +0400200 sleep = <&pmc 0x03000000>;
Li Yang7a234d02006-10-02 20:10:10 -0500201 };
202
Kumar Galad71a1dc62007-02-16 09:57:22 -0600203 ipic: pic@700 {
Li Yang7a234d02006-10-02 20:10:10 -0500204 interrupt-controller;
205 #address-cells = <0>;
206 #interrupt-cells = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500207 reg = <0x700 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -0500208 device_type = "ipic";
209 };
210
211 par_io@1400 {
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300212 #address-cells = <1>;
213 #size-cells = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500214 reg = <0x1400 0x100>;
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300215 ranges = <0 0x1400 0x100>;
Li Yang7a234d02006-10-02 20:10:10 -0500216 device_type = "par_io";
217 num-ports = <7>;
218
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300219 qe_pio_b: gpio-controller@18 {
220 #gpio-cells = <2>;
221 compatible = "fsl,mpc8360-qe-pario-bank",
222 "fsl,mpc8323-qe-pario-bank";
223 reg = <0x18 0x18>;
224 gpio-controller;
225 };
226
Mathieu Malaterre600ecc12017-12-14 17:54:00 +0100227 pio1: ucc_pin@1 {
Li Yang7a234d02006-10-02 20:10:10 -0500228 pio-map = <
229 /* port pin dir open_drain assignment has_irq */
230 0 3 1 0 1 0 /* TxD0 */
231 0 4 1 0 1 0 /* TxD1 */
232 0 5 1 0 1 0 /* TxD2 */
233 0 6 1 0 1 0 /* TxD3 */
234 1 6 1 0 3 0 /* TxD4 */
235 1 7 1 0 1 0 /* TxD5 */
236 1 9 1 0 2 0 /* TxD6 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500237 1 10 1 0 2 0 /* TxD7 */
Li Yang7a234d02006-10-02 20:10:10 -0500238 0 9 2 0 1 0 /* RxD0 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500239 0 10 2 0 1 0 /* RxD1 */
240 0 11 2 0 1 0 /* RxD2 */
241 0 12 2 0 1 0 /* RxD3 */
242 0 13 2 0 1 0 /* RxD4 */
Li Yang7a234d02006-10-02 20:10:10 -0500243 1 1 2 0 2 0 /* RxD5 */
244 1 0 2 0 2 0 /* RxD6 */
245 1 4 2 0 2 0 /* RxD7 */
246 0 7 1 0 1 0 /* TX_EN */
247 0 8 1 0 1 0 /* TX_ER */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500248 0 15 2 0 1 0 /* RX_DV */
249 0 16 2 0 1 0 /* RX_ER */
Li Yang7a234d02006-10-02 20:10:10 -0500250 0 0 2 0 1 0 /* RX_CLK */
251 2 9 1 0 3 0 /* GTX_CLK - CLK10 */
252 2 8 2 0 1 0>; /* GTX125 - CLK9 */
253 };
Mathieu Malaterre600ecc12017-12-14 17:54:00 +0100254 pio2: ucc_pin@2 {
Li Yang7a234d02006-10-02 20:10:10 -0500255 pio-map = <
256 /* port pin dir open_drain assignment has_irq */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500257 0 17 1 0 1 0 /* TxD0 */
258 0 18 1 0 1 0 /* TxD1 */
259 0 19 1 0 1 0 /* TxD2 */
260 0 20 1 0 1 0 /* TxD3 */
Li Yang7a234d02006-10-02 20:10:10 -0500261 1 2 1 0 1 0 /* TxD4 */
262 1 3 1 0 2 0 /* TxD5 */
263 1 5 1 0 3 0 /* TxD6 */
264 1 8 1 0 3 0 /* TxD7 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500265 0 23 2 0 1 0 /* RxD0 */
266 0 24 2 0 1 0 /* RxD1 */
267 0 25 2 0 1 0 /* RxD2 */
268 0 26 2 0 1 0 /* RxD3 */
269 0 27 2 0 1 0 /* RxD4 */
270 1 12 2 0 2 0 /* RxD5 */
271 1 13 2 0 3 0 /* RxD6 */
272 1 11 2 0 2 0 /* RxD7 */
273 0 21 1 0 1 0 /* TX_EN */
274 0 22 1 0 1 0 /* TX_ER */
275 0 29 2 0 1 0 /* RX_DV */
276 0 30 2 0 1 0 /* RX_ER */
277 0 31 2 0 1 0 /* RX_CLK */
Li Yang7a234d02006-10-02 20:10:10 -0500278 2 2 1 0 2 0 /* GTX_CLK - CLK10 */
279 2 3 2 0 1 0 /* GTX125 - CLK4 */
280 0 1 3 0 2 0 /* MDIO */
281 0 2 1 0 1 0>; /* MDC */
282 };
283
284 };
285 };
286
287 qe@e0100000 {
288 #address-cells = <1>;
289 #size-cells = <1>;
290 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300291 compatible = "fsl,qe";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500292 ranges = <0x0 0xe0100000 0x00100000>;
293 reg = <0xe0100000 0x480>;
Li Yang7a234d02006-10-02 20:10:10 -0500294 brg-frequency = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500295 bus-frequency = <396000000>;
Haiying Wang01b14a92009-05-01 15:40:51 -0400296 fsl,qe-num-riscs = <2>;
297 fsl,qe-num-snums = <28>;
Li Yang7a234d02006-10-02 20:10:10 -0500298
299 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500300 #address-cells = <1>;
301 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300302 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500303 ranges = <0x0 0x00010000 0x0000c000>;
Li Yang7a234d02006-10-02 20:10:10 -0500304
Paul Gortmaker390167e2008-01-28 02:27:51 -0500305 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300306 compatible = "fsl,qe-muram-data",
307 "fsl,cpm-muram-data";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500308 reg = <0x0 0xc000>;
Li Yang7a234d02006-10-02 20:10:10 -0500309 };
310 };
311
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300312 timer@440 {
313 compatible = "fsl,mpc8360-qe-gtm",
314 "fsl,qe-gtm", "fsl,gtm";
315 reg = <0x440 0x40>;
316 clock-frequency = <132000000>;
317 interrupts = <12 13 14 15>;
318 interrupt-parent = <&qeic>;
319 };
320
Li Yang7a234d02006-10-02 20:10:10 -0500321 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300322 cell-index = <0>;
323 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500324 reg = <0x4c0 0x40>;
Li Yang7a234d02006-10-02 20:10:10 -0500325 interrupts = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500326 interrupt-parent = <&qeic>;
Li Yang7a234d02006-10-02 20:10:10 -0500327 mode = "cpu";
328 };
329
330 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300331 cell-index = <1>;
332 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500333 reg = <0x500 0x40>;
Li Yang7a234d02006-10-02 20:10:10 -0500334 interrupts = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500335 interrupt-parent = <&qeic>;
Li Yang7a234d02006-10-02 20:10:10 -0500336 mode = "cpu";
337 };
338
339 usb@6c0 {
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300340 compatible = "fsl,mpc8360-qe-usb",
341 "fsl,mpc8323-qe-usb";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500342 reg = <0x6c0 0x40 0x8b00 0x100>;
343 interrupts = <11>;
344 interrupt-parent = <&qeic>;
Anton Vorontsovc9c5e522008-12-18 19:37:31 +0300345 fsl,fullspeed-clock = "clk21";
346 fsl,lowspeed-clock = "brg9";
347 gpios = <&qe_pio_b 2 0 /* USBOE */
348 &qe_pio_b 3 0 /* USBTP */
349 &qe_pio_b 8 0 /* USBTN */
350 &qe_pio_b 9 0 /* USBRP */
351 &qe_pio_b 11 0 /* USBRN */
352 &bcsr13 5 0 /* SPEED */
353 &bcsr13 4 1>; /* POWER */
Li Yang7a234d02006-10-02 20:10:10 -0500354 };
355
Kumar Galae77b28e2007-12-12 00:28:35 -0600356 enet0: ucc@2000 {
Li Yang7a234d02006-10-02 20:10:10 -0500357 device_type = "network";
358 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600359 cell-index = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500360 reg = <0x2000 0x200>;
361 interrupts = <32>;
362 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500363 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600364 rx-clock-name = "none";
365 tx-clock-name = "clk9";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500366 phy-handle = <&phy0>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000367 phy-connection-type = "rgmii-id";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500368 pio-handle = <&pio1>;
Li Yang7a234d02006-10-02 20:10:10 -0500369 };
370
Kumar Galae77b28e2007-12-12 00:28:35 -0600371 enet1: ucc@3000 {
Li Yang7a234d02006-10-02 20:10:10 -0500372 device_type = "network";
373 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600374 cell-index = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500375 reg = <0x3000 0x200>;
376 interrupts = <33>;
377 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500378 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600379 rx-clock-name = "none";
380 tx-clock-name = "clk4";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500381 phy-handle = <&phy1>;
Kim Phillips0fd8c472007-04-24 07:26:14 +1000382 phy-connection-type = "rgmii-id";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500383 pio-handle = <&pio2>;
Li Yang7a234d02006-10-02 20:10:10 -0500384 };
385
386 mdio@2120 {
387 #address-cells = <1>;
388 #size-cells = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500389 reg = <0x2120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300390 compatible = "fsl,ucc-mdio";
Li Yang7a234d02006-10-02 20:10:10 -0500391
Mathieu Malaterre600ecc12017-12-14 17:54:00 +0100392 phy0: ethernet-phy@0 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500393 interrupt-parent = <&ipic>;
394 interrupts = <17 0x8>;
395 reg = <0x0>;
Li Yang7a234d02006-10-02 20:10:10 -0500396 };
Mathieu Malaterre600ecc12017-12-14 17:54:00 +0100397 phy1: ethernet-phy@1 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500398 interrupt-parent = <&ipic>;
399 interrupts = <18 0x8>;
400 reg = <0x1>;
Li Yang7a234d02006-10-02 20:10:10 -0500401 };
Paul Gortmaker1ee4af82012-02-27 07:25:01 -0500402 tbi-phy@2 {
403 device_type = "tbi-phy";
404 reg = <0x2>;
405 };
Li Yang7a234d02006-10-02 20:10:10 -0500406 };
407
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300408 qeic: interrupt-controller@80 {
Li Yang7a234d02006-10-02 20:10:10 -0500409 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300410 compatible = "fsl,qe-ic";
Li Yang7a234d02006-10-02 20:10:10 -0500411 #address-cells = <0>;
412 #interrupt-cells = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500413 reg = <0x80 0x80>;
Li Yang7a234d02006-10-02 20:10:10 -0500414 big-endian;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500415 interrupts = <32 0x8 33 0x8>; // high:32 low:33
416 interrupt-parent = <&ipic>;
Li Yang7a234d02006-10-02 20:10:10 -0500417 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500418 };
Li Yang7a234d02006-10-02 20:10:10 -0500419
Kumar Galaea082fa2007-12-12 01:46:12 -0600420 pci0: pci@e0008500 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500421 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500422 interrupt-map = <
423
424 /* IDSEL 0x11 AD17 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500425 0x8800 0x0 0x0 0x1 &ipic 20 0x8
426 0x8800 0x0 0x0 0x2 &ipic 21 0x8
427 0x8800 0x0 0x0 0x3 &ipic 22 0x8
428 0x8800 0x0 0x0 0x4 &ipic 23 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500429
430 /* IDSEL 0x12 AD18 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500431 0x9000 0x0 0x0 0x1 &ipic 22 0x8
432 0x9000 0x0 0x0 0x2 &ipic 23 0x8
433 0x9000 0x0 0x0 0x3 &ipic 20 0x8
434 0x9000 0x0 0x0 0x4 &ipic 21 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500435
436 /* IDSEL 0x13 AD19 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500437 0x9800 0x0 0x0 0x1 &ipic 23 0x8
438 0x9800 0x0 0x0 0x2 &ipic 20 0x8
439 0x9800 0x0 0x0 0x3 &ipic 21 0x8
440 0x9800 0x0 0x0 0x4 &ipic 22 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500441
442 /* IDSEL 0x15 AD21*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500443 0xa800 0x0 0x0 0x1 &ipic 20 0x8
444 0xa800 0x0 0x0 0x2 &ipic 21 0x8
445 0xa800 0x0 0x0 0x3 &ipic 22 0x8
446 0xa800 0x0 0x0 0x4 &ipic 23 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500447
448 /* IDSEL 0x16 AD22*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500449 0xb000 0x0 0x0 0x1 &ipic 23 0x8
450 0xb000 0x0 0x0 0x2 &ipic 20 0x8
451 0xb000 0x0 0x0 0x3 &ipic 21 0x8
452 0xb000 0x0 0x0 0x4 &ipic 22 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500453
454 /* IDSEL 0x17 AD23*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500455 0xb800 0x0 0x0 0x1 &ipic 22 0x8
456 0xb800 0x0 0x0 0x2 &ipic 23 0x8
457 0xb800 0x0 0x0 0x3 &ipic 20 0x8
458 0xb800 0x0 0x0 0x4 &ipic 21 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500459
460 /* IDSEL 0x18 AD24*/
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500461 0xc000 0x0 0x0 0x1 &ipic 21 0x8
462 0xc000 0x0 0x0 0x2 &ipic 22 0x8
463 0xc000 0x0 0x0 0x3 &ipic 23 0x8
464 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
465 interrupt-parent = <&ipic>;
466 interrupts = <66 0x8>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500467 bus-range = <0 0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500468 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
469 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
470 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
471 clock-frequency = <66666666>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500472 #interrupt-cells = <1>;
473 #size-cells = <2>;
474 #address-cells = <3>;
John Rigby5b70a092008-10-07 13:00:18 -0600475 reg = <0xe0008500 0x100 /* internal registers */
476 0xe0008300 0x8>; /* config space access registers */
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500477 compatible = "fsl,mpc8349-pci";
478 device_type = "pci";
Anton Vorontsov1f8a25d2009-09-16 01:44:02 +0400479 sleep = <&pmc 0x00010000>;
Li Yang7a234d02006-10-02 20:10:10 -0500480 };
481};