mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-22 10:31:08 +00:00
sh: urquell: Add board comment
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
090fed50ca
commit
6e97938125
1 changed files with 27 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
||||||
* Renesas Technology Corp. SH7786 Urquell Support.
|
* Renesas Technology Corp. SH7786 Urquell Support.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
* Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
||||||
|
*
|
||||||
|
* Based on board-sh7785lcr.c
|
||||||
* Copyright (C) 2008 Yoshihiro Shimoda
|
* Copyright (C) 2008 Yoshihiro Shimoda
|
||||||
*
|
*
|
||||||
* This file is subject to the terms and conditions of the GNU General Public
|
* This file is subject to the terms and conditions of the GNU General Public
|
||||||
|
@ -21,6 +23,29 @@
|
||||||
#include <asm/heartbeat.h>
|
#include <asm/heartbeat.h>
|
||||||
#include <asm/sizes.h>
|
#include <asm/sizes.h>
|
||||||
|
|
||||||
|
/* SWx 8765 4321
|
||||||
|
*----------------------------
|
||||||
|
* SW1 1101 0010 -> Pck 66MHz version
|
||||||
|
* (0101 0010) Pck 33MHz version (check CS1BCR)
|
||||||
|
* SW2 xxxx x1x0 -> little endian
|
||||||
|
* 29bit mode
|
||||||
|
* SW47 0001 1000 -> CS0 : nor flash
|
||||||
|
* CS1 : SRAM, registers, LAN, PCMCIA
|
||||||
|
* 38400 bps
|
||||||
|
*
|
||||||
|
* Address
|
||||||
|
* 0x00000000 Nor Flash
|
||||||
|
* 0x04000000 SRAM
|
||||||
|
* 0x05000000 FPGA register
|
||||||
|
* 0x05800000 LAN91C111
|
||||||
|
* 0x06000000 PCMCIA
|
||||||
|
* 0x10000000 PCIe
|
||||||
|
* 0x14000000 LRAM/URAM
|
||||||
|
* 0x18000000 ATA/NAND-Flash
|
||||||
|
* 0x1C000000 SH7786 Control register
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* HeartBeat */
|
||||||
static struct resource heartbeat_resources[] = {
|
static struct resource heartbeat_resources[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
.start = BOARDREG(SLEDR),
|
.start = BOARDREG(SLEDR),
|
||||||
|
@ -43,6 +68,7 @@ static struct platform_device heartbeat_device = {
|
||||||
.resource = heartbeat_resources,
|
.resource = heartbeat_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* LAN91C111 */
|
||||||
static struct smc91x_platdata smc91x_info = {
|
static struct smc91x_platdata smc91x_info = {
|
||||||
.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
|
.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
|
||||||
};
|
};
|
||||||
|
@ -69,6 +95,7 @@ static struct platform_device smc91x_eth_device = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Nor Flash */
|
||||||
static struct mtd_partition nor_flash_partitions[] = {
|
static struct mtd_partition nor_flash_partitions[] = {
|
||||||
{
|
{
|
||||||
.name = "loader",
|
.name = "loader",
|
||||||
|
|
Loading…
Reference in a new issue