Skip to content
Snippets Groups Projects
  1. Dec 05, 2016
    • Shengzhou Liu's avatar
      fsl/ddr: Fix compiling warning · 5a17b8b5
      Shengzhou Liu authored
      
      Fix following warning in case multiple erratum macro was not defined.
      warning: unused variable 'tmp'
      warning: unused variable 'ddr_freq'
      
      Signed-off-by: default avatarShengzhou Liu <Shengzhou.Liu@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      5a17b8b5
    • Stefan Roese's avatar
      sata: sata_mv: Fix misaligned cache warnings · 5102af4d
      Stefan Roese authored
      
      This patch fixes the warnings about misaligned cache on Armada XP:
      
      CACHE: Misaligned operation at range [7facb400, 7facb460]
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5102af4d
    • Stefan Roese's avatar
      arm64: mvebu: Restrict memory size to a usable maximum · 059f75d5
      Stefan Roese authored
      
      Not all memory is mapped in the MMU. So we need to restrict the memory
      size so that U-Boot does not try to access it. Also, the internal
      registers are located at 0xf000.0000 - 0xffff.ffff. Currently only 2GiB
      are mapped for system memory. This is what we pass to the U-Boot
      subsystem here.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      059f75d5
    • Stefan Roese's avatar
      arm64: mvebu: Add PCI support to DB-88F8040 board · 1ec5aa63
      Stefan Roese authored
      
      This patch adds PCI support to the Marvell Armada-8K devel board.
      Additionally the Intel E1000 ethernet driver is enabled so that
      network support is available on this board, even without the
      internal network interfaces being supported (yet).
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      1ec5aa63
    • Stefan Roese's avatar
      arm64: mvebu: Add regions for PCI spaces to the memory map · 6324fdc5
      Stefan Roese authored
      
      To use the PCIe driver, its controller memory and the PCIe regions need
      to get mapped in the MMU. Otherwise these areas can't be accessed.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      6324fdc5
    • Shadi Ammouri's avatar
      pci: mvebu: Add PCIe driver for Armada-8K · 182ba1a7
      Shadi Ammouri authored
      
      This patch adds a driver for the PCIe controller integrated in the
      Marvell Armada-8K SoC. This controller is based on the DesignWare
      IP core.
      
      The original version was written by Shadi and Yehuda. I ported this
      driver to the latest mainline U-Boot version with DM support.
      
      Tested on the Marvell DB-88F8040 Armada-8K eval board.
      
      Signed-off-by: default avatarShadi Ammouri <shadi@marvell.com>
      Signed-off-by: default avatarYehuda Yitschak <yehuday@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      182ba1a7
    • Stefan Roese's avatar
      drivers/phy: marvell: Add support for the slave CP COMPHY device · e8c3156e
      Stefan Roese authored
      
      With the support for the Armada 8k, a 2nd COMPHY controller now needs
      to get supported from the CP110 slave controller. This patch adds support
      for this 2nd contoller in the COMPHY driver.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      e8c3156e
    • Stefan Roese's avatar
      arm64: mvebu: Init COMPHY from the slave-CP on the A8k · d7dd358f
      Stefan Roese authored
      
      The Armada8k implements 2 CPs (communication processors) and the 2nd
      CP also is equipped with a COMPHY controller. This patch now loops
      over all enabled MISC devices (CP110) enabled in the DT to initialize
      all CPs.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      d7dd358f
    • Stefan Roese's avatar
      arm64: mvebu: armada-8040-db.dts: Add I2C and SPI aliases · af4c271c
      Stefan Roese authored
      
      Add I2C and SPI aliases to enable usage in U-Boot. Otherwise U-Boot will
      not be able to use the SPI NOR chip for environment storage and use
      "i2c dev 0" to select this I2C bus.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      af4c271c
    • Stefan Roese's avatar
      arm64: mvebu: armada-8040-db.dts: Add COMPHY configuration · 92fdaf0c
      Stefan Roese authored
      
      This patch adds the COMPHY device tree configuration to the DT file for
      the Marvell DB-88F8040 devel board.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      92fdaf0c
    • Stefan Roese's avatar
      arm64: mvebu: armada-cp110-slave.dtsi: Add COMPHY / UTMI device tree nodes · acbdc8e8
      Stefan Roese authored
      
      This patch adds the COMPHY and UTMI device tree nodes to the cp110-slave
      dtsi file for the Armada 8K.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      acbdc8e8
    • Stefan Roese's avatar
      arm64: mvebu: armada-cp110-master.dtsi: Rename comphy DT node names · a12c92e3
      Stefan Roese authored
      
      Since the cp110 slave also has comphy DT nodes, the names need to be
      renamed to avoid a name clash. Lets use the common naming scheme:
      "cpm_xxx" for master and "cps_xxx" for slave.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      a12c92e3
    • Stefan Roese's avatar
      arm64: mvebu: Add support for the DB-88F8040 Armada 8k devel board · 96816a84
      Stefan Roese authored
      
      This patch adds the necessary files to support the Marvell Armada 8k
      devel board. Most board specfic files are shared with the Armada 7k
      boards under the name "armada-8k*". So only minimal changes are
      necessary to add this basic board support (except the DT files of
      course).
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      96816a84
    • Stefan Roese's avatar
      arm64: mvebu: Add slave CP area to the memory map · 3fef31a3
      Stefan Roese authored
      
      To enable access to the slave CP its memory needs to be added to the
      MMU memory map.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      3fef31a3
    • Stefan Roese's avatar
      arm64: mvebu: armada-8k: Only configure xHCI power on DB-88F7040 board · acd3b076
      Stefan Roese authored
      
      This patch uses of_machine_is_compatible() to detect the board at runtime
      and only configured the I2C IO expander for the xHCI power / reset on
      the DB-88F7040 board. As this code will be used by other Armada-7k/8k
      ports, its necessary to use this runtime detection here.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      acd3b076
    • Stefan Roese's avatar
      arm64: mvebu: Add Armada-80x0 dts/dtsi files · bf2150b9
      Stefan Roese authored
      
      Add the latest version of the DT files from the Linux kernel.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      bf2150b9
    • Stefan Roese's avatar
      arm64: mvebu: Rename db-88f7040 files to armada-8k · 633fa0e7
      Stefan Roese authored
      
      This moves some of the Armada DB-88F7040 board specific files to a more
      generic name: armada-8k. This is in preparation for the Armada-8k
      support which will be added soon. And since both platforms share
      most devices, lets also share most source files to not duplicate
      the code here.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Neta Zur Hershkovits <neta@marvell.com>
      Cc: Kostya Porotchkin <kostap@marvell.com>
      Cc: Omri Itach <omrii@marvell.com>
      Cc: Igal Liberman <igall@marvell.com>
      Cc: Haim Boot <hayim@marvell.com>
      Cc: Hanna Hawa <hannah@marvell.com>
      633fa0e7
  2. Dec 04, 2016
Loading