Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143264
b: refs/heads/master
c: 6e97938
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Apr 7, 2009
1 parent 91806c1 commit b321510
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 090fed50ca11e7fe36e69d8cd46069276a40134b
refs/heads/master: 6e9793812583e3c9e3674c8c8af1b114afae8673
27 changes: 27 additions & 0 deletions trunk/arch/sh/boards/board-urquell.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Renesas Technology Corp. SH7786 Urquell Support.
*
* Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Based on board-sh7785lcr.c
* Copyright (C) 2008 Yoshihiro Shimoda
*
* This file is subject to the terms and conditions of the GNU General Public
Expand All @@ -21,6 +23,29 @@
#include <asm/heartbeat.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[] = {
[0] = {
.start = BOARDREG(SLEDR),
Expand All @@ -43,6 +68,7 @@ static struct platform_device heartbeat_device = {
.resource = heartbeat_resources,
};

/* LAN91C111 */
static struct smc91x_platdata smc91x_info = {
.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
};
Expand All @@ -69,6 +95,7 @@ static struct platform_device smc91x_eth_device = {
},
};

/* Nor Flash */
static struct mtd_partition nor_flash_partitions[] = {
{
.name = "loader",
Expand Down

0 comments on commit b321510

Please sign in to comment.