diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2009-09-21 07:30:32 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-21 11:39:48 -0400 |
commit | 4321532cec25e1747961d83fb4f78ec24ea92966 (patch) | |
tree | dd0c4ff853f3c89bdf1ad04aff9eebc39c99a4c4 /arch/arm/mach-realview/realview_pba8.c | |
parent | 59b69e27ca9f6c6347b1ec07066a9250140cb9e8 (diff) |
ARM: 5718/1: Sane busids for RealView board components
This removes the totally bogus bus ID:s with two-digit hex numerals
either referring to the base address of corresponding versatile
machine or just some arbitrarily chosen digit in favor of just using
the device identifier as a string. I kept the "dev:" prefix for
DevChips, "fpga:" prefix for FPGA:s and "issp:" prefix for the
other processor bus, just in case someone likes them.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_pba8.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pba8.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c index 70bba9900d9..4fc64e146c3 100644 --- a/arch/arm/mach-realview/realview_pba8.c +++ b/arch/arm/mach-realview/realview_pba8.c | |||
@@ -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, |