diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-04-07 04:41:57 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-07 12:57:42 -0400 |
commit | 6e9793812583e3c9e3674c8c8af1b114afae8673 (patch) | |
tree | ef75cb5e50c5fc6d7dee8fb4234914f4e196f835 /arch/sh/boards/board-urquell.c | |
parent | 090fed50ca11e7fe36e69d8cd46069276a40134b (diff) |
sh: urquell: Add board comment
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/board-urquell.c')
-rw-r--r-- | arch/sh/boards/board-urquell.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/sh/boards/board-urquell.c b/arch/sh/boards/board-urquell.c index 8367d1d789c3..f217f3553626 100644 --- a/arch/sh/boards/board-urquell.c +++ b/arch/sh/boards/board-urquell.c | |||
@@ -2,6 +2,8 @@ | |||
2 | * Renesas Technology Corp. SH7786 Urquell Support. | 2 | * Renesas Technology Corp. SH7786 Urquell Support. |
3 | * | 3 | * |
4 | * Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com> | 4 | * Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com> |
5 | * | ||
6 | * Based on board-sh7785lcr.c | ||
5 | * Copyright (C) 2008 Yoshihiro Shimoda | 7 | * Copyright (C) 2008 Yoshihiro Shimoda |
6 | * | 8 | * |
7 | * This file is subject to the terms and conditions of the GNU General Public | 9 | * This file is subject to the terms and conditions of the GNU General Public |
@@ -21,6 +23,29 @@ | |||
21 | #include <asm/heartbeat.h> | 23 | #include <asm/heartbeat.h> |
22 | #include <asm/sizes.h> | 24 | #include <asm/sizes.h> |
23 | 25 | ||
26 | /* SWx 8765 4321 | ||
27 | *---------------------------- | ||
28 | * SW1 1101 0010 -> Pck 66MHz version | ||
29 | * (0101 0010) Pck 33MHz version (check CS1BCR) | ||
30 | * SW2 xxxx x1x0 -> little endian | ||
31 | * 29bit mode | ||
32 | * SW47 0001 1000 -> CS0 : nor flash | ||
33 | * CS1 : SRAM, registers, LAN, PCMCIA | ||
34 | * 38400 bps | ||
35 | * | ||
36 | * Address | ||
37 | * 0x00000000 Nor Flash | ||
38 | * 0x04000000 SRAM | ||
39 | * 0x05000000 FPGA register | ||
40 | * 0x05800000 LAN91C111 | ||
41 | * 0x06000000 PCMCIA | ||
42 | * 0x10000000 PCIe | ||
43 | * 0x14000000 LRAM/URAM | ||
44 | * 0x18000000 ATA/NAND-Flash | ||
45 | * 0x1C000000 SH7786 Control register | ||
46 | */ | ||
47 | |||
48 | /* HeartBeat */ | ||
24 | static struct resource heartbeat_resources[] = { | 49 | static struct resource heartbeat_resources[] = { |
25 | [0] = { | 50 | [0] = { |
26 | .start = BOARDREG(SLEDR), | 51 | .start = BOARDREG(SLEDR), |
@@ -43,6 +68,7 @@ static struct platform_device heartbeat_device = { | |||
43 | .resource = heartbeat_resources, | 68 | .resource = heartbeat_resources, |
44 | }; | 69 | }; |
45 | 70 | ||
71 | /* LAN91C111 */ | ||
46 | static struct smc91x_platdata smc91x_info = { | 72 | static struct smc91x_platdata smc91x_info = { |
47 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | 73 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, |
48 | }; | 74 | }; |
@@ -69,6 +95,7 @@ static struct platform_device smc91x_eth_device = { | |||
69 | }, | 95 | }, |
70 | }; | 96 | }; |
71 | 97 | ||
98 | /* Nor Flash */ | ||
72 | static struct mtd_partition nor_flash_partitions[] = { | 99 | static struct mtd_partition nor_flash_partitions[] = { |
73 | { | 100 | { |
74 | .name = "loader", | 101 | .name = "loader", |