[PATCH] Added support for 2DG and BEU for sh7722.
Takanari Hayama <taki <at> igel.co.jp>
2008-11-07 09:04:35 GMT
This patch adds BEU and 2DG supports in SH7722.
Signed-off-by: Takanari Hayama <taki <at> igel.co.jp>
---
arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 42 ++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
index ef77ee1..d052d79 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
<at> <at> -179,6 +179,44 <at> <at> static struct platform_device sci_device = {
},
};
+static struct resource twodg_resources[] = {
+ [0] = {
+ .name = "2DG",
+ .start = 0xfd000000,
+ .end = 0xfd0010bf,
+ .flags = IORESOURCE_MEM,
+ },
+ [1] = {
+ .start = 109,
+ .flags = IORESOURCE_IRQ,
+ },
+};
+
+static struct platform_device twodg_device = {
+ .name = "2dg",
(Continue reading)