1. 06 Mar, 2014 3 commits
    • Thomas Petazzoni's avatar
      ARM: mvebu: switch the Armada XP GP to use internal registers at 0xf1000000 · 91ed3220
      Thomas Petazzoni authored
      Marvell has now provided bootloaders that are Device Tree capable for
      the Armada XP GP board, and that also remap the internal register base
      address to 0xf1000000. In addition, the bootloader now sets the MBus
      Window base address to 0xf0000000, which allows to use much more RAM
      in the last GB of RAM before the 4 GB limit (the entire space from
      0xC0000000 to 0xFFFFFFFF was not usable due to being used for I/O, not
      only the space from 0xF0000000 to 0xFFFFFFFF is used for I/O).
      
      Therefore this commit:
      
       * Updates the memory->reg Device Tree property with the fact that in
         the first bank of RAM, memory up to 0xf0000000 can be used.
      
       * Updates the soc->ranges Device Tree property with the fact that the
         internal registers are now mapped at 0xf1000000.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      91ed3220
    • Thomas Petazzoni's avatar
      ARM: mvebu: switch the Armada XP DB to use internal registers at 0xf1000000 · 82066bdb
      Thomas Petazzoni authored
      Marvell has now provided bootloaders that are Device Tree capable for
      the Armada XP DB board, and that also remap the internal register base
      address to 0xf1000000. In addition, the bootloader now sets the MBus
      Window base address to 0xf0000000, but on this board, this change
      doesn't make much difference since the board is by default equipped
      with 2 GB of RAM.
      
      Therefore this commit updates the soc->ranges Device Tree property
      with the fact that the internal registers are now mapped at
      0xf1000000.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      82066bdb
    • Thomas Petazzoni's avatar
      ARM: mvebu: change the default PCIe apertures for Armada 370/XP · 46febc63
      Thomas Petazzoni authored
      The latest Marvell bootloaders for various boards change the MBus
      Window base address from 0xC0000000 to 0xF0000000, in order to make
      more RAM in the first 4 GB actually usable by the kernel (RAM that is
      covered by the MBus window is "shadowed" and therefore not usable).
      
      However, our default PCIe memory and I/O apertures where sitting at
      0xe0000000 (for memory) and 0xe8000000 (for I/O), which will now be
      outside of the MBus Window range on those platforms. To make things
      work, we have to ensure those apertures use addresses in the
      0xF0000000 -> 0xFFFFFFFF range.
      
      Of course this change of the MBus Window base address from 0xC0000000
      to 0xF0000000 also comes with a change of the internal register base
      address from 0xD0000000 to 0xF1000000.
      
      We have therefore designed the following memory map:
      
       * 0xF0000000 -> 0xF1000000: 16 MB, used for NOR flashes on Armada XP
         GP and Armada XP DB.
      
       * 0xF1000000 -> 0xF1100000: 1 MB, used for internal registers.
      
       * 0xF8000000 -> 0xFFE00000: 126 MB, used for PCIe memory.
      
       * 0xFFE00000 -> 0xFFF00000: 1 MB, used for PCIe I/O.
      
       * 0xFFF00000 -> 0xFFFFFFFF: 1 MB, used for the BootROM mapping
      
      There is one exception to this layout: the Armada XP OpenBlocks, which
      has a 128 MB NOR flash, mapped from 0xF0000000 to 0xF8000000. This
      does not conflict with the current change for the PCIe I/O and memory
      apertures, and continues to work because on Armada XP OpenBlocks, the
      bootloader is an old one, and continues to have internal registers
      mapped at 0xD0000000.
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      46febc63
  2. 04 Mar, 2014 10 commits
  3. 22 Feb, 2014 7 commits
  4. 18 Feb, 2014 1 commit
  5. 17 Feb, 2014 13 commits
  6. 11 Feb, 2014 2 commits
  7. 05 Feb, 2014 3 commits
  8. 03 Feb, 2014 1 commit