1702e6014SWolfgang DenkOverview 2702e6014SWolfgang Denk-------- 3702e6014SWolfgang DenkP1_P2_RDB_PC represents a set of boards including 4702e6014SWolfgang Denk P1020MSBG-PC 5702e6014SWolfgang Denk P1020RDB-PC 6*45fdb627SHaijun.Zhang P1020RDB-PD 7702e6014SWolfgang Denk P1020UTM-PC 8702e6014SWolfgang Denk P1021RDB-PC 9702e6014SWolfgang Denk P1024RDB 10702e6014SWolfgang Denk P1025RDB 11702e6014SWolfgang Denk P2020RDB-PC 12702e6014SWolfgang Denk 13702e6014SWolfgang DenkThey have similar design of P1020RDB but have DDR3 instead of DDR2. P2020RDB-PC 14702e6014SWolfgang Denkhas 64-bit DDR. All others have 32-bit DDR. 15702e6014SWolfgang Denk 16702e6014SWolfgang DenkKey features on these boards include: 17702e6014SWolfgang Denk * DDR3 18702e6014SWolfgang Denk * NOR flash 19702e6014SWolfgang Denk * NAND flash (on RDB's only) 20702e6014SWolfgang Denk * SPI flash (on RDB's only) 21702e6014SWolfgang Denk * SDHC/MMC card slot 22702e6014SWolfgang Denk * VSC7385 Ethernet switch (on P1020MBG, P1020RDB, & P1021RDB) 23702e6014SWolfgang Denk * PCIE slot and mini-PCIE slots 24702e6014SWolfgang Denk 25702e6014SWolfgang DenkAs these boards use soldered DDR chips not regular DIMMs, an on-board EEPROM 26702e6014SWolfgang Denkis used to store SPD data. In case of absent or corrupted SPD, falling back 27702e6014SWolfgang Denkto timing data embedded in the source code will be used. Raw timing data is 28702e6014SWolfgang Denkextracted from DDR chip datasheet. Different speeds of DDR are supported with 29702e6014SWolfgang Denkthis approach. ODT option is forced to fit this set of boards, again because 30702e6014SWolfgang Denkthey don't have regular DIMMs. 31702e6014SWolfgang Denk 32702e6014SWolfgang DenkCONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS is defined as 5ms to meet specification 33702e6014SWolfgang Denkfor writing timing. 34702e6014SWolfgang Denk 35702e6014SWolfgang DenkVSC firmware Address is defined by default in config file for eTSEC1. 36702e6014SWolfgang Denk 37702e6014SWolfgang DenkSD width is based off DIP switch. DIP switch is detected on the 38702e6014SWolfgang Denkboard by reading i2c bus and setting the appropriate mux values. 39702e6014SWolfgang Denk 40702e6014SWolfgang DenkSome boards have QE module in the silicon (P1021 and P1025). QE and eLBC have 41702e6014SWolfgang Denkpins multiplexing. QE function needs to be disabled to access Nor Flash and 42702e6014SWolfgang DenkCPLD. QE-UEC and QE-UART can be enabled for linux kernel by setting "qe" 43702e6014SWolfgang Denkin hwconfig. In addition, QE-UEC and QE-TDM also have pins multiplexing, to 44702e6014SWolfgang Denkenable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below 45702e6014SWolfgang Denk 46702e6014SWolfgang Denk'setenv hwconfig qe' to enable QE UEC/UART and disable Nor-Flash/CPLD. 47702e6014SWolfgang Denk'setenv hwconfig 'qe;tdm'' to enalbe QE TDM and disable Nor-Flash/CPLD. 48