1. 11 7月, 2012 1 次提交
  2. 10 7月, 2012 5 次提交
    • P
      powerpc/85xx: Add BSC9131 RDB Support · d729b900
      Prabhakar Kushwaha 提交于
      BSC9131RDB is a Freescale reference design board for BSC9131 SoC. The
      BSC9131 is integrated SoC that targets Femto base station market. It
      combines Power Architecture e500v2 and DSP StarCore SC3850 core
      technologies with MAPLE-B2F baseband acceleration processing elements.
      
      The BSC9131 SoC includes the following function and features:
          . Power Architecture subsystem including a e500 processor with 256-Kbyte
          shared L2 cache
          . StarCore SC3850 DSP subsystem with a 512-Kbyte private L2 cache
          . The Multi Accelerator Platform Engine for Femto BaseStation Baseband
            Processing (MAPLE-B2F)
          . A multi-standard baseband algorithm accelerator for Channel
            Decoding/Encoding, Fourier Transforms, UMTS chip rate processing, LTE
            UP/DL Channel processing, and CRC algorithms
          . Consists of accelerators for Convolution, Filtering, Turbo Encoding,
            Turbo Decoding, Viterbi decoding, Chiprate processing, and Matrix
            Inversion operations
          . DDR3/3L memory interface with 32-bit data width without ECC and 16-bit
            with ECC, up to 400-MHz clock/800 MHz data rate
          . Dedicated security engine featuring trusted boot
          . DMA controller
          . OCNDMA with four bidirectional channels
          . Interfaces
          . Two triple-speed Gigabit Ethernet controllers featuring network
            acceleration including IEEE 1588. v2 hardware support and
            virtualization (eTSEC)
          . eTSEC 1 supports RGMII/RMII
          . eTSEC 2 supports RGMII
          . High-speed USB 2.0 host and device controller with ULPI interface
          . Enhanced secure digital (SD/MMC) host controller (eSDHC)
          . Antenna interface controller (AIC), supporting three industry standard
            JESD207/three custom ADI RF interfaces (two dual port and one single
            port) and three MAXIM's MaxPHY serial interfaces
          . ADI lanes support both full duplex FDD support and half duplex TDD
            support
          . Universal Subscriber Identity Module (USIM) interface that facilitates
            communication to SIM cards or Eurochip pre-paid phone cards
          . TDM with one TDM port
          . Two DUART, four eSPI, and two I2C controllers
          . Integrated Flash memory controller (IFC)
          . TDM with 256 channels
          . GPIO
          . Sixteen 32-bit timers
      
      The DSP portion of the SoC consists of DSP core (SC3850) and various
      accelerators pertaining to DSP operations.
      
       BSC9131RDB Overview
       ----------------------
          BSC9131 SoC
          1Gbyte DDR3 (on board DDR)
          128Mbyte 2K page size NAND Flash
          256 Kbit M24256 I2C EEPROM
          128 Mbit SPI Flash memory
          USB-ULPI
          eTSEC1: Connected to RGMII PHY
          eTSEC2: Connected to RGMII PHY
          DUART interface: supports one UARTs up to 115200 bps for console display
      
       Linux runs on e500v2 core and access some DSP peripherals like AIC
      Signed-off-by: NRamneek Mehresh <ramneek.mehresh@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NAkhil Goyal <Akhil.Goyal@freescale.com>
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NRajan Srivastava <rajan.srivastava@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      d729b900
    • T
      Revert "powerpc/p3060qds: Add support for P3060QDS board" · ab2aba47
      Timur Tabi 提交于
      This reverts commit 96cc017c.
      
      The P3060 was cancelled before it went into production, so there's no point
      in supporting it.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      ab2aba47
    • T
      powerpc/85xx: use the BRx registers to enable indirect mode on the P1022DS · 6bd825f0
      Timur Tabi 提交于
      In order to enable the DIU video controller on the P1022DS, the FPGA needs
      to be switched to "indirect mode", where the localbus is disabled and
      the FPGA is accessed via writes to localbus chip select signals CS0 and CS1.
      
      To obtain the address of CS0 and CS1, the platform driver uses an "indirect
      pixis mode" device tree node.  This node assumes that the localbus 'ranges'
      property is sorted in chip-select order.  That is, reg value 0 maps to
      CS0, reg value 1 maps to CS1, etc.  This is how the 'ranges' property is
      supposed to be arranged.
      
      Unfortunately, the 'ranges' property is often mis-arranged, and not just on
      the P1022DS.  Linux normally does not care, since it does not program the
      localbus.  But the indirect-mode code on the P1022DS does care.
      
      The "proper" fix is to have U-Boot fix the 'ranges' property, but this would
      be too cumbersome.  The names and 'reg' properties of all the localbus
      devices would also need to be updated, and determining which localbus device
      maps to which chip select is board-specific.
      
      Instead, we determine the CS0/CS1 base addresses the same way that U-boot
      does -- by reading the BRx registers directly and mapping them to physical
      addresses.  This code is simpler and more reliable, and it does not require
      a U-boot or device tree change.
      
      Since the indirect pixis device tree node is no longer needed, the node is
      deleted from the DTS.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      6bd825f0
    • P
      powerpc: remove Wind River SBC8560 support · b048b4e1
      Paul Gortmaker 提交于
      This reference board dates back to 2004, and is largely a legacy
      EOL product.  The MPC8560 is a pre e500v2 CPU.  The SBC8548 is
      a more modern, better e500v2 target for people to use as a
      reference board with today's kernels, should they require one.
      
      Removing support for it will also allow us to remove some
      sbc8560 specific quirk handling in 8250 UART code, and some
      MTD mapping support.
      
      Cc: David Woodhouse <David.Woodhouse@intel.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b048b4e1
    • T
      powerpc/85xx: Add P1024rdb board support · 063e94bb
      Tang Yuantian 提交于
      The p1024rdb has the similar feature as the p1020rdb. Therefore, p1024rdb use
      the same platform file as the p1/p2 rdb board.
      Overview of P2020RDB platform
      	- DDR3 1G
      	- NOR flash 16M
      	- 3 Ethernet interfaces
      	- NAND Flash 32M
      	- SPI EEPROM 16M
      	- SD/MMC
      	- 2 USB ports
      	- 4 TDM ports
      Signed-off-by: NJin Qing <b24347@freescale.com>
      Signed-off-by: NLi Yang <leoli@freescale.com>
      Signed-off-by: NTang Yuantian <Yuantian.Tang@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      063e94bb
  3. 03 7月, 2012 1 次提交
  4. 20 4月, 2012 1 次提交
    • T
      powerpc/85xx: don't call of_platform_bus_probe() twice · 8a95bc8d
      Timur Tabi 提交于
      Commit 46d026ac ("powerpc/85xx: consolidate of_platform_bus_probe calls")
      replaced platform-specific of_device_id tables with a single function
      that probes the most of the busses in 85xx device trees.  If a specific
      platform needed additional busses probed, then it could call
      of_platform_bus_probe() again.  Typically, the additional platform-specific
      busses are children of existing busses that have already been probed.
      of_platform_bus_probe() does not handle those child busses automatically.
      
      Unfortunately, this doesn't actually work.  The second (platform-specific)
      call to of_platform_bus_probe() never finds any of the busses it's asked
      to find.
      
      To remedy this, the platform-specific of_device_id tables are eliminated,
      and their entries are merged into mpc85xx_common_ids[], so that all busses
      are probed at once.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      8a95bc8d
  5. 29 3月, 2012 2 次提交
  6. 17 3月, 2012 10 次提交
  7. 16 3月, 2012 7 次提交
  8. 23 2月, 2012 2 次提交
    • K
      powerpc/mpic: Remove duplicate MPIC_WANTS_RESET flag · e55d7f73
      Kyle Moffett 提交于
      There are two separate flags controlling whether or not the MPIC is
      reset during initialization, which is completely unnecessary, and only
      one of them can be specified in the device tree.
      
      Also, most platforms in-tree right now do actually want to reset the
      MPIC during initialization anyways, which means lots of duplicate code
      passing the MPIC_WANTS_RESET flag.
      
      Fix all of the callers which currently do not pass the MPIC_WANTS_RESET
      flag to pass the MPIC_NO_RESET flag, then remove the MPIC_WANTS_RESET
      flag and make the code reset the MPIC by default.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e55d7f73
    • K
      powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count · 5019609f
      Kyle Moffett 提交于
      The mpic->irq_count variable is only used as a software error-checking
      limit to determine whether or not an IRQ number is valid.  In board code
      which does not manually specify an IRQ count to mpic_alloc(), i.e. 0, it
      is automatically detected from the number of ISUs and the ISU size.
      
      In practice, all hardware ends up with irq_count == num_sources, so all
      of the runtime checks on mpic->irq_count should just check the value of
      mpic->num_sources instead.
      
      When platform hardware does not correctly report the number of IRQs,
      which only happens on the MPC85xx/MPC86xx, the MPIC_BROKEN_FRR_NIRQS
      flag is used to override the detected value of num_sources with the
      manual irq_count parameter.  Since there's no need to manually specify
      the number of IRQs except in this case, the extra flag can be eliminated
      and the test changed to "irq_count != 0".
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5019609f
  9. 16 2月, 2012 2 次提交
    • G
      irq_domain/powerpc: constify irq_domain_ops · 9f70b8eb
      Grant Likely 提交于
      Make all the irq_domain_ops structures in powerpc 'static const'
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Milton Miller <miltonm@bga.com>
      Tested-by: NOlof Johansson <olof@lixom.net>
      9f70b8eb
    • G
      irq_domain: Replace irq_alloc_host() with revmap-specific initializers · a8db8cf0
      Grant Likely 提交于
      Each revmap type has different arguments for setting up the revmap.
      This patch splits up the generator functions so that each revmap type
      can do its own setup and the user doesn't need to keep track of how
      each revmap type handles the arguments.
      
      This patch also adds a host_data argument to the generators.  There are
      cases where the host_data pointer will be needed before the function returns.
      ie. the legacy map calls the .map callback for each irq before returning.
      
      v2: - Add void *host_data argument to irq_domain_add_*() functions
          - fixed failure to compile
          - Moved IRQ_DOMAIN_MAP_* defines into irqdomain.c
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Milton Miller <miltonm@bga.com>
      Tested-by: NOlof Johansson <olof@lixom.net>
      a8db8cf0
  10. 15 2月, 2012 1 次提交
    • G
      irq_domain/powerpc: Use common irq_domain structure instead of irq_host · bae1d8f1
      Grant Likely 提交于
      This patch drops the powerpc-specific irq_host structures and uses the common
      irq_domain strucutres defined in linux/irqdomain.h.  It also fixes all
      the users to use the new structure names.
      
      Renaming irq_host to irq_domain has been discussed for a long time, and this
      patch is a step in the process of generalizing the powerpc virq code to be
      usable by all architecture.
      
      An astute reader will notice that this patch actually removes the irq_host
      structure instead of renaming it.  This is because the irq_domain structure
      already exists in include/linux/irqdomain.h and has the needed data members.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Milton Miller <miltonm@bga.com>
      Tested-by: NOlof Johansson <olof@lixom.net>
      bae1d8f1
  11. 18 1月, 2012 1 次提交
  12. 05 1月, 2012 2 次提交
    • T
      powerpc: fix compile error with 85xx/p1010rdb.c · ef88e391
      Tony Breeds 提交于
      Current linux-next compiled with mpc85xx_defconfig causes this:
      
      arch/powerpc/platforms/85xx/p1010rdb.c:41:14: error: 'np' undeclared (first use in this function)
      arch/powerpc/platforms/85xx/p1023_rds.c:102:14: error: 'np' undeclared (first use in this function)
      
      Introduced in:
        commit 996983b7
        Author: Kyle Moffett <Kyle.D.Moffett@boeing.com>
        Date:   Fri Dec 2 06:28:02 2011 +0000
        powerpc/mpic: Search for open-pic device-tree node if NULL
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      ef88e391
    • M
      powerpc: fix compile error with 85xx/p1023_rds.c · 2c1c7430
      Michael Neuling 提交于
      Current linux-next compiled with mpc85xx_smp_defconfig causes this:
      arch/powerpc/platforms/85xx/p1023_rds.c: In function 'mpc85xx_rds_pic_init':
      arch/powerpc/platforms/85xx/p1023_rds.c:102:14: error: 'np' undeclared (first use in this function)
      arch/powerpc/platforms/85xx/p1023_rds.c:102:14: note: each undeclared identifier is reported only once for each function it appears in
      
      Introduced in:
        commit 996983b7
        Author: Kyle Moffett <Kyle.D.Moffett@boeing.com>
        Date:   Fri Dec 2 06:28:02 2011 +0000
        powerpc/mpic: Search for open-pic device-tree node if NULL
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      2c1c7430
  13. 07 12月, 2011 4 次提交
  14. 25 11月, 2011 1 次提交