aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/renesas
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/renesas')
-rw-r--r--arch/sh/boards/renesas/rsk7203/setup.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/boards/renesas/rsk7203/setup.c b/arch/sh/boards/renesas/rsk7203/setup.c
index 0bbda04b03b9..ffbedc59a973 100644
--- a/arch/sh/boards/renesas/rsk7203/setup.c
+++ b/arch/sh/boards/renesas/rsk7203/setup.c
@@ -10,13 +10,20 @@
10#include <linux/init.h> 10#include <linux/init.h>
11#include <linux/types.h> 11#include <linux/types.h>
12#include <linux/platform_device.h> 12#include <linux/platform_device.h>
13#include <linux/interrupt.h>
13#include <linux/mtd/mtd.h> 14#include <linux/mtd/mtd.h>
14#include <linux/mtd/partitions.h> 15#include <linux/mtd/partitions.h>
15#include <linux/mtd/physmap.h> 16#include <linux/mtd/physmap.h>
16#include <linux/mtd/map.h> 17#include <linux/mtd/map.h>
18#include <linux/smc911x.h>
17#include <asm/machvec.h> 19#include <asm/machvec.h>
18#include <asm/io.h> 20#include <asm/io.h>
19 21
22static struct smc911x_platdata smc911x_info = {
23 .flags = SMC911X_USE_16BIT,
24 .irq_flags = IRQF_TRIGGER_LOW,
25};
26
20static struct resource smc911x_resources[] = { 27static struct resource smc911x_resources[] = {
21 [0] = { 28 [0] = {
22 .start = 0x24000000, 29 .start = 0x24000000,
@@ -35,6 +42,9 @@ static struct platform_device smc911x_device = {
35 .id = -1, 42 .id = -1,
36 .num_resources = ARRAY_SIZE(smc911x_resources), 43 .num_resources = ARRAY_SIZE(smc911x_resources),
37 .resource = smc911x_resources, 44 .resource = smc911x_resources,
45 .dev = {
46 .platform_data = &smc911x_info,
47 },
38}; 48};
39 49
40static const char *probes[] = { "cmdlinepart", NULL }; 50static const char *probes[] = { "cmdlinepart", NULL };