Commit baaf7ed1797de1defce3e3a03f3c9c49cdf3b534

Authored by Lennert Buytenhek
Committed by Russell King
1 parent 67603be482

[PATCH] ARM: 2756/1: add ixp2000 msf mapping

Patch from Lennert Buytenhek

Add a mapping for the ixp2400 and ixp2800 msf unit.  The msf is the
ixp2000's 'media and switch fabric' unit, which handles the networking
part of the chip.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 2 changed files with 9 additions and 0 deletions Side-by-side Diff

arch/arm/mach-ixp2000/core.c
... ... @@ -103,6 +103,11 @@
103 103 .length = IXP2000_PCI_CSR_SIZE,
104 104 .type = MT_DEVICE
105 105 }, {
  106 + .virtual = IXP2000_MSF_VIRT_BASE,
  107 + .physical = IXP2000_MSF_PHYS_BASE,
  108 + .length = IXP2000_MSF_SIZE,
  109 + .type = MT_DEVICE
  110 + }, {
106 111 .virtual = IXP2000_PCI_IO_VIRT_BASE,
107 112 .physical = IXP2000_PCI_IO_PHYS_BASE,
108 113 .length = IXP2000_PCI_IO_SIZE,
include/asm-arm/arch-ixp2000/ixp2000-regs.h
... ... @@ -86,6 +86,10 @@
86 86 #define IXP2000_PCI_CSR_VIRT_BASE 0xfec00000
87 87 #define IXP2000_PCI_CSR_SIZE 0x00100000
88 88  
  89 +#define IXP2000_MSF_PHYS_BASE 0xc8000000
  90 +#define IXP2000_MSF_VIRT_BASE 0xfeb00000
  91 +#define IXP2000_MSF_SIZE 0x00100000
  92 +
89 93 #define IXP2000_PCI_IO_PHYS_BASE 0xd8000000
90 94 #define IXP2000_PCI_IO_VIRT_BASE 0xfd000000
91 95 #define IXP2000_PCI_IO_SIZE 0x01000000