diff options
-rw-r--r-- | arch/arm/mach-ux500/cpu-db8500.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 67d68e05f3a7..5f0b2ed55df6 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c | |||
@@ -162,18 +162,7 @@ static void __init db8500_add_gpios(struct device *parent) | |||
162 | dbx500_add_pinctrl(parent, "pinctrl-db8500", U8500_PRCMU_BASE); | 162 | dbx500_add_pinctrl(parent, "pinctrl-db8500", U8500_PRCMU_BASE); |
163 | } | 163 | } |
164 | 164 | ||
165 | static int usb_db8500_rx_dma_cfg[] = { | 165 | static int usb_db8500_dma_cfg[] = { |
166 | DB8500_DMA_DEV38_USB_OTG_IEP_AND_OEP_1_9, | ||
167 | DB8500_DMA_DEV37_USB_OTG_IEP_AND_OEP_2_10, | ||
168 | DB8500_DMA_DEV36_USB_OTG_IEP_AND_OEP_3_11, | ||
169 | DB8500_DMA_DEV19_USB_OTG_IEP_AND_OEP_4_12, | ||
170 | DB8500_DMA_DEV18_USB_OTG_IEP_AND_OEP_5_13, | ||
171 | DB8500_DMA_DEV17_USB_OTG_IEP_AND_OEP_6_14, | ||
172 | DB8500_DMA_DEV16_USB_OTG_IEP_AND_OEP_7_15, | ||
173 | DB8500_DMA_DEV39_USB_OTG_IEP_AND_OEP_8 | ||
174 | }; | ||
175 | |||
176 | static int usb_db8500_tx_dma_cfg[] = { | ||
177 | DB8500_DMA_DEV38_USB_OTG_IEP_AND_OEP_1_9, | 166 | DB8500_DMA_DEV38_USB_OTG_IEP_AND_OEP_1_9, |
178 | DB8500_DMA_DEV37_USB_OTG_IEP_AND_OEP_2_10, | 167 | DB8500_DMA_DEV37_USB_OTG_IEP_AND_OEP_2_10, |
179 | DB8500_DMA_DEV36_USB_OTG_IEP_AND_OEP_3_11, | 168 | DB8500_DMA_DEV36_USB_OTG_IEP_AND_OEP_3_11, |
@@ -215,7 +204,7 @@ struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500) | |||
215 | 204 | ||
216 | db8500_add_rtc(parent); | 205 | db8500_add_rtc(parent); |
217 | db8500_add_gpios(parent); | 206 | db8500_add_gpios(parent); |
218 | db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); | 207 | db8500_add_usb(parent, usb_db8500_dma_cfg, usb_db8500_dma_cfg); |
219 | 208 | ||
220 | for (i = 0; i < ARRAY_SIZE(platform_devs); i++) | 209 | for (i = 0; i < ARRAY_SIZE(platform_devs); i++) |
221 | platform_devs[i]->dev.parent = parent; | 210 | platform_devs[i]->dev.parent = parent; |
@@ -234,7 +223,7 @@ static struct device * __init u8500_of_init_devices(void) | |||
234 | { | 223 | { |
235 | struct device *parent = db8500_soc_device_init(); | 224 | struct device *parent = db8500_soc_device_init(); |
236 | 225 | ||
237 | db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg); | 226 | db8500_add_usb(parent, usb_db8500_dma_cfg, usb_db8500_dma_cfg); |
238 | 227 | ||
239 | u8500_dma40_device.dev.parent = parent; | 228 | u8500_dma40_device.dev.parent = parent; |
240 | 229 | ||