diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 20:06:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 20:06:51 -0400 |
commit | d9fbd9a2cd5ac1b286a7d7cdb1a180ce1edaee2f (patch) | |
tree | c9a0859a8da4bdbf0df37507979a6f4cd94ebc8f /arch/arm/mach-realview | |
parent | f25f60beea574d7cff65680694a909e58c5c81c1 (diff) | |
parent | baea7b946f00a291b166ccae7fcfed6c01530cc6 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (103 commits)
ARM: 5719/1: [AT91] Fix AC97 breakage
ARM: 5721/1: MMCI enable the use of a regulator
ARM: 5720/1: Move MMCI header to amba include dir
ARM: 5718/1: Sane busids for RealView board components
ARM: 5715/1: Make kprobes unregistration SMP safe
ARM: 5711/1: locomo.c: CodingStyle cleanups
ARM: 5710/1: at91: add AC97 support to at91sam9rl and at91sam9rlek board
ARM: 5709/1: at91: add AC97 support to at91sam9g45 series and at91sam9m10g45ek board
ARM: 5621/1: at91/dmaengine: integration of at_hdmac driver in at91sam9g45 series
ARM: 5620/1: at91/dmaengine: integration of at_hdmac driver in at91sam9rl
ARM: Add support for checking access permissions on prefetch aborts
ARM: Separate out access error checking
ARM: Ensure correct might_sleep() check in pagefault path
ARM: Update page fault handling for new OOM techniques
ARM: Provide definitions and helpers for decoding the FSR register
ARM: 5712/1: SA1100: initialise spinlock in DMA code
ARM: s3c: fix check of index into s3c_gpios[]
ARM: spitz: fix touchscreen max presure
ARM: STMP3xxx: deallocation with negative index of descriptors[]
Thumb-2: Correctly handle undefined instructions in the kernel
...
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/core.c | 24 | ||||
-rw-r--r-- | arch/arm/mach-realview/core.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 40 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb1176.c | 40 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 40 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pba8.c | 40 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pbx.c | 40 |
7 files changed, 114 insertions, 114 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index dc3519c50ab2..a2083b60e3fb 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/io.h> | 30 | #include <linux/io.h> |
31 | #include <linux/smsc911x.h> | 31 | #include <linux/smsc911x.h> |
32 | #include <linux/ata_platform.h> | 32 | #include <linux/ata_platform.h> |
33 | #include <linux/amba/mmci.h> | ||
33 | 34 | ||
34 | #include <asm/clkdev.h> | 35 | #include <asm/clkdev.h> |
35 | #include <asm/system.h> | 36 | #include <asm/system.h> |
@@ -44,7 +45,6 @@ | |||
44 | #include <asm/mach/flash.h> | 45 | #include <asm/mach/flash.h> |
45 | #include <asm/mach/irq.h> | 46 | #include <asm/mach/irq.h> |
46 | #include <asm/mach/map.h> | 47 | #include <asm/mach/map.h> |
47 | #include <asm/mach/mmc.h> | ||
48 | 48 | ||
49 | #include <asm/hardware/gic.h> | 49 | #include <asm/hardware/gic.h> |
50 | 50 | ||
@@ -237,14 +237,14 @@ static unsigned int realview_mmc_status(struct device *dev) | |||
237 | return readl(REALVIEW_SYSMCI) & mask; | 237 | return readl(REALVIEW_SYSMCI) & mask; |
238 | } | 238 | } |
239 | 239 | ||
240 | struct mmc_platform_data realview_mmc0_plat_data = { | 240 | struct mmci_platform_data realview_mmc0_plat_data = { |
241 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 241 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
242 | .status = realview_mmc_status, | 242 | .status = realview_mmc_status, |
243 | .gpio_wp = 17, | 243 | .gpio_wp = 17, |
244 | .gpio_cd = 16, | 244 | .gpio_cd = 16, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | struct mmc_platform_data realview_mmc1_plat_data = { | 247 | struct mmci_platform_data realview_mmc1_plat_data = { |
248 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 248 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
249 | .status = realview_mmc_status, | 249 | .status = realview_mmc_status, |
250 | .gpio_wp = 19, | 250 | .gpio_wp = 19, |
@@ -296,31 +296,31 @@ static struct clk ref24_clk = { | |||
296 | 296 | ||
297 | static struct clk_lookup lookups[] = { | 297 | static struct clk_lookup lookups[] = { |
298 | { /* UART0 */ | 298 | { /* UART0 */ |
299 | .dev_id = "dev:f1", | 299 | .dev_id = "dev:uart0", |
300 | .clk = &ref24_clk, | 300 | .clk = &ref24_clk, |
301 | }, { /* UART1 */ | 301 | }, { /* UART1 */ |
302 | .dev_id = "dev:f2", | 302 | .dev_id = "dev:uart1", |
303 | .clk = &ref24_clk, | 303 | .clk = &ref24_clk, |
304 | }, { /* UART2 */ | 304 | }, { /* UART2 */ |
305 | .dev_id = "dev:f3", | 305 | .dev_id = "dev:uart2", |
306 | .clk = &ref24_clk, | 306 | .clk = &ref24_clk, |
307 | }, { /* UART3 */ | 307 | }, { /* UART3 */ |
308 | .dev_id = "fpga:09", | 308 | .dev_id = "fpga:uart3", |
309 | .clk = &ref24_clk, | 309 | .clk = &ref24_clk, |
310 | }, { /* KMI0 */ | 310 | }, { /* KMI0 */ |
311 | .dev_id = "fpga:06", | 311 | .dev_id = "fpga:kmi0", |
312 | .clk = &ref24_clk, | 312 | .clk = &ref24_clk, |
313 | }, { /* KMI1 */ | 313 | }, { /* KMI1 */ |
314 | .dev_id = "fpga:07", | 314 | .dev_id = "fpga:kmi1", |
315 | .clk = &ref24_clk, | 315 | .clk = &ref24_clk, |
316 | }, { /* MMC0 */ | 316 | }, { /* MMC0 */ |
317 | .dev_id = "fpga:05", | 317 | .dev_id = "fpga:mmc0", |
318 | .clk = &ref24_clk, | 318 | .clk = &ref24_clk, |
319 | }, { /* EB:CLCD */ | 319 | }, { /* EB:CLCD */ |
320 | .dev_id = "dev:20", | 320 | .dev_id = "dev:clcd", |
321 | .clk = &oscvco_clk, | 321 | .clk = &oscvco_clk, |
322 | }, { /* PB:CLCD */ | 322 | }, { /* PB:CLCD */ |
323 | .dev_id = "issp:20", | 323 | .dev_id = "issp:clcd", |
324 | .clk = &oscvco_clk, | 324 | .clk = &oscvco_clk, |
325 | } | 325 | } |
326 | }; | 326 | }; |
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h index 59a337ba4be7..46cd6acb4d40 100644 --- a/arch/arm/mach-realview/core.h +++ b/arch/arm/mach-realview/core.h | |||
@@ -47,8 +47,8 @@ static struct amba_device name##_device = { \ | |||
47 | extern struct platform_device realview_flash_device; | 47 | extern struct platform_device realview_flash_device; |
48 | extern struct platform_device realview_cf_device; | 48 | extern struct platform_device realview_cf_device; |
49 | extern struct platform_device realview_i2c_device; | 49 | extern struct platform_device realview_i2c_device; |
50 | extern struct mmc_platform_data realview_mmc0_plat_data; | 50 | extern struct mmci_platform_data realview_mmc0_plat_data; |
51 | extern struct mmc_platform_data realview_mmc1_plat_data; | 51 | extern struct mmci_platform_data realview_mmc1_plat_data; |
52 | extern struct clcd_board clcd_plat_data; | 52 | extern struct clcd_board clcd_plat_data; |
53 | extern void __iomem *gic_cpu_base_addr; | 53 | extern void __iomem *gic_cpu_base_addr; |
54 | extern void __iomem *timer0_va_base; | 54 | extern void __iomem *timer0_va_base; |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index abd13b448671..1d65e64ae571 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/sysdev.h> | 24 | #include <linux/sysdev.h> |
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/io.h> | 28 | #include <linux/io.h> |
28 | 29 | ||
29 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
@@ -37,7 +38,6 @@ | |||
37 | 38 | ||
38 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/map.h> | 40 | #include <asm/mach/map.h> |
40 | #include <asm/mach/mmc.h> | ||
41 | #include <asm/mach/time.h> | 41 | #include <asm/mach/time.h> |
42 | 42 | ||
43 | #include <mach/board-eb.h> | 43 | #include <mach/board-eb.h> |
@@ -193,27 +193,27 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
193 | #define EB_SSP_DMA { 9, 8 } | 193 | #define EB_SSP_DMA { 9, 8 } |
194 | 194 | ||
195 | /* FPGA Primecells */ | 195 | /* FPGA Primecells */ |
196 | AMBA_DEVICE(aaci, "fpga:04", AACI, NULL); | 196 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
197 | AMBA_DEVICE(mmc0, "fpga:05", MMCI0, &realview_mmc0_plat_data); | 197 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
198 | AMBA_DEVICE(kmi0, "fpga:06", KMI0, NULL); | 198 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
199 | AMBA_DEVICE(kmi1, "fpga:07", KMI1, NULL); | 199 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
200 | AMBA_DEVICE(uart3, "fpga:09", EB_UART3, NULL); | 200 | AMBA_DEVICE(uart3, "fpga:uart3", EB_UART3, NULL); |
201 | 201 | ||
202 | /* DevChip Primecells */ | 202 | /* DevChip Primecells */ |
203 | AMBA_DEVICE(smc, "dev:00", EB_SMC, NULL); | 203 | AMBA_DEVICE(smc, "dev:smc", EB_SMC, NULL); |
204 | AMBA_DEVICE(clcd, "dev:20", EB_CLCD, &clcd_plat_data); | 204 | AMBA_DEVICE(clcd, "dev:clcd", EB_CLCD, &clcd_plat_data); |
205 | AMBA_DEVICE(dmac, "dev:30", DMAC, NULL); | 205 | AMBA_DEVICE(dmac, "dev:dmac", DMAC, NULL); |
206 | AMBA_DEVICE(sctl, "dev:e0", SCTL, NULL); | 206 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
207 | AMBA_DEVICE(wdog, "dev:e1", EB_WATCHDOG, NULL); | 207 | AMBA_DEVICE(wdog, "dev:wdog", EB_WATCHDOG, NULL); |
208 | AMBA_DEVICE(gpio0, "dev:e4", EB_GPIO0, &gpio0_plat_data); | 208 | AMBA_DEVICE(gpio0, "dev:gpio0", EB_GPIO0, &gpio0_plat_data); |
209 | AMBA_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data); | 209 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
210 | AMBA_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data); | 210 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
211 | AMBA_DEVICE(rtc, "dev:e8", EB_RTC, NULL); | 211 | AMBA_DEVICE(rtc, "dev:rtc", EB_RTC, NULL); |
212 | AMBA_DEVICE(sci0, "dev:f0", SCI, NULL); | 212 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); |
213 | AMBA_DEVICE(uart0, "dev:f1", EB_UART0, NULL); | 213 | AMBA_DEVICE(uart0, "dev:uart0", EB_UART0, NULL); |
214 | AMBA_DEVICE(uart1, "dev:f2", EB_UART1, NULL); | 214 | AMBA_DEVICE(uart1, "dev:uart1", EB_UART1, NULL); |
215 | AMBA_DEVICE(uart2, "dev:f3", EB_UART2, NULL); | 215 | AMBA_DEVICE(uart2, "dev:uart2", EB_UART2, NULL); |
216 | AMBA_DEVICE(ssp0, "dev:f4", EB_SSP, NULL); | 216 | AMBA_DEVICE(ssp0, "dev:ssp0", EB_SSP, NULL); |
217 | 217 | ||
218 | static struct amba_device *amba_devs[] __initdata = { | 218 | static struct amba_device *amba_devs[] __initdata = { |
219 | &dmac_device, | 219 | &dmac_device, |
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c index 17fbb0e889b6..2817fe099319 100644 --- a/arch/arm/mach-realview/realview_pb1176.c +++ b/arch/arm/mach-realview/realview_pb1176.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/sysdev.h> | 24 | #include <linux/sysdev.h> |
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/io.h> | 28 | #include <linux/io.h> |
28 | 29 | ||
29 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
@@ -37,7 +38,6 @@ | |||
37 | #include <asm/mach/arch.h> | 38 | #include <asm/mach/arch.h> |
38 | #include <asm/mach/flash.h> | 39 | #include <asm/mach/flash.h> |
39 | #include <asm/mach/map.h> | 40 | #include <asm/mach/map.h> |
40 | #include <asm/mach/mmc.h> | ||
41 | #include <asm/mach/time.h> | 41 | #include <asm/mach/time.h> |
42 | 42 | ||
43 | #include <mach/board-pb1176.h> | 43 | #include <mach/board-pb1176.h> |
@@ -170,29 +170,29 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
170 | #define PB1176_SSP_DMA { 9, 8 } | 170 | #define PB1176_SSP_DMA { 9, 8 } |
171 | 171 | ||
172 | /* FPGA Primecells */ | 172 | /* FPGA Primecells */ |
173 | AMBA_DEVICE(aaci, "fpga:04", AACI, NULL); | 173 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
174 | AMBA_DEVICE(mmc0, "fpga:05", MMCI0, &realview_mmc0_plat_data); | 174 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
175 | AMBA_DEVICE(kmi0, "fpga:06", KMI0, NULL); | 175 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
176 | AMBA_DEVICE(kmi1, "fpga:07", KMI1, NULL); | 176 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
177 | AMBA_DEVICE(uart3, "fpga:09", PB1176_UART3, NULL); | 177 | AMBA_DEVICE(uart3, "fpga:uart3", PB1176_UART3, NULL); |
178 | 178 | ||
179 | /* DevChip Primecells */ | 179 | /* DevChip Primecells */ |
180 | AMBA_DEVICE(smc, "dev:00", PB1176_SMC, NULL); | 180 | AMBA_DEVICE(smc, "dev:smc", PB1176_SMC, NULL); |
181 | AMBA_DEVICE(sctl, "dev:e0", SCTL, NULL); | 181 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
182 | AMBA_DEVICE(wdog, "dev:e1", PB1176_WATCHDOG, NULL); | 182 | AMBA_DEVICE(wdog, "dev:wdog", PB1176_WATCHDOG, NULL); |
183 | AMBA_DEVICE(gpio0, "dev:e4", PB1176_GPIO0, &gpio0_plat_data); | 183 | AMBA_DEVICE(gpio0, "dev:gpio0", PB1176_GPIO0, &gpio0_plat_data); |
184 | AMBA_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data); | 184 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
185 | AMBA_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data); | 185 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
186 | AMBA_DEVICE(rtc, "dev:e8", PB1176_RTC, NULL); | 186 | AMBA_DEVICE(rtc, "dev:rtc", PB1176_RTC, NULL); |
187 | AMBA_DEVICE(sci0, "dev:f0", SCI, NULL); | 187 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); |
188 | AMBA_DEVICE(uart0, "dev:f1", PB1176_UART0, NULL); | 188 | AMBA_DEVICE(uart0, "dev:uart0", PB1176_UART0, NULL); |
189 | AMBA_DEVICE(uart1, "dev:f2", PB1176_UART1, NULL); | 189 | AMBA_DEVICE(uart1, "dev:uart1", PB1176_UART1, NULL); |
190 | AMBA_DEVICE(uart2, "dev:f3", PB1176_UART2, NULL); | 190 | AMBA_DEVICE(uart2, "dev:uart2", PB1176_UART2, NULL); |
191 | AMBA_DEVICE(ssp0, "dev:f4", PB1176_SSP, NULL); | 191 | AMBA_DEVICE(ssp0, "dev:ssp0", PB1176_SSP, NULL); |
192 | 192 | ||
193 | /* Primecells on the NEC ISSP chip */ | 193 | /* Primecells on the NEC ISSP chip */ |
194 | AMBA_DEVICE(clcd, "issp:20", PB1176_CLCD, &clcd_plat_data); | 194 | AMBA_DEVICE(clcd, "issp:clcd", PB1176_CLCD, &clcd_plat_data); |
195 | //AMBA_DEVICE(dmac, "issp:30", PB1176_DMAC, NULL); | 195 | //AMBA_DEVICE(dmac, "issp:dmac", PB1176_DMAC, NULL); |
196 | 196 | ||
197 | static struct amba_device *amba_devs[] __initdata = { | 197 | static struct amba_device *amba_devs[] __initdata = { |
198 | // &dmac_device, | 198 | // &dmac_device, |
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index fdd042b85f40..94680fcf726d 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/sysdev.h> | 24 | #include <linux/sysdev.h> |
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/io.h> | 28 | #include <linux/io.h> |
28 | 29 | ||
29 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
@@ -38,7 +39,6 @@ | |||
38 | #include <asm/mach/arch.h> | 39 | #include <asm/mach/arch.h> |
39 | #include <asm/mach/flash.h> | 40 | #include <asm/mach/flash.h> |
40 | #include <asm/mach/map.h> | 41 | #include <asm/mach/map.h> |
41 | #include <asm/mach/mmc.h> | ||
42 | #include <asm/mach/time.h> | 42 | #include <asm/mach/time.h> |
43 | 43 | ||
44 | #include <mach/board-pb11mp.h> | 44 | #include <mach/board-pb11mp.h> |
@@ -172,29 +172,29 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
172 | #define PB11MP_SSP_DMA { 9, 8 } | 172 | #define PB11MP_SSP_DMA { 9, 8 } |
173 | 173 | ||
174 | /* FPGA Primecells */ | 174 | /* FPGA Primecells */ |
175 | AMBA_DEVICE(aaci, "fpga:04", AACI, NULL); | 175 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
176 | AMBA_DEVICE(mmc0, "fpga:05", MMCI0, &realview_mmc0_plat_data); | 176 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
177 | AMBA_DEVICE(kmi0, "fpga:06", KMI0, NULL); | 177 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
178 | AMBA_DEVICE(kmi1, "fpga:07", KMI1, NULL); | 178 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
179 | AMBA_DEVICE(uart3, "fpga:09", PB11MP_UART3, NULL); | 179 | AMBA_DEVICE(uart3, "fpga:uart3", PB11MP_UART3, NULL); |
180 | 180 | ||
181 | /* DevChip Primecells */ | 181 | /* DevChip Primecells */ |
182 | AMBA_DEVICE(smc, "dev:00", PB11MP_SMC, NULL); | 182 | AMBA_DEVICE(smc, "dev:smc", PB11MP_SMC, NULL); |
183 | AMBA_DEVICE(sctl, "dev:e0", SCTL, NULL); | 183 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
184 | AMBA_DEVICE(wdog, "dev:e1", PB11MP_WATCHDOG, NULL); | 184 | AMBA_DEVICE(wdog, "dev:wdog", PB11MP_WATCHDOG, NULL); |
185 | AMBA_DEVICE(gpio0, "dev:e4", PB11MP_GPIO0, &gpio0_plat_data); | 185 | AMBA_DEVICE(gpio0, "dev:gpio0", PB11MP_GPIO0, &gpio0_plat_data); |
186 | AMBA_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data); | 186 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
187 | AMBA_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data); | 187 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
188 | AMBA_DEVICE(rtc, "dev:e8", PB11MP_RTC, NULL); | 188 | AMBA_DEVICE(rtc, "dev:rtc", PB11MP_RTC, NULL); |
189 | AMBA_DEVICE(sci0, "dev:f0", SCI, NULL); | 189 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); |
190 | AMBA_DEVICE(uart0, "dev:f1", PB11MP_UART0, NULL); | 190 | AMBA_DEVICE(uart0, "dev:uart0", PB11MP_UART0, NULL); |
191 | AMBA_DEVICE(uart1, "dev:f2", PB11MP_UART1, NULL); | 191 | AMBA_DEVICE(uart1, "dev:uart1", PB11MP_UART1, NULL); |
192 | AMBA_DEVICE(uart2, "dev:f3", PB11MP_UART2, NULL); | 192 | AMBA_DEVICE(uart2, "dev:uart2", PB11MP_UART2, NULL); |
193 | AMBA_DEVICE(ssp0, "dev:f4", PB11MP_SSP, NULL); | 193 | AMBA_DEVICE(ssp0, "dev:ssp0", PB11MP_SSP, NULL); |
194 | 194 | ||
195 | /* Primecells on the NEC ISSP chip */ | 195 | /* Primecells on the NEC ISSP chip */ |
196 | AMBA_DEVICE(clcd, "issp:20", PB11MP_CLCD, &clcd_plat_data); | 196 | AMBA_DEVICE(clcd, "issp:clcd", PB11MP_CLCD, &clcd_plat_data); |
197 | AMBA_DEVICE(dmac, "issp:30", DMAC, NULL); | 197 | AMBA_DEVICE(dmac, "issp:dmac", DMAC, NULL); |
198 | 198 | ||
199 | static struct amba_device *amba_devs[] __initdata = { | 199 | static struct amba_device *amba_devs[] __initdata = { |
200 | &dmac_device, | 200 | &dmac_device, |
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c index 70bba9900d97..941beb2b9709 100644 --- a/arch/arm/mach-realview/realview_pba8.c +++ b/arch/arm/mach-realview/realview_pba8.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/sysdev.h> | 24 | #include <linux/sysdev.h> |
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/io.h> | 28 | #include <linux/io.h> |
28 | 29 | ||
29 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
@@ -34,7 +35,6 @@ | |||
34 | 35 | ||
35 | #include <asm/mach/arch.h> | 36 | #include <asm/mach/arch.h> |
36 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
37 | #include <asm/mach/mmc.h> | ||
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | 39 | ||
40 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
@@ -162,29 +162,29 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
162 | #define PBA8_SSP_DMA { 9, 8 } | 162 | #define PBA8_SSP_DMA { 9, 8 } |
163 | 163 | ||
164 | /* FPGA Primecells */ | 164 | /* FPGA Primecells */ |
165 | AMBA_DEVICE(aaci, "fpga:04", AACI, NULL); | 165 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
166 | AMBA_DEVICE(mmc0, "fpga:05", MMCI0, &realview_mmc0_plat_data); | 166 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
167 | AMBA_DEVICE(kmi0, "fpga:06", KMI0, NULL); | 167 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
168 | AMBA_DEVICE(kmi1, "fpga:07", KMI1, NULL); | 168 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
169 | AMBA_DEVICE(uart3, "fpga:09", PBA8_UART3, NULL); | 169 | AMBA_DEVICE(uart3, "fpga:uart3", PBA8_UART3, NULL); |
170 | 170 | ||
171 | /* DevChip Primecells */ | 171 | /* DevChip Primecells */ |
172 | AMBA_DEVICE(smc, "dev:00", PBA8_SMC, NULL); | 172 | AMBA_DEVICE(smc, "dev:smc", PBA8_SMC, NULL); |
173 | AMBA_DEVICE(sctl, "dev:e0", SCTL, NULL); | 173 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
174 | AMBA_DEVICE(wdog, "dev:e1", PBA8_WATCHDOG, NULL); | 174 | AMBA_DEVICE(wdog, "dev:wdog", PBA8_WATCHDOG, NULL); |
175 | AMBA_DEVICE(gpio0, "dev:e4", PBA8_GPIO0, &gpio0_plat_data); | 175 | AMBA_DEVICE(gpio0, "dev:gpio0", PBA8_GPIO0, &gpio0_plat_data); |
176 | AMBA_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data); | 176 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
177 | AMBA_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data); | 177 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
178 | AMBA_DEVICE(rtc, "dev:e8", PBA8_RTC, NULL); | 178 | AMBA_DEVICE(rtc, "dev:rtc", PBA8_RTC, NULL); |
179 | AMBA_DEVICE(sci0, "dev:f0", SCI, NULL); | 179 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); |
180 | AMBA_DEVICE(uart0, "dev:f1", PBA8_UART0, NULL); | 180 | AMBA_DEVICE(uart0, "dev:uart0", PBA8_UART0, NULL); |
181 | AMBA_DEVICE(uart1, "dev:f2", PBA8_UART1, NULL); | 181 | AMBA_DEVICE(uart1, "dev:uart1", PBA8_UART1, NULL); |
182 | AMBA_DEVICE(uart2, "dev:f3", PBA8_UART2, NULL); | 182 | AMBA_DEVICE(uart2, "dev:uart2", PBA8_UART2, NULL); |
183 | AMBA_DEVICE(ssp0, "dev:f4", PBA8_SSP, NULL); | 183 | AMBA_DEVICE(ssp0, "dev:ssp0", PBA8_SSP, NULL); |
184 | 184 | ||
185 | /* Primecells on the NEC ISSP chip */ | 185 | /* Primecells on the NEC ISSP chip */ |
186 | AMBA_DEVICE(clcd, "issp:20", PBA8_CLCD, &clcd_plat_data); | 186 | AMBA_DEVICE(clcd, "issp:clcd", PBA8_CLCD, &clcd_plat_data); |
187 | AMBA_DEVICE(dmac, "issp:30", DMAC, NULL); | 187 | AMBA_DEVICE(dmac, "issp:dmac", DMAC, NULL); |
188 | 188 | ||
189 | static struct amba_device *amba_devs[] __initdata = { | 189 | static struct amba_device *amba_devs[] __initdata = { |
190 | &dmac_device, | 190 | &dmac_device, |
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index ce6c5d25fbef..7e4bc6cdca52 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/sysdev.h> | 23 | #include <linux/sysdev.h> |
24 | #include <linux/amba/bus.h> | 24 | #include <linux/amba/bus.h> |
25 | #include <linux/amba/pl061.h> | 25 | #include <linux/amba/pl061.h> |
26 | #include <linux/amba/mmci.h> | ||
26 | #include <linux/io.h> | 27 | #include <linux/io.h> |
27 | 28 | ||
28 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
@@ -34,7 +35,6 @@ | |||
34 | 35 | ||
35 | #include <asm/mach/arch.h> | 36 | #include <asm/mach/arch.h> |
36 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
37 | #include <asm/mach/mmc.h> | ||
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | 39 | ||
40 | #include <mach/hardware.h> | 40 | #include <mach/hardware.h> |
@@ -182,29 +182,29 @@ static struct pl061_platform_data gpio2_plat_data = { | |||
182 | #define PBX_SSP_DMA { 9, 8 } | 182 | #define PBX_SSP_DMA { 9, 8 } |
183 | 183 | ||
184 | /* FPGA Primecells */ | 184 | /* FPGA Primecells */ |
185 | AMBA_DEVICE(aaci, "fpga:04", AACI, NULL); | 185 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
186 | AMBA_DEVICE(mmc0, "fpga:05", MMCI0, &realview_mmc0_plat_data); | 186 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
187 | AMBA_DEVICE(kmi0, "fpga:06", KMI0, NULL); | 187 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
188 | AMBA_DEVICE(kmi1, "fpga:07", KMI1, NULL); | 188 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
189 | AMBA_DEVICE(uart3, "fpga:09", PBX_UART3, NULL); | 189 | AMBA_DEVICE(uart3, "fpga:uart3", PBX_UART3, NULL); |
190 | 190 | ||
191 | /* DevChip Primecells */ | 191 | /* DevChip Primecells */ |
192 | AMBA_DEVICE(smc, "dev:00", PBX_SMC, NULL); | 192 | AMBA_DEVICE(smc, "dev:smc", PBX_SMC, NULL); |
193 | AMBA_DEVICE(sctl, "dev:e0", SCTL, NULL); | 193 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
194 | AMBA_DEVICE(wdog, "dev:e1", PBX_WATCHDOG, NULL); | 194 | AMBA_DEVICE(wdog, "dev:wdog", PBX_WATCHDOG, NULL); |
195 | AMBA_DEVICE(gpio0, "dev:e4", PBX_GPIO0, &gpio0_plat_data); | 195 | AMBA_DEVICE(gpio0, "dev:gpio0", PBX_GPIO0, &gpio0_plat_data); |
196 | AMBA_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data); | 196 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
197 | AMBA_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data); | 197 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
198 | AMBA_DEVICE(rtc, "dev:e8", PBX_RTC, NULL); | 198 | AMBA_DEVICE(rtc, "dev:rtc", PBX_RTC, NULL); |
199 | AMBA_DEVICE(sci0, "dev:f0", SCI, NULL); | 199 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); |
200 | AMBA_DEVICE(uart0, "dev:f1", PBX_UART0, NULL); | 200 | AMBA_DEVICE(uart0, "dev:uart0", PBX_UART0, NULL); |
201 | AMBA_DEVICE(uart1, "dev:f2", PBX_UART1, NULL); | 201 | AMBA_DEVICE(uart1, "dev:uart1", PBX_UART1, NULL); |
202 | AMBA_DEVICE(uart2, "dev:f3", PBX_UART2, NULL); | 202 | AMBA_DEVICE(uart2, "dev:uart2", PBX_UART2, NULL); |
203 | AMBA_DEVICE(ssp0, "dev:f4", PBX_SSP, NULL); | 203 | AMBA_DEVICE(ssp0, "dev:ssp0", PBX_SSP, NULL); |
204 | 204 | ||
205 | /* Primecells on the NEC ISSP chip */ | 205 | /* Primecells on the NEC ISSP chip */ |
206 | AMBA_DEVICE(clcd, "issp:20", PBX_CLCD, &clcd_plat_data); | 206 | AMBA_DEVICE(clcd, "issp:clcd", PBX_CLCD, &clcd_plat_data); |
207 | AMBA_DEVICE(dmac, "issp:30", DMAC, NULL); | 207 | AMBA_DEVICE(dmac, "issp:dmac", DMAC, NULL); |
208 | 208 | ||
209 | static struct amba_device *amba_devs[] __initdata = { | 209 | static struct amba_device *amba_devs[] __initdata = { |
210 | &dmac_device, | 210 | &dmac_device, |