diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7757.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c index 2875e8be4f72..c8836cffa216 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c | |||
@@ -680,6 +680,25 @@ static struct platform_device spi1_device = { | |||
680 | .resource = spi1_resources, | 680 | .resource = spi1_resources, |
681 | }; | 681 | }; |
682 | 682 | ||
683 | static struct resource rspi_resources[] = { | ||
684 | { | ||
685 | .start = 0xfe480000, | ||
686 | .end = 0xfe4800ff, | ||
687 | .flags = IORESOURCE_MEM, | ||
688 | }, | ||
689 | { | ||
690 | .start = 220, | ||
691 | .flags = IORESOURCE_IRQ, | ||
692 | }, | ||
693 | }; | ||
694 | |||
695 | static struct platform_device rspi_device = { | ||
696 | .name = "rspi", | ||
697 | .id = 2, | ||
698 | .num_resources = ARRAY_SIZE(rspi_resources), | ||
699 | .resource = rspi_resources, | ||
700 | }; | ||
701 | |||
683 | static struct resource usb_ehci_resources[] = { | 702 | static struct resource usb_ehci_resources[] = { |
684 | [0] = { | 703 | [0] = { |
685 | .start = 0xfe4f1000, | 704 | .start = 0xfe4f1000, |
@@ -740,6 +759,7 @@ static struct platform_device *sh7757_devices[] __initdata = { | |||
740 | &dma3_device, | 759 | &dma3_device, |
741 | &spi0_device, | 760 | &spi0_device, |
742 | &spi1_device, | 761 | &spi1_device, |
762 | &rspi_device, | ||
743 | &usb_ehci_device, | 763 | &usb_ehci_device, |
744 | &usb_ohci_device, | 764 | &usb_ohci_device, |
745 | }; | 765 | }; |