Skip to content
  1. Mar 07, 2014
    • Sebastian Hesselbarth's avatar
      ARM: dove: drop pinctrl PMU reg property · df76299f
      Sebastian Hesselbarth authored
      
      
      Marvell Dove's pinctrl does require some PMU regs for muxing PMU
      functions to MPP pins. Recently, a discussion started about consolidating
      Power Management Unit (PMU) into a single DT node. As we don't want
      anymore DT ABI in the way, drop the corresponding reg property from
      pinctrl node now. The driver will derive the registers from existing
      reg properties.
      
      Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      df76299f
    • Gregory CLEMENT's avatar
      ARM: mvebu: add Device Tree for the Armada 385 RD board · a8a921dd
      Gregory CLEMENT authored
      
      
      The Armada 385 RD board is the reference design board from Marvell
      for the Armada 385 SoC. This commit adds a Device Tree description for
      this board, which enables the following features:
      
       * Network interfaces
       * I2C bus
       * Serial port
       * SPI bus, with a SPI flash
       * PCIe interface
      
      Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      a8a921dd
    • Thomas Petazzoni's avatar
      ARM: mvebu: use the correct phy connection mode on Armada 385 DB · 0d2e6378
      Thomas Petazzoni authored
      
      
      On Armada 385 DB, while the "rgmii" PHY connection mode works fine
      with the generic PHY driver, it fails to work when the Marvell PHY
      driver is enabled in the kernel configuration, due to a finer handling
      of the PHY configuration. This is due to the fact that the phy
      connection mode should instead be "rgmii-id", i.e with the TX/RX delay
      mechanisms enabled.
      
      This fixes the network operation on Armada 385 DB with
      CONFIG_MARVELL_PHY=y. Without this patch and this option enabled, one
      would only get messages such as:
      
        mvneta f1070000.ethernet eth1: bad rx status 0cc10000 (crc error), size=70
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      0d2e6378
    • Thomas Petazzoni's avatar
      ARM: mvebu: the Armada XP Matrix board has 4 GB · ebe021e2
      Thomas Petazzoni authored
      
      
      Since the Armada XP Matrix board has 4 GB of RAM and not 2 GB, we
      update the Device Tree to take into account the correct amount of
      memory. As noted in the new comment, the last 256 MB of RAM are in
      fact not usable, due to the overlap with the MBus Window address
      range.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
      ebe021e2
    • 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. Mar 04, 2014
  3. Feb 23, 2014
  4. Feb 22, 2014
  5. Feb 19, 2014
  6. Feb 18, 2014
  7. Feb 17, 2014
  8. Feb 12, 2014