Commit 6e979381 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt

sh: urquell: Add board comment

Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 090fed50
...@@ -2,6 +2,8 @@ ...@@ -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 @@ ...@@ -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 = { ...@@ -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 = { ...@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment