powerpc/mpc85xx:Add BSC9131 RDB Support
PATCH v2 1/1 powerpc/mpc85xx:Add BSC9131 RDB Support
BSC9131RDB is a Freescale reference design board for BSC9131 SoC. BSC9131 SOC is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements
BSC9131RDB Overview
-----------------
-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
Apart from the above it also consists various peripherals to support DSP functionalities.
This patch adds support for mainly Power side functionalities and peripherals
---
Note:
1) Name of PSC9131 has been changed to BSC9131 because of new nomenclature. So please reject earlier patch"powerpc/85xx:Add PSC9131 RDB Support"
http://patchwork.ozlabs.org/patch/141311/
2) This patch only adds support of SPI boot. NAND boot support will be added later as per new spl/ architeture.
3) It incorporate all review comments suggested by Wolfgang for PSC9131RDB
Changes for v2: Incorporated Andy Fleming's comments
- Using halt_req_mask of ccsr_gur struct
- Removed board_eth_init as it is doing generic work. cpu_eth_init() will take care its functionality
MAINTAINERS | 2 + board/freescale/bsc9131rdb/Makefile | 53 ++++ board/freescale/bsc9131rdb/bsc9131rdb.c | 83 ++++++ board/freescale/bsc9131rdb/ddr.c | 187 ++++++++++++++ board/freescale/bsc9131rdb/law.c | 31 +++ board/freescale/bsc9131rdb/tlb.c | 67 +++++ boards.cfg | 1 + doc/README.bsc9131rdb | 137 ++++++++++ include/configs/BSC9131RDB.h | 428 +++++++++++++++++++++++++++++++ 9 files changed, 989 insertions(+), 0 deletions(-) create mode 100644 board/freescale/bsc9131rdb/Makefile create mode 100644 board/freescale/bsc9131rdb/bsc9131rdb.c create mode 100644 board/freescale/bsc9131rdb/ddr.c create mode 100644 board/freescale/bsc9131rdb/law.c create mode 100644 board/freescale/bsc9131rdb/tlb.c create mode 100644 doc/README.bsc9131rdb create mode 100644 include/configs/BSC9131RDB.h
MAINTAINERS +2 -0
@@ -21,6 +21,8 @@ Poonam Aggrwal <[email protected]> P2020RDB P2020 + BSC9131RDB BSC9131 + Greg Allen <[email protected]> UTX8245 MPC8245
board/freescale/bsc9131rdb/Makefile new file +53 -0
53 lines not on this page · raw message
board/freescale/bsc9131rdb/bsc9131rdb.c new file +83 -0
83 lines not on this page · raw message
board/freescale/bsc9131rdb/ddr.c new file +187 -0
187 lines not on this page · raw message
board/freescale/bsc9131rdb/law.c new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Copyright 2011-2012 Freescale Semiconductor, Inc. +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#include <common.h> +#include <asm/fsl_law.h> +#include <asm/mmu.h> + +struct law_entry law_table[] = { +SET_LAW (CONFIG_SYS_NAND_BASE_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_IFC ), +}; + +int num_law_entries =ARRAY_SIZE (law_table);
board/freescale/bsc9131rdb/tlb.c new file +67 -0
67 lines not on this page · raw message
boards.cfg +1 -0
@@ -762,6 +762,7 @@ P5020DS_NAND powerpc mpc85xx corenet_ds freescale - P5020DS_SDCARD powerpc mpc85xx corenet_ds freescale - P5020DS:RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF80000 P5020DS_SECURE_BOOT powerpc mpc85xx corenet_ds freescale - P5020DS:SECURE_BOOT P5020DS_SPIFLASH powerpc mpc85xx corenet_ds freescale - P5020DS:RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF80000 +BSC9131RDB_SPIFLASH powerpc mpc85xx bsc9131rdb freescale - BSC9131RDB:BSC9131RDB,SPIFLASH stxgp3 powerpc mpc85xx stxgp3 stx stxssa powerpc mpc85xx stxssa stx - stxssa stxssa_4M powerpc mpc85xx stxssa stx - stxssa:STXSSA_4M
doc/README.bsc9131rdb new file +137 -0
137 lines not on this page · raw message
include/configs/BSC9131RDB.h new file +428 -0
428 lines not on this page · raw message
Signature · 1 line
1.7.5.4