Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73070
b: refs/heads/master
c: 262feaa
h: refs/heads/master
v: v3
  • Loading branch information
Yoshihiro Shimoda authored and Paul Mundt committed Oct 30, 2007
1 parent 70392ce commit 6f051b1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 656e608747df697fdb7c990499f15bc2406ea2c2
refs/heads/master: 262feaa08eeb744853868b9aa1a8bdb18fe2257c
27 changes: 27 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@
#include <asm/mmzone.h>
#include <asm/sci.h>

static struct resource usbf_resources[] = {
[0] = {
.name = "m66592_udc",
.start = 0xA4480000,
.end = 0xA44800FF,
.flags = IORESOURCE_MEM,
},
[1] = {
.name = "m66592_udc",
.start = 65,
.end = 65,
.flags = IORESOURCE_IRQ,
},
};

static struct platform_device usbf_device = {
.name = "m66592_udc",
.id = -1,
.dev = {
.dma_mask = NULL,
.coherent_dma_mask = 0xffffffff,
},
.num_resources = ARRAY_SIZE(usbf_resources),
.resource = usbf_resources,
};

static struct plat_sci_port sci_platform_data[] = {
{
.mapbase = 0xffe00000,
Expand Down Expand Up @@ -47,6 +73,7 @@ static struct platform_device sci_device = {
};

static struct platform_device *sh7722_devices[] __initdata = {
&usbf_device,
&sci_device,
};

Expand Down

0 comments on commit 6f051b1

Please sign in to comment.