Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297816
b: refs/heads/master
c: 10a068f
h: refs/heads/master
v: v3
  • Loading branch information
Shimoda, Yoshihiro authored and Paul Mundt committed Mar 28, 2012
1 parent 534d41d commit 38e9d7f
Show file tree
Hide file tree
Showing 2 changed files with 21 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: bfc906d885762cd5e9381c1815b18bd7753cedf5
refs/heads/master: 10a068f27ac2200c83f6d13f5e03f6e48cf06d10
20 changes: 20 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7757.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,25 @@ static struct platform_device spi1_device = {
.resource = spi1_resources,
};

static struct resource rspi_resources[] = {
{
.start = 0xfe480000,
.end = 0xfe4800ff,
.flags = IORESOURCE_MEM,
},
{
.start = 220,
.flags = IORESOURCE_IRQ,
},
};

static struct platform_device rspi_device = {
.name = "rspi",
.id = 2,
.num_resources = ARRAY_SIZE(rspi_resources),
.resource = rspi_resources,
};

static struct resource usb_ehci_resources[] = {
[0] = {
.start = 0xfe4f1000,
Expand Down Expand Up @@ -740,6 +759,7 @@ static struct platform_device *sh7757_devices[] __initdata = {
&dma3_device,
&spi0_device,
&spi1_device,
&rspi_device,
&usb_ehci_device,
&usb_ohci_device,
};
Expand Down

0 comments on commit 38e9d7f

Please sign in to comment.