aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/mach-highlander/setup.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/sh/boards/mach-highlander/setup.c b/arch/sh/boards/mach-highlander/setup.c
index 20fe72c515d5..920ea76abac8 100644
--- a/arch/sh/boards/mach-highlander/setup.c
+++ b/arch/sh/boards/mach-highlander/setup.c
@@ -19,6 +19,8 @@
19#include <linux/types.h> 19#include <linux/types.h>
20#include <linux/i2c.h> 20#include <linux/i2c.h>
21#include <linux/irq.h> 21#include <linux/irq.h>
22#include <linux/interrupt.h>
23#include <linux/usb/r8a66597.h>
22#include <net/ax88796.h> 24#include <net/ax88796.h>
23#include <asm/machvec.h> 25#include <asm/machvec.h>
24#include <mach/highlander.h> 26#include <mach/highlander.h>
@@ -27,18 +29,21 @@
27#include <asm/io.h> 29#include <asm/io.h>
28#include <asm/io_trapped.h> 30#include <asm/io_trapped.h>
29 31
32static struct r8a66597_platdata r8a66597_data = {
33 .xtal = R8A66597_PLATDATA_XTAL_12MHZ,
34 .vif = 1,
35};
36
30static struct resource r8a66597_usb_host_resources[] = { 37static struct resource r8a66597_usb_host_resources[] = {
31 [0] = { 38 [0] = {
32 .name = "r8a66597_hcd",
33 .start = 0xA4200000, 39 .start = 0xA4200000,
34 .end = 0xA42000FF, 40 .end = 0xA42000FF,
35 .flags = IORESOURCE_MEM, 41 .flags = IORESOURCE_MEM,
36 }, 42 },
37 [1] = { 43 [1] = {
38 .name = "r8a66597_hcd",
39 .start = IRQ_EXT1, /* irq number */ 44 .start = IRQ_EXT1, /* irq number */
40 .end = IRQ_EXT1, 45 .end = IRQ_EXT1,
41 .flags = IORESOURCE_IRQ, 46 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_LOW,
42 }, 47 },
43}; 48};
44 49
@@ -48,6 +53,7 @@ static struct platform_device r8a66597_usb_host_device = {
48 .dev = { 53 .dev = {
49 .dma_mask = NULL, /* don't use dma */ 54 .dma_mask = NULL, /* don't use dma */
50 .coherent_dma_mask = 0xffffffff, 55 .coherent_dma_mask = 0xffffffff,
56 .platform_data = &r8a66597_data,
51 }, 57 },
52 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), 58 .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources),
53 .resource = r8a66597_usb_host_resources, 59 .resource = r8a66597_usb_host_resources,