Commit | Line | Data |
---|---|---|
74c37e8c TT |
1 | /* |
2 | * MPC8349E-mITX Device Tree Source | |
3 | * | |
4 | * Copyright 2006 Freescale Semiconductor Inc. | |
5 | * | |
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 | */ | |
cda13dd1 PG |
11 | |
12 | /dts-v1/; | |
13 | ||
74c37e8c TT |
14 | / { |
15 | model = "MPC8349EMITX"; | |
d71a1dc6 | 16 | compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; |
74c37e8c TT |
17 | #address-cells = <1>; |
18 | #size-cells = <1>; | |
19 | ||
ea082fa9 KG |
20 | aliases { |
21 | ethernet0 = &enet0; | |
22 | ethernet1 = &enet1; | |
23 | serial0 = &serial0; | |
24 | serial1 = &serial1; | |
25 | pci0 = &pci0; | |
26 | pci1 = &pci1; | |
27 | }; | |
28 | ||
74c37e8c | 29 | cpus { |
74c37e8c TT |
30 | #address-cells = <1>; |
31 | #size-cells = <0>; | |
32 | ||
33 | PowerPC,8349@0 { | |
34 | device_type = "cpu"; | |
cda13dd1 PG |
35 | reg = <0x0>; |
36 | d-cache-line-size = <32>; | |
37 | i-cache-line-size = <32>; | |
38 | d-cache-size = <32768>; | |
39 | i-cache-size = <32768>; | |
74c37e8c TT |
40 | timebase-frequency = <0>; // from bootloader |
41 | bus-frequency = <0>; // from bootloader | |
42 | clock-frequency = <0>; // from bootloader | |
74c37e8c TT |
43 | }; |
44 | }; | |
45 | ||
46 | memory { | |
47 | device_type = "memory"; | |
cda13dd1 | 48 | reg = <0x00000000 0x10000000>; |
74c37e8c TT |
49 | }; |
50 | ||
51 | soc8349@e0000000 { | |
52 | #address-cells = <1>; | |
53 | #size-cells = <1>; | |
74c37e8c | 54 | device_type = "soc"; |
cf0d19fb | 55 | compatible = "simple-bus"; |
cda13dd1 PG |
56 | ranges = <0x0 0xe0000000 0x00100000>; |
57 | reg = <0xe0000000 0x00000200>; | |
74c37e8c TT |
58 | bus-frequency = <0>; // from bootloader |
59 | ||
60 | wdt@200 { | |
61 | device_type = "watchdog"; | |
62 | compatible = "mpc83xx_wdt"; | |
cda13dd1 | 63 | reg = <0x200 0x100>; |
74c37e8c TT |
64 | }; |
65 | ||
9174e498 DES |
66 | gpio1: gpio-controller@c00 { |
67 | #gpio-cells = <2>; | |
68 | compatible = "fsl,mpc8349-gpio"; | |
69 | reg = <0xc00 0x100>; | |
70 | interrupts = <74 0x8>; | |
71 | interrupt-parent = <&ipic>; | |
72 | gpio-controller; | |
73 | }; | |
74 | ||
75 | gpio2: gpio-controller@d00 { | |
76 | #gpio-cells = <2>; | |
77 | compatible = "fsl,mpc8349-gpio"; | |
78 | reg = <0xd00 0x100>; | |
79 | interrupts = <75 0x8>; | |
80 | interrupt-parent = <&ipic>; | |
81 | gpio-controller; | |
82 | }; | |
83 | ||
74c37e8c | 84 | i2c@3000 { |
ec9686c4 KG |
85 | #address-cells = <1>; |
86 | #size-cells = <0>; | |
87 | cell-index = <0>; | |
74c37e8c | 88 | compatible = "fsl-i2c"; |
cda13dd1 PG |
89 | reg = <0x3000 0x100>; |
90 | interrupts = <14 0x8>; | |
91 | interrupt-parent = <&ipic>; | |
74c37e8c | 92 | dfsrr; |
3320cf84 DES |
93 | |
94 | eeprom: at24@50 { | |
95 | compatible = "st-micro,24c256"; | |
96 | reg = <0x50>; | |
97 | }; | |
98 | ||
74c37e8c TT |
99 | }; |
100 | ||
101 | i2c@3100 { | |
ec9686c4 KG |
102 | #address-cells = <1>; |
103 | #size-cells = <0>; | |
104 | cell-index = <1>; | |
74c37e8c | 105 | compatible = "fsl-i2c"; |
cda13dd1 PG |
106 | reg = <0x3100 0x100>; |
107 | interrupts = <15 0x8>; | |
108 | interrupt-parent = <&ipic>; | |
74c37e8c | 109 | dfsrr; |
672e806e AV |
110 | |
111 | rtc@68 { | |
672e806e AV |
112 | compatible = "dallas,ds1339"; |
113 | reg = <0x68>; | |
114 | interrupts = <18 0x8>; | |
115 | interrupt-parent = <&ipic>; | |
116 | }; | |
dafdb613 | 117 | |
3320cf84 DES |
118 | pcf1: iexp@38 { |
119 | #gpio-cells = <2>; | |
120 | compatible = "ti,pcf8574a"; | |
121 | reg = <0x38>; | |
122 | gpio-controller; | |
123 | }; | |
124 | ||
125 | pcf2: iexp@39 { | |
126 | #gpio-cells = <2>; | |
127 | compatible = "ti,pcf8574a"; | |
128 | reg = <0x39>; | |
129 | gpio-controller; | |
130 | }; | |
131 | ||
132 | spd: at24@51 { | |
133 | compatible = "at24,spd"; | |
134 | reg = <0x51>; | |
135 | }; | |
136 | ||
dafdb613 AV |
137 | mcu_pio: mcu@a { |
138 | #gpio-cells = <2>; | |
139 | compatible = "fsl,mc9s08qg8-mpc8349emitx", | |
140 | "fsl,mcu-mpc8349emitx"; | |
141 | reg = <0x0a>; | |
142 | gpio-controller; | |
143 | }; | |
74c37e8c TT |
144 | }; |
145 | ||
146 | spi@7000 { | |
f3a2b29d AV |
147 | cell-index = <0>; |
148 | compatible = "fsl,spi"; | |
cda13dd1 PG |
149 | reg = <0x7000 0x1000>; |
150 | interrupts = <16 0x8>; | |
151 | interrupt-parent = <&ipic>; | |
33799e33 | 152 | mode = "cpu"; |
74c37e8c TT |
153 | }; |
154 | ||
dee80553 KG |
155 | dma@82a8 { |
156 | #address-cells = <1>; | |
157 | #size-cells = <1>; | |
158 | compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; | |
159 | reg = <0x82a8 4>; | |
160 | ranges = <0 0x8100 0x1a8>; | |
161 | interrupt-parent = <&ipic>; | |
162 | interrupts = <71 8>; | |
163 | cell-index = <0>; | |
164 | dma-channel@0 { | |
165 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; | |
166 | reg = <0 0x80>; | |
aeb42762 | 167 | cell-index = <0>; |
dee80553 KG |
168 | interrupt-parent = <&ipic>; |
169 | interrupts = <71 8>; | |
170 | }; | |
171 | dma-channel@80 { | |
172 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; | |
173 | reg = <0x80 0x80>; | |
aeb42762 | 174 | cell-index = <1>; |
dee80553 KG |
175 | interrupt-parent = <&ipic>; |
176 | interrupts = <71 8>; | |
177 | }; | |
178 | dma-channel@100 { | |
179 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; | |
180 | reg = <0x100 0x80>; | |
aeb42762 | 181 | cell-index = <2>; |
dee80553 KG |
182 | interrupt-parent = <&ipic>; |
183 | interrupts = <71 8>; | |
184 | }; | |
185 | dma-channel@180 { | |
186 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; | |
187 | reg = <0x180 0x28>; | |
aeb42762 | 188 | cell-index = <3>; |
dee80553 KG |
189 | interrupt-parent = <&ipic>; |
190 | interrupts = <71 8>; | |
191 | }; | |
192 | }; | |
193 | ||
74c37e8c | 194 | usb@22000 { |
74c37e8c | 195 | compatible = "fsl-usb2-mph"; |
cda13dd1 | 196 | reg = <0x22000 0x1000>; |
74c37e8c TT |
197 | #address-cells = <1>; |
198 | #size-cells = <0>; | |
cda13dd1 PG |
199 | interrupt-parent = <&ipic>; |
200 | interrupts = <39 0x8>; | |
74c37e8c | 201 | phy_type = "ulpi"; |
b7d66c88 | 202 | port0; |
74c37e8c TT |
203 | }; |
204 | ||
205 | usb@23000 { | |
74c37e8c | 206 | compatible = "fsl-usb2-dr"; |
cda13dd1 | 207 | reg = <0x23000 0x1000>; |
74c37e8c TT |
208 | #address-cells = <1>; |
209 | #size-cells = <0>; | |
cda13dd1 PG |
210 | interrupt-parent = <&ipic>; |
211 | interrupts = <38 0x8>; | |
f93c7c5a | 212 | dr_mode = "peripheral"; |
74c37e8c TT |
213 | phy_type = "ulpi"; |
214 | }; | |
215 | ||
e77b28eb | 216 | enet0: ethernet@24000 { |
70b3adbb AV |
217 | #address-cells = <1>; |
218 | #size-cells = <1>; | |
e77b28eb | 219 | cell-index = <0>; |
74c37e8c TT |
220 | device_type = "network"; |
221 | model = "TSEC"; | |
222 | compatible = "gianfar"; | |
cda13dd1 | 223 | reg = <0x24000 0x1000>; |
70b3adbb | 224 | ranges = <0x0 0x24000 0x1000>; |
74c37e8c | 225 | local-mac-address = [ 00 00 00 00 00 00 ]; |
cda13dd1 PG |
226 | interrupts = <32 0x8 33 0x8 34 0x8>; |
227 | interrupt-parent = <&ipic>; | |
b31a1d8b | 228 | tbi-handle = <&tbi0>; |
cda13dd1 | 229 | phy-handle = <&phy1c>; |
ad25a4cc | 230 | linux,network-index = <0>; |
70b3adbb AV |
231 | |
232 | mdio@520 { | |
233 | #address-cells = <1>; | |
234 | #size-cells = <0>; | |
235 | compatible = "fsl,gianfar-mdio"; | |
236 | reg = <0x520 0x20>; | |
237 | ||
238 | /* Vitesse 8201 */ | |
239 | phy1c: ethernet-phy@1c { | |
240 | interrupt-parent = <&ipic>; | |
241 | interrupts = <18 0x8>; | |
242 | reg = <0x1c>; | |
243 | device_type = "ethernet-phy"; | |
244 | }; | |
245 | ||
246 | tbi0: tbi-phy@11 { | |
247 | reg = <0x11>; | |
248 | device_type = "tbi-phy"; | |
249 | }; | |
250 | }; | |
74c37e8c TT |
251 | }; |
252 | ||
e77b28eb | 253 | enet1: ethernet@25000 { |
70b3adbb AV |
254 | #address-cells = <1>; |
255 | #size-cells = <1>; | |
e77b28eb | 256 | cell-index = <1>; |
74c37e8c TT |
257 | device_type = "network"; |
258 | model = "TSEC"; | |
259 | compatible = "gianfar"; | |
cda13dd1 | 260 | reg = <0x25000 0x1000>; |
70b3adbb | 261 | ranges = <0x0 0x25000 0x1000>; |
74c37e8c | 262 | local-mac-address = [ 00 00 00 00 00 00 ]; |
cda13dd1 PG |
263 | interrupts = <35 0x8 36 0x8 37 0x8>; |
264 | interrupt-parent = <&ipic>; | |
e3000765 | 265 | /* Vitesse 7385 isn't on the MDIO bus */ |
cda13dd1 | 266 | fixed-link = <1 1 1000 0 0>; |
ad25a4cc | 267 | linux,network-index = <1>; |
b31a1d8b | 268 | tbi-handle = <&tbi1>; |
70b3adbb AV |
269 | |
270 | mdio@520 { | |
271 | #address-cells = <1>; | |
272 | #size-cells = <0>; | |
273 | compatible = "fsl,gianfar-tbi"; | |
274 | reg = <0x520 0x20>; | |
275 | ||
276 | tbi1: tbi-phy@11 { | |
277 | reg = <0x11>; | |
278 | device_type = "tbi-phy"; | |
279 | }; | |
280 | }; | |
74c37e8c TT |
281 | }; |
282 | ||
ea082fa9 KG |
283 | serial0: serial@4500 { |
284 | cell-index = <0>; | |
74c37e8c TT |
285 | device_type = "serial"; |
286 | compatible = "ns16550"; | |
cda13dd1 | 287 | reg = <0x4500 0x100>; |
74c37e8c | 288 | clock-frequency = <0>; // from bootloader |
cda13dd1 PG |
289 | interrupts = <9 0x8>; |
290 | interrupt-parent = <&ipic>; | |
74c37e8c TT |
291 | }; |
292 | ||
ea082fa9 KG |
293 | serial1: serial@4600 { |
294 | cell-index = <1>; | |
74c37e8c TT |
295 | device_type = "serial"; |
296 | compatible = "ns16550"; | |
cda13dd1 | 297 | reg = <0x4600 0x100>; |
74c37e8c | 298 | clock-frequency = <0>; // from bootloader |
cda13dd1 PG |
299 | interrupts = <10 0x8>; |
300 | interrupt-parent = <&ipic>; | |
74c37e8c TT |
301 | }; |
302 | ||
74c37e8c | 303 | crypto@30000 { |
3fd44736 | 304 | compatible = "fsl,sec2.0"; |
cda13dd1 PG |
305 | reg = <0x30000 0x10000>; |
306 | interrupts = <11 0x8>; | |
307 | interrupt-parent = <&ipic>; | |
3fd44736 KP |
308 | fsl,num-channels = <4>; |
309 | fsl,channel-fifo-len = <24>; | |
310 | fsl,exec-units-mask = <0x7e>; | |
311 | fsl,descriptor-types-mask = <0x01010ebf>; | |
74c37e8c TT |
312 | }; |
313 | ||
d71a1dc6 | 314 | ipic: pic@700 { |
74c37e8c TT |
315 | interrupt-controller; |
316 | #address-cells = <0>; | |
317 | #interrupt-cells = <2>; | |
cda13dd1 | 318 | reg = <0x700 0x100>; |
74c37e8c TT |
319 | device_type = "ipic"; |
320 | }; | |
321 | }; | |
1b3c5cda | 322 | |
ea082fa9 | 323 | pci0: pci@e0008500 { |
cda13dd1 | 324 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
1b3c5cda KG |
325 | interrupt-map = < |
326 | /* IDSEL 0x10 - SATA */ | |
cda13dd1 | 327 | 0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */ |
1b3c5cda | 328 | >; |
cda13dd1 PG |
329 | interrupt-parent = <&ipic>; |
330 | interrupts = <66 0x8>; | |
331 | bus-range = <0x0 0x0>; | |
332 | ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 | |
333 | 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 | |
334 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>; | |
335 | clock-frequency = <66666666>; | |
1b3c5cda KG |
336 | #interrupt-cells = <1>; |
337 | #size-cells = <2>; | |
338 | #address-cells = <3>; | |
5b70a097 JR |
339 | reg = <0xe0008500 0x100 /* internal registers */ |
340 | 0xe0008300 0x8>; /* config space access registers */ | |
1b3c5cda KG |
341 | compatible = "fsl,mpc8349-pci"; |
342 | device_type = "pci"; | |
343 | }; | |
344 | ||
ea082fa9 | 345 | pci1: pci@e0008600 { |
cda13dd1 | 346 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
1b3c5cda KG |
347 | interrupt-map = < |
348 | /* IDSEL 0x0E - MiniPCI Slot */ | |
cda13dd1 | 349 | 0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */ |
1b3c5cda KG |
350 | |
351 | /* IDSEL 0x0F - PCI Slot */ | |
cda13dd1 PG |
352 | 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ |
353 | 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ | |
354 | >; | |
355 | interrupt-parent = <&ipic>; | |
356 | interrupts = <67 0x8>; | |
357 | bus-range = <0x0 0x0>; | |
358 | ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 | |
359 | 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 | |
360 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; | |
361 | clock-frequency = <66666666>; | |
1b3c5cda KG |
362 | #interrupt-cells = <1>; |
363 | #size-cells = <2>; | |
364 | #address-cells = <3>; | |
5b70a097 JR |
365 | reg = <0xe0008600 0x100 /* internal registers */ |
366 | 0xe0008380 0x8>; /* config space access registers */ | |
1b3c5cda KG |
367 | compatible = "fsl,mpc8349-pci"; |
368 | device_type = "pci"; | |
369 | }; | |
370 | ||
9b6d19dd AV |
371 | localbus@e0005000 { |
372 | #address-cells = <2>; | |
373 | #size-cells = <1>; | |
374 | compatible = "fsl,mpc8349e-localbus", | |
375 | "fsl,pq2pro-localbus"; | |
cda13dd1 | 376 | reg = <0xe0005000 0xd8>; |
1d88fd11 DES |
377 | ranges = <0x0 0x0 0xfe000000 0x1000000 /* flash */ |
378 | 0x1 0x0 0xf8000000 0x20000 /* VSC 7385 */ | |
379 | 0x2 0x0 0xf9000000 0x200000 /* exp slot */ | |
380 | 0x3 0x0 0xf0000000 0x210>; /* CF slot */ | |
381 | ||
382 | flash@0,0 { | |
383 | compatible = "cfi-flash"; | |
384 | reg = <0x0 0x0 0x800000>; | |
385 | bank-width = <2>; | |
386 | device-width = <1>; | |
387 | }; | |
388 | ||
389 | flash@0,800000 { | |
390 | #address-cells = <1>; | |
391 | #size-cells = <1>; | |
392 | compatible = "cfi-flash"; | |
393 | reg = <0x0 0x800000 0x800000>; | |
394 | bank-width = <2>; | |
395 | device-width = <1>; | |
396 | }; | |
1b3c5cda | 397 | |
9b6d19dd AV |
398 | pata@3,0 { |
399 | compatible = "fsl,mpc8349emitx-pata", "ata-generic"; | |
cda13dd1 | 400 | reg = <0x3 0x0 0x10 0x3 0x20c 0x4>; |
9b6d19dd AV |
401 | reg-shift = <1>; |
402 | pio-mode = <6>; | |
cda13dd1 | 403 | interrupts = <23 0x8>; |
9b6d19dd AV |
404 | interrupt-parent = <&ipic>; |
405 | }; | |
406 | }; | |
74c37e8c | 407 | }; |