1. 24 11月, 2016 12 次提交
  2. 03 11月, 2015 1 次提交
  3. 05 5月, 2015 1 次提交
  4. 24 4月, 2015 1 次提交
    • J
      driver/ifc: Add 64KB page support · 39b0bbbb
      Jaiprakash Singh 提交于
      IFC has two register pages.Till IFC version 1.4 each
      register page is 4KB each.But IFC ver 2.0 register page
      size is 64KB each.IFC regiters structure is break into
      two viz FCM and RUNTIME.FCM(Flash control machine) registers
      are defined in PAGE0 and controls IFC generic functionality.
      RUNTIME registers are defined in PAGE1 and controls NAND and
      GPCM funcinality.
      
      FCM and RUNTIME structures defination is common for IFC
      version 1.4 and 2.0.
      Signed-off-by: NJaiprakash Singh <b44839@freescale.com>
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      39b0bbbb
  5. 05 3月, 2015 1 次提交
    • S
      powerpc/mpc85xx: Add DSP side awareness for Freescale Heterogeneous SoCs · b8bf0adc
      Shaveta Leekha 提交于
      The code provides framework for heterogeneous multicore chips based on StarCore
      and Power Architecture which are chasis-2 compliant, like B4860 and B4420
      
      It will make u-boot recognize all non-ppc cores and peripherals like
      SC3900/DSP CPUs, MAPLE, CPRI and print their configuration in u-boot logs.
      Example boot logs of B4860QDS:
      
      U-Boot 2015.01-00232-geef6e36-dirty (Jan 19 2015 - 11:58:45)
      
      CPU0:  B4860E, Version: 2.2, (0x86880022)
      Core:  e6500, Version: 2.0, (0x80400120)
      Clock Configuration:
             CPU0:1600 MHz, CPU1:1600 MHz, CPU2:1600 MHz, CPU3:1600 MHz,
             DSP CPU0:1200 MHz, DSP CPU1:1200 MHz, DSP CPU2:1200 MHz, DSP CPU3:1200 MHz,
             DSP CPU4:1200 MHz, DSP CPU5:1200 MHz,
             CCB:666.667 MHz,
             DDR:933.333 MHz (1866.667 MT/s data rate) (Asynchronous), IFC:166.667 MHz
             CPRI:600  MHz
             MAPLE:600  MHz, MAPLE-ULB:800  MHz, MAPLE-eTVPE:1000 MHz
             FMAN1: 666.667 MHz
             QMAN:  333.333 MHz
      
      Top level changes include:
      (1) Top level CONFIG to identify HETEROGENUOUS clusters
      (2) CONFIGS for SC3900/DSP components
      (3) Global structures like "cpu_type" and "MPC85xx_SYS_INFO"
          updated for dsp cores and other components
      (3) APIs to get DSP num cores and their Mask like:
              cpu_dsp_mask, cpu_num_dspcores etc same as that of PowerPC
      (5) Code to fetch and print SC cores and other heterogenous
          device's frequencies
      (6) README added for the same
      Signed-off-by: NShaveta Leekha <shaveta@freescale.com>
      Reviewed-by: NYork Sun <yorksun@freescale.com>
      b8bf0adc
  6. 06 12月, 2014 2 次提交
    • S
      powerpc/mpc85xx: Add T1024/T1023 SoC support · f6050790
      Shengzhou Liu 提交于
      Add support for Freescale T1024/T1023 SoC.
      
      The T1024 SoC includes the following function and features:
      - Two 64-bit Power architecture e5500 cores, up to 1.4GHz
      - private 256KB L2 cache each core and shared 256KB CoreNet platform cache (CPC)
      - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving support
      - Data Path Acceleration Architecture (DPAA) incorporating acceleration
      - Four MAC for 1G/2.5G/10G network interfaces (RGMII, SGMII, QSGMII, XFI)
      - High-speed peripheral interfaces
        - Three PCI Express 2.0 controllers
      - Additional peripheral interfaces
        - One SATA 2.0 controller
        - Two USB 2.0 controllers with integrated PHY
        - Enhanced secure digital host controller (SD/eSDHC/eMMC)
        - Enhanced serial peripheral interface (eSPI)
        - Four I2C controllers
        - Four 2-pin UARTs or two 4-pin UARTs
        - Integrated Flash Controller supporting NAND and NOR flash
      - Two 8-channel DMA engines
      - Multicore programmable interrupt controller (PIC)
      - LCD interface (DIU) with 12 bit dual data rate
      - QUICC Engine block supporting TDM, HDLC, and UART
      - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB)
      - Support for hardware virtualization and partitioning enforcement
      - QorIQ Platform's Trust Architecture 2.0
      
      Differences between T1024 and T1023:
        Feature         T1024  T1023
        QUICC Engine:   yes    no
        DIU:            yes    no
        Deep Sleep:     yes    no
        I2C controller: 4      3
        DDR:            64-bit 32-bit
        IFC:            32-bit 28-bit
      Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
      Reviewed-by: NYork Sun <yorksun@freescale.com>
      f6050790
    • Y
      mpc85xx/t2080: Fix parsing DDR ratio for new revision · 14109c7a
      York Sun 提交于
      T2080 rev 1.1 changes MEM_RAT in RCW, which requires new parsing for ratio,
      the same way as T4240 rev 2.0.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      CC: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      14109c7a
  7. 15 11月, 2014 1 次提交
  8. 13 5月, 2014 1 次提交
  9. 23 4月, 2014 4 次提交
    • P
      powerpc/mpc85xx:Update FM1 clock select and shift for B4420 · b33bd8cd
      Prabhakar Kushwaha 提交于
      B4420 is a personality of B4860.
      It should have same FM1_CLK_SEK and FM1_CLK_SHIFT as B4860
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Reviewed-by: NYork Sun <yorksun@freescale.com>
      b33bd8cd
    • V
      powerpc/85xx: Enhance get_sys_info() to check clocking mode · 0c12a159
      vijay rai 提交于
      T1040 and it's variants provide "Single Oscillator Source" Reference Clock Mode.
      
      In this mode, single onboard oscillator(DIFF_SYSCLK) can provide the reference clock
      (100MHz) to the following PLLs:
      • Platform PLL
      • Core PLLs
      • USB PLL
      • DDR PLL, etc
      
      The cfg_eng_use0 of porsr1 register identifies whether the SYSCLK (single-ended) or
      DIFF_SYSCLK (differential) is selected as the clock input to the chip.
      
      get_sys_info has been enhanced to add the diff_sysclk so that the
      various drivers can be made aware of ths diff sysclk configuration and
      act accordingly.
      
      Other changes:
      -single_src to ddr_refclk_sel, as it is use for checking ddr reference clock
      -Removed the print of single_src from get_sys_info as this will be
      -printed whenever somebody calls get_sys_info which is not appropriate.
      -Add print of single_src in checkcpu as it is called only once during initialization
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NVijay Rai <vijay.rai@freescale.com>
      Reviewed-by: NYork Sun <yorksun@freescale.com>
      0c12a159
    • Y
      powerpc/mpc85xx: Add workaround for erratum A007212 · c3678b09
      York Sun 提交于
      Erratum A007212 for DDR is about a runaway condition for DDR PLL
      oscilliator. Please refer to erratum document for detail.
      For this workaround to work, DDR PLL needs to be disabled in RCW.
      However, u-boot needs to know the expected PLL ratio. We put the
      ratio in a reserved field RCW[18:23]. U-boot will skip this workaround
      if DDR PLL ratio is set, or the reserved field is not set.
      
      Workaround for erratum A007212 applies to selected versions of
      B4/T4 SoCs. It is safe to apply the workaround to all versions. It
      is helpful for upgrading SoC without changing u-boot. In case DDR
      PLL is disabled by RCW (part of the erratum workaround), we need this
      u-boot workround to bring up DDR clock.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      c3678b09
    • Z
      QE/U-QE: Add U-QE support · 2a44efeb
      Zhao Qiang 提交于
      Modify code to adapt to both u-qe and qe.
      
      U_QE is a kind of cutted QE.
      the differences between U_QE and QE
      	1. UCC: U_QE supports 2 UCCs while QE supports up to 8 UCCs.
      	2. IMMR: have different immr base addr.
      	3. iopin: U_QE doesn't need to config iopin.
      Signed-off-by: NZhao Qiang <B45475@freescale.com>
      Reviewed-by: NYork Sun <yorksun@freescale.com>
      2a44efeb
  10. 25 2月, 2014 1 次提交
  11. 03 1月, 2014 1 次提交
    • P
      powerpc/mpc85xx: Add support for single source clocking · b135991a
      Priyanka Jain 提交于
      Single-source clocking is new feature introduced in T1040.
      In this mode, a single differential clock is supplied to the
      DIFF_SYSCLK_P/N inputs to the processor, which in turn is
      used to supply clocks to the sysclock, ddrclock and usbclock.
      
      So, both ddrclock and syclock are driven by same differential
      sysclock in single-source clocking mode whereas in normal clocking
      mode, generally separate DDRCLK and SYSCLK pins provides
      reference clock for sysclock and ddrclock
      
      DDR_REFCLK_SEL rcw bit is used to determine DDR clock source
      -If DDR_REFCLK_SEL rcw bit is 0, then DDR PLLs are driven in
       normal clocking mode by DDR_Reference clock
      
      -If DDR_REFCLK_SEL rcw bit is 1, then DDR PLLs are driven in
       single source clocking mode by DIFF_SYSCLK
      
      Add code to determine ddrclock based on DDR_REFCLK_SEL rcw bit.
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      b135991a
  12. 12 12月, 2013 1 次提交
  13. 05 12月, 2013 1 次提交
  14. 26 11月, 2013 1 次提交
    • S
      powerpc/mpc85xx: Add T2080/T2081 SoC support · 629d6b32
      Shengzhou Liu 提交于
      Add support for Freescale T2080/T2081 SoC.
      
      T2080 includes the following functions and features:
      - Four dual-threads 64-bit Power architecture e6500 cores, up to 1.8GHz
      - 2MB L2 cache and 512KB CoreNet platform cache (CPC)
      - Hierarchical interconnect fabric
      - One 32-/64-bit DDR3/3L SDRAM memory controllers with ECC and interleaving
      - Data Path Acceleration Architecture (DPAA) incorporating acceleration
      - 16 SerDes lanes up to 10.3125 GHz
      - 8 mEMACs for network interfaces (four 1Gbps MACs and four 10Gbps/1Gbps MACs)
      - High-speed peripheral interfaces
        - Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
        - Two Serial RapidIO 2.0 controllers/ports running at up to 5 GHz
      - Additional peripheral interfaces
        - Two serial ATA (SATA 2.0) controllers
        - Two high-speed USB 2.0 controllers with integrated PHY
        - Enhanced secure digital host controller (SD/SDHC/SDXC/eMMC)
        - Enhanced serial peripheral interface (eSPI)
        - Four I2C controllers
        - Four 2-pin UARTs or two 4-pin UARTs
        - Integrated Flash Controller supporting NAND and NOR flash
      - Three eight-channel DMA engines
      - Support for hardware virtualization and partitioning enforcement
      - QorIQ Platform's Trust Architecture 2.0
      
      Differences between T2080 and T2081:
        Feature               T2080 T2081
        1G Ethernet numbers:  8     6
        10G Ethernet numbers: 4     2
        SerDes lanes:         16    8
        Serial RapidIO,RMan:  2     no
        SATA Controller:      2     no
        Aurora:               yes   no
        SoC Package:          896-pins 780-pins
      Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
      Acked-by: NYork Sun <yorksun@freescale.com>
      629d6b32
  15. 17 10月, 2013 1 次提交
  16. 09 9月, 2013 1 次提交
  17. 21 8月, 2013 1 次提交
  18. 24 7月, 2013 1 次提交
  19. 25 5月, 2013 1 次提交
    • Y
      powerpc/chassis2: Change core numbering scheme · f6981439
      York Sun 提交于
      To align with chassis generation 2 spec, all cores are numbered in sequence.
      The cores may reside across multiple clusters. Each cluster has zero to four
      cores. The first available core is numbered as core 0. The second available
      core is numbered as core 1 and so on.
      
      Core clocks are generated by each clusters. To identify the cluster of each
      core, topology registers are examined.
      
      Cluster clock registers are reorganized to be easily indexed.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      f6981439
  20. 15 5月, 2013 2 次提交
  21. 04 2月, 2013 4 次提交