diff options
author | Rupjyoti Sarmah <rsarmah@amcc.com> | 2011-03-29 19:10:24 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-26 01:00:37 -0400 |
commit | 3fb7933850faf1017c59a675e895ed8f27fef4be (patch) | |
tree | 0d9b038f08aefb888329c134aedfa391c30d8a99 /arch/powerpc/boot/dts | |
parent | 4dd602900196bcc00505485e2a363caec4f3fd93 (diff) |
powerpc/4xx: Adding PCIe MSI support
This patch adds MSI support for 440SPe, 460Ex, 460Sx and 405Ex.
Signed-off-by: Rupjyoti Sarmah <rsarmah@apm.com>
Signed-off-by: Tirumala R Marri <tmarri@apm.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts')
-rw-r--r-- | arch/powerpc/boot/dts/canyonlands.dts | 18 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/katmai.dts | 18 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/kilauea.dts | 28 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/redwood.dts | 20 |
4 files changed, 84 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts index 2779f08313a5..22dd6ae84da0 100644 --- a/arch/powerpc/boot/dts/canyonlands.dts +++ b/arch/powerpc/boot/dts/canyonlands.dts | |||
@@ -530,5 +530,23 @@ | |||
530 | 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ | 530 | 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ |
531 | 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; | 531 | 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; |
532 | }; | 532 | }; |
533 | |||
534 | MSI: ppc4xx-msi@C10000000 { | ||
535 | compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; | ||
536 | reg = < 0xC 0x10000000 0x100>; | ||
537 | sdr-base = <0x36C>; | ||
538 | msi-data = <0x00000000>; | ||
539 | msi-mask = <0x44440000>; | ||
540 | interrupt-count = <3>; | ||
541 | interrupts = <0 1 2 3>; | ||
542 | interrupt-parent = <&UIC3>; | ||
543 | #interrupt-cells = <1>; | ||
544 | #address-cells = <0>; | ||
545 | #size-cells = <0>; | ||
546 | interrupt-map = <0 &UIC3 0x18 1 | ||
547 | 1 &UIC3 0x19 1 | ||
548 | 2 &UIC3 0x1A 1 | ||
549 | 3 &UIC3 0x1B 1>; | ||
550 | }; | ||
533 | }; | 551 | }; |
534 | }; | 552 | }; |
diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dts index 7c3be5e45748..f913dbe25d35 100644 --- a/arch/powerpc/boot/dts/katmai.dts +++ b/arch/powerpc/boot/dts/katmai.dts | |||
@@ -442,6 +442,24 @@ | |||
442 | 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>; | 442 | 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>; |
443 | }; | 443 | }; |
444 | 444 | ||
445 | MSI: ppc4xx-msi@400300000 { | ||
446 | compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; | ||
447 | reg = < 0x4 0x00300000 0x100>; | ||
448 | sdr-base = <0x3B0>; | ||
449 | msi-data = <0x00000000>; | ||
450 | msi-mask = <0x44440000>; | ||
451 | interrupt-count = <3>; | ||
452 | interrupts =<0 1 2 3>; | ||
453 | interrupt-parent = <&UIC0>; | ||
454 | #interrupt-cells = <1>; | ||
455 | #address-cells = <0>; | ||
456 | #size-cells = <0>; | ||
457 | interrupt-map = <0 &UIC0 0xC 1 | ||
458 | 1 &UIC0 0x0D 1 | ||
459 | 2 &UIC0 0x0E 1 | ||
460 | 3 &UIC0 0x0F 1>; | ||
461 | }; | ||
462 | |||
445 | I2O: i2o@400100000 { | 463 | I2O: i2o@400100000 { |
446 | compatible = "ibm,i2o-440spe"; | 464 | compatible = "ibm,i2o-440spe"; |
447 | reg = <0x00000004 0x00100000 0x100>; | 465 | reg = <0x00000004 0x00100000 0x100>; |
diff --git a/arch/powerpc/boot/dts/kilauea.dts b/arch/powerpc/boot/dts/kilauea.dts index 89edb16649c3..1613d6e4049e 100644 --- a/arch/powerpc/boot/dts/kilauea.dts +++ b/arch/powerpc/boot/dts/kilauea.dts | |||
@@ -403,5 +403,33 @@ | |||
403 | 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ | 403 | 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ |
404 | 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; | 404 | 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; |
405 | }; | 405 | }; |
406 | |||
407 | MSI: ppc4xx-msi@C10000000 { | ||
408 | compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; | ||
409 | reg = < 0x0 0xEF620000 0x100>; | ||
410 | sdr-base = <0x4B0>; | ||
411 | msi-data = <0x00000000>; | ||
412 | msi-mask = <0x44440000>; | ||
413 | interrupt-count = <12>; | ||
414 | interrupts = <0 1 2 3 4 5 6 7 8 9 0xA 0xB 0xC 0xD>; | ||
415 | interrupt-parent = <&UIC2>; | ||
416 | #interrupt-cells = <1>; | ||
417 | #address-cells = <0>; | ||
418 | #size-cells = <0>; | ||
419 | interrupt-map = <0 &UIC2 0x10 1 | ||
420 | 1 &UIC2 0x11 1 | ||
421 | 2 &UIC2 0x12 1 | ||
422 | 2 &UIC2 0x13 1 | ||
423 | 2 &UIC2 0x14 1 | ||
424 | 2 &UIC2 0x15 1 | ||
425 | 2 &UIC2 0x16 1 | ||
426 | 2 &UIC2 0x17 1 | ||
427 | 2 &UIC2 0x18 1 | ||
428 | 2 &UIC2 0x19 1 | ||
429 | 2 &UIC2 0x1A 1 | ||
430 | 2 &UIC2 0x1B 1 | ||
431 | 2 &UIC2 0x1C 1 | ||
432 | 3 &UIC2 0x1D 1>; | ||
433 | }; | ||
406 | }; | 434 | }; |
407 | }; | 435 | }; |
diff --git a/arch/powerpc/boot/dts/redwood.dts b/arch/powerpc/boot/dts/redwood.dts index 81636c01d906..d86a3a498118 100644 --- a/arch/powerpc/boot/dts/redwood.dts +++ b/arch/powerpc/boot/dts/redwood.dts | |||
@@ -358,8 +358,28 @@ | |||
358 | 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>; | 358 | 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>; |
359 | }; | 359 | }; |
360 | 360 | ||
361 | MSI: ppc4xx-msi@400300000 { | ||
362 | compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; | ||
363 | reg = < 0x4 0x00300000 0x100 | ||
364 | 0x4 0x00300000 0x100>; | ||
365 | sdr-base = <0x3B0>; | ||
366 | msi-data = <0x00000000>; | ||
367 | msi-mask = <0x44440000>; | ||
368 | interrupt-count = <3>; | ||
369 | interrupts =<0 1 2 3>; | ||
370 | interrupt-parent = <&UIC0>; | ||
371 | #interrupt-cells = <1>; | ||
372 | #address-cells = <0>; | ||
373 | #size-cells = <0>; | ||
374 | interrupt-map = <0 &UIC0 0xC 1 | ||
375 | 1 &UIC0 0x0D 1 | ||
376 | 2 &UIC0 0x0E 1 | ||
377 | 3 &UIC0 0x0F 1>; | ||
378 | }; | ||
379 | |||
361 | }; | 380 | }; |
362 | 381 | ||
382 | |||
363 | chosen { | 383 | chosen { |
364 | linux,stdout-path = "/plb/opb/serial@ef600200"; | 384 | linux,stdout-path = "/plb/opb/serial@ef600200"; |
365 | }; | 385 | }; |