diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-12-20 23:39:25 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-12-23 14:12:52 -0500 |
commit | 69c0785112921a43739495a68f459fde88a9bbd8 (patch) | |
tree | 2bda32295daafdf9440ac89bea0e9adff1cfe56c | |
parent | a2d2e1ec07a80946cbe812dc8c73291cad8214b2 (diff) |
[POWERPC] 4xx: PCI support for Ebony board
This wires up the 4xx PCI support & device tree bits for
440GP based Ebony platform.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
-rw-r--r-- | arch/powerpc/boot/dts/ebony.dts | 41 | ||||
-rw-r--r-- | arch/powerpc/platforms/44x/Kconfig | 1 |
2 files changed, 37 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/ebony.dts b/arch/powerpc/boot/dts/ebony.dts index bc259972aaa0..331c424e97ea 100644 --- a/arch/powerpc/boot/dts/ebony.dts +++ b/arch/powerpc/boot/dts/ebony.dts | |||
@@ -284,12 +284,43 @@ | |||
284 | 284 | ||
285 | }; | 285 | }; |
286 | 286 | ||
287 | PCIX0: pci@1234 { | 287 | PCIX0: pci@20ec00000 { |
288 | device_type = "pci"; | 288 | device_type = "pci"; |
289 | /* FIXME */ | 289 | #interrupt-cells = <1>; |
290 | reg = <2 0ec00000 8 | 290 | #size-cells = <2>; |
291 | 2 0ec80000 f0 | 291 | #address-cells = <3>; |
292 | 2 0ec80100 fc>; | 292 | compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix"; |
293 | primary; | ||
294 | reg = <2 0ec00000 8 /* Config space access */ | ||
295 | 0 0 0 /* no IACK cycles */ | ||
296 | 2 0ed00000 4 /* Special cycles */ | ||
297 | 2 0ec80000 f0 /* Internal registers */ | ||
298 | 2 0ec80100 fc>; /* Internal messaging registers */ | ||
299 | |||
300 | /* Outbound ranges, one memory and one IO, | ||
301 | * later cannot be changed | ||
302 | */ | ||
303 | ranges = <02000000 0 80000000 00000003 80000000 0 80000000 | ||
304 | 01000000 0 00000000 00000002 08000000 0 00010000>; | ||
305 | |||
306 | /* Inbound 2GB range starting at 0 */ | ||
307 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | ||
308 | |||
309 | /* Ebony has all 4 IRQ pins tied together per slot */ | ||
310 | interrupt-map-mask = <f800 0 0 0>; | ||
311 | interrupt-map = < | ||
312 | /* IDSEL 1 */ | ||
313 | 0800 0 0 0 &UIC0 17 8 | ||
314 | |||
315 | /* IDSEL 2 */ | ||
316 | 1000 0 0 0 &UIC0 18 8 | ||
317 | |||
318 | /* IDSEL 3 */ | ||
319 | 1800 0 0 0 &UIC0 19 8 | ||
320 | |||
321 | /* IDSEL 4 */ | ||
322 | 2000 0 0 0 &UIC0 1a 8 | ||
323 | >; | ||
293 | }; | 324 | }; |
294 | }; | 325 | }; |
295 | 326 | ||
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 905d83621453..f65fa10ef427 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig | |||
@@ -11,6 +11,7 @@ config EBONY | |||
11 | depends on 44x | 11 | depends on 44x |
12 | default y | 12 | default y |
13 | select 440GP | 13 | select 440GP |
14 | select PCI | ||
14 | help | 15 | help |
15 | This option enables support for the IBM PPC440GP evaluation board. | 16 | This option enables support for the IBM PPC440GP evaluation board. |
16 | 17 | ||