powerpc/85xx: Add BSC9132QDS support
PATCH 1/1 powerpc/85xx: Add BSC9132QDS support
BSC9132QDS is a Freescale reference design board for BSC9132 SoC. BSC9132 SOC is an integrated device that targets the evolving Microcell, Picocell, and Enterprise-Femto base station market subsegments. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements.
BSC9132QDS Overview
--------------------
2Gbyte DDR3 (on board DDR), Dual Ranki
32Mbyte 16bit NOR flash
128Mbyte 2K page size NAND Flash
256 Kbit M24256 I2C EEPROM
128 Mbit SPI Flash memory
SD slot
USB-ULPI
eTSEC1: Connected to SGMII PHY
eTSEC2: Connected to SGMII PHY
PCIe
CPRI
SerDes
I2C RTC
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
--- MAINTAINERS | 4 + board/freescale/bsc9132qds/Makefile | 52 +++ board/freescale/bsc9132qds/README | 150 +++++++ board/freescale/bsc9132qds/bsc9132qds.c | 406 +++++++++++++++++++ board/freescale/bsc9132qds/ddr.c | 209 ++++++++++ board/freescale/bsc9132qds/law.c | 35 ++ board/freescale/bsc9132qds/tlb.c | 92 +++++ boards.cfg | 6 + include/configs/BSC9132QDS.h | 667 +++++++++++++++++++++++++++++++ 9 files changed, 1621 insertions(+) create mode 100644 board/freescale/bsc9132qds/Makefile create mode 100644 board/freescale/bsc9132qds/README create mode 100644 board/freescale/bsc9132qds/bsc9132qds.c create mode 100644 board/freescale/bsc9132qds/ddr.c create mode 100644 board/freescale/bsc9132qds/law.c create mode 100644 board/freescale/bsc9132qds/tlb.c create mode 100644 include/configs/BSC9132QDS.h
MAINTAINERS +4 -0
@@ -27,6 +27,10 @@ Poonam Aggrwal <[email protected]> BSC9131RDB BSC9131 +Naveen Burmi <[email protected]> + + BSC9132QDS BSC9132 + Greg Allen <[email protected]> UTX8245 MPC8245
board/freescale/bsc9132qds/Makefile new file +52 -0
52 lines not on this page · raw message
board/freescale/bsc9132qds/README new file +150 -0
150 lines not on this page · raw message
board/freescale/bsc9132qds/bsc9132qds.c new file +406 -0
406 lines not on this page · raw message
board/freescale/bsc9132qds/ddr.c new file +209 -0
209 lines not on this page · raw message
board/freescale/bsc9132qds/law.c new file +35 -0
@@ -0,0 +1,35 @@ +/* +* Copyright 2013 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[] = { +#ifndef CONFIG_SYS_NO_FLASH +SET_LAW (CONFIG_SYS_FLASH_BASE_PHYS ,LAW_SIZE_128M ,LAW_TRGT_IF_IFC ), +#endif +SET_LAW (CONFIG_SYS_NAND_BASE_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_IFC ), + SET_LAW(CONFIG_SYS_FPGA_BASE_PHYS, LAW_SIZE_128K, LAW_TRGT_IF_IFC), +}; + +int num_law_entries =ARRAY_SIZE (law_table);
board/freescale/bsc9132qds/tlb.c new file +92 -0
92 lines not on this page · raw message
boards.cfg +6 -0
@@ -854,6 +854,12 @@ P5020DS_SPIFLASH powerpc mpc85xx corenet_ds freescale P5020DS_SRIO_PCIE_BOOT powerpc mpc85xx corenet_ds freescale - P5020DS:SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF80000 P5040DS powerpc mpc85xx corenet_ds freescale BSC9131RDB_SPIFLASH powerpc mpc85xx bsc9131rdb freescale - BSC9131RDB:BSC9131RDB,SPIFLASH +BSC9132QDS_NOR_DDRCLK100 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SYS_CLK_100_DDR_100 +BSC9132QDS_NOR_DDRCLK133 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SYS_CLK_100_DDR_133 +BSC9132QDS_SDCARD_DDRCLK100 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SDCARD,SYS_CLK_100_DDR_100 +BSC9132QDS_SDCARD_DDRCLK133 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SDCARD,SYS_CLK_100_DDR_133 +BSC9132QDS_SPIFLASH_DDRCLK100 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_100 +BSC9132QDS_SPIFLASH_DDRCLK133 powerpc mpc85xx bsc9132qds freescale - BSC9132QDS:BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_133 stxgp3 powerpc mpc85xx stxgp3 stx stxssa powerpc mpc85xx stxssa stx - stxssa stxssa_4M powerpc mpc85xx stxssa stx - stxssa:STXSSA_4M
include/configs/BSC9132QDS.h new file +667 -0
667 lines not on this page · raw message
Signature · 1 line
1.7.9.5