u-boot/board/freescale
Li Yang 14aa71e660 powerpc/85xx: Add support for new P102x/P2020 RDB style boards
The following boards share a common design but with minor variations
between them:

P1020MSBG-PC
P1020RDB-PC
P1020UTM-PC
P1021RDB-PC
P1024RDB
P1025RDB
P2020RDB-PC

The P1020RDB-PC shares its roots in the existing P1020RDB board design,
however uses DDR3 instead of DDR2.
P2020RDB-PC differs from the P102x RDB-PC with 64-bit DDR and 100Mhz SYSCLK.

Key features on these boards include:
* DDR3
* NOR flash
* NAND flash (on RDB's only)
* SPI flash (on RDB's only)
* SDHC/MMC card slot
* VSC7385 Ethernet switch (on P1020MBG, P1020RDB, & P1021RDB)
* PCIE slot and mini-PCIE slots

As these boards use soldered DDR chips not regular DIMMs, an on-board EEPROM
is used to store SPD data. In case of absent or corrupted SPD, falling back
to timing data embedded in the source code will be used. Raw timing data is
extracted from DDR chip datasheet. Different speeds of DDR are supported
with this approach. ODT option is forced to fit this set of boards, again
because they don't have regular DIMMs.

CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS is defined as 5ms to meet
specification for writing timing.

VSC firmware Address is defined by default in config file for eTSEC1.

SD width is based off DIP switch. DIP switch is detected on the
board by reading i2c bus and setting the appropriate mux values.

Some boards have QE module in the silicon (P1021 and P1025). QE and eLBC
have pins multiplexing. QE function needs to be disabled to access Nor Flash
and CPLD. QE-UEC and QE-UART can be enabled for linux kernel by setting "qe"
in hwconfig. In addition, QE-UEC and QE-TDM also have pins multiplexing, to
enable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below

'setenv hwconfig qe' to enable QE UEC/UART and disable Nor-Flash/CPLD.
'setenv hwconfig 'qe;tdm'' to enalbe QE TDM and disable Nor-Flash/CPLD.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Zhao Chenhui <b26998@freescale.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Tang Yuantian <b29983@freescale.com>
Signed-off-by: ramneek.mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Akhil Goyal <akhil.goyal@freescale.com>
2011-09-29 19:01:04 -05:00
..
common Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
corenet_ds powerpc/85xx: enable USB2 gadget mode for corenet ds board 2011-07-29 08:53:43 -05:00
m547xevb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m548xevb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5208evbe ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5235evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5249evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5253demo ColdFire:Add mb for 5253 dram initialization 2011-09-04 22:46:55 +08:00
m5253evbe rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5271evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5272c3 rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5275evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5282evb rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
m5329evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5373evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m52277evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m53017evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m54451evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m54455evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
mpc832xemds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc837xemds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc837xerdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc5121ads Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc7448hpc2 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
mpc8260ads miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mpc8266ads cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8308rdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8313erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8315erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8323erdb powerpc/83xx: remove empty board_early_init_f() 2011-07-06 19:09:28 -05:00
mpc8349emds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8349itx Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8360emds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc8360erdk powerpc/83xx: remove empty board_early_init_f() 2011-07-06 19:09:28 -05:00
mpc8536ds tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
mpc8540ads powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8541cds powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8544ds tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
mpc8548cds powerpc/mpc8548cds: set pci1_hose.config_table after fsl_setup_hose 2011-09-09 08:58:11 -05:00
mpc8555cds powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8560ads powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from board 2011-04-04 09:24:41 -05:00
mpc8568mds powerpc/mpc8568mds: set pci1_hose.config_table after fsl_setup_hose 2011-09-09 08:58:10 -05:00
mpc8569mds fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
mpc8572ds powerpc/mpc85xx: Display a warning for unsupported DDR data rates 2011-07-11 13:24:20 -05:00
mpc8610hpcd powerpc/mpc8610hpcd: set pci1_hose.config_table after fsl_setup_hose 2011-09-09 08:58:11 -05:00
mpc8641hpcn MPC8xxx: drop redundant boot messages 2011-07-29 08:53:39 -05:00
mx31ads Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
mx31pdk Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
mx35pdk Makefile : fix generation of cpu related asm-offsets.h 2011-09-07 21:41:27 +02:00
mx51evk MX5: mx51evk: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53ard MX5: mx53ard: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53evk MX5: mx53evk: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53loco MX5: mx53loco: make use of GPIO framework 2011-09-04 11:36:12 +02:00
mx53smd MX5: mx53smd: make use of GPIO framework 2011-09-04 11:36:12 +02:00
p1_p2_rdb qoriq/p1_p2_rdb: USB device-tree fixups for P1020 2011-07-11 13:24:20 -05:00
p1_p2_rdb_pc powerpc/85xx: Add support for new P102x/P2020 RDB style boards 2011-09-29 19:01:04 -05:00
p1022ds video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
p1023rds powerpc/85xx: Add basic support for P1023RDS board 2011-07-11 13:24:20 -05:00
p2020ds powerpc/mpc85xx: Display a warning for unsupported DDR data rates 2011-07-11 13:24:20 -05:00
p2041rdb MPC8xxx: drop redundant boot messages 2011-07-29 08:53:39 -05:00