diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
commit | 5ede3ceb7b2c2843e153a1803edbdc8c56655950 (patch) | |
tree | 4cfa82b619f7d39b671e4a2a213f4d040b09c486 /arch/arm/mach-mv78xx0/common.c | |
parent | 6d889d03ab1417645e76e129834f76204bae37c0 (diff) | |
parent | 3e2762c8f1141ae8dc708034ea41d6827818c328 (diff) |
Merge tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
New feature development
This adds support for new features, and contains stuff from most
platforms. A number of these patches could have fit into other
branches, too, but were small enough not to cause too much
confusion here.
* tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
mfd/db8500-prcmu: remove support for early silicon revisions
ARM: ux500: fix the smp_twd clock calculation
ARM: ux500: remove support for early silicon revisions
ARM: ux500: update register files
ARM: ux500: register DB5500 PMU dynamically
ARM: ux500: update ASIC detection for U5500
ARM: ux500: support DB8520
ARM: picoxcell: implement watchdog restart
ARM: OMAP3+: hwmod data: Add the default clockactivity for I2C
ARM: OMAP3: hwmod data: disable multiblock reads on MMC1/2 on OMAP34xx/35xx <= ES2.1
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP4
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP3
ARM: OMAP: hwmod data: Add support for AM35xx UART4/ttyO3
ARM: Orion: Remove address map info from all platform data structures
ARM: Orion: Get address map from plat-orion instead of via platform_data
ARM: Orion: mbus_dram_info consolidation
ARM: Orion: Consolidate the address map setup
ARM: Kirkwood: Add configuration for MPP12 as GPIO
ARM: Kirkwood: Recognize A1 revision of 6282 chip
ARM: ux500: update the MOP500 GPIO assignments
...
Diffstat (limited to 'arch/arm/mach-mv78xx0/common.c')
-rw-r--r-- | arch/arm/mach-mv78xx0/common.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 5b9632b01169..0cdd41004ad0 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/arch/arm/mach-mv78xx0/common.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/serial_8250.h> | 14 | #include <linux/serial_8250.h> |
15 | #include <linux/mbus.h> | ||
16 | #include <linux/ata_platform.h> | 15 | #include <linux/ata_platform.h> |
17 | #include <linux/ethtool.h> | 16 | #include <linux/ethtool.h> |
18 | #include <asm/mach/map.h> | 17 | #include <asm/mach/map.h> |
@@ -23,6 +22,7 @@ | |||
23 | #include <plat/orion_nand.h> | 22 | #include <plat/orion_nand.h> |
24 | #include <plat/time.h> | 23 | #include <plat/time.h> |
25 | #include <plat/common.h> | 24 | #include <plat/common.h> |
25 | #include <plat/addr-map.h> | ||
26 | #include "common.h" | 26 | #include "common.h" |
27 | 27 | ||
28 | static int get_tclk(void); | 28 | static int get_tclk(void); |
@@ -169,8 +169,7 @@ void __init mv78xx0_map_io(void) | |||
169 | ****************************************************************************/ | 169 | ****************************************************************************/ |
170 | void __init mv78xx0_ehci0_init(void) | 170 | void __init mv78xx0_ehci0_init(void) |
171 | { | 171 | { |
172 | orion_ehci_init(&mv78xx0_mbus_dram_info, | 172 | orion_ehci_init(USB0_PHYS_BASE, IRQ_MV78XX0_USB_0); |
173 | USB0_PHYS_BASE, IRQ_MV78XX0_USB_0); | ||
174 | } | 173 | } |
175 | 174 | ||
176 | 175 | ||
@@ -179,8 +178,7 @@ void __init mv78xx0_ehci0_init(void) | |||
179 | ****************************************************************************/ | 178 | ****************************************************************************/ |
180 | void __init mv78xx0_ehci1_init(void) | 179 | void __init mv78xx0_ehci1_init(void) |
181 | { | 180 | { |
182 | orion_ehci_1_init(&mv78xx0_mbus_dram_info, | 181 | orion_ehci_1_init(USB1_PHYS_BASE, IRQ_MV78XX0_USB_1); |
183 | USB1_PHYS_BASE, IRQ_MV78XX0_USB_1); | ||
184 | } | 182 | } |
185 | 183 | ||
186 | 184 | ||
@@ -189,8 +187,7 @@ void __init mv78xx0_ehci1_init(void) | |||
189 | ****************************************************************************/ | 187 | ****************************************************************************/ |
190 | void __init mv78xx0_ehci2_init(void) | 188 | void __init mv78xx0_ehci2_init(void) |
191 | { | 189 | { |
192 | orion_ehci_2_init(&mv78xx0_mbus_dram_info, | 190 | orion_ehci_2_init(USB2_PHYS_BASE, IRQ_MV78XX0_USB_2); |
193 | USB2_PHYS_BASE, IRQ_MV78XX0_USB_2); | ||
194 | } | 191 | } |
195 | 192 | ||
196 | 193 | ||
@@ -199,7 +196,7 @@ void __init mv78xx0_ehci2_init(void) | |||
199 | ****************************************************************************/ | 196 | ****************************************************************************/ |
200 | void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data) | 197 | void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data) |
201 | { | 198 | { |
202 | orion_ge00_init(eth_data, &mv78xx0_mbus_dram_info, | 199 | orion_ge00_init(eth_data, |
203 | GE00_PHYS_BASE, IRQ_MV78XX0_GE00_SUM, | 200 | GE00_PHYS_BASE, IRQ_MV78XX0_GE00_SUM, |
204 | IRQ_MV78XX0_GE_ERR, get_tclk()); | 201 | IRQ_MV78XX0_GE_ERR, get_tclk()); |
205 | } | 202 | } |
@@ -210,7 +207,7 @@ void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data) | |||
210 | ****************************************************************************/ | 207 | ****************************************************************************/ |
211 | void __init mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data) | 208 | void __init mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data) |
212 | { | 209 | { |
213 | orion_ge01_init(eth_data, &mv78xx0_mbus_dram_info, | 210 | orion_ge01_init(eth_data, |
214 | GE01_PHYS_BASE, IRQ_MV78XX0_GE01_SUM, | 211 | GE01_PHYS_BASE, IRQ_MV78XX0_GE01_SUM, |
215 | NO_IRQ, get_tclk()); | 212 | NO_IRQ, get_tclk()); |
216 | } | 213 | } |
@@ -234,7 +231,7 @@ void __init mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data) | |||
234 | eth_data->duplex = DUPLEX_FULL; | 231 | eth_data->duplex = DUPLEX_FULL; |
235 | } | 232 | } |
236 | 233 | ||
237 | orion_ge10_init(eth_data, &mv78xx0_mbus_dram_info, | 234 | orion_ge10_init(eth_data, |
238 | GE10_PHYS_BASE, IRQ_MV78XX0_GE10_SUM, | 235 | GE10_PHYS_BASE, IRQ_MV78XX0_GE10_SUM, |
239 | NO_IRQ, get_tclk()); | 236 | NO_IRQ, get_tclk()); |
240 | } | 237 | } |
@@ -258,7 +255,7 @@ void __init mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data) | |||
258 | eth_data->duplex = DUPLEX_FULL; | 255 | eth_data->duplex = DUPLEX_FULL; |
259 | } | 256 | } |
260 | 257 | ||
261 | orion_ge11_init(eth_data, &mv78xx0_mbus_dram_info, | 258 | orion_ge11_init(eth_data, |
262 | GE11_PHYS_BASE, IRQ_MV78XX0_GE11_SUM, | 259 | GE11_PHYS_BASE, IRQ_MV78XX0_GE11_SUM, |
263 | NO_IRQ, get_tclk()); | 260 | NO_IRQ, get_tclk()); |
264 | } | 261 | } |
@@ -277,8 +274,7 @@ void __init mv78xx0_i2c_init(void) | |||
277 | ****************************************************************************/ | 274 | ****************************************************************************/ |
278 | void __init mv78xx0_sata_init(struct mv_sata_platform_data *sata_data) | 275 | void __init mv78xx0_sata_init(struct mv_sata_platform_data *sata_data) |
279 | { | 276 | { |
280 | orion_sata_init(sata_data, &mv78xx0_mbus_dram_info, | 277 | orion_sata_init(sata_data, SATA_PHYS_BASE, IRQ_MV78XX0_SATA); |
281 | SATA_PHYS_BASE, IRQ_MV78XX0_SATA); | ||
282 | } | 278 | } |
283 | 279 | ||
284 | 280 | ||