diff options
author | Magnus Damm <damm@opensource.se> | 2010-11-17 05:59:31 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-18 01:45:21 -0500 |
commit | 6d9598e24d50a8c72f48a3864327484a30aaee44 (patch) | |
tree | 4ff6d28a73306df0fe4853833010ca58a8ab8450 /drivers/serial/sh-sci.h | |
parent | 6d72ad35f1bfaf6e52ca7133cb51ce0e36f17528 (diff) |
ARM: mach-shmobile: Initial AG5 and AG5EVM support
This patch adds initial support for Renesas SH-Mobile AG5.
At this point the AG5 CPU support is limited to the ARM
core, SCIF serial and a CMT timer together with L2 cache
and the GIC. The AG5EVM board also supports Ethernet.
Future patches will add support for GPIO, INTCS, CPGA
and platform data / driver updates for devices such as
IIC, LCDC, FSI, KEYSC, CEU and SDHI among others.
The code in entry-macro.S will be cleaned up when the
ARM IRQ demux code improvements have been merged.
Depends on the AG5EVM mach-type recently registered but
not yet present in arch/arm/tools/mach-types.
As the AG5EVM board comes with 512MiB memory it is
recommended to turn on HIGHMEM.
Many thanks to Yoshii-san for initial bring up.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r-- | drivers/serial/sh-sci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index d2352ac437c5..4bc614e4221c 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -31,6 +31,7 @@ | |||
31 | # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 | 31 | # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 |
32 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 32 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
33 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 33 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
34 | defined(CONFIG_ARCH_SH73A0) || \ | ||
34 | defined(CONFIG_ARCH_SH7367) || \ | 35 | defined(CONFIG_ARCH_SH7367) || \ |
35 | defined(CONFIG_ARCH_SH7377) || \ | 36 | defined(CONFIG_ARCH_SH7377) || \ |
36 | defined(CONFIG_ARCH_SH7372) | 37 | defined(CONFIG_ARCH_SH7372) |
@@ -244,6 +245,7 @@ | |||
244 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 245 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
245 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 246 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
246 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 247 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
248 | defined(CONFIG_ARCH_SH73A0) || \ | ||
247 | defined(CONFIG_ARCH_SH7367) || \ | 249 | defined(CONFIG_ARCH_SH7367) || \ |
248 | defined(CONFIG_ARCH_SH7377) || \ | 250 | defined(CONFIG_ARCH_SH7377) || \ |
249 | defined(CONFIG_ARCH_SH7372) | 251 | defined(CONFIG_ARCH_SH7372) |
@@ -280,6 +282,7 @@ | |||
280 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 282 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
281 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 283 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
282 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 284 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
285 | defined(CONFIG_ARCH_SH73A0) || \ | ||
283 | defined(CONFIG_ARCH_SH7367) || \ | 286 | defined(CONFIG_ARCH_SH7367) || \ |
284 | defined(CONFIG_ARCH_SH7377) || \ | 287 | defined(CONFIG_ARCH_SH7377) || \ |
285 | defined(CONFIG_ARCH_SH7372) | 288 | defined(CONFIG_ARCH_SH7372) |
@@ -378,6 +381,7 @@ | |||
378 | } | 381 | } |
379 | 382 | ||
380 | #if defined(CONFIG_CPU_SH3) || \ | 383 | #if defined(CONFIG_CPU_SH3) || \ |
384 | defined(CONFIG_ARCH_SH73A0) || \ | ||
381 | defined(CONFIG_ARCH_SH7367) || \ | 385 | defined(CONFIG_ARCH_SH7367) || \ |
382 | defined(CONFIG_ARCH_SH7377) || \ | 386 | defined(CONFIG_ARCH_SH7377) || \ |
383 | defined(CONFIG_ARCH_SH7372) | 387 | defined(CONFIG_ARCH_SH7372) |
@@ -391,6 +395,7 @@ | |||
391 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 395 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
392 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 396 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
393 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 397 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
398 | defined(CONFIG_ARCH_SH73A0) || \ | ||
394 | defined(CONFIG_ARCH_SH7367) || \ | 399 | defined(CONFIG_ARCH_SH7367) || \ |
395 | defined(CONFIG_ARCH_SH7377) | 400 | defined(CONFIG_ARCH_SH7377) |
396 | #define SCIF_FNS(name, scif_offset, scif_size) \ | 401 | #define SCIF_FNS(name, scif_offset, scif_size) \ |
@@ -433,6 +438,7 @@ | |||
433 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 438 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
434 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 439 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
435 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 440 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
441 | defined(CONFIG_ARCH_SH73A0) || \ | ||
436 | defined(CONFIG_ARCH_SH7367) || \ | 442 | defined(CONFIG_ARCH_SH7367) || \ |
437 | defined(CONFIG_ARCH_SH7377) | 443 | defined(CONFIG_ARCH_SH7377) |
438 | 444 | ||
@@ -632,6 +638,7 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
632 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 638 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
633 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 639 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
634 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 640 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
641 | defined(CONFIG_ARCH_SH73A0) || \ | ||
635 | defined(CONFIG_ARCH_SH7367) || \ | 642 | defined(CONFIG_ARCH_SH7367) || \ |
636 | defined(CONFIG_ARCH_SH7377) || \ | 643 | defined(CONFIG_ARCH_SH7377) || \ |
637 | defined(CONFIG_ARCH_SH7372) | 644 | defined(CONFIG_ARCH_SH7372) |