diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-14 21:55:27 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-14 21:55:27 -0400 |
commit | 5b0504c0d795d6b0a904ff861c043d7a231f67a4 (patch) | |
tree | c988e8b614c55d0dae2be4b750a03eb0a4f4d355 /arch/powerpc/boot | |
parent | 930074b6b9c4895d20cdadba5aff97907e28728d (diff) | |
parent | 77a76369475801ab8cbb338b9d8cfa92a491badb (diff) |
Merge commit 'gcl/gcl-next'
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/mpc5121ads.dts | 310 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/tqm5200.dts | 14 |
2 files changed, 313 insertions, 11 deletions
diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts b/arch/powerpc/boot/dts/mpc5121ads.dts index 94ad7b2b241e..1f9036c317b4 100644 --- a/arch/powerpc/boot/dts/mpc5121ads.dts +++ b/arch/powerpc/boot/dts/mpc5121ads.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * MPC5121E MDS Device Tree Source | 2 | * MPC5121E ADS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2007 Freescale Semiconductor Inc. | 4 | * Copyright 2007,2008 Freescale Semiconductor Inc. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 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 | 7 | * under the terms of the GNU General Public License as published by the |
@@ -17,6 +17,10 @@ | |||
17 | #address-cells = <1>; | 17 | #address-cells = <1>; |
18 | #size-cells = <1>; | 18 | #size-cells = <1>; |
19 | 19 | ||
20 | aliases { | ||
21 | pci = &pci; | ||
22 | }; | ||
23 | |||
20 | cpus { | 24 | cpus { |
21 | #address-cells = <1>; | 25 | #address-cells = <1>; |
22 | #size-cells = <0>; | 26 | #size-cells = <0>; |
@@ -39,8 +43,41 @@ | |||
39 | reg = <0x00000000 0x10000000>; // 256MB at 0 | 43 | reg = <0x00000000 0x10000000>; // 256MB at 0 |
40 | }; | 44 | }; |
41 | 45 | ||
46 | mbx@20000000 { | ||
47 | compatible = "fsl,mpc5121-mbx"; | ||
48 | reg = <0x20000000 0x4000>; | ||
49 | interrupts = <66 0x8>; | ||
50 | interrupt-parent = < &ipic >; | ||
51 | }; | ||
52 | |||
53 | sram@30000000 { | ||
54 | compatible = "fsl,mpc5121-sram"; | ||
55 | reg = <0x30000000 0x20000>; // 128K at 0x30000000 | ||
56 | }; | ||
57 | |||
58 | nfc@40000000 { | ||
59 | compatible = "fsl,mpc5121-nfc"; | ||
60 | reg = <0x40000000 0x100000>; // 1M at 0x40000000 | ||
61 | interrupts = <6 8>; | ||
62 | interrupt-parent = < &ipic >; | ||
63 | #address-cells = <1>; | ||
64 | #size-cells = <1>; | ||
65 | bank-width = <1>; | ||
66 | // ADS has two Hynix 512MB Nand flash chips in a single | ||
67 | // stacked package . | ||
68 | chips = <2>; | ||
69 | nand0@0 { | ||
70 | label = "nand0"; | ||
71 | reg = <0x00000000 0x02000000>; // first 32 MB of chip 0 | ||
72 | }; | ||
73 | nand1@20000000 { | ||
74 | label = "nand1"; | ||
75 | reg = <0x20000000 0x02000000>; // first 32 MB of chip 1 | ||
76 | }; | ||
77 | }; | ||
78 | |||
42 | localbus@80000020 { | 79 | localbus@80000020 { |
43 | compatible = "fsl,mpc5121ads-localbus"; | 80 | compatible = "fsl,mpc5121-localbus"; |
44 | #address-cells = <2>; | 81 | #address-cells = <2>; |
45 | #size-cells = <1>; | 82 | #size-cells = <1>; |
46 | reg = <0x80000020 0x40>; | 83 | reg = <0x80000020 0x40>; |
@@ -51,14 +88,51 @@ | |||
51 | flash@0,0 { | 88 | flash@0,0 { |
52 | compatible = "cfi-flash"; | 89 | compatible = "cfi-flash"; |
53 | reg = <0 0x0 0x4000000>; | 90 | reg = <0 0x0 0x4000000>; |
91 | #address-cells = <1>; | ||
92 | #size-cells = <1>; | ||
54 | bank-width = <4>; | 93 | bank-width = <4>; |
55 | device-width = <1>; | 94 | device-width = <2>; |
95 | protected@0 { | ||
96 | label = "protected"; | ||
97 | reg = <0x00000000 0x00040000>; // first sector is protected | ||
98 | read-only; | ||
99 | }; | ||
100 | filesystem@40000 { | ||
101 | label = "filesystem"; | ||
102 | reg = <0x00040000 0x03c00000>; // 60M for filesystem | ||
103 | }; | ||
104 | kernel@3c40000 { | ||
105 | label = "kernel"; | ||
106 | reg = <0x03c40000 0x00280000>; // 2.5M for kernel | ||
107 | }; | ||
108 | device-tree@3ec0000 { | ||
109 | label = "device-tree"; | ||
110 | reg = <0x03ec0000 0x00040000>; // one sector for device tree | ||
111 | }; | ||
112 | u-boot@3f00000 { | ||
113 | label = "u-boot"; | ||
114 | reg = <0x03f00000 0x00100000>; // 1M for u-boot | ||
115 | read-only; | ||
116 | }; | ||
56 | }; | 117 | }; |
57 | 118 | ||
58 | board-control@2,0 { | 119 | board-control@2,0 { |
59 | compatible = "fsl,mpc5121ads-cpld"; | 120 | compatible = "fsl,mpc5121ads-cpld"; |
60 | reg = <0x2 0x0 0x8000>; | 121 | reg = <0x2 0x0 0x8000>; |
61 | }; | 122 | }; |
123 | |||
124 | cpld_pic: pic@2,a { | ||
125 | compatible = "fsl,mpc5121ads-cpld-pic"; | ||
126 | interrupt-controller; | ||
127 | #interrupt-cells = <2>; | ||
128 | reg = <0x2 0xa 0x5>; | ||
129 | interrupt-parent = < &ipic >; | ||
130 | // irq routing | ||
131 | // all irqs but touch screen are routed to irq0 (ipic 48) | ||
132 | // touch screen is statically routed to irq1 (ipic 17) | ||
133 | // so don't use it here | ||
134 | interrupts = <48 0x8>; | ||
135 | }; | ||
62 | }; | 136 | }; |
63 | 137 | ||
64 | soc@80000000 { | 138 | soc@80000000 { |
@@ -85,38 +159,252 @@ | |||
85 | reg = <0xc00 0x100>; | 159 | reg = <0xc00 0x100>; |
86 | }; | 160 | }; |
87 | 161 | ||
88 | // 512x PSCs are not 52xx PSCs compatible | 162 | rtc@a00 { // Real time clock |
163 | compatible = "fsl,mpc5121-rtc"; | ||
164 | reg = <0xa00 0x100>; | ||
165 | interrupts = <79 0x8 80 0x8>; | ||
166 | interrupt-parent = < &ipic >; | ||
167 | }; | ||
168 | |||
169 | clock@f00 { // Clock control | ||
170 | compatible = "fsl,mpc5121-clock"; | ||
171 | reg = <0xf00 0x100>; | ||
172 | }; | ||
173 | |||
174 | pmc@1000{ //Power Management Controller | ||
175 | compatible = "fsl,mpc5121-pmc"; | ||
176 | reg = <0x1000 0x100>; | ||
177 | interrupts = <83 0x2>; | ||
178 | interrupt-parent = < &ipic >; | ||
179 | }; | ||
180 | |||
181 | gpio@1100 { | ||
182 | compatible = "fsl,mpc5121-gpio"; | ||
183 | reg = <0x1100 0x100>; | ||
184 | interrupts = <78 0x8>; | ||
185 | interrupt-parent = < &ipic >; | ||
186 | }; | ||
187 | |||
188 | mscan@1300 { | ||
189 | compatible = "fsl,mpc5121-mscan"; | ||
190 | cell-index = <0>; | ||
191 | interrupts = <12 0x8>; | ||
192 | interrupt-parent = < &ipic >; | ||
193 | reg = <0x1300 0x80>; | ||
194 | }; | ||
195 | |||
196 | mscan@1380 { | ||
197 | compatible = "fsl,mpc5121-mscan"; | ||
198 | cell-index = <1>; | ||
199 | interrupts = <13 0x8>; | ||
200 | interrupt-parent = < &ipic >; | ||
201 | reg = <0x1380 0x80>; | ||
202 | }; | ||
203 | |||
204 | i2c@1700 { | ||
205 | #address-cells = <1>; | ||
206 | #size-cells = <0>; | ||
207 | compatible = "fsl,mpc5121-i2c", "fsl-i2c"; | ||
208 | cell-index = <0>; | ||
209 | reg = <0x1700 0x20>; | ||
210 | interrupts = <9 0x8>; | ||
211 | interrupt-parent = < &ipic >; | ||
212 | fsl5200-clocking; | ||
213 | }; | ||
214 | |||
215 | i2c@1720 { | ||
216 | #address-cells = <1>; | ||
217 | #size-cells = <0>; | ||
218 | compatible = "fsl,mpc5121-i2c", "fsl-i2c"; | ||
219 | cell-index = <1>; | ||
220 | reg = <0x1720 0x20>; | ||
221 | interrupts = <10 0x8>; | ||
222 | interrupt-parent = < &ipic >; | ||
223 | fsl5200-clocking; | ||
224 | }; | ||
225 | |||
226 | i2c@1740 { | ||
227 | #address-cells = <1>; | ||
228 | #size-cells = <0>; | ||
229 | compatible = "fsl,mpc5121-i2c", "fsl-i2c"; | ||
230 | cell-index = <2>; | ||
231 | reg = <0x1740 0x20>; | ||
232 | interrupts = <11 0x8>; | ||
233 | interrupt-parent = < &ipic >; | ||
234 | fsl5200-clocking; | ||
235 | }; | ||
236 | |||
237 | i2ccontrol@1760 { | ||
238 | compatible = "fsl,mpc5121-i2c-ctrl"; | ||
239 | reg = <0x1760 0x8>; | ||
240 | }; | ||
241 | |||
242 | axe@2000 { | ||
243 | compatible = "fsl,mpc5121-axe"; | ||
244 | reg = <0x2000 0x100>; | ||
245 | interrupts = <42 0x8>; | ||
246 | interrupt-parent = < &ipic >; | ||
247 | }; | ||
248 | |||
249 | display@2100 { | ||
250 | compatible = "fsl,mpc5121-diu", "fsl-diu"; | ||
251 | reg = <0x2100 0x100>; | ||
252 | interrupts = <64 0x8>; | ||
253 | interrupt-parent = < &ipic >; | ||
254 | }; | ||
255 | |||
256 | mdio@2800 { | ||
257 | compatible = "fsl,mpc5121-fec-mdio"; | ||
258 | reg = <0x2800 0x800>; | ||
259 | #address-cells = <1>; | ||
260 | #size-cells = <0>; | ||
261 | phy: ethernet-phy@0 { | ||
262 | reg = <1>; | ||
263 | device_type = "ethernet-phy"; | ||
264 | }; | ||
265 | }; | ||
266 | |||
267 | ethernet@2800 { | ||
268 | device_type = "network"; | ||
269 | compatible = "fsl,mpc5121-fec"; | ||
270 | reg = <0x2800 0x800>; | ||
271 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
272 | interrupts = <4 0x8>; | ||
273 | interrupt-parent = < &ipic >; | ||
274 | phy-handle = < &phy >; | ||
275 | fsl,align-tx-packets = <4>; | ||
276 | }; | ||
277 | |||
278 | // 5121e has two dr usb modules | ||
279 | // mpc5121_ads only uses USB0 | ||
280 | |||
281 | // USB1 using external ULPI PHY | ||
282 | //usb@3000 { | ||
283 | // compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr"; | ||
284 | // reg = <0x3000 0x1000>; | ||
285 | // #address-cells = <1>; | ||
286 | // #size-cells = <0>; | ||
287 | // interrupt-parent = < &ipic >; | ||
288 | // interrupts = <43 0x8>; | ||
289 | // dr_mode = "otg"; | ||
290 | // phy_type = "ulpi"; | ||
291 | // port1; | ||
292 | //}; | ||
293 | |||
294 | // USB0 using internal UTMI PHY | ||
295 | usb@4000 { | ||
296 | compatible = "fsl,mpc5121-usb2-dr", "fsl-usb2-dr"; | ||
297 | reg = <0x4000 0x1000>; | ||
298 | #address-cells = <1>; | ||
299 | #size-cells = <0>; | ||
300 | interrupt-parent = < &ipic >; | ||
301 | interrupts = <44 0x8>; | ||
302 | dr_mode = "otg"; | ||
303 | phy_type = "utmi_wide"; | ||
304 | port0; | ||
305 | }; | ||
306 | |||
307 | // IO control | ||
308 | ioctl@a000 { | ||
309 | compatible = "fsl,mpc5121-ioctl"; | ||
310 | reg = <0xA000 0x1000>; | ||
311 | }; | ||
312 | |||
313 | pata@10200 { | ||
314 | compatible = "fsl,mpc5121-pata"; | ||
315 | reg = <0x10200 0x100>; | ||
316 | interrupts = <5 0x8>; | ||
317 | interrupt-parent = < &ipic >; | ||
318 | }; | ||
319 | |||
320 | // 512x PSCs are not 52xx PSC compatible | ||
89 | // PSC3 serial port A aka ttyPSC0 | 321 | // PSC3 serial port A aka ttyPSC0 |
90 | serial@11300 { | 322 | serial@11300 { |
91 | device_type = "serial"; | 323 | device_type = "serial"; |
92 | compatible = "fsl,mpc5121-psc-uart"; | 324 | compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; |
93 | // Logical port assignment needed until driver | 325 | // Logical port assignment needed until driver |
94 | // learns to use aliases | 326 | // learns to use aliases |
95 | port-number = <0>; | 327 | port-number = <0>; |
96 | cell-index = <3>; | 328 | cell-index = <3>; |
97 | reg = <0x11300 0x100>; | 329 | reg = <0x11300 0x100>; |
98 | interrupts = <0x28 0x8>; // actually the fifo irq | 330 | interrupts = <40 0x8>; |
99 | interrupt-parent = < &ipic >; | 331 | interrupt-parent = < &ipic >; |
332 | rx-fifo-size = <16>; | ||
333 | tx-fifo-size = <16>; | ||
100 | }; | 334 | }; |
101 | 335 | ||
102 | // PSC4 serial port B aka ttyPSC1 | 336 | // PSC4 serial port B aka ttyPSC1 |
103 | serial@11400 { | 337 | serial@11400 { |
104 | device_type = "serial"; | 338 | device_type = "serial"; |
105 | compatible = "fsl,mpc5121-psc-uart"; | 339 | compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; |
106 | // Logical port assignment needed until driver | 340 | // Logical port assignment needed until driver |
107 | // learns to use aliases | 341 | // learns to use aliases |
108 | port-number = <1>; | 342 | port-number = <1>; |
109 | cell-index = <4>; | 343 | cell-index = <4>; |
110 | reg = <0x11400 0x100>; | 344 | reg = <0x11400 0x100>; |
111 | interrupts = <0x28 0x8>; // actually the fifo irq | 345 | interrupts = <40 0x8>; |
112 | interrupt-parent = < &ipic >; | 346 | interrupt-parent = < &ipic >; |
347 | rx-fifo-size = <16>; | ||
348 | tx-fifo-size = <16>; | ||
113 | }; | 349 | }; |
114 | 350 | ||
115 | pscsfifo@11f00 { | 351 | // PSC5 in ac97 mode |
352 | ac97@11500 { | ||
353 | compatible = "fsl,mpc5121-psc-ac97", "fsl,mpc5121-psc"; | ||
354 | cell-index = <5>; | ||
355 | reg = <0x11500 0x100>; | ||
356 | interrupts = <40 0x8>; | ||
357 | interrupt-parent = < &ipic >; | ||
358 | fsl,mode = "ac97-slave"; | ||
359 | rx-fifo-size = <384>; | ||
360 | tx-fifo-size = <384>; | ||
361 | }; | ||
362 | |||
363 | pscfifo@11f00 { | ||
116 | compatible = "fsl,mpc5121-psc-fifo"; | 364 | compatible = "fsl,mpc5121-psc-fifo"; |
117 | reg = <0x11f00 0x100>; | 365 | reg = <0x11f00 0x100>; |
118 | interrupts = <0x28 0x8>; | 366 | interrupts = <40 0x8>; |
119 | interrupt-parent = < &ipic >; | 367 | interrupt-parent = < &ipic >; |
120 | }; | 368 | }; |
369 | |||
370 | dma@14000 { | ||
371 | compatible = "fsl,mpc5121-dma2"; | ||
372 | reg = <0x14000 0x1800>; | ||
373 | interrupts = <65 0x8>; | ||
374 | interrupt-parent = < &ipic >; | ||
375 | }; | ||
376 | |||
377 | }; | ||
378 | |||
379 | pci: pci@80008500 { | ||
380 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
381 | interrupt-map = < | ||
382 | // IDSEL 0x15 - Slot 1 PCI | ||
383 | 0xa800 0x0 0x0 0x1 &cpld_pic 0x0 0x8 | ||
384 | 0xa800 0x0 0x0 0x2 &cpld_pic 0x1 0x8 | ||
385 | 0xa800 0x0 0x0 0x3 &cpld_pic 0x2 0x8 | ||
386 | 0xa800 0x0 0x0 0x4 &cpld_pic 0x3 0x8 | ||
387 | |||
388 | // IDSEL 0x16 - Slot 2 MiniPCI | ||
389 | 0xb000 0x0 0x0 0x1 &cpld_pic 0x4 0x8 | ||
390 | 0xb000 0x0 0x0 0x2 &cpld_pic 0x5 0x8 | ||
391 | |||
392 | // IDSEL 0x17 - Slot 3 MiniPCI | ||
393 | 0xb800 0x0 0x0 0x1 &cpld_pic 0x6 0x8 | ||
394 | 0xb800 0x0 0x0 0x2 &cpld_pic 0x7 0x8 | ||
395 | >; | ||
396 | interrupt-parent = < &ipic >; | ||
397 | interrupts = <1 0x8>; | ||
398 | bus-range = <0 0>; | ||
399 | ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 | ||
400 | 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 | ||
401 | 0x01000000 0x0 0x00000000 0x84000000 0x0 0x01000000>; | ||
402 | clock-frequency = <0>; | ||
403 | #interrupt-cells = <1>; | ||
404 | #size-cells = <2>; | ||
405 | #address-cells = <3>; | ||
406 | reg = <0x80008500 0x100>; | ||
407 | compatible = "fsl,mpc5121-pci"; | ||
408 | device_type = "pci"; | ||
121 | }; | 409 | }; |
122 | }; | 410 | }; |
diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index 773a68e00058..3008bf8830c1 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts | |||
@@ -70,6 +70,20 @@ | |||
70 | fsl,has-wdt; | 70 | fsl,has-wdt; |
71 | }; | 71 | }; |
72 | 72 | ||
73 | can@900 { | ||
74 | compatible = "fsl,mpc5200-mscan"; | ||
75 | interrupts = <2 17 0>; | ||
76 | interrupt-parent = <&mpc5200_pic>; | ||
77 | reg = <0x900 0x80>; | ||
78 | }; | ||
79 | |||
80 | can@980 { | ||
81 | compatible = "fsl,mpc5200-mscan"; | ||
82 | interrupts = <2 18 0>; | ||
83 | interrupt-parent = <&mpc5200_pic>; | ||
84 | reg = <0x980 0x80>; | ||
85 | }; | ||
86 | |||
73 | gpio@b00 { | 87 | gpio@b00 { |
74 | compatible = "fsl,mpc5200-gpio"; | 88 | compatible = "fsl,mpc5200-gpio"; |
75 | reg = <0xb00 0x40>; | 89 | reg = <0xb00 0x40>; |