huangliang 4b7a0684d9 first debug version 5 mesiacov pred
..
SPI 4b7a0684d9 first debug version 4 mesiacov pred
SPL 4b7a0684d9 first debug version 4 mesiacov pred
android 4b7a0684d9 first debug version 4 mesiacov pred
api 4b7a0684d9 first debug version 4 mesiacov pred
arch 4b7a0684d9 first debug version 4 mesiacov pred
board 4b7a0684d9 first debug version 4 mesiacov pred
build 4b7a0684d9 first debug version 4 mesiacov pred
chromium 4b7a0684d9 first debug version 4 mesiacov pred
develop 4b7a0684d9 first debug version 4 mesiacov pred
device-tree-bindings 4b7a0684d9 first debug version 4 mesiacov pred
imx 4b7a0684d9 first debug version 4 mesiacov pred
learn 4b7a0684d9 first debug version 4 mesiacov pred
media 4b7a0684d9 first debug version 4 mesiacov pred
mvebu 4b7a0684d9 first debug version 4 mesiacov pred
sphinx 4b7a0684d9 first debug version 4 mesiacov pred
sphinx-static 4b7a0684d9 first debug version 4 mesiacov pred
usage 4b7a0684d9 first debug version 4 mesiacov pred
.gitignore 4b7a0684d9 first debug version 4 mesiacov pred
I2C_Edge_Conditions 4b7a0684d9 first debug version 4 mesiacov pred
Makefile 4b7a0684d9 first debug version 4 mesiacov pred
README.Heterogeneous-SoCs 4b7a0684d9 first debug version 4 mesiacov pred
README.JFFS2_NAND 4b7a0684d9 first debug version 4 mesiacov pred
README.LED 4b7a0684d9 first debug version 4 mesiacov pred
README.OFT 4b7a0684d9 first debug version 4 mesiacov pred
README.POST 4b7a0684d9 first debug version 4 mesiacov pred
README.SNTP 4b7a0684d9 first debug version 4 mesiacov pred
README.TPL 4b7a0684d9 first debug version 4 mesiacov pred
README.VLAN 4b7a0684d9 first debug version 4 mesiacov pred
README.VSC3316-3308 4b7a0684d9 first debug version 4 mesiacov pred
README.arm-caches 4b7a0684d9 first debug version 4 mesiacov pred
README.arm-relocation 4b7a0684d9 first debug version 4 mesiacov pred
README.armada-secureboot 4b7a0684d9 first debug version 4 mesiacov pred
README.asn1 4b7a0684d9 first debug version 4 mesiacov pred
README.atmel_mci 4b7a0684d9 first debug version 4 mesiacov pred
README.atmel_pmecc 4b7a0684d9 first debug version 4 mesiacov pred
README.autoboot 4b7a0684d9 first debug version 4 mesiacov pred
README.bcmns3 4b7a0684d9 first debug version 4 mesiacov pred
README.bitbangMII 4b7a0684d9 first debug version 4 mesiacov pred
README.bootcount 4b7a0684d9 first debug version 4 mesiacov pred
README.boston 4b7a0684d9 first debug version 4 mesiacov pred
README.cfi 4b7a0684d9 first debug version 4 mesiacov pred
README.commands.itest 4b7a0684d9 first debug version 4 mesiacov pred
README.commands.spl 4b7a0684d9 first debug version 4 mesiacov pred
README.console 4b7a0684d9 first debug version 4 mesiacov pred
README.davinci 4b7a0684d9 first debug version 4 mesiacov pred
README.davinci.nand_spl 4b7a0684d9 first debug version 4 mesiacov pred
README.dfutftp 4b7a0684d9 first debug version 4 mesiacov pred
README.displaying-bmps 4b7a0684d9 first debug version 4 mesiacov pred
README.dns 4b7a0684d9 first debug version 4 mesiacov pred
README.enetaddr 4b7a0684d9 first debug version 4 mesiacov pred
README.esbc_validate 4b7a0684d9 first debug version 4 mesiacov pred
README.ext4 4b7a0684d9 first debug version 4 mesiacov pred
README.fec_mxc 4b7a0684d9 first debug version 4 mesiacov pred
README.fsl-ddr 4b7a0684d9 first debug version 4 mesiacov pred
README.fsl-esdhc 4b7a0684d9 first debug version 4 mesiacov pred
README.fsl-hwconfig 4b7a0684d9 first debug version 4 mesiacov pred
README.fsl-trustzone-components 4b7a0684d9 first debug version 4 mesiacov pred
README.fsl_iim 4b7a0684d9 first debug version 4 mesiacov pred
README.fuse 4b7a0684d9 first debug version 4 mesiacov pred
README.generic-board 4b7a0684d9 first debug version 4 mesiacov pred
README.generic_usb_ohci 4b7a0684d9 first debug version 4 mesiacov pred
README.gpio 4b7a0684d9 first debug version 4 mesiacov pred
README.gpt 4b7a0684d9 first debug version 4 mesiacov pred
README.hwconfig 4b7a0684d9 first debug version 4 mesiacov pred
README.i2c 4b7a0684d9 first debug version 4 mesiacov pred
README.iomux 4b7a0684d9 first debug version 4 mesiacov pred
README.kconfig 4b7a0684d9 first debug version 4 mesiacov pred
README.kwbimage 4b7a0684d9 first debug version 4 mesiacov pred
README.link-local 4b7a0684d9 first debug version 4 mesiacov pred
README.malta 4b7a0684d9 first debug version 4 mesiacov pred
README.marvell 4b7a0684d9 first debug version 4 mesiacov pred
README.mediatek 4b7a0684d9 first debug version 4 mesiacov pred
README.memory-test 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc83xx.ddrecc 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc83xxads 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc85xx 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc85xx-sd-spi-boot 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc85xx-spin-table 4b7a0684d9 first debug version 4 mesiacov pred
README.mpc85xxcds 4b7a0684d9 first debug version 4 mesiacov pred
README.multi-dtb-fit 4b7a0684d9 first debug version 4 mesiacov pred
README.mxc_ocotp 4b7a0684d9 first debug version 4 mesiacov pred
README.nand 4b7a0684d9 first debug version 4 mesiacov pred
README.odroid 4b7a0684d9 first debug version 4 mesiacov pred
README.omap-ulpi-viewport 4b7a0684d9 first debug version 4 mesiacov pred
README.omap3 4b7a0684d9 first debug version 4 mesiacov pred
README.pblimage 4b7a0684d9 first debug version 4 mesiacov pred
README.pcap 4b7a0684d9 first debug version 4 mesiacov pred
README.power-framework 4b7a0684d9 first debug version 4 mesiacov pred
README.pxe 4b7a0684d9 first debug version 4 mesiacov pred
README.ramboot-ppc85xx 4b7a0684d9 first debug version 4 mesiacov pred
README.rmobile 4b7a0684d9 first debug version 4 mesiacov pred
README.rockchip 4b7a0684d9 first debug version 4 mesiacov pred
README.rockusb 4b7a0684d9 first debug version 4 mesiacov pred
README.s5p4418 4b7a0684d9 first debug version 4 mesiacov pred
README.s5pc1xx 4b7a0684d9 first debug version 4 mesiacov pred
README.sata 4b7a0684d9 first debug version 4 mesiacov pred
README.sched 4b7a0684d9 first debug version 4 mesiacov pred
README.scrapyard 4b7a0684d9 first debug version 4 mesiacov pred
README.serial_multi 4b7a0684d9 first debug version 4 mesiacov pred
README.sha1 4b7a0684d9 first debug version 4 mesiacov pred
README.silent 4b7a0684d9 first debug version 4 mesiacov pred
README.socfpga 4b7a0684d9 first debug version 4 mesiacov pred
README.splashprepare 4b7a0684d9 first debug version 4 mesiacov pred
README.srio-pcie-boot-corenet 4b7a0684d9 first debug version 4 mesiacov pred
README.standalone 4b7a0684d9 first debug version 4 mesiacov pred
README.t1040-l2switch 4b7a0684d9 first debug version 4 mesiacov pred
README.tee 4b7a0684d9 first debug version 4 mesiacov pred
README.ubi 4b7a0684d9 first debug version 4 mesiacov pred
README.ubispl 4b7a0684d9 first debug version 4 mesiacov pred
README.ublimage 4b7a0684d9 first debug version 4 mesiacov pred
README.udp 4b7a0684d9 first debug version 4 mesiacov pred
README.unaligned-memory-access.txt 4b7a0684d9 first debug version 4 mesiacov pred
README.uniphier 4b7a0684d9 first debug version 4 mesiacov pred
README.update 4b7a0684d9 first debug version 4 mesiacov pred
README.usb 4b7a0684d9 first debug version 4 mesiacov pred
README.vf610 4b7a0684d9 first debug version 4 mesiacov pred
README.video 4b7a0684d9 first debug version 4 mesiacov pred
README.watchdog 4b7a0684d9 first debug version 4 mesiacov pred
README.zfs 4b7a0684d9 first debug version 4 mesiacov pred
bounces 4b7a0684d9 first debug version 4 mesiacov pred
conf.py 4b7a0684d9 first debug version 4 mesiacov pred
dumpimage.1 4b7a0684d9 first debug version 4 mesiacov pred
feature-removal-schedule.txt 4b7a0684d9 first debug version 4 mesiacov pred
git-mailrc 4b7a0684d9 first debug version 4 mesiacov pred
index.rst 4b7a0684d9 first debug version 4 mesiacov pred
kwboot.1 4b7a0684d9 first debug version 4 mesiacov pred
mkeficapsule.1 4b7a0684d9 first debug version 4 mesiacov pred
mkfwumdata.1 4b7a0684d9 first debug version 4 mesiacov pred
mkimage.1 4b7a0684d9 first debug version 4 mesiacov pred

README.Heterogeneous-SoCs

DSP side awareness for Freescale heterogeneous multicore chips based on
StarCore and Power Architecture
===============================================================
powerpc/mpc85xx code ve APIs and function to get the number,
configuration and frequencies of all PowerPC cores and devices
connected to them, but it didnt have the similar code ofr HEterogeneous
SC3900/DSP cores and such devices like CPRI, MAPLE, MAPLE-ULB etc.

Code for DSP side awareness provides such functionality for Freescale
Heterogeneous SoCs which are chasis-2 compliant like B4860 and B4420

As part of this feature, following changes have been made:
==========================================================

1. Changed files:
=================
- arch/powerpc/cpu/mpc85xx/cpu.c

Code added in this file to print the DSP cores and other device's(CPRI,
MAPLE etc) frequencies

- arch/powerpc/cpu/mpc85xx/speed.c

Added Defines and code to extract the frequncy information for all
required cores and devices from RCW and System frequency

- arch/powerpc/cpu/mpc8xxx/cpu.c

Added API to get the number of SC cores in running system and Their BIT
MASK, similar to the code written for PowerPC

- arch/powerpc/include/asm/config_mpc85xx.h

Added top level CONFIG to identify presence of HETEROGENUOUS clusters
in the system and CONFIGS for SC3900/DSP components

- arch/powerpc/include/asm/processor.h
- include/common.h

Added newly added Functions Declaration

- include/e500.h

Global structure updated for dsp cores and other components

2. CONFIGs ADDED
================

CONFIG_HETROGENOUS_CLUSTERS - Define for checking the presence of
DSP/SC3900 core clusters

CONFIG_SYS_FSL_NUM_CC_PLLS - Define for number of PLLs

Though there are only 4 PLLs in B4, but in sequence of PLLs from PLL1 -
PLL5, PLL3 is Reserved(as mentioned in RM), so this define contains the
value as 5 not 4, to iterate over all PLLs while coding

CONFIG_SYS_MAPLE - Define for MAPLE Baseband Accelerator
CONFIG_SYS_CPRI - Define for CPRI Interface
CONFIG_PPC_CLUSTER_START - Start index of ppc clusters
CONFIG_DSP_CLUSTER_START - Start index of dsp clusters

Following are the defines for PLL's index that provide the Clocking to
CPRI, ULB and ETVE components

CONFIG_SYS_CPRI_CLK - Define PLL index for CPRI clock
CONFIG_SYS_ULB_CLK - Define PLL index for ULB clock
CONFIG_SYS_ETVPE_CLK - Define PLL index for ETVPE clock

3. Changes in MPC85xx_SYS_INFO Global structure
===============================================

DSP cores and other device's components have been added in this structure.

freq_processor_dsp[CONFIG_MAX_DSP_CPUS] - Array to contain the DSP core's frequencies
freq_cpri - To store CPRI frequency
freq_maple - To store MAPLE frequency
freq_maple_ulb - To store MAPLE-ULB frequency
freq_maple_etvpe - To store MAPLE-eTVPE frequency

4. U-BOOT LOGS
==============
4.1 B4860QDS board
Boot from NOR flash

U-Boot 2014.07-00222-g70587a8-dirty (Aug 07 2014 - 13:15:47)

CPU0: B4860E, Version: 2.0, (0x86880020)
Core: e6500, Version: 2.0, (0x80400020) 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

CPUn - PowerPC core
DSP CPUn - SC3900 core

Shaveta Leekha(shaveta@freescale.com)
Created August 7, 2014
===========================================