diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-07-14 18:58:38 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-15 06:17:10 -0400 |
commit | d6ada8609b8548e528cd91a922338aff7c616820 (patch) | |
tree | 9417078de37bc8bf6117fcb5d69103b2b1d28b4a /arch/arm/mach-realview/realview_eb.c | |
parent | 48f1d5a3cef5782cbc7a32c29f1eda2342877c13 (diff) |
ARM: 6227/1: PL022 SSP platform data for the RealViews
This adds platform data for the PL022 to the ARM RealView reference
designs, adds the necessary clock definition and fixes a badly
defined IRQ line on the PB1176.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_eb.c')
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 4425018fab82..b4500753e102 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/amba/bus.h> | 25 | #include <linux/amba/bus.h> |
26 | #include <linux/amba/pl061.h> | 26 | #include <linux/amba/pl061.h> |
27 | #include <linux/amba/mmci.h> | 27 | #include <linux/amba/mmci.h> |
28 | #include <linux/amba/pl022.h> | ||
28 | #include <linux/io.h> | 29 | #include <linux/io.h> |
29 | 30 | ||
30 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
@@ -129,6 +130,12 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
129 | .irq_base = -1, | 130 | .irq_base = -1, |
130 | }; | 131 | }; |
131 | 132 | ||
133 | static struct pl022_ssp_controller ssp0_plat_data = { | ||
134 | .bus_id = 0, | ||
135 | .enable_dma = 0, | ||
136 | .num_chipselect = 1, | ||
137 | }; | ||
138 | |||
132 | /* | 139 | /* |
133 | * RealView EB AMBA devices | 140 | * RealView EB AMBA devices |
134 | */ | 141 | */ |
@@ -213,7 +220,7 @@ AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); | |||
213 | AMBA_DEVICE(uart0, "dev:uart0", EB_UART0, NULL); | 220 | AMBA_DEVICE(uart0, "dev:uart0", EB_UART0, NULL); |
214 | AMBA_DEVICE(uart1, "dev:uart1", EB_UART1, NULL); | 221 | AMBA_DEVICE(uart1, "dev:uart1", EB_UART1, NULL); |
215 | AMBA_DEVICE(uart2, "dev:uart2", EB_UART2, NULL); | 222 | AMBA_DEVICE(uart2, "dev:uart2", EB_UART2, NULL); |
216 | AMBA_DEVICE(ssp0, "dev:ssp0", EB_SSP, NULL); | 223 | AMBA_DEVICE(ssp0, "dev:ssp0", EB_SSP, &ssp0_plat_data); |
217 | 224 | ||
218 | static struct amba_device *amba_devs[] __initdata = { | 225 | static struct amba_device *amba_devs[] __initdata = { |
219 | &dmac_device, | 226 | &dmac_device, |